Docs

Automate surveys with Shopify Flow

Use Shopify Flow to act on a survey answer or invite a customer to a survey. A trigger starts a Flow workflow when someone answers. The Send email survey action sends a survey invitation.

Connect your store

  1. Open Shopoll from the store’s Shopify admin as a workspace owner or admin.
  2. In Integrations → Shopify Flow, choose Connect triggers. To send email invitations or find a customer by email, also choose Connect customer access and grant the requested permission.
  3. In Shopify Flow, create or edit a workflow. Search for Shopoll when choosing a trigger or action. Turn on the workflow.
  4. Return to Shopoll’s Integrations page and expand Survey triggers to check which workflows are enabled.

Choose a survey trigger

Trigger When to use it
Survey completed Start from the survey answers, including responses to anonymous surveys.
Survey completed with customer Use a Shopify customer in a workflow. The response must link to a customer record.
Customer finished survey Use a Shopify customer only after the survey is submitted. Useful for Growave loyalty rewards.
Survey completed with customer and order Use both the customer and their order. Choose this when the next step needs order details.

For example, use the customer-and-order trigger, check the response to a delivery question and route a low rating to your service team. Choose one trigger for that workflow. A response may match several triggers. Use the one that gives your workflow the records it needs.

Read the survey in Flow

The survey object contains the survey ID, title, a private link to the answers in Shopoll, and two lists. Each entry in Responses has the question handle, type and answer. Each entry in Metadata has a name and value. File answers use display names. Opening the answer link requires access to the workspace.

For location, look up metadata names such as location_country_code, location_region, location_city, location_zip or location_timezone. Available fields depend on the request. For an anonymous survey, location and linked-resource triggers are omitted.

Wait for the latest answers

Allow at least one minute for a completed response to appear in Flow. For an unfinished response or a survey that allows edits, allow at least ten minutes after the latest change. A partial response can therefore trigger a workflow that uses one of the Survey completed triggers. Customer finished survey waits for the final submission. In Flow, check the answer you need before taking the next action.

Shopoll may receive customer or order details after the survey answer. Shopoll waits for the linked record and retries. For customer matching by email, use an email question and connect customer access. If you have enabled customer creation in the survey’s Shopify workflow settings, allow time for that operation too.

Send an email survey from Flow

  1. In Shopoll, publish the survey and copy the Survey ID from its card in Surveys.
  2. In your Shopify workflow, add Shopoll’s Send email survey action after the condition that should send the invitation.
  3. Choose the customer, paste the survey ID and optionally choose an order belonging to that customer. Save and enable the workflow.

Shopoll checks the customer’s current subscribed email address, the survey’s availability and existing opt-outs. The invitation uses that survey’s email design and the customer’s language when a translation is available. The invitation counts towards your workspace’s email allowance. If Flow retries the same action, the customer still receives at most one invitation.

Check a test run

Use a development-store customer and a published test survey. Complete a response, then check Integrations → Shopify Flow → Recent trigger activity in Shopoll and the run history in Shopify Flow. Delivered means Shopify accepted the trigger. The workflow history shows what its later steps did.

If Shopoll cannot confirm delivery, check Flow’s run history before repeating the action. If an invitation is missing, check the customer’s email subscription, the workspace allowance and the invitation settings. For operations that write a tag or metafield directly, see Shopify customer and order updates.

Ask Shopoll

Help from the Shopoll guides

What would you like to do?

Ask a question about surveys, setup or understanding your results.

AI answers can be imperfect. Check the linked guides.