How To Collect Multiple Answers for 1 Question in a Bot ?
Chatbot Multi-Response Setup Guide
This guide outlines how to configure a chatbot to accept multiple responses for a single query, specifically focusing on the receipt of multiple images / documents / etc . The process involves creating a "multi-string array" bot field, configuring a keyword-triggered flow, and utilising validation for response types.
Step 1: Create a Multi-String Array Bot Field
Navigate to the bot field panel.
Create a new field with the type set as "multi-string array." This will store user responses.
Step 2: Set Up a Bot Flow
Create a new workflow in the bot flow builders.
Implement a keyword-based trigger to initiate the workflow.
Configure the bot to send a welcome message, followed by a prompt asking users to submit multiple product images.
Step 3: Configure Waiting and Idle Times
Set the total waiting time for responses to 3 minutes.
Establish an idle time of 15 seconds to wait between user responses.
Step 4: Save User Responses
Collect and save the user's responses (e.g., images) to the previously created multi-string array bot field.
Step 5: Set Up Validations
Apply validations on the expected response types—images, videos, documents—to ensure the bot receives the correct type of user inputs.
Step 6: Acknowledge Receipt and Proceed
Once a response is received, send a message acknowledging the receipt of the images.
Depending on either the ideal time being reached or the maximum waiting time expiring, bot will move to the next block in the workflow.
This method effectively gathers multiple user inputs in a single query, facilitating versatile automation steps later in the workflow.
Last updated