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 a POST webhook in Attio to send data to SEEN, and an populating attribute fields in Attio.

 

This example uses persons first name and last name as the personalisations, and their email address as their unique identifier.

Send data to SEEN

  1. Create a new workflow in Attio to send data to SEEN.
  1. Set up your Trigger (this example uses “Record created” and “Object ⇒ “People”)
  1. 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”.
Notion image
  1. You can now publish your workflow and create a record to test the connection.

Receive data back from SEEN

  1. 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.
  1. Create a new workflow, and choose “Webhook received” as the trigger.
      • Share your Webhook URL with SEEN
  1. 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
  1. 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
  1. Publish the workflow, and create a new record.
  1. If everything worked as expected, your record has been updated with both links.
    1. Notion image
Did this answer your question?
😞
😐
🤩

Last updated on December 13, 2024