# 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**

1. Navigate to the bot field panel.
2. Create a new field with the type set as "multi-string array." This will store user responses.

**Step 2: Set Up a Bot Flow**

1. Create a new workflow in the bot flow builders.
2. Implement a keyword-based trigger to initiate the workflow.
3. 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**

1. Set the total waiting time for responses to 3 minutes.
2. Establish an idle time of 15 seconds to wait between user responses.

**Step 4: Save User Responses**

1. Collect and save the user's responses (e.g., images) to the previously created multi-string array bot field.

**Step 5: Set Up Validations**

1. 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**

1. Once a response is received, send a message acknowledging the receipt of the images.
2. 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.

{% embed url="https://www.youtube.com/watch?v=cSYaDtAcsTQ" %}
