Overview
This guide walks you through setting up automation between Spraye and Clicki using Zapier. By following the steps below, you'll ensure that each new customer in Spraye is automatically enrolled in your referral campaign in Clicki, and that referral payouts are automatically processed when a referred customer becomes a paying customer.
Part 1: Connecting Spraye to Clicki
Step 1: Set Up Zapier Integration
-
Log into your Zapier account and click Create a new Zap.
-
Select Spraye as your trigger app:
-
Search for the Spraye app in the Zapier app directory.
-
Set the event trigger to Customer Created.
-
Authenticate your Spraye account by entering your API key (found in your Spraye account settings).
-
-
Once authenticated, click Continue to move to the next step.
Step 2: Add the Webhook to Send Data to Clicki
-
Select Webhooks by Zapier as the action app.
-
Set the action event to GET.
-
Go to your Clicki dashboard and create a new webhook under the Campaign you want new customers to be enrolled in.
-
Navigate to Settings > Webhooks > Add Promoter.
-
Copy the generated webhook URL.
-
-
Return to Zapier and paste the Clicki webhook URL into the URL field.
-
Map your customer data from Spraye to Clicki:
- Map relevant fields such as First Name, Last Name, Phone Number, and Email Address.
-
Test the Zap to ensure everything is working correctly.
Step 3: Finalize the Zap
-
Click Continue to finish setting up your Zap.
-
Test the Zap using a sample customer from Spraye to ensure the customer data is properly passed to Clicki.
-
Once the test is successful, click Publish to activate the Zap.
Now, every time a new customer is created in Spraye, they will automatically be added to your referral campaign in Clicki, allowing them to start sharing and generating referrals.
Part 2: Automatically Approve Referral Payouts in Clicki
Once your customers start generating referrals, it's important to automate the payout process when a referred customer becomes a paying customer in Spraye.
Step 1: Set Up Referral Bonus Auto-Approval
-
Go to your Clicki dashboard and create a new webhook under the Reward Referral section.
-
Navigate to Settings > Webhooks > Add Referral Reward.
-
Copy the generated webhook URL for the campaign you want to automate payouts for.
-
-
Return to Zapier and paste the webhook URL into the URL field for this step.
-
Map the necessary fields to ensure referrals are identified correctly:
- Clicki looks up referrals using Email or Phone Number, so map these fields from Spraye to Clicki.
Step 2: Test & Publish the Auto-Approval Zap
-
Test the Zap with a real or sample customer to ensure that the referral payout process works as expected.
-
Once the test is successful, click Publish to finalize the Zap.
With this automation in place, whenever a referred customer makes a purchase in Spraye, Clicki will automatically process the referral bonus payout based on the unique referral's email or phone number.
Summary
By following these steps, you’ve created a seamless connection between Spraye and Clicki:
-
New customers in Spraye are automatically enrolled in your Clicki referral campaign.
-
Referral payouts are automatically approved when a referred customer becomes a paying customer, without requiring manual intervention.
This integration saves time and streamlines your referral marketing process, allowing your business to grow through organic referrals while handling rewards and bonuses automatically.
If you encounter any issues, feel free to reach out to our support team for assistance.