Attio
How to integrate Attio with SEEN
In the following example, we will be sending persons data to SEEN for video generation, and receiving a unique landing page link and a unique, personalised thumbnail back to Attio for distribution.
This example uses persons first name and last name as the personalisations, and their email address as their unique identifier.
Send data to SEEN
- Create a new workflow in Attio to send data to SEEN.
- Set up your Trigger (this example uses “Record created” and “Object ⇒ “People”)
- Set up a “Send HTTP Request” step with the following details:
- Method ⇒ POST
- URL ⇒ https://api.seen.io/v1/campaigns/{campaign_slug}/receivers/
- You will receive your campaign_slug from SEEN
- Headers ⇒
- Header ⇒ Authorization
- Value ⇒ Token {your token}
- You will receive your token from SEEN
- Content-Type header ⇒ application/json
- Body ⇒ you can use the JSON below as a starting point:
[
{
"first_name":"",
"last_name":"",
"customer_id":""
}
]
- Remember to add your variables using the “Insert variable” button.
- Remember to use the persons email address as their “customer_id”.
- You can now publish your workflow and create a record to test the connection.
Receive data back from SEEN
- Create new Attribute fields for the People object. In this example we call them "SEEN landing page URL” and “SEEN email thumbnail URL”. Remember to use “Text” as the type.
- Create a new workflow, and choose “Webhook received” as the trigger.
- Share your Webhook URL with SEEN
- Add “Parse JSON” as the next step, and configure it with following information:
- Raw JSON String ⇒ { Webhook Payload Body } (add this by clicking “Insert variables”)
- Add field (Field 1) ⇒
- Path ⇒ landing_page_url
- Output Type ⇒ String
- Add field (Field 2) ⇒
- Path ⇒ email_thumbnail_url
- Output Type ⇒ String
- Add field (Field 3) ⇒
- Path ⇒ customer_id
- Output Type ⇒ String
- Add “Create or update record” as the next step, and configure it with following information:
- Object ⇒ People
- Matching attribute ⇒ Email addresses
- Email addresses (matching attribute) ⇒ Field 3
- SEEN landing page URL ⇒ Field 1
- SEEN email thumbnail URL ⇒ Field 2
- Publish the workflow, and create a new record.
- If everything worked as expected, your record has been updated with both links.
Did this answer your question?
😞
😐
🤩
Last updated on December 13, 2024