Customer.io
How to integrate Customer.io with SEEN
In the following example, we will be sending users data to SEEN for video generation, and receiving a unique landing page link and a unique, personalised thumbnail back to customer.io for distribution.
This example uses a POST webhook in customer.io to send data to SEEN, and an event to receive the data back to customer.io.
Send data to SEEN
- Create a new Campaign in customer.io to send data to SEEN.
- Define your Trigger, Settings and Goal & Exit.
- In the “Workflow” step, add a new “Send & Receive Data”.
- Click “Add Request”, and fill out the step with the following information:
- HTTP method ⇒ POST
- URL ⇒ https://api.seen.io/v1/campaigns/{campaign_slug}/receivers/ *
- Headers ⇒ Add header
- Name ⇒ Authorization
- Value ⇒ Token {token} **
- You can use the code snippet below as the starting point for the payload: ***
[
{
"customer_id":"{{customer.cio_id}}",
"email":"{{customer.email}}",
"first_name":"{{customer.first_name}}",
"last_name":"{{customer.last_name}}"
}
]
*You will receive your campaign_slug from SEEN
** You will receive your token from SEEN
*** Remember to modify your payload based on your video campaign. More information about the payload structure in our documentation.
- If there are no errors, you can now test the integration by clicking “Send test…”.
- If everything works as expected, you can finish the workflow setup and activate.
Receive data back from SEEN
- Create a new API key and share it together with your Site ID to your Customer Success Manager at SEEN in a safe manner. Remember to use the Track API.
- Share the following information about the event with SEEN:
- Name of the event
- Which event-attributes you would like to include (e.g. “landing_page_url” and “email_thumbnail_url”)
- Which identifier is to be used (e.g. “cio_id” or “email”)
SEEN will set up the payload based on this information.
- Remember to also provide a test identifier to SEEN so that the callback can be tested.
Did this answer your question?
😞
😐
🤩
Last updated on October 21, 2024