Reply to HubSpot form leads in seconds with Claude, Gmail and Slack
Quick overview This workflow listens for new HubSpot contacts created from form submissions, uses Anthropic Claude to draft a personalized first-response email, sends it via Gmail with your signature, logs the email on the HubSpot contact timeline, and alerts your sales team in Slack.
How it works Receives a webhook from HubSpot when a new contact is created. Normalizes the incoming events and ignores non-contact-creation events and contacts created via CSV import. Fetches the contact’s newest form submission details from HubSpot and continues only if the contact has at least one form submission. Extracts key lead fields (name, email, company, job title, message, website) and combines them with your predefined business context. Sends the lead context to Anthropic Claude to generate a JSON reply containing an email subject, HTML body, and one-sentence lead summary. Retrieves your Gmail “sendAs” settings to append the correct Gmail signature and sends the email to the lead via Gmail. Logs the email engagement on the HubSpot contact and posts a Slack message with the lead details, sent subject, and Claude summary.
Setup Create a HubSpot private app with CRM contacts read/write scopes, add its app token credential in the HubSpot steps, and configure a contact.creation webhook subscription pointing to this workflow’s production webhook URL. Add an Anthropic API credential and ensure the selected Claude model is available to your account. Connect a Gmail OAuth2 credential with permission to read Gmail settings and send email, and ensure your Gmail signature is configured in Gmail. Connect a Slack OAuth credential with chat posting permissions, invite the bot to your target channel, and set the channel name in the Reply Settings. Update the Reply Settings values (company name, sender name, what you do, booking link, and reply guidelines) to match your business before activating.
Related Templates
AI Email Classifier & Auto-Delete for Gmail (SPAM/OFFER Cleaner)
This workflow is designed for freelancers, solopreneurs, and business owners who receive a high volume of irrelevant mes...
Instagram Full Profile Scraper with Apify and Google Sheets
📸 Instagram Full Profile Scraper with Apify and Google Sheets This n8n workflow automates the process of scraping ful...
Generate Product Ad Copy & CTAs with GPT-4 for Slack and Airtable
⚡ AI Copywriter Pro: Instant Ad Copy & CTA Generator Transform product details into compelling marketing copy in second...
🔒 Please log in to import templates to n8n and favorite templates
Workflow Visualization
Loading...
Preparing workflow renderer
Comments (0)
Login to post comments