Skip to main content
All CollectionsMake Dynamic Video CampaignsFull Automation — Automatically Send Videos After Generation
Webhooks — Use Webhooks to Know When Dynamic Videos Are Ready to Share
Webhooks — Use Webhooks to Know When Dynamic Videos Are Ready to Share

Automatically send videos with Zapier, Make, Pabbly Connect, or a custom integration.

Bethany Stachenfeld avatar
Written by Bethany Stachenfeld
Updated over 8 months ago

Sendspark makes it easy to generate videos automatically through our HubSpot App, Zapier Integration, or API.

Once videos are generated, you might want to automatically send the videos in emails to your contacts.

This article will walk through how to use webhooks to know when your videos are done generating and ready to share.

Related articles:


How to Use Webhooks to Automatically Send Video Emails

Why Use Webhooks?

You can use Sendspark webhooks to “know” when dynamic videos have been generated and are ready to share.

This is important for using dynamic videos in email automation. You need to know when videos are ready to share in order to automatically send emails!

Over the next few steps, we’ll cover how to…

1. Create your “Zap” in Zapier

The first step is to create your campaign, or “Zap” if you’re using Zapier.

Once you create the Zap, you’ll want to use “Webhooks” as a trigger.

This is basically saying – when the webhook is received, initiate the workflow.

Create Zap in Zapier

This is how to create a Zap with a webhook as a trigger:

  • In Zapier, create a new “Zap”

  • As a trigger, select “Webhooks by Zapier”

  • As the type of webhook, select “Catch Hook”

  • Click “continue”

  • You can leave the next step “Pick off a Child Key” blank

  • Zapier will now provide you a webhook URL. Copy that URL to your clipboard, so we can use it in Sendspark to set up the connection.

2. Create Your Webhook in Sendspark

For the next step, we want to add that webhook URL in Sendspark. This will connect the two applications, so when the desired action happens in Sendspark, the Zapier workflow will be triggered.

This is how to create a webhook in Sendspark:

Create Webhook in Sendspark

  • Navigate to your webhooks settings

  • Select “New Webhook”

    • Give it a name to identify it

    • Add the webhook URL. This will be the webhook URL that Zapier provided to you in the previous step.

  • Click “Create Webhook”

3. Connect Your Webhook to a Dynamic Video Campaign

Now you have a webhook created for the Zapier campaign.

There is one more step to ensure that your Zapier campaign will trigger when a dynamic video is generated.

You need to connect your Sendspark webhook to a Dynamic Video Campaign.

This will make it clear: When a dynamic video from that campaign is created; enroll that contact in the Zapier workflow.

This is how you can connect you Sendspark workflow to a specific Dynamic Video Campaign.

  • Click the dropdown arrow next to your webhook name

  • At the bottom right, select “Connect Campaign”

    Connect webhook to Sendspark dynamic video campaign
  • Select the dynamic video campaign you want to link to this webhook

  • Select “Add Dynamic Videos” to save this campaign

  • You’ll know it’s saved properly when you see the Dynamic Video in “associated campaigns” in the webhook information

    Check Dynamic Video Campaign is Connected to Webhook

4. Test your Webhook

You should have Sendspark and Zapier connected now, but let’s just run a test to make sure everything is working well.

  • Go to your dynamic video campaign in Sendspark

  • Create at least one dynamic video

  • Now go to Zapier

  • Click “test”

  • You should see the information from your contact appear in Zapier. This means your webhook is working!

    Test Sendspark Webhook in Zapier

5. Add the next “Action” in Zapier

You’ve set things up in a way that when dynamic videos have been created for contacts, the contacts are enrolled in your Zapier workflow.

The next step is to determine what should happen once the contact is enrolled.

This is likely to be “send an email”

And you would want to send an email that contains your Sendspark Dynamic Video snippet – so each recipient gets an email with their dynamic video made for them.

(To see how to embed your Sendspark Dynamic Video snippet in emails, you can check out these help articles for all supported email platforms)

From Zapier, you can add a new action, and then select what the following step would be.

For example, if you use Instantly, you can search for “Instantly,” and then use “Add Lead to Campaign” as the event.

Automatically Send Video Emails

This means that (1) when the webhook is received (2) the lead will be added to a campaign in Instantly (where, presumably, you have set up the Sendspark dynamic video embed snippet).

We recommend using an email automation platform because the videos will look better in email, and you’ll have more insights and analytics.

However, for quick testing purposes, you can also send an email in Gmail or Outlook from your Zapier automation.

To send a video in Gmail, you could add “Gmail” as the next action.

Then, when you are setting up the step, you can use the data fields from your webhook, such as “Contact Email” to know where to send the email, “Contact First Name” to know how to address the contact, and “Video Link” to send the link to the dynamic video for that contact

Automatically Send a Video Email in Gmail

One note: when you are sending the video link in Gmail using “plain text,” like in the example above, your viewers will just see the video link in their inbox NOT the video thumbnail.

You would want to use one of our email platform integrations to embed the video thumbnail.

That’s it – let us know if you have any questions!

Did this answer your question?