How to set up Video Agent in your Marketo workflow
Want to reduce the amount of time your team spends on outreach? Use the Video Agent for Marketo workflow in your Vidyard campaigns to automatically create and send personalized video messages to your contacts when they take certain actions, like booking a demo or filling out a form.
This article will walk you through how to get set up—connecting the integration in Vidyard, creating a Campaign, and configuring your Marketo workflows to create custom videos. The steps here are an example of how to set up and use Video Agent, but you can further customize your workflow in Marketo to perfectly fit your needs.
Connect your Marketo Workflow in Vidyard
The first step to setting up your Marketo workflow integration is to connect your Marketo account to Vidyard.
- Select Admin > API tokens from the main menu, then copy and paste the Admin API token into your notepad
- Sign in to Marketo, then select Admin > Integration > Launchpoint from the main menu
- Select API, then copy and paste the Client ID and Client Secret from Marketo into your notepad
- Select Admin > Integration > Web services, then copy and paste the Endpoint domain value into your notepad
- Don’t include the /rest in the endpoint domain when you copy it
- Select Admin > Integrations from the main menu, then Add next to the Marketo AIA Integration
- Select New authentication, then paste the values from steps 3 and 4 in their respective fields
- Select Create, then Next
- Paste the Admin API Token from Step 1, then select Next
- Copy and paste the Marketo Webhook ID into your notepad, then select Next
- Copy the link in Configure your AI workflow into the field below it (webhook_url), then select Finish
Choose a Vidyard Campaign for your workflow
To create AI videos for each of your viewers, you need to create a Campaign in Vidyard that Video Agent can follow. The script you enter can use dynamic variables (eg. {{first name}}, etc.) to personalize the video for each viewer.
Once you've created a campaign (or selected an existing one), select that campaign's Workflow tab, and pick the Marketo platform option from the dropdown menu.
You'll need the values provided on this page for further setup in Marketo, so copy them into your notepad for future steps.
Create a Webhook in Marketo
Next, you'll create a webhook in your Marketo account, with the following values. This will allow Vidyard to create personalized AI videos based on your contacts' variables. Make sure you name the webhook something you'll remember, that's specific to this campaign and workflow (eg. "Form fill webhook").
- URL - The webhook URL you copied into your notepad from your Vidyard workflow
- Payload template - The variables accessible by selecting View variables from your Vidyard workflow (email and campaign_id are mandatory)
- Request Token Encoding - JSON
- Request Type - POST
- Response Type - JSON
Create a custom field in Marketo
Vidyard needs a custom property field to store a video’s unique identifier (UUID) on any lead or contact records. This value allows Video Agent to associate a video with a viewer, so that they’re provided the correct personalized AI video.
To do this, follow Marketo’s instructions on creating a custom field, then create a field called vidyardVideoUUID
. Please note, that this field is case sensitive and needs to be added exactly as shown.
Create a Smart Campaign in Marketo
You now have everything you need to set up the triggers that will create personalized videos for your contacts. To start, you'll need to add a Flow to the Smart Campaign that will reference the webhook you created earlier.
- Create a new smart campaign or edit an existing one
- Select Flow, then drag the Call Webhook action under Integrations into the flow
- Choose the webhook you made in this step from the Webhook dropdown menu
Once you've added the Flow, you can add any trigger you choose to your Smart List. This trigger will use the Flow to call the webhook you created, and use that webhook's information to create custom AI videos.
For example, say you'd like the trigger to be someone filling out a form. To do that, you would drag over Filled Out Form from the list of triggers on the right-hand side.