Quick overview
This workflow triggers on new demo bookings (webhooks or Google Calendar), uses Twain to research the prospect and generate a personalized pre-demo sequence plus an AE brief, drafts the email in Gmail, optionally queues LinkedIn steps in HeyReach, and posts everything to Slack for review.
How it works
- Triggers when a demo booking is received via a webhook (generic, Chili Piper, or HubSpot) or when a new Google Calendar event is created.
- Normalizes the incoming booking payload into a consistent format, filters to demo meetings only, and de-duplicates repeat bookings across executions.
- If no LinkedIn URL is provided but an email exists, looks up a LinkedIn profile URL using Findymail and merges it back into the contact.
- If a usable work email or LinkedIn URL is available, calls the Twain API to generate contact research, an AE pre-demo brief, and a multi-step outbound sequence; otherwise it posts a “skipped” notice to Slack.
- Builds an email-ready draft (subject and HTML body) plus previews for email and LinkedIn steps from the Twain output.
- If a work email exists, creates a Gmail draft and posts the brief and draft preview to Slack (or posts a “no draft created” message if Gmail fails); if no work email exists, posts a LinkedIn-only brief to Slack.
- If LinkedIn steps are configured, adds the lead to a HeyReach campaign with the LinkedIn message stored as a custom field and posts a confirmation to Slack.
Setup
- Create a Twain workspace and pre-demo campaign, then add your Twain API key (HTTP Header Auth) and set the Twain
campaign_id in the Demo Settings.
- Connect your Slack bot token credential and set the target Slack channel name in Demo Settings.
- Connect your Gmail OAuth2 credential if you want the workflow to create email drafts.
- Choose and configure a booking source: enable the relevant webhook trigger(s) and copy the webhook URL into your booking tool, or connect Google Calendar OAuth2 for the calendar trigger.
- If you want automatic LinkedIn resolution, add Findymail API credentials (Bearer auth) and ensure the provider returns a LinkedIn URL in a field mapped by the resolver step.
- If you want LinkedIn steps queued, add your HeyReach API key and set
heyreach_campaign_id, and adjust email_steps/linkedin_steps in Demo Settings to control which sequence steps go to each channel.
Requirements
- Predefined campaign in Twain