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

  1. Create a new Campaign in customer.io to send data to SEEN.
  1. Define your Trigger, Settings and Goal & Exit.
  1. In the “Workflow” step, add a new “Send & Receive Data”.
  1. 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} **
  1. 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.

  1. If there are no errors, you can now test the integration by clicking “Send test…”.
  1. If everything works as expected, you can finish the workflow setup and activate.
 

Receive data back from SEEN

  1. 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.
  1. Share the following information about the event with SEEN:
    1. Name of the event
    2. Which event-attributes you would like to include (e.g. “landing_page_url” and “email_thumbnail_url”)
    3. Which identifier is to be used (e.g. “cio_id” or “email”)

SEEN will set up the payload based on this information.

  1. Remember to also provide a test identifier to SEEN so that the callback can be tested.
Notion image
Did this answer your question?
😞
😐
🤩

Last updated on October 21, 2024