> For the complete documentation index, see [llms.txt](https://docs.zigpoll.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.zigpoll.com/faq/survey-logic-and-conditional-flows.md).

# Survey Logic and Conditional Flows

Survey logic lets you create dynamic surveys that adapt based on how respondents answer. Here are the most common questions about setting this up.

### What is slide logic?

Slide logic allows you to control which question a respondent sees next based on their answer to the current question. For example, if someone answers "Yes," you can send them to a follow-up question, while "No" respondents skip ahead to a different question or the end of the survey.

{% content-ref url="/pages/xFdTrn0vGZdEYe1jsXI8" %}
[Slide Logic](/slides/slide-logic.md)
{% endcontent-ref %}

### Can I skip questions based on a previous answer?

Yes. You can set up skip logic on any slide to jump to a specific slide based on the selected answer. This is configured in the slide logic settings for each question.

### Can I create branching paths in my survey?

Yes. By combining slide logic across multiple questions, you can create branching flows where different respondents see entirely different sets of questions based on their answers. This is useful for tailoring the survey experience to different customer segments.

### Can I make a question required before moving on?

Yes. Each slide can be configured to require a response before the respondent can proceed to the next question.

### Can I show different questions based on what product was purchased?

Yes, if you're using Zigpoll on Shopify. You can use survey metadata and Shopify Flow to pass product information into your survey and conditionally display questions based on what the customer ordered.

{% content-ref url="/pages/-LrVNWozDJtjwyKgd2n3" %}
[Survey Metadata](/embed/poll-metadata.md)
{% endcontent-ref %}

{% content-ref url="/pages/-Mf4bCbB0Iedfi7aHIYl" %}
[Shopify Flow](/shopify-app/shopify-flow.md)
{% endcontent-ref %}

### My skip logic isn't working as expected

Check the following:

* **Review each slide's logic settings** to make sure the correct answer maps to the correct destination slide.
* **Test with the survey preview** to walk through each path before going live.
* **Make sure you've saved your changes** after editing logic rules.

{% hint style="info" %}
Need help designing a complex survey flow? Contact us at <support@zigpoll.com> and we'll help you map it out.
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.zigpoll.com/faq/survey-logic-and-conditional-flows.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
