Question Logic
Perform logic jumps or other actions using question logic.
Question logic is a powerful tool you can use to create unique experiences depending on how a respondent answers your survey questions.
To create question logic click the +Add Logic button on the Question edit page.

Conditions
To get started with logic you need to first chose a condition. A condition is a rule that needs to be met in order for the corresponding action to take place.
A condition is based on the response to your particular question. For example a condition can be if a response is > or < a certain value, or a condition can be if a response equals a certain pre-defined value.
You can stack conditions on top of each other to create complex logic within your survey. To do this, you will want to hit "Add condition".


When a condition is met, the action you define will then take place. An action can be something within your survey like skip or end survey as well as an external action like adding a metafield to Shopify or adding a customer tag.
Actions for all users
A list of actions to chose from can be found below:
Continue to the next question - move to next question
End Survey
Skip to - direct to another question
Redirect To - Send to a specific URL or web address
Run code - Trigger a webhook or execute a script
Send Email - Send an email to the respondent or yourself
Set / Unset metadata - Store a value on the response (or remove one)
Increment / Decrement / Multiply / Divide metadata - Adjust a numeric metadata value. A key that has never been set starts at 0.
Metadata conditions
Besides answers, a condition can read metadata — either values you passed in from your site, or values stored by the metadata actions above. Pick metadata as the condition's source and enter the key name.
A metadata condition can compare against a fixed value (metadata.score > 10) or against another metadata key, with an optional offset. Choose metadata in the value picker and enter the other key:
metadata.a > metadata.b— a is strictly larger than bmetadata.a > metadata.b + 1— a leads b by at least 2metadata.a >= metadata.b + -1andmetadata.a <= metadata.b + 1— a and b are tied or within one point
A key that has never been set counts as 0 in comparisons.
Integration actions
If you have integrations enabled, additional actions will appear in the dropdown. These actions trigger using the full survey response data, not just the current question.
Slack — Send a notification to a selected Slack channel.
Jira — Create a new issue in a selected Jira project.
ClickUp — Create a new task in a selected ClickUp list.
HubSpot — Create a new deal in a selected HubSpot pipeline.
Zendesk — Create a new support ticket.
Notion — Add a new row to a selected Notion database.
Klaviyo — Subscribe the respondent to a selected Klaviyo list.
Google Sheets — Write a row of response data to a Google Sheet. Zigpoll creates the sheet automatically when you save, with headers based on your survey questions. You will be emailed a link to the sheet when the first response comes in.
Mailchimp — Subscribe the respondent to a selected Mailchimp audience.
Drip — Subscribe the respondent to a selected Drip campaign.
Omnisend — Add the respondent as a contact in Omnisend.
Marketo — Create or update a lead and add them to a static list in Adobe Marketo.
Additional actions for Shopify stores
If you installed Zigpoll on a Shopify store, this comes with additional actions you can trigger:
Add Customer Tag -> *note that this will require a valid shopify_customer_id or email to be included as metadata.
Add Order Tag -> *note that this will require a valid shopify_order_id to be included as metadata.
Add Customer Metafield -> *note if you are mapping this to a pre-defined metafield it needs to be a multi_line_text_field type.
Add Order Metafield -> *note if you are mapping this to a pre-defined metafield it needs to be a multi_line_text_field type.
Generate Reward -> generate a discount code or add free shipping
Last updated

