> ## Documentation Index
> Fetch the complete documentation index at: https://docs.gameball.co/llms.txt
> Use this file to discover all available pages before exploring further.

# How Do I Set Up Fill a Survey (Shopify Flow)?

| Platform     | Plan          |
| ------------ | ------------- |
| Shopify      | All Plans     |
| Salla        | Not Available |
| Non-Platform | Not Available |

Shopify Flow is a powerful automation tool that lets you seamlessly connect Gameball Loyalty with other Shopify apps. Use it to build custom workflows and enhance your loyalty program in multiple ways.

Use Shopify Flow templates to reward customers on Gameball based on actions from other apps -- for example, filling a survey on Okendo.

A Shopify Flow workflow consists of three main parts: **Triggers**, **Conditions**, and **Actions**. [Learn more in the full guide](/product-documentation/rewards-campaigns/start-from-scratch/setup-reward-campaign).

<Frame>
  <img src="https://mintcdn.com/gameball/7MhWO6bij8idxYce/images/product-docs/rewards-campaigns/templates/engagement-gamification/fill-survey-widget.png?fit=max&auto=format&n=7MhWO6bij8idxYce&q=85&s=db7f87dd4ba9b8cb2c4bd037d6ebc24f" alt="Fill a survey widget" width="2594" height="1738" data-path="images/product-docs/rewards-campaigns/templates/engagement-gamification/fill-survey-widget.png" />
</Frame>

***

## How to Set Up

**On Gameball**

<Steps>
  <Step title="Open Gameball">
    Log in to your Gameball dashboard.
  </Step>

  <Step title="Add a Reward Campaign">
    Click **Add Reward Campaign**.
  </Step>

  <Step title="Select the Template">
    Choose the **Fill a Survey** template tagged with Shopify Flow.
  </Step>

  <Step title="Configure the Campaign">
    Edit the campaign's setup to match your goals.
  </Step>

  <Step title="Activate">
    Click **Set Live** to activate the campaign.
  </Step>

  <Step title="Copy Campaign ID">
    After creating your campaign, **copy the Campaign ID**.
  </Step>
</Steps>

<Frame>
  <img src="https://mintcdn.com/gameball/7MhWO6bij8idxYce/images/product-docs/rewards-campaigns/templates/engagement-gamification/fill-survey-setup.png?fit=max&auto=format&n=7MhWO6bij8idxYce&q=85&s=49ad942ff19a3d2471bdc736226780a9" alt="Fill a survey campaign setup" width="2760" height="1172" data-path="images/product-docs/rewards-campaigns/templates/engagement-gamification/fill-survey-setup.png" />
</Frame>

***

## Campaign Trigger

**On Shopify Flow**

<Steps>
  <Step title="Create Workflow">
    From your Shopify admin, go to **Apps** > **Shopify Flow** and click **Create Workflow**.
  </Step>

  <Step title="Choose Trigger">
    Choose **"Okendo Survey Response Created"** as the trigger (or another relevant app trigger).
  </Step>

  <Step title="Add Customer Email">
    **Add the customer email** if the trigger doesn't pass the customer identifier automatically. See the important notes below for more details.
  </Step>

  <Step title="Add Reward Action">
    Add the **"Reward a Campaign"** action and paste the **Campaign ID** you copied from the campaign details page.
  </Step>

  <Step title="Save Workflow">
    **Save the workflow** to activate it.
  </Step>
</Steps>

<Frame>
  <img src="https://mintcdn.com/gameball/7MhWO6bij8idxYce/images/product-docs/rewards-campaigns/templates/engagement-gamification/fill-survey-flow.png?fit=max&auto=format&n=7MhWO6bij8idxYce&q=85&s=131a2acfbd4457b2aa78d882ccab36a8" alt="Shopify Flow workflow for survey" width="2770" height="1250" data-path="images/product-docs/rewards-campaigns/templates/engagement-gamification/fill-survey-flow.png" />
</Frame>

This template uses the standard reward campaign setup. See the [Generic Setup Guide](/product-documentation/rewards-campaigns/start-from-scratch/setup-reward-campaign) for details.

***

## How It Works for Customers

<Steps>
  <Step title="Fill Survey">
    Customer fills a survey (e.g., via Okendo).
  </Step>

  <Step title="Flow Triggers">
    Shopify Flow triggers the workflow based on the survey response.
  </Step>

  <Step title="Receive Reward">
    Gameball rewards the customer with the reward set in the "Fill a Survey" campaign.
  </Step>

  <Step title="Notification">
    The customer is notified via the widget or email, depending on your configuration. [Learn more](/product-documentation/rewards-campaigns/start-from-scratch/setup-reward-campaign).
  </Step>
</Steps>

***

## Important Notes

<Note>
  **Skip Email Field**

  When setting up Gameball as an action in Shopify Flow, you may not need to fill in the email field if the trigger app already passes the customer identifier automatically. In this case, the identifier will appear just above the email field.
</Note>

<Frame>
  <img src="https://mintcdn.com/gameball/xysbvpvMWJQz49rc/images/product-docs/rewards-campaigns/templates/engagement-gamification/shopify-flow-email-field.png?fit=max&auto=format&n=xysbvpvMWJQz49rc&q=85&s=2b4d9c28c091560b4d256074692b9cfd" alt="Shopify Flow email field" width="2770" height="1250" data-path="images/product-docs/rewards-campaigns/templates/engagement-gamification/shopify-flow-email-field.png" />
</Frame>

***

## Related Articles

<CardGroup cols={2}>
  <Card title="Shopify Flow Guide" icon="bolt" href="/product-documentation/rewards-campaigns/start-from-scratch/setup-reward-campaign">
    Learn how to build Shopify Flow workflows with Gameball.
  </Card>

  <Card title="Set up a reward campaign" icon="flag" href="/product-documentation/rewards-campaigns/start-from-scratch/setup-reward-campaign">
    Step-by-step guide to configuring any reward campaign.
  </Card>

  <Card title="Reward types in Gameball" icon="gift" href="/product-documentation/rewards-campaigns/start-from-scratch/setup-reward-campaign">
    Explore the different reward types you can offer customers.
  </Card>

  <Card title="Notification after earning a reward" icon="bell" href="/product-documentation/rewards-campaigns/start-from-scratch/setup-reward-campaign">
    Configure how customers are notified when they earn a reward.
  </Card>
</CardGroup>
