Easily send mail to your existing Yotpo audiences by connecting your lists and segments to PostPilot.
Connect your Yotpo Account
Go to your PostPilot integrations page, and click to connect your Yotpo account.
Then:
- Select the shop you want to connect
- In the Yotpo app select Connect
- You'll be redirected back to PostPilot
If PostPilot was successfully able to connect to Yotpo using your access token, you'll see a success notification at the top of the screen.
You can only connect one shop to your Yotpo account.
If you haven’t connected your Shopify then follow these instructions to do so before connecting your Yotpo account.
Sync your Segments and Lists
In order to target customers in PostPilot using your Yotpo audiences, we'll need to select which audiences to synchronize with the platform.
Now that you've configured the connection, you can add as many of your Yotpo segments and lists to PostPilot as you need by clicking the button from your Yotpo account connection screen, and selecting the list or segment to connect.
You can repeat this process as many times as you need to link your audiences to PostPilot.
Once this is completed, the system will synchronize your connected lists and segments with the platform.
PostPilot will automatically re-synchronize your connected audiences once a day, but if you need to synchronize it more frequently, you can always click the "sync" button shown by the associated audience to trigger an immediate update.
PostPilot can capture segments and lists for Yotpo SMS & Email, as well as segments for Yotpo Loyalty.
Send Mail to a Yotpo Audience
Now that your Yotpo audiences are connected to PostPilot, there are a wide variety of ways you can use these to send direct mail to your customers!
Use Yotpo audience in a filter
You can filter Shopify customers by their membership in a Yotpo segment or list by using a "Yotpo contact" filter. You can filter customers by whether they are in (or not in) any of your connected Yotpo audiences:
Use Yotpo with MailMatch™
You can even use our exclusive MailMatch™ technology to acquire new customers by targeting email prospects in your Yotpo audiences with postcards, even if you don’t have their physical address!
How can I trigger postcards from a Yotpo flow?
It's easy to connect our API to Yotpo to trigger a postcard from an existing Yotpo flow -- no devs needed!
Step 1: Grab your API key (<2 minutes)
Simply follow our step-by-step guide on how to create a new API connection for your integration and return to this page when done to continue with step 2.
Step 2: Create a PostPilot Flow (<5 minutes)
When you trigger a webhook from a Yotpo flow, you need to tell PostPilot what to do. Follow our step-by-step guide on how to create a PostPilot flow targeting an API connection, and return to this page when done to continue with Step 3.
Step 3: Add a Webhook to your Yotpo flow (<3 minutes)
Want to send postcards from multiple Yotpo flows? No problem - just repeat step 2 above and add additional flows in PostPilot, one for every distinct Yotpo flow.
(Then configure the appropriate destination URLs in each Yotpo webhook.)
Create a webhook action
Just click this link to log into your Yotpo account and head over to the flows page. From there, find the flow you want to integrate and click to edit it.
Within the flow editor, click "Add action" and look for "Add webhook" from the list of available Actions in the left navigation menu:
Configure the webhook
Paste your API URL for the PostPilot flow you want to trigger (from step 4 when you previously created the flow) into the "destination URL" field of the Yotpo webhook:
Next, delete the content that was added to the "JSON body" input by default and copy the below content into the "JSON body" field of the configuration:
{
"reference_id": "{{ person.email }}",
"firstname": "{{ person.first_name|default:'' }}",
"lastname": "{{ person.last_name|default:'' }}",
"email": "{{ person.email }}",
"line1": "{{ person|lookup:'$address1'|default:'' }}",
"line2": "{{ person|lookup:'$address2'|default:'' }}",
"city": "{{ person.City|default:'' }}",
"state": "{{ person.Region|default:'' }}",
"postal_code": "{{ person.Zipcode|default:'' }}",
"country": "{{ person.Country|default:'' }}"
}
(You can leave the "headers" section of the configuration empty.)
Step 4: Test your webhook action
The only thing left to do is test the connection. (But that’s easy, too.)
Click on your new webhook action, and in the left pane, scroll down to click the “Send a test request” button.
If all goes well, you’ll see a green confirmation message that the webhook was sent successfully.
Turn on the send block
If you haven't already, don't forget to turn on the send block to start sending mail to your customers and prospects using your new API integration between Yotpo and PostPilot!
Note that when testing your API connection from Yotpo, you may have added customers to the flow in PostPilot that will be sent postcards when the send block is enabled.
To prevent this, make sure you clear any pending events in the flow prior to enabling the send block.