# Tutorials

## Example 1: New Participant Added

In this example, we'll connect GrowSurf to Slack. Whenever a new participant is added to your GrowSurf referral campaign, we'll send a message in Slack.

### [Step 1: Log in to Pabbly Connect](https://www.pabbly.com/connect/)

Click on the link above to get access to Pabbly Connect.

Your screen should now look like this:

![](https://2794996218-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LeklWo0yn03AhWro2Ux%2F-MUD2QwuY3sWD-CJ6D2J%2F-MUD3cJRvBpT-NlHUgLq%2Fimage.png?alt=media\&token=4454227b-3326-4d86-b340-549a39a23710)

Once logged into Pabbly Connect, navigate to **Connect** and click the **Access Now** button.

### Step 2: Click on the Create Workflow button

![](https://2794996218-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LeklWo0yn03AhWro2Ux%2F-MUD3hGRGqE-QRoy8o9K%2F-MUD6Q_WTVb5Aoj72y-D%2Fimage.png?alt=media\&token=090c9878-950b-4564-9e0e-f3f72db07add)

In the **Name** field, type the name of your workflow, then click **Create**.

Your screen should now look like this:

![](https://2794996218-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LeklWo0yn03AhWro2Ux%2F-MUD3hGRGqE-QRoy8o9K%2F-MUD6txpPNpdJGkT25JW%2Fimage.png?alt=media\&token=cce02d68-e0cb-4e60-8b51-6a51270e2a02)

### Step 3: Set up the trigger for GrowSurf to Slack Integration

In the field **Choose App**, type G*rowsurf* and select **GrowSurf** from the dropdown menu. Then in the field **Trigger Event**, select **New Participant** from the dropdown menu.

Your screen should now look like this:

![](https://2794996218-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LeklWo0yn03AhWro2Ux%2F-MUDrABhEzkpk1k7GsCK%2F-MUDsGfLeEGjZuBtfHkB%2Fimage.png?alt=media\&token=5560f004-5d2e-4508-8a3b-fb5af9e4067f)

### Step 4: **Copy the Webhook URL**

![](https://2794996218-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LeklWo0yn03AhWro2Ux%2F-MUDsJzcLK2CSveCCjYs%2F-MUEuqIs23p5paNqq1sH%2Fimage.png?alt=media\&token=89b23dfb-ea42-4179-a08a-abfb7f637d7b)

### Step 5: Connect GrowSurf to Pabbly Connect

Access your GrowSurf account, then click *CAMPAIGN ACTIONS > EDIT CAMPAIGN > 4. OPTIONS > VIEW ALL INTEGRATIONS.*

![](https://2794996218-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LeklWo0yn03AhWro2Ux%2F-MUEutEpFkRR9pWbaCNf%2F-MUEvbzfK2LBBGjg9XQU%2Fimage.png?alt=media\&token=5280c575-e089-40a3-bf46-5df7ff4c17b4)

![](https://2794996218-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LeklWo0yn03AhWro2Ux%2F-MUEvjujpiM-SLBCFbIG%2F-MUEvzEgFR4dRpTgP_uQ%2Fimage.png?alt=media\&token=72d9d17b-48c4-488e-b412-b9218de9c6e8)

Scroll down and click **Webhooks**. In the Webhook URL field, paste the webhook URL, then click **Show advanced webhook settings** and select **New Participant**. Next, click the **SAVE CHANGES** button in the top right corner.

### Step 6: Test Integration

To check if the integration is capturing data or not, go to Workflows in Pabbly Connect and click **Capture Webhook Response.**

![](https://2794996218-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LeklWo0yn03AhWro2Ux%2F-MUF6gFIGDKO-VwGNWFD%2F-MUFB7fYzvpArSAtvhI3%2FScreenshot_8.png?alt=media\&token=83360728-f016-47f5-b14c-8a2e9f87d1d8)

Your screen should now look like this:

![](https://2794996218-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LeklWo0yn03AhWro2Ux%2F-MUF6gFIGDKO-VwGNWFD%2F-MUFC0sIgSAIJpif7izx%2FScreenshot_9.png?alt=media\&token=b9856577-d1df-4f59-9900-d723cecd2205)

Next, go to your webhooks integration in GrowSurf and click the **TEST** button, then select **New Participant** for the **Webhook Event** and click the **SEND** button.

Your screen should now look like this:

![](https://2794996218-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LeklWo0yn03AhWro2Ux%2F-MUFCjfSlnQXGQ0WKYtR%2F-MUFFC1MCuCnsfANqrNd%2FScreenshot_10.png?alt=media\&token=5b6fae97-c68f-4b36-984c-2aa098382a67)

Return to your Pabbly Connect dashboard. If the webhook response was captured, you will see something similar to this:

![](https://2794996218-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LeklWo0yn03AhWro2Ux%2F-MUFCjfSlnQXGQ0WKYtR%2F-MUFHUDjcVQW0x7WQnbg%2FScreenshot_11.png?alt=media\&token=ca4ece62-5b60-457d-a29c-3c5baa06e444)

When you are done examing the information, click the **Save** button.

### **Step 7: Set Action for GrowSurf to Slack Integration**

On the same screen as your webhook response, click the plus button and choose an action.

Your screen should now look like this:

![](https://2794996218-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LeklWo0yn03AhWro2Ux%2F-MUFCjfSlnQXGQ0WKYtR%2F-MUFK1U1_kVhDitYjcWk%2FScreenshot_12.png?alt=media\&token=02898239-24fd-4881-a827-ee888f38f672)

Choose the application and **Action Event**

Your screen should now look like this:

![](https://2794996218-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LeklWo0yn03AhWro2Ux%2F-MUFK3Ur4U-2PnpMwNFm%2F-MUFLMjSZY8y-e4vFYce%2FScreenshot_13.png?alt=media\&token=19b367e2-d93f-49e1-9574-8218107b0285)

### **Step 8: Click the Connect With Slack Button**

![](https://2794996218-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LeklWo0yn03AhWro2Ux%2F-MUFK3Ur4U-2PnpMwNFm%2F-MUFNTMeSiJmP33qSlbh%2Fimage.png?alt=media\&token=03f90f43-ea22-4fb3-9628-fff5b810fff3)

### Step 9: Connect Slack to Pabbly Connect

![](https://2794996218-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LeklWo0yn03AhWro2Ux%2F-MUFK3Ur4U-2PnpMwNFm%2F-MUFOHl9hsoC2Zb_ApbL%2Fimage.png?alt=media\&token=01fa0bac-2647-4299-9c9b-ad5eee9a5506)

To authenticate your Slack account, please click the **Connect with Slack** button and then grant the permission to connect Pabbly Connect and Slack.

![](https://2794996218-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LeklWo0yn03AhWro2Ux%2F-MUFQ1yas2rXTIbJuKHV%2F-MUFS9uOop-xTGQJ3J6I%2FScreenshot_14.png?alt=media\&token=f7f6fdcc-849d-484b-80b2-b684c21af134)

In Pabbly Connect, please add the information from your webhook response to the **Message** field. Your **Message** field should look similar to this:

![](https://2794996218-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LeklWo0yn03AhWro2Ux%2F-MUFQ1yas2rXTIbJuKHV%2F-MUFQK-JSGA_HeAFsy8f%2Fimage.png?alt=media\&token=d47f9dc0-f809-44c1-bf66-ecf4ba918ac2)

Please note the **Bot Name** can be the same name as your **Channel.**

After you finish adding the required information, please click the **Save & Send Test Request** button.

Your screen should look similar to this:

![](https://2794996218-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LeklWo0yn03AhWro2Ux%2F-MUFYY_ouwmIxmDH-Fzk%2F-MUFYgLHIgSpWr-7g17U%2Fimage.png?alt=media\&token=999bd527-8b86-4b8d-9991-93f0df79e4cb)

Click the **Save** button to save the workflow.

### Step 10: Check Response in Slack

![](https://2794996218-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LeklWo0yn03AhWro2Ux%2F-MUFYY_ouwmIxmDH-Fzk%2F-MUFZcnrtIQkyjpFmGNP%2Fimage.png?alt=media\&token=2cfe61b2-6839-4cf3-9f2c-8588d80c0b58)
