# Tutorials

Table of contents

| Scenario                                                               |
| ---------------------------------------------------------------------- |
| [Example 1: New Participant Reward](#example-1-new-participant-reward) |
| [Example 2: New Participant](#example-2-new-participant)               |
| [Example 3: Campaign Ended](#example-3-campaign-ended)                 |
| [Example 4: Trigger Referral](#example-4-trigger-referral)             |

## Example 1: New Participant Reward

In this example, we'll connect GrowSurf to Coupon Carrier, which will let us send a unique coupon to a participant when they reach a referral goal.

### [Step 1: Click to get access to GrowSurf on Zapier](https://docs.growsurf.com/integrations/zapier/..#getting-started)

Once logged into Zapier, click the **+ Create** button in the top-left corner.

{% hint style="warning" %}
**Note:**

* Only the GrowSurf team owner's campaigns will show up when you connect to Zapier. If you are setting the Zap up as a team member, you will need to connect to Zapier using the team owner's GrowSurf account.
* If you used Google to sign up for GrowSurf, you'll need to set a password before connecting to Zapier. Go to the [Sign In](https://app.growsurf.com/signin) page and click "Forgot password" to create one.
  {% endhint %}

### Step 2: Set up the Zap trigger

For the **Trigger** step, search for and select **GrowSurf** from the app list.

<figure><img src="https://2794996218-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LeklWo0yn03AhWro2Ux%2Fuploads%2Flai9I6sFwFmBx7AqQifr%2FScreen%20Shot%202025-06-06%20at%202.25.42%20PM.jpg?alt=media&#x26;token=196f919e-edec-4997-9b47-c1c8d964bd23" alt=""><figcaption></figcaption></figure>

&#x20;In the **Trigger Event** field, choose **New Participant Reward**. Then, in the **Account** field, select your connected GrowSurf account, or click **Connect a new account** to link a new one. Next, click **Continue**.

<figure><img src="https://2794996218-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LeklWo0yn03AhWro2Ux%2Fuploads%2FbnJCuaEacZINnkHT7NPc%2FScreen%20Shot%202025-06-03%20at%206.15.33%20PM.jpg?alt=media&#x26;token=5a63faac-6a82-45d0-8040-e040cdc0b60b" alt=""><figcaption></figcaption></figure>

Then select your campaign from the **Campaign** field. After that, click **Continue**, and click the **Test Trigger** button.

<figure><img src="https://2794996218-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LeklWo0yn03AhWro2Ux%2Fuploads%2FZpDRva1v3fix0Mppr861%2FScreen%20Shot%202025-06-03%20at%208.01.53%20PM.jpg?alt=media&#x26;token=9deb9f64-8c1c-4e12-84b8-9d038e39260f" alt=""><figcaption></figcaption></figure>

{% hint style="warning" %}
**Note:** In case you are unable to find your campaign(s) in the dropdown menu, please bear in mind that only the campaigns that you own will be visible. If you are configuring the Zap as a member of a team, then you must return to step #1 and link Zapier to your team owner's GrowSurf account.
{% endhint %}

Click **Continue with selected record**, or click **Find a record**, select the record, and then click the continue button.

<figure><img src="https://2794996218-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LeklWo0yn03AhWro2Ux%2Fuploads%2FlUddENCXVs1YxNUd4od6%2FScreen%20Shot%202025-06-03%20at%208.31.30%20PM.jpg?alt=media&#x26;token=21b77b2a-6a29-46fd-9f45-dea6a3e642de" alt=""><figcaption></figcaption></figure>

{% hint style="warning" %}
Kindly be advised that the test data may not accurately represent your campaign data. The sole purpose of the test data is to configure the Zap. Upon the Zap's activation for a live campaign, genuine data will be supplied.
{% endhint %}

After clicking on **Continue**, you'll be directed to the Action step, where you can configure the action of transmitting a coupon code to the winner.

### Step 2.5: Set up Zap Filters

Prior to proceeding, it is crucial to determine whether a [Zap Filter](https://docs.growsurf.com/automate-rewards/zapier/using-filters) is required. Please review the following two questions, and follow the instructions provided if your response is yes. In case your answer is no to both questions, you may skip this step and proceed to [Step 3](#step-3-set-up-the-zap-action-s), which involves configuring the Zap action(s).

#### **Question 1: Is there at least one double-sided reward for your campaign?**

When creating automated workflows using Zapier, it is important to note that if you have a double-sided reward, two separate trigger events will occur for both the referrer and the referred person. Therefore, you will need to create two distinct Zaps, each with its own triggers, to account for both events. Alternatively, instead of using a [Zapier Filter](https://zapier.com/learn/getting-started-guide/filters/), you can use [Zap Paths](https://help.zapier.com/hc/en-us/articles/8496288555917-Add-branching-logic-to-Zaps-with-Paths) to create a single Zap that handles both trigger events. \
\
Here's how you can discern between the two Zaps by using a [Zapier Filter](https://zapier.com/learn/getting-started-guide/filters/) and the `Participant Is Referrer` property:

**Step A:** Once you have set up your Zap trigger, the next step is to add a **Zapier Filter** before proceeding to the Action step. Search for and select **Filter** from the app list.

<figure><img src="https://2794996218-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LeklWo0yn03AhWro2Ux%2Fuploads%2FiVkA1oNfRECg6PHh9IYm%2FScreen%20Shot%202025-06-03%20at%209.32.27%20PM.jpg?alt=media&#x26;token=5ba5c100-2808-45c6-9b05-e2cefe423b75" alt=""><figcaption></figcaption></figure>

**Step B:** Select `Participant Is Referrer` from the first dropdown.

<figure><img src="https://2794996218-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LeklWo0yn03AhWro2Ux%2Fuploads%2FdzkokAEnegc4W2J8p028%2FScreen%20Shot%202025-06-10%20at%208.04.16%20AM.jpg?alt=media&#x26;token=8de4cfa4-8caa-4fd0-b81e-132cf1b68e26" alt=""><figcaption></figcaption></figure>

**Step C:** Set the next field to `(Text) Exactly matches`*.*

<figure><img src="https://2794996218-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LeklWo0yn03AhWro2Ux%2Fuploads%2FzI6dUg6l479L6okmkpTx%2FScreen%20Shot%202025-06-10%20at%208.07.22%20AM.jpg?alt=media&#x26;token=fbe11554-97ce-4c07-9d1b-4c8f2b438908" alt=""><figcaption></figcaption></figure>

**Step D:** For the last field, type `true` or `false`, depending on what you are trying to achieve. Referrers will have `Participant Is Referrer` as `true`  and the referred person will have `Participant Is Referrer` as `false`.

<figure><img src="https://2794996218-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LeklWo0yn03AhWro2Ux%2Fuploads%2FwpasoLsZit8ubg9q4HF0%2FScreen%20Shot%202025-06-10%20at%208.45.33%20AM.jpg?alt=media&#x26;token=dcb0caad-5a53-4259-9c82-a697b277a7c2" alt=""><figcaption></figcaption></figure>

**Step E:** Click **Continue** to test the conditions.\
\
Here's how you can use [Zap Paths](https://help.zapier.com/hc/en-us/articles/8496288555917-Add-branching-logic-to-Zaps-with-Paths) to create a single Zap that handles both trigger events:\
\
**Step A:** Once you have set up your Zap trigger, the next step is to add a **Path** before proceeding to the Action step. Search for and select **Path** from the app list.

<figure><img src="https://2794996218-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LeklWo0yn03AhWro2Ux%2Fuploads%2FLkcNcYha038FBZU738GD%2FScreen%20Shot%202025-06-04%20at%2012.11.38%20AM.jpg?alt=media&#x26;token=c03342bf-c785-45f3-a571-32297bc8b3a5" alt=""><figcaption></figcaption></figure>

**Step B:** After selecting **Path**, you’ll see **Path A** and **Path B** (you can add more paths if needed).

<figure><img src="https://2794996218-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LeklWo0yn03AhWro2Ux%2Fuploads%2FsdQR9P204D93o8cVHp6e%2FScreen%20Shot%202025-06-04%20at%202.28.51%20PM.jpg?alt=media&#x26;token=f5ea93e2-eb7c-425e-926c-c1df16317eb5" alt=""><figcaption></figcaption></figure>

To configure Path A, click on Path A, select Custom Rules, and choose `Participant Is Referrer` from the first dropdown menu. In the next field, select `(Text) Exactly matches`, and in the last field, input either `true` or `false`, depending on your desired outcome. Participants who referred someone should have `Participant Is Referrer` set to `true`, while those who were referred should have it set to `false`.

<figure><img src="https://2794996218-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LeklWo0yn03AhWro2Ux%2Fuploads%2FiCxvgb0QlfkXy45Gnq03%2FScreen%20Shot%202025-06-04%20at%202.37.39%20PM.jpg?alt=media&#x26;token=bbe4f687-191f-47ad-af9f-7ac619451279" alt=""><figcaption></figcaption></figure>

**Step C:** Click **Continue** to test the conditions.

**Step D:** To exit Path A, click outside of the setup window. To set up Path B for the referred participant, click on **Path B**, select **Custom Rule** and choose `Participant Is Referrer` from the first dropdown menu. In the next field, select `(Text) Exactly matches`, and in the last field, enter `false`.&#x20;

<figure><img src="https://2794996218-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LeklWo0yn03AhWro2Ux%2Fuploads%2F2MZzXZdIi6WDYQvSd3qc%2FScreen%20Shot%202025-06-04%20at%202.47.44%20PM.jpg?alt=media&#x26;token=9c1f7ee1-c43d-4779-a4ee-5262cc059c93" alt=""><figcaption></figcaption></figure>

**Question 2: Is manual reward approval enabled for your campaign?**

When manual reward approval is enabled, two Zapier events are triggered: one when the reward is pending approval and another when it is approved. To differentiate between pending and approved rewards, use a  [Zapier Filter](https://zapier.com/learn/getting-started-guide/filters/) with the `Reward Approved` property.

**Step A:** After setting up your Zap trigger, the next step is to insert a **Filter** before moving on to the Action step. To do this, search for and select **Filter** from the app list.&#x20;

<figure><img src="https://2794996218-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LeklWo0yn03AhWro2Ux%2Fuploads%2FLkcNcYha038FBZU738GD%2FScreen%20Shot%202025-06-04%20at%2012.11.38%20AM.jpg?alt=media&#x26;token=c03342bf-c785-45f3-a571-32297bc8b3a5" alt=""><figcaption></figcaption></figure>

**Step B:** Select`Reward Approved` from the first dropdown, set the next field to `(Text) Exactly matches`, and enter `true` or `false` in the last field depending on your objective. Rewards that have been approved will have `Reward Approved` set to `true`.

<figure><img src="https://2794996218-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LeklWo0yn03AhWro2Ux%2Fuploads%2FEjJqalQC5vzo6IGkem3w%2FScreen%20Shot%202025-06-04%20at%203.43.18%20PM.jpg?alt=media&#x26;token=d7562698-5053-492b-a334-6a234a24ef36" alt=""><figcaption></figcaption></figure>

**Step C:** Click **Continue** to test the conditions.

### Step 3: Set up the Zap action(s)

For the **Action** step, search for and select **Coupon Carrier** from the app list. In the **Event** field, choose **Send a Code Email** from the dropdown menu. Then, in the **Account** field, select your connected Coupon Carrier account, or click **Connect a new account** to link a new one. Next, click **Continue**.

<figure><img src="https://2794996218-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LeklWo0yn03AhWro2Ux%2Fuploads%2Fugs0lFh1BkNpq0ogm79R%2FScreen%20Shot%202025-06-04%20at%204.13.12%20PM.jpg?alt=media&#x26;token=0aaa38ac-68ab-4baa-a92b-4f7c9c2b2d17" alt=""><figcaption></figcaption></figure>

For the **Email Address** field, choose `Participant Email` from the dropdown menu. In the **Configuration** field, select the coupon email you want to trigger. Then, click **Continue**, followed by **Test step** to confirm it's working correctly.

<figure><img src="https://2794996218-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LeklWo0yn03AhWro2Ux%2Fuploads%2FFzumauxT0g94LKiQY33F%2FScreen%20Shot%202025-06-04%20at%204.51.13%20PM.jpg?alt=media&#x26;token=d3fbe67b-360d-44be-b6b6-e9787d0eeecb" alt=""><figcaption></figcaption></figure>

Then, click **Continue**, followed by **Test step** to confirm it's working correctly.

<figure><img src="https://2794996218-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LeklWo0yn03AhWro2Ux%2Fuploads%2FoW2MxGsxRtUw6PWQ1i2q%2FScreen%20Shot%202025-06-04%20at%205.14.07%20PM.jpg?alt=media&#x26;token=8619d79b-eaf8-4483-a11c-9e8c20692ca9" alt=""><figcaption></figcaption></figure>

You’ve now successfully set up your Zap action. To finish, click **Publish**. Your Zap is now live and will automatically send a coupon whenever a GrowSurf participant meets their referral goal and unlocks a reward.

<figure><img src="https://2794996218-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LeklWo0yn03AhWro2Ux%2Fuploads%2FIlArTI4J4DrwVJEld12C%2FScreen%20Shot%202025-06-06%20at%204.25.25%20PM.jpg?alt=media&#x26;token=9f14e5bd-f8a9-4a30-9634-0c6b9c8ae8a7" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
**Need multiple actions?**

A [multi-step Zap](https://help.zapier.com/hc/en-us/articles/8496257774221-Set-up-your-Zap-action) allows you to incorporate multiple action steps into your Zap. For instance, in example 1, you can send a coupon using Coupon Carrier and then add another action, such as receiving a notification in Slack, all in the same Zap.
{% endhint %}

## Example 2: New Participant

In this example, we'll connect GrowSurf to HubSpot. Whenever a new participant is added to your GrowSurf referral campaign, we'll add/update them as a HubSpot contact.

### [Step 1: Get access to GrowSurf on Zapier](https://docs.growsurf.com/integrations/zapier/..#getting-started)

Once logged into Zapier, click the **+ Create** button in the top-left corner.

{% hint style="warning" %}
**Note:** Only the GrowSurf team owner's campaigns will show up when you connect to Zapier. If you are setting the Zap up as a team member, you will need to connect to Zapier using the team owner's GrowSurf account.
{% endhint %}

### Step 2: Set up the Zap trigger

For the **Trigger** step, search for and select **GrowSurf** from the app list.&#x20;

<figure><img src="https://2794996218-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LeklWo0yn03AhWro2Ux%2Fuploads%2FcSuMgkF5Wdp8EN1NAhcu%2FScreen%20Shot%202025-06-06%20at%202.25.42%20PM.jpg?alt=media&#x26;token=e935fac7-4b25-4915-8450-8cdf10ef39ad" alt=""><figcaption></figcaption></figure>

In the **Trigger Event** field, choose **New Participant**. Then, in the **Account** field, select your connected GrowSurf account, or click **Connect a new account** to link a new one. Next, click **Continue**.

<figure><img src="https://2794996218-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LeklWo0yn03AhWro2Ux%2Fuploads%2FAJ0drDkhSVAoA03BS7TC%2FScreen%20Shot%202025-06-05%20at%2012.11.55%20AM.jpg?alt=media&#x26;token=ad7e36ba-6fb3-47c6-862d-66d8b7c2c0e9" alt=""><figcaption></figcaption></figure>

Then select your campaign from the **Campaign** field. After that, click **Continue**, and click the **Test Trigger** button.

<figure><img src="https://2794996218-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LeklWo0yn03AhWro2Ux%2Fuploads%2FQyH2ke2oTsy3Xnh0M3AV%2FScreen%20Shot%202025-06-05%20at%201.07.47%20AM.jpg?alt=media&#x26;token=e0c14bd6-97f2-4ff4-99c5-e7d4c495a146" alt=""><figcaption></figcaption></figure>

{% hint style="warning" %}
**Note:** In case you are unable to find your campaign(s) in the dropdown menu, please bear in mind that only the campaigns that you own will be visible. If you are configuring the Zap as a member of a team, then you must return to step #1 and link Zapier to your team owner's GrowSurf account.
{% endhint %}

Click **Continue with selected record**, or click **Find a record**, select the record, and then click the continue button.&#x20;

<figure><img src="https://2794996218-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LeklWo0yn03AhWro2Ux%2Fuploads%2FJdHQxPc0PbPuSEtA2BcS%2FScreen%20Shot%202025-06-06%20at%2012.32.14%20AM.jpg?alt=media&#x26;token=a095419f-896f-4c1a-b63b-4d697909d00d" alt=""><figcaption></figcaption></figure>

You've now successfully set up the Zap to trigger whenever a new participant is added to your GrowSurf campaign. Now it's time to create the action of adding/updating the new GrowSurf participant.

### Step 3: Set up the Zap action(s)

For the **Action** step, search for and select **HubSpot** from the app list.&#x20;

<figure><img src="https://2794996218-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LeklWo0yn03AhWro2Ux%2Fuploads%2FwZ7eAXjGTZ0OPGmLNVzZ%2FScreen%20Shot%202025-06-06%20at%202.25.42%20PM.jpg?alt=media&#x26;token=5b3eed80-21a4-424c-b19f-dad5111385c8" alt=""><figcaption></figcaption></figure>

Then in the **Event** field, select **Create or Update Contact** from the dropdown menu. Then, in the **Account** field, select your account, or click **Connect a new account** to link a new one. Next, click **Continue**.

<figure><img src="https://2794996218-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LeklWo0yn03AhWro2Ux%2Fuploads%2FpE8I54EIvoBlJhbSIbFF%2FScreen%20Shot%202025-06-06%20at%201.44.57%20PM.jpg?alt=media&#x26;token=0a4b15c9-5250-4a14-9412-dd4d5d2ea785" alt=""><figcaption></figcaption></figure>

Then select **Participant Email** from the dropdown menu in the **Contact Email** field. Once you've filled in all the properties that you want to save to the HubSpot contact, click **Continue.**

<figure><img src="https://2794996218-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LeklWo0yn03AhWro2Ux%2Fuploads%2FeRUQMrf23YxY8gE0BMsn%2FScreen%20Shot%202025-06-06%20at%203.07.41%20PM.jpg?alt=media&#x26;token=6a3d0026-4a3c-4ef2-bdfb-0ba86004cd33" alt=""><figcaption></figcaption></figure>

Then, click the **Test step** button.

<figure><img src="https://2794996218-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LeklWo0yn03AhWro2Ux%2Fuploads%2FbraBHw35WRrz0Yl7Kybo%2FScreen%20Shot%202025-06-06%20at%204.09.58%20PM.jpg?alt=media&#x26;token=7d0e681d-2347-44b8-b60a-113412f0fe93" alt=""><figcaption></figcaption></figure>

You've now successfully set up the Zap action. To finalize the process, simply click the **Publish** button. Your Zap is now live and will create/update new HubSpot contacts whenever a new GrowSurf participant is added.

<figure><img src="https://2794996218-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LeklWo0yn03AhWro2Ux%2Fuploads%2FYlFzjPDx3ihi1023W2Vd%2FScreen%20Shot%202025-06-06%20at%203.58.18%20PM.jpg?alt=media&#x26;token=f8f7645d-f600-4108-9e88-479233745e75" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
**Need multiple actions?**

A [multi-step Zap](https://help.zapier.com/hc/en-us/articles/8496257774221-Set-up-your-Zap-action) allows you to incorporate multiple action steps into your Zap. For instance, in example 2, the Zap adds/updates GrowSurf participants to HubSpot, but you could add another action, such as receiving a notification in Slack, all in the same Zap.<br>
{% endhint %}

## Example 3: Campaign Ended

In this example, we'll email the results of the referral campaign to your company CEO when the GrowSurf campaign ends.

### [Step 1: Get access to GrowSurf on Zapier](https://docs.growsurf.com/integrations/zapier/..#getting-started)

Click on the link above to view how to access GrowSurf on Zapier.

{% hint style="warning" %}
**Note:** Only the GrowSurf team owner's campaigns will show up when you connect to Zapier. If you are setting the Zap up as a team member, you will need to connect to Zapier using the team owner's GrowSurf account.
{% endhint %}

Once logged into Zapier, click the **Create Zap** button on the sidebar menu.&#x20;

### Step 2: Set up the Zap trigger

For the **Trigger** step, search for and select **GrowSurf** from the app list.&#x20;

<figure><img src="https://2794996218-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LeklWo0yn03AhWro2Ux%2Fuploads%2FZW2JDk4lEVdLvtdjHOza%2FScreen%20Shot%202025-06-06%20at%202.25.42%20PM.jpg?alt=media&#x26;token=6660cec8-0cb1-4db4-9ee3-c021891ae959" alt=""><figcaption></figcaption></figure>

&#x20;In the **Trigger Event** field, choose **Campaign Ended**. Then, in the **Account** field, select your connected GrowSurf account, or click **Connect a new account** to link a new one. Next, click **Continue**.

<figure><img src="https://2794996218-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LeklWo0yn03AhWro2Ux%2Fuploads%2FmQ1sEhYk3yutscX5mWCx%2FScreen%20Shot%202025-06-06%20at%205.06.00%20PM.jpg?alt=media&#x26;token=5399419a-4717-4c07-9685-d0a109fc2c5f" alt=""><figcaption></figcaption></figure>

Then, select your campaign and click the **Continue** button. Next, click the **Test trigger** button.

<figure><img src="https://2794996218-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LeklWo0yn03AhWro2Ux%2Fuploads%2FlB2f54t3uX5XaomHkGyR%2FScreen%20Shot%202025-06-06%20at%205.10.38%20PM.jpg?alt=media&#x26;token=14704147-38a4-4755-95ab-19c1ca39dd53" alt=""><figcaption></figcaption></figure>

{% hint style="warning" %}
**Note:** In case you are unable to find your campaign(s) in the dropdown menu, please bear in mind that only the campaigns that you own will be visible. If you are configuring the Zap as a member of a team, then you must return to step #1 and link Zapier to your team owner's GrowSurf account.
{% endhint %}

Click **Continue with selected record**, or click **Find a record**, select the record, and then click the continue button.

<figure><img src="https://2794996218-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LeklWo0yn03AhWro2Ux%2Fuploads%2FFkOsddHTcc2cQee31Fy7%2FScreen%20Shot%202025-06-06%20at%205.22.45%20PM.jpg?alt=media&#x26;token=06204da6-3cf4-4092-95c1-682815349c6d" alt=""><figcaption></figcaption></figure>

You have successfully configured the Zap to trigger once your GrowSurf campaign ends. The next step is to create the action of sending out an email.

### Step 3: Set up the Zap action(s)

For the **Action** step, search for and select **Email** from the app list.&#x20;

<figure><img src="https://2794996218-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LeklWo0yn03AhWro2Ux%2Fuploads%2FLkcNcYha038FBZU738GD%2FScreen%20Shot%202025-06-04%20at%2012.11.38%20AM.jpg?alt=media&#x26;token=c03342bf-c785-45f3-a571-32297bc8b3a5" alt=""><figcaption></figcaption></figure>

Then, in the **Action event** field, select **Send Outbound Email** from the dropdown menu. Next, click **Continue**.

<figure><img src="https://2794996218-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LeklWo0yn03AhWro2Ux%2Fuploads%2FSAWZz8L0JpwfmM0PytXD%2FScreen%20Shot%202025-06-06%20at%207.00.22%20PM.jpg?alt=media&#x26;token=469a3c8c-29ae-43aa-aac6-b9d68aa21b8c" alt=""><figcaption></figcaption></figure>

Type in the CEO's email in the **To** field. Then, in the **Subject** field, type **Referral Campaign Results**.

In the **Body** field, enter the custom message below. To insert the appropriate `<Count>`s, click the **+** button, then select the desired option from the dropdown menu. When you're done, click **Continue**.

> Hi Gavin,
>
> We just wrapped up your referral campaign. Here are the results:
>
> * `<Campaign Impression Count>` The total number of times participants' referral links were visited
> * `<Campaign Participant Count>` The total number of participants in your referral campaign
> * `<Campaign Referral Count>` The total number of referred friends that have performed a qualifying action
> * `<Campaign Winner Count>` The total number of participants who qualified for a reward

Here's what your screen should look like:

<figure><img src="https://2794996218-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LeklWo0yn03AhWro2Ux%2Fuploads%2FLi6B9pGblTCe3AoYhaWW%2FScreen%20Shot%202025-06-06%20at%207.19.17%20PM.jpg?alt=media&#x26;token=6a22425b-b112-438e-a39c-de6a4978a125" alt=""><figcaption></figcaption></figure>

Then, click the **Test step** button.

<figure><img src="https://2794996218-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LeklWo0yn03AhWro2Ux%2Fuploads%2FYSylSaGQZDk633mV68ji%2FGrowSurf%20Zap%20-%20Zapier%20-%20Google%20Chrome%202023-03-16%20at%2012.32.50%20PM.png?alt=media&#x26;token=d9d0475a-dd63-43b8-bf50-16f16f4d5844" alt=""><figcaption></figcaption></figure>

You've now successfully set up the Zap action. To finalize the process, simply click the **Publish** button. Your Zap is now live and will send out an email report when your GrowSurf campaign ends.

<figure><img src="https://2794996218-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LeklWo0yn03AhWro2Ux%2Fuploads%2FV5f6OWLt9Rwkk4eYtwnk%2FScreen%20Shot%202025-06-06%20at%207.37.45%20PM.jpg?alt=media&#x26;token=f3cd18f3-62d8-498e-9a7b-1159f5c15605" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
**Need multiple actions?**

A [multi-step Zap](https://help.zapier.com/hc/en-us/articles/8496257774221-Set-up-your-Zap-action) allows you to incorporate multiple action steps into your Zap. For instance, in example 3, you can send out an email report with Email by Zapier and then add another action, such as receiving a notification in Slack, all in the same Zap.
{% endhint %}

## Example 4: Trigger Referral

In this example, we'll use Zapier to trigger a referral in GrowSurf whenever a new payment is recorded in Stripe.

### [Step 1: Get access to GrowSurf on Zapier](https://docs.growsurf.com/integrations/zapier/..#getting-started)

Once logged into Zapier, click the **+ Create** button in the top-left corner.

{% hint style="warning" %}
**Note:** Only the GrowSurf team owner's campaigns will show up when you connect to Zapier. If you are setting the Zap up as a team member, you will need to connect to Zapier using the team owner's GrowSurf account.
{% endhint %}

### Step 2: Set up the Zap trigger

For the **Trigger** step, search for and select **Stripe** from the app list. Then, in the **Trigger Event** field, choose **New Payment**. Click the **Account** field and select your Stripe account, or click **Connect a new account** to link a new one. Next, click **Continue**.

<figure><img src="https://2794996218-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LeklWo0yn03AhWro2Ux%2Fuploads%2Fa9LXeziKJhYjq1A8Freb%2FScreen%20Shot%202025-06-03%20at%203.50.36%20PM.jpg?alt=media&#x26;token=c2cfcbee-c58e-4e8e-87f2-9ef023780d36" alt=""><figcaption></figcaption></figure>

\
Then, click **Test trigger** to ensure the connection is working correctly.

<figure><img src="https://2794996218-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LeklWo0yn03AhWro2Ux%2Fuploads%2FzejCvndcslKG1cGDFuQA%2FScreen%20Shot%202025-06-03%20at%204.05.42%20PM.jpg?alt=media&#x26;token=ca7ac98e-6a26-48af-ba55-91bf2fc5c4a1" alt=""><figcaption></figcaption></figure>

You’ve now successfully set up the Zap to trigger when a new payment occurs in Stripe. Now it’s time to set up the action to trigger a referral using GrowSurf.

### Step 3: Set up the Zap action(s)

For the **Action** step, search for and select **GrowSurf**. Then, in the **Event** field, choose **Trigger referral**. Click the **Account** field and select your GrowSurf account, or click **Connect a new account** to link a new one. When you're done, click **Continue**.

<figure><img src="https://2794996218-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LeklWo0yn03AhWro2Ux%2Fuploads%2FKdhGxR7t6bckf4Er4wSU%2FScreen%20Shot%202025-06-03%20at%204.33.13%20PM.jpg?alt=media&#x26;token=6ec738c8-2e8c-43eb-88f9-c400675e65ee" alt=""><figcaption></figcaption></figure>

Select your campaign from the **Campaign** field. In the **Participant Email** field, insert the customer’s email (e.g., the Stripe Customer Email). After that, click **Continue.**

<figure><img src="https://2794996218-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LeklWo0yn03AhWro2Ux%2Fuploads%2FWaNQ3DJVIARbGvlGyEjB%2FScreen%20Shot%202025-06-06%20at%207.51.35%20PM.jpg?alt=media&#x26;token=a322435c-cf61-4eb4-84c8-2717c14e53a0" alt=""><figcaption></figcaption></figure>

Then, click the **Test step** button.

<figure><img src="https://2794996218-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LeklWo0yn03AhWro2Ux%2Fuploads%2FMWVX5XgKRUskpr6J2SGN%2FScreen%20Shot%202025-06-06%20at%207.55.30%20PM.jpg?alt=media&#x26;token=57eafc26-5a0e-4b2d-ba6c-72f91a5c649f" alt=""><figcaption></figcaption></figure>

You've now successfully set up the Zap action. To finalize the process, simply click the **Publish** button. Your Zap is now live and will trigger a referral anytime you get a new payment in Stripe.

<figure><img src="https://2794996218-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LeklWo0yn03AhWro2Ux%2Fuploads%2FItxjM1qITfbq2gRHdYPA%2FScreen%20Shot%202025-06-06%20at%208.01.42%20PM.jpg?alt=media&#x26;token=e1a59c1d-858e-446d-aba0-7fb643799f58" alt=""><figcaption></figcaption></figure>


---

# 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://docs.growsurf.com/integrations/zapier/tutorials.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.
