# Working with Shopify Flow

Shopify Flow allows you to automate workflows between SEA Survey and your other apps, helping you create powerful customer engagement sequences. This guide will help you understand how to use Shopify Flow with SEA Survey and set up automated workflows with your other apps.

<figure><img src="/files/ilYOhFOMqPi0JTKc8KJZ" alt=""><figcaption><p>SEA Survey x Shopify Flow</p></figcaption></figure>

### What you can do with SEA Survey + Shopify Flow

Understanding the possibilities is the first step to creating effective automations. Here are the key capabilities when combining SEA Survey with Shopify Flow:

* Automatically trigger actions when customers complete surveys
* Reward customers for survey completion using loyalty apps
* Send follow-up emails based on survey responses
* Create customer segments based on survey data
* Automate marketing campaigns using survey insights

### Getting started

Before diving into automation creation, ensure you have all the necessary components in place.

#### Prerequisites

* An active SEA Survey installation. If you haven't installed our app, you can get it [**here**](https://apps.shopify.com/sea-survey).
* Shopify Flow enabled on your store
* Any additional apps you want to integrate (e.g., email marketing, loyalty programs)

#### Understanding SEA Survey's flow trigger

SEA Survey provides a **`Survey Submitted`** trigger in Shopify Flow that fires whenever a customer completes a survey. The trigger includes:

* Customer email
* Survey responses
* Submission timestamp

### Setting up your first flow

Creating your first automation is an important milestone in optimizing your survey process. Here's how to structure it effectively.

#### Basic flow structure

1. **Trigger**: Survey Submitted (from SEA Survey)
2. **Conditions**: Rules based on survey responses
3. **Actions**: What happens when conditions are met

#### Example Flows

These practical examples will help you understand how to build effective workflows

**1. Reward customer for survey completion**

```
Trigger: Survey Submitted
↓
Condition: Survey is completed
↓
Action: Award points in loyalty program
```

<figure><img src="/files/H4vkFyrVkjbcMYfdeHfw" alt=""><figcaption><p>SEA Survey x Loyalty</p></figcaption></figure>

**2. Follow-up Email Based on Response**

```
Trigger: Survey Submitted
↓
Condition: Survey is completed
↓
Action: Send follow-up email through email marketing app
```

<figure><img src="/files/6Vqjzkzb3vB7uIq37sgg" alt=""><figcaption><p>SEA Survey x Email</p></figcaption></figure>

Integrating SEA Survey with Shopify Flow transforms how you collect and act on customer feedback. By starting with simple automations and gradually building more sophisticated workflows, you can create powerful customer engagement sequences that save time and improve customer experience. Remember that successful automation is an iterative process - start small, measure your results, and refine your approach as you learn what works best for your business.


---

# Agent Instructions: 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://help.seacommerce.io/integration/working-with-shopify-flow.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.
