# Set up actions after a survey answer

Choose what happens after someone answers a survey. A **workflow rule** checks the response and takes an action, such as sending an email. Each survey has its own rules, notifications and response analysis.

## Create a rule

1. Open your survey, choose **Settings** and expand **Workflow actions**.
2. For an email, choose **Add email template**. Give it a name, subject and message.
3. Choose **Add rule** and name the rule. New rules can match partial or finished responses. Select **Fully complete** to wait until someone finishes.
4. Under **Check**, choose what the rule should test: response status, an answer, a slide reached, an extra response field or an AI analysis result. For example, choose **Response analysis → Overall sentiment → equals → Negative**.
5. Choose an action. For an email, select **Send email**, then choose the template and recipients. New email actions send to the person who answered. You can instead use workspace notification recipients or enter specific addresses.
6. Under **Send after**, leave zero to send at once or enter a delay in minutes, hours or days.
7. Add any other actions, turn on the rule and choose **Save workflows**.

For Slack or a webhook, first set up a destination for this survey under **Integrations**, then choose it in the rule.

Each matching rule runs once for a new response. Several rules can act on the same response.

## Send an email from a question

Open a saved question and expand **After this answer**. Choose **Send a follow-up email**. The workflow opens with that question selected. By default it runs when the answer has a value. Choose a comparison to limit it to a particular answer. Select the recipients and an email template, then choose **Save workflows**. If this is your first email, **Create an email template** opens the message and links it to this action.

For a content slide, use **After this slide**. Shopoll records the slide when the shopper advances past it. A welcome slide is recorded with the first saved answer. For a Thank you slide, use **On survey completion**. Only the ending reached by the shopper qualifies. If the shopper changes branch before Shopoll processes the rule, the latest saved route determines whether the slide qualifies.

For example, to offer a sizing guide, set up the follow-up on the fit-advice slide. Select **Respondent** and collect an email address in the survey. A rule that only emails the respondent can use an address collected in a later answer. Choose **Workspace notification recipients** to email your own team instead.

![An email workflow that sends the Sizing guide template to a respondent who reached the size guide slide.](/media/question-email.png)

## Choose an answer that can be renamed

For a choice question, choose **Question answer**, the question and the **Selected answer**. If the choice has a saved answer handle, the rule follows that handle when its label changes. Shopoll checks the version each person answered. Keep the same handle for the same meaning.

Without a handle the rule matches the answer wording. Existing text rules keep matching their saved text. A previous value missing from the draft is labelled in the picker. Choose a current answer and save the workflow to replace it. To attach a handle, use **Edit answer handle** on the question choice, save the draft, then select that answer in the workflow.

## Combine conditions

Choose **all** to require every condition, or **any** to accept a match on just one. For **Combine AND and OR**, conditions joined by AND form a group. The rule matches if any of the OR groups matches.

Rules that check answers, status or extra response fields can act before someone finishes. A rule with an analysis condition waits for a written answer to be scored. This applies to the whole rule, even if another condition already matches.

Allow about a minute for a due action to start. Saving workflow changes applies them to new responses and cancels pending actions for earlier responses.

## Add someone to a Klaviyo list

Choose **Subscribe to a Klaviyo list** and select a list from the connected account. For a newsletter opt-in, check for an answer such as **Yes, email me**. The response must include a usable email address.

Add a **Fully complete** condition to wait until the person finishes. See [Klaviyo list subscriptions](/integrations/klaviyo.md) for setup and how these rules work with workspace-wide list settings.

## Save an answer on a Shopify record

Choose **Write to Shopify** to save an answer on an order or customer. For example, tag an order when someone requests collection, or save a customer preference in a metafield. A metafield is an extra field on a Shopify record.

Connect the permission for the record you want to update. After a test response, check the write history. See [Shopify tags and metafields](/surveys/shopify-tags-and-metafields.md) for field values and delivery checks.

## Save every response to Shopify

Inside **Workflow actions**, open **Shopify survey settings**. Choose where to save responses: order additional details, order or customer notes, customer metafields, or a customer tag.

**Create customers for new email addresses** can create a Shopify customer when a response contains an email address Shopify does not already know.

Save the settings. After the response has stopped changing, check **Shopify permissions and write history**. See [how fields and notes appear in Shopify](/surveys/shopify-tags-and-metafields.md).

## Invite someone to another survey

