Templates / Sync webhook and emailed records with Airtable, HubSpot, Gmail, OpenAI and Telegram

Sync webhook and emailed records with Airtable, HubSpot, Gmail, OpenAI and Telegram

Ready for 3.0

by Mashrur Rahman ✓ · 1 views · created 2026-10-10 · CRM, AI Summarization

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

What this workflow does

This AI workflow has 47 nodes and runs when an HTTP POST request hits its webhook URL (plus 3 other triggers). Along the way it connects Airtable, HubSpot, Google Sheets and Gmail and 2 more. It also calls api.airtable.com and api.hubapi.com over HTTP.

How it runs

Trigger: When an HTTP POST request hits its webhook URL (plus 3 other triggers).

  1. Acknowledge Webhook Receipt (Respond to Webhook): sends the response back to the webhook caller
  2. Extract Text from Email Attachment (Extract from File): extracts data from a file (pdf)
  3. Prepare Test Data Batch (Code): runs custom JavaScript code
  4. Retrieve Records from Airtable (Airtable): search
  5. Parse Webhook Data Batch (Code): runs custom JavaScript code
  6. AI Record Extraction from Text (Information Extractor): extracts structured fields from text with AI, with model: Use OpenAI GPT-4 Model
  7. Route by Batch Content (If): checks a condition and branches into true / false
  8. Retrieve Contacts from HubSpot (HubSpot): get many
  9. Log Schedule Failure Audit (Edit Fields (Set)): sets 13 fields: template, correlation_id, status…
  10. Set Email Batch Parameters (Edit Fields (Set)): sets 2 fields: records, _source

…plus 32 more steps. See the full node list below.

Services it uses

AirtableHubSpotGoogle SheetsGmailOpenAI Chat ModelTelegram

HTTP calls to: api.airtable.com, api.hubapi.com

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Nodes used (20)

From the author

Quick overview This workflow ingests business records from an authenticated webhook or PDF attachments in Gmail, then deduplicates, validates, and syncs changes to Airtable and HubSpot. It logs every outcome to Google Sheets, sends Telegram alerts for…

Excerpt from Mashrur Rahman's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.