Pre-call AI intro videos for Calendly bookings, with HubSpot context

By General Input

When a prospect books on Calendly, send them a 25 to 45 second AI intro video within 10 minutes that previews the agenda and logs the touch in HubSpot.

Integrations

  • Calendly
  • HeyGen
  • HubSpot
  • Gmail

Type

Agentic Task

Categories

  • Sales
  • Marketing

Build me an agent workflow that sends every newly booked Calendly prospect a personalized AI intro video within 10 minutes of the booking, so the meeting starts warmer and my team has shared context going in.

Trigger: a Calendly webhook subscription on the invitee.created event. The workflow should run the moment a new booking lands. Use the Calendly Create Webhook Subscription operation during setup to register the webhook against my event types.

Step 1, fetch the booking. Call the Calendly Get Event Invitee operation to pull the invitee's first name, email, the event type name, the scheduled start time, the invitee's timezone, and the full questions_and_answers list from the booking form, including any answer to questions like 'what do you want to get out of this call'.

Step 2, optional HubSpot enrichment. Try the HubSpot Get Contact operation with idProperty=email to look the prospect up. If the contact exists, pull their company, job title, and lifecycle stage, and remember the associated deal id if there is one. If the contact does not exist, continue without enrichment, this is a cold inbound and the script should rely on the Calendly booking answers alone.

Step 3, write the script. Draft a 25 to 45 second spoken script that (1) greets the invitee by their first name, (2) references at least one thing they shared in the booking form (their goal, their use case, or the company they listed), (3) previews exactly what we will cover on the call (2 to 3 short bullets that match the event type, e.g. for a sales demo: a quick intro, a live walkthrough of the part of the product that maps to their goal, and time for their questions), and (4) tells them what to bring or think about before the call. Keep the tone warm, conversational, and brief. End with a sign-off using my name.

Step 4, pick an avatar. Call HeyGen's List Avatars operation and select the configured avatar_id (default to the first matching configured handle if it exists, otherwise the first available avatar). The avatar_id and voice_id should both be exposed as configuration.

Step 5, render the video. Call HeyGen's Generate Avatar Video operation with the script, the avatar_id, and the voice_id. Then poll HeyGen's Retrieve Video Status / Details operation every 8 to 10 seconds until status is 'completed' or 'failed'. Cap the wait at 5 minutes. Once completed, call HeyGen's Retrieve Shareable Video URL operation to get a public share link (https://app.heygen.com/share/...).

Step 6, send the email. Use Gmail's Send a Message operation to email the prospect. The body should be short: a one-line warm intro from me, a clickable thumbnail or button labeled 'Watch your 30-second pre-call intro' linking to the HeyGen share URL, a one-line written agenda mirroring the bullets in the video, and a sign-off. The subject should reference the upcoming meeting (e.g. 'A quick intro before our [event type name]'). When possible, search for the Calendly confirmation email already sent to this invitee and send as a reply on that thread using Gmail's Reply to a Message operation with the matching threadId so the conversation stays together. If the thread cannot be found, send a clean new email instead.

Step 7, log to HubSpot when applicable. If step 2 found a HubSpot contact and an associated deal id, call HubSpot's Create Note operation. Associate the note with both the contact and the deal. The note body should include the full script, the HeyGen share link, the time we sent it, and a one-line header like 'Pre-call intro video sent via Geni'. If there is a contact but no deal, associate the note with the contact only. Skip this step entirely when there is no HubSpot match.

Configuration the workflow should expose: the HeyGen avatar_id, the HeyGen voice_id, the script length target in seconds (default 35), the polling timeout in seconds (default 300), the agenda bullets template per event type, the Gmail sender name and signature, and a toggle for whether to write the HubSpot deal note.

Error handling: if the Calendly invitee lookup shows the event was canceled or rescheduled, skip silently. If the meeting is less than 10 minutes away by the time the video would finish rendering, skip the video step and send a plain text intro email with the written agenda instead, so the prospect still gets context. If HeyGen returns a 403 (plan limit) or a failed render, also fall back to the plain text email. If Gmail send fails, log the error with the invitee email and HeyGen share link so I can resend manually. Never block the workflow on HubSpot, treat enrichment and note-writing as best-effort.

Related prompts

Explore more prompts
Win back LiveChat visitors whose chats went unansweredTurn Mailjet email clicks into ranked HubSpot follow-upsiMessage campaign console with pre-flight checks and delivery boardA searchable RFP answer library your bid team drafts fromSee which target accounts just started advertising on LinkedInAccount health board that puts product usage next to your CRMLook up a customer's full chat history mid conversationChase the paperwork every new client and vendor still owesLusha prospecting workbench with credit-safe revealsWhich companies your LinkedIn ads reach, matched to your CRM