How to set up Video Agent in your Salesforce workflow

Avatar
Caroline S.
Who Can Use This Feature?
FreeStarter
Teams (with add-on)Enterprise
To set up this integration, users must belong to a Team with the Edit Integrations permission enabled in Vidyard, and must have Admin permissions in Salesforce

Want to reduce the amount of time your team spends on outreach? Use the Video Agent for Salesforce 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 Salesforce 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 Salesforce to perfectly fit your needs.

Looking for other workflow options? You can also find setup guides on HubSpot, Marketo, and Salesloft.

Connect your Salesforce Workflow in Vidyard

The first step to setting up your Salesforce workflow is to connect your Salesforce account to Vidyard.

  1. Select Admin > API tokens from the main menu, then copy and paste the Admin API token into your notepad Vidyard Admin API token page with Admin API token highlighted
  2. Navigate to Admin > Integrations, then select Add next to the Salesforce AIA Integration Vidyard integrations page with button to add Salesforce AIA integration highlighted
  3. Sign in to your Salesforce account, then select Next to continue Salesforce authentication screen to select new authentication session
  4. Copy and paste the Salesforce webhook into your notepad, then select Next Salesforce webhook URL for use in future connection steps with Vidyard
  5. Copy the link in Configure Your AI Video Workflow to the webhook_url field beneath it, then select Finish 
    Vidyard Webhook URL to complete Salesforce integration configuration

Choose a campaign for your workflow

To create AI videos for your viewers, you need to create a campaign in Vidyard that Video Agent can follow. You can use dynamic variables in your script (eg. {{first name}}, etc.) to personalize videos for each viewer.

Once you've created a campaign (or selected an existing one), select that campaign's Workflow tab, and pick the Salesforce platform option from the dropdown menu.

You'll need the values provided on this page for further setup in Salesforce, so copy them into your notepad for future steps.

Vidyard campaign workflow with Salesforce selected from platform dropdown and important values highlighted

Create a campaign in Salesforce

The campaign you create in Salesforce will send your email template out to your contacts with a personalized video just for them.

  1. Login to your Salesforce and navigate to Sales > Campaigns
  2. Create a new campaign with your preferred settings
  3. Copy the campaign ID from Vidyard into the Vidyard campaign ID field and select Save to finish VidyardCampaign ID in Campaign.png

Create a trigger in Salesforce

The trigger you create in Salesforce sends a request to Vidyard to create an AI video for a contact.

  1. Navigate to Setup > Process Automation > Workflow Actions > Outbound Messages in Salesforce Outbound message list in Salesforce with option to create new outbound message selected
  2. Select New Outbound Message, and create a message with the following values (please note that these are case sensitive, and must be entered exactly as shown)
    • Object - Campaign Member
    • Name - CampaignMemberCreated
    • Endpoint URL - The webhook URL you copied from your campaign workflow
    • Campaign Member fields to send - CampaignId, ContactID, LeadID, LeadOrContactID
New outbound message filled out with correct fields to send to Vidyard

Add custom fields to your Salesforce Contact and Lead records

Vidyard needs a custom field to store a video's unique identifier (UUID) on any contact or lead's record. This value allows Video Agent to associate a video with a viewer, so that they're provided the correct personalized AI video.

  1. Select Setup > Objects and Fields > Object Manager Salesforce setup screen with object manager option selected from menu
  2. Choose the Contact object from the list, then select Fields & Relationships Contact object selected from list of objects in Salesforce object manager
  3. Create a New field, and select Text from the provided list Text option selected from list of new custom field types
  4. Set the Field Label to Vidyard Video UUID (case sensitive) and the maximum value to 22 or more (the normal length of a Vidyard UUID) New custom field with label name and length filled out with Vidyard properties
  5. Repeat the process above for the Lead object under Fields & Relationships

Create a Salesforce Flow

Next, you'll build a Salesforce Flow that will start the process of creating a personalized video for your leads.

  1. Select Setup > Process Automation > Flows and create a New Flow Salesforce setup menu with Flows option selected from the list
  2. Select Record Triggered Flow, and ensure the following fields are entered
    • Object - Campaign Member
    • Trigger - A record is created
    • Optimize for - Actions and Related Records

       

      Start level of record-triggered flow with correct object and trigger filled out
  3. Select + to add a new Element > Action, then choose your Outbound Message Workflow, CampaignMemberCreated Adding an action element to the workflow that triggers when a campaign member is created
  4. Label your Action GenerateVidyardVideo (case sensitive), then select Save to finish Label to generate Vidyard video when a campaign member is created

Sign up your Contacts or Leads to a campaign

Signing up your contacts or leads to a campaign triggers the creation of a custom, personalized AI video for each person.

Follow Salesforce's steps on adding multiple contacts or leads to a campaign to add people to the campaign you created earlier, and you're all done!

Need support

Submit a ticket or start a chat. We'll provide a self-serve resource or connect you with our support team, available 24x5.

Chat with Our Team