<aside>

In the following example, we will be sending customer data to Seen for video generation, and receiving a unique video player link and personalised email thumbnail back to Xtremepush for distribution. This example uses an event-triggered webhook campaign in Xtremepush to send data to Seen, and a Seen Project webhook to deliver the result back as an event. No third-party middleware is required

If you have multiple video campaigns with Seen, repeat the process to connect Xtremepush with each one.

You can reach out to your Customer Success Manager at Seen for assistance.

A Project needs to be created and published in the Seen Platform prior to setting up the integration.

</aside>


Send data to Seen

  1. Navigate to Campaigns → Create Campaign, select the trigger you want to use to trigger video generation, and give it a name. Select Webhook as the channel and proceed to Step 2: Content. Configure the webhook as follows:

<aside>

You can find your Project endpoint in the Run tab of your Seen Platform Project.

</aside>

<aside>

Remember to modify the payload to match the variables used in your Seen Project. All fields must match property names defined in your Seen Project.

</aside>

<aside>

You can create an API token in your Seen Platform account under Settings → API.

</aside>

The final webhook payload will look like this:

   {
     "first_name": "{{ first_name }}",
     "last_name": "{{ last_name }}",
     "id": "{{ user.id }}"
   }
  1. Proceed to Step 3: Events and set the trigger event to the event created above. Review and launch.

Prepare to receive data from Seen

  1. Create a new event in Xtremepush to receive your player link and personalised email thumbnail link. You can add a new event by navigating to Data → Data Manager → Events. Give the event a name and take a note of the name. It is needed in the next step in Seen Platform Project. This example uses the event name seen.
  2. Create a new campaign (as in the first step), choose Trigger type → Event Triggered and choose Trigger event → seen on step 3. Trigger.
  3. Finish up the campaign set-up according to your specific use case.

Set up your webhook in your Seen Platform Project