Under **Action type**, choose **Send another survey**. Select a published survey in this workspace. Confirm that the recipients agreed to receive survey invitations, then save.

For example, invite people who ask for help in an onboarding survey to a separate survey about their setup.

The email uses the second survey's design and contains a private link. If the first invitation set a language, the new email uses that translation when available. Check the invitation status in the second survey.

Shopoll skips the invitation if the target survey is unavailable, the email address is missing or the person has opted out. The email uses your usual email allowance.

## Include analysis results in an email

You can reuse a named email template in several rules. To include an analysis result, put its variable in the subject or message. For example:

```text
Subject: Shipping follow-up · {{ sentiment_shipping }}
Message: Category: {{ classification_label }}. Churn risk: {{ churn_risk }}.
```

Use `{{ sentiment }}` for overall sentiment, `{{ sentiment_shipping }}` for a tracked topic and `{{ field_competitors }}` for an extracted fact. Use lowercase names with underscores for spaces. Several extracted values are separated by commas. Values not yet calculated appear blank.

Emailing the person who answered needs an address from the response, linked order or invitation. Shopoll skips that action for anonymous responses or email opt-outs. Your team can still get its own alert.

These messages use the Lite email allowance. All email delivery needs a configured sender.

## Set response alerts and reminders

Open **Response notifications** to choose which responses trigger an alert and who gets it. You can include an order reference, limit extra details or upload an email logo. See [notification settings](/notifications.md).

Use [survey reminders](/surveys/nudge-non-responders.md) for invited people who have not answered. An answer cancels a pending reminder for that invitation.

## Turn on AI response analysis

In the survey editor, expand **Response analysis**, choose the settings and select **Save analysis settings**.

A response uses the settings saved when the person started it. If its answers change, Shopoll analyses it again using those same settings.

When the AI service is available, Shopoll checks for work each minute. It analyses short and long written answers and text fields in forms. Choices and ratings can help explain those comments. A response with fixed choices alone gets no analysis score.

Dedicated email, phone, date and upload fields are left out. Common email addresses and strings of numbers in written text are masked before analysis.

## Score positive and negative feedback

**Score sentiment** is on by default. Sentiment describes how positive or negative a written answer sounds. You’ll see a rating for each written answer and for the whole response. The ratings are very negative, negative, neutral, positive, very positive or unclear.

On the survey's **Dashboard**, open **Sentiment** to see the ratings and daily trend. Scores run from 0 to 100; 50 is neutral. Unclear responses appear in the counts but are left out of the average. The dashboard's comparison period sets the dates shown.

## Track feedback about a topic

Under **Sentiment topics**, add up to five topics and optional descriptions. For example, use **Delivery** with “shipping speed, tracking or arrival date”. Save the settings. A response can mention several topics or none.

The topic card shows how many responses mentioned it, out of those checked for that topic. The negative percentage uses only responses that mentioned it. Expand or filter responses to read the comments behind a topic's score.

After 40 written answers, use **Suggest topics** to find common subjects. Each suggestion shows how many recent answers it covers. Choose a suggestion, edit it if needed and save to track it in new responses.

## Group responses under labels

Turn on **Classify responses** and add a name and description for each label. For example, **Delivery delay** could mean a missed delivery date.

A response receives one of your labels when it matches. Responses that fit none of the labels appear as unclassified. See both groups in **Dashboard → Classification**.

## Pull facts from written answers

Add an **Extracted field** for each fact you want to collect. For example, name a field **Alternative brand** and ask for “brands the person says they considered”.

The value must appear in the written answer. The field can hold several values. It stays blank if the fact is missing.

Analysis also flags whether a person may want a reply, may stop buying, has included personal data or has given a low-quality answer. These are AI judgments. Read the original before acting on them. Weekly [written-answer summaries](/analytics-ai-and-reporting.md) leave out responses already flagged as low quality.

## Find the answers behind a result

In **Answers**, choose **Filter by analysis** to find a sentiment, label, topic, extracted fact or flag. Expand an answer or a participant history entry to read **Response analysis**. A participant profile also shows the average of their scored responses.

In a survey report, use the same options under **Report filters**. Extracted fields with saved values can be used on either side of a cross tab, which compares two fields.

For more actions, see [Google Sheets](/tutorials/sync-survey-responses-to-google-sheets.md), [webhooks](/webhook.md) and [Shopify Flow](/shopify-app/shopify-flow.md).
