> For the complete documentation index, see [llms.txt](https://guide.plumber.gov.sg/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://guide.plumber.gov.sg/all-workflows/dynamic-responses-based-on-respondent-selections.md).

# Dynamic responses based on respondent selections

{% hint style="success" %}
**Why you need this**

* Save time by streamlining processes and reduce errors. Form admins no longer have to spend time cleaning and arranging responses, as this process can be automated.
  {% endhint %}

As there are many different types of forms that may require such automation, we will focus solely on demonstrating the use of the dropdown field from FormSG. To follow this guide, make sure that your dropdown field contains at least two options.

## Send unique response to respondents based on the options they've selected.

{% tabs %}
{% tab title="Step 1. Trigger: FormSG" %}

## Connect the form you wish to automate with

{% hint style="success" %}
In this example, the demonstration will utilize the dropdown field in FormSG. To follow this guide, ensure that your dropdown field contains these options. <br>

1. Resetting device

2. Damaged device

3. Lost device

4. New device
   {% endhint %}

5. After logging into Plumber.gov.sg

6. Click "Template" on the left or "Use a template" on the homepage

7. Click "Route support enquiries"

8. Click "Use template" on the top right

9. Click "New form response"

10. Click "Connect" at the right

11. Under "Choose connection", click the dropdown

12. Click "+ Add new form"

13. Under "Form URL", paste the form link that you wish to connect to

14. Under "Form Secret Key", paste the form's secret key

15. Click "Connect"

16. A message "Your form is connected successfully." will be shown

17. Click "Save and continue"

18. Under "1. New form response", a green dot will appear as an indication that the form has been connected successfully.

<figure><img src="/files/hEcq68yshsQV1JrzAYyH" alt=""><figcaption></figcaption></figure>

15. Click "Check step"
    {% endtab %}

{% tab title="Step 2: If-then" %}

1. Click "2. Condition". A side drawer will appear
2. You will see "Replace with response 1 request"&#x20;

<figure><img src="/files/0Lzk9mOxT9SV4hQOqN51" alt=""><figcaption></figcaption></figure>

3. Delete that variable
4. Click on the field, a drop down will appear
5. Select the response that correspond with the **drop-down option's response**&#x20;
6. Click "Check step"&#x20;
7. **The step would either passed or fail, it doesn't matter at this point**
8. Click "3. Send email"
9. Delete "Replace this with data from step 1" for all of the fields

<figure><img src="/files/L57khHizlI6ef45SKZLz" alt=""><figcaption></figcaption></figure>

10. Replace with the variable you would like&#x20;
11. Click "Check step" once you are done
12. You should receive an email to your inbox
13. Repeat step 1 to step 12&#x20;
    {% endtab %}
    {% endtabs %}
