---
title: "Trigger a Survey using a User Action"
slug: "trigger-a-survey-using-a-user-action"
updated: 2025-10-25T12:11:32Z
published: 2025-10-28T09:31:05Z
---

> ## Documentation Index
> Fetch the complete documentation index at: https://support.whatfix.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Trigger a Survey using a User Action

You have rolled out a new feature on your application, and you want to gather feedback once the users interact with the application. Collecting timely insights is important to understand user experience and identify areas of improvement. Whatfix enables you to trigger a Survey from a user action, ensuring that you capture relevant feedback.

By using the [new Visibility Rules](/studio/docs/understand-visibility-rules-20), configure a Survey that gets triggered when users perform a specific action, such as clicking the Save button. When users click Save, the Survey automatically appears, prompting users to share their feedback about the feature.

Use the following steps to implement the use case:

[Step 1: Create a User Action](/studio/docs/trigger-a-survey-using-a-user-action#step-1-create-a-user-action)

[Step 2: Create a Survey](/studio/docs/trigger-a-survey-using-a-user-action#step-2-create-a-survey)

[Step 3: Link the Survey with the User Action](/studio/docs/trigger-a-survey-using-a-user-action#step-3-link-the-survey-with-the-user-action)

[Step 4: Trigger the Survey from the User Action](/studio/docs/trigger-a-survey-using-a-user-action#step-4-launch-survey-when-the-user-performs-the-user-action)

### Step 1: Create a User Action

As a prerequisite, you need to create a User Action before linking it to the Survey. For more information, see [Create a User Action](https://support.whatfix.com/product-analytics/docs/creating-a-user-action).

---

### Step 2: Create a Survey

Create a Survey based on your requirements. For more information on how to create a Survey, see [Create a Survey](/studio/docs/create-a-survey).

---

### Step 3: Link the Survey with the User Action

Once you have created the Survey, use the following steps to link it with the User Action:

1. On the Whatfix Guidance dashboard, click **Widgets**.![](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/image(465).png)
2. Click **Surveys**.![](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/image(466).png)
3. Hover your cursor over the required Survey, and then click the **Edit** icon.![](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/image(467).png)
4. In the **Visibility rules** section of your Survey, click **When does the survey start and stop appearing?** ![](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/AVR_Survey.png)
5. From the **What causes the survey to appear?** dropdown, select **User performing an action**.![](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/image(468).png)
6. From the **User action** dropdown, select the user action.![](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/image(469).png)
7. Click **Add**.![](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/image(471).png)
8. Click **Where does the survey appear?**![](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/image(472).png)
9. From the **Show on** dropdown, select at least one condition.![](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/image(473).png)
10. Click **Save** to save the Visibility Rules.![](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/image(474).png)
11. Make any other edits as required in the Survey, and then click **Save**.![](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/image(475).png)

---

### Step 4: Trigger the Survey from the User Action

The Survey is triggered automatically when the user clicks the element on which the user action is configured.
