# Reward survey customers with Growave

Give customers points, a discount or store credit for answering a survey. Shopify Flow saves a true-or-false field on the customer record. Growave checks that field and gives the reward.

## Choose who earns the reward

Open **Integrations → Growave** in Shopoll and expand **Set up a survey reward**. Choose a published survey that can identify customers. Shopoll shows the survey ID, a suggested name for the extra customer field, unique to that survey and the trigger to use in Shopify Flow.

| Reward eligibility | Flow trigger | When the shopper qualifies |
| --- | --- | --- |
| Finished surveys only | Customer finished survey | The shopper submits the survey, including if they finish after a long break. |
| Partial or finished surveys | Survey completed with customer | The shopper finishes, or leaves after answering and the response settles. |

![Shopoll Growave instructions for a post-purchase survey, with completion eligibility and copyable values.](/media/growave.png)

Both triggers need a Shopify customer. A linked order or signed-in shopper can provide the identity. For an email question, connect **customer access** in [Shopify Flow settings](/shopify-app/shopify-flow.md) so Shopoll can look up an existing customer. An anonymous survey cannot earn this reward.

## Create the customer metafield

In Shopify admin, open **Settings → Metafields and metaobjects → Customers** and add a definition. Give it a name you will recognize in Flow, such as **Completed the feedback survey**. Copy the suggested **metafield namespace and key** from Shopoll. Choose the **True or false** type and save. Use a separate key for each independently earned reward.

## Set up the earning rule

In Growave, open **Rewards → Points → Ways to earn**, add a **Customer metafield** action and choose the reward and amount. Enter the same namespace and key. Select **Boolean**, **Equals** and **True**. Give the earning rule a customer-facing title and save. Growave lists this action on Growth and higher plans. [Growave’s integration requirements](https://help.growave.io/en/articles/18360227-integrating-growave-with-zigpoll-customer-surveys)

## Build the Flow workflow

1. Open Shopify Flow and create a workflow. Choose the Shopoll trigger shown under **Reward eligibility**.
2. Add a condition on **Survey → ID**. Choose **Equal to** and paste the **Survey ID** from Shopoll. This limits the reward to the selected survey.
3. On the matching branch, choose **Update customer metafield**. Use the customer supplied by the trigger, select your definition and set its value to **true**.
4. Turn on the workflow. In Shopoll, open **Shopify Flow settings** and choose **Check status** to see whether Shopify has enabled a workflow using that trigger.

The suggested key stays the same when you rename a survey. Leave the value true once earned. If you need to skip repeat writes, add a Flow condition that the customer metafield is empty or false before updating it.

## Verify a reward

Submit the published survey as a test customer. Shopoll normally waits about one minute after a response finishes. Surveys that allow answer edits wait ten minutes after the latest change. If you reward unfinished responses, Shopoll waits about ten minutes after the last answer.

Check the run in Shopify Flow, then open the customer in Shopify and confirm the metafield is true. In **Growave → Rewards → Customers**, open the same customer and check their reward activity. Shopoll’s **Recent trigger activity** shows whether Shopify accepted the trigger. The customer’s Growave activity confirms the actual reward.

If a trigger is waiting for a customer, verify the person’s email matches a Shopify customer or test with a signed-in customer. If Shopify set the flag but Growave shows no reward, compare the namespace, key, Boolean condition and reward settings on the earning rule.
