Data Sync & ETL
Sync webhook and emailed PDF records to Airtable and HubSpot with deduplication
Ingests webhook and emailed PDF intake records, deduplicates and validates them, upserts changes into Airtable and syncs eligible contacts to HubSpot. Sends Telegram alerts and audit reports to Google Sheets.
What it does
## Sync webhook and emailed PDF records to Airtable and HubSpot with dedupe and reconciliation ### How it works This workflow ingests intake records from three sources: a webhook, emailed PDF attachments processed with AI, and a manual test batch. It deduplicates, normalizes, validates, and hashes each record, then checks Airtable to skip unchanged records or upsert changed ones before syncing eligible contacts to HubSpot. It builds audit rows for successes, skips, quarantines, suppressions, and handled failures, writes audit and reconciliation reports to Google Sheets, and sends Telegram alerts or summaries. A scheduled branch periodically scans Airtable and HubSpot to generate reconciliation reports independently of intake runs. ### Setup steps - Configure the webhook endpoint and any authentication or signing checks required by the intake sender. - Connect Gmail credentials for the mailbox trigger, attachment extraction, and processed-message updates. - Configure the OpenAI/LangChain model credentials used by the information extractor and verify the PDF extraction prompt/schema matches the expected records. - Set Airtable credentials, base ID, table names, field mappings, and the search/upsert behavior used for record state and reconciliation scans. - Set HubSpot credentials and confirm contact properties plus suppression-list search criteria. - Configure Google Sheets credentials and target spreadsheets/tabs for audit rows and reconciliation reports. - Configure Telegram bot credentials and chat IDs for exception alerts and reconciliation summaries. - Review the manual test batch data, schedule trigger cadence, validation rules, dedupe keys, and content-hash fields before enabling production runs. ### Customization Common customization points include the record validation rules, duplicate-collapse key, Airtable content-hash fields, HubSpot suppression logic, reconciliation schedule, audit row templates, and Telegram alert thresholds/messages.
The steps
- When Intake Webhook Received
- Acknowledge Webhook Receipt
- Parse Webhook Data Batch
- Route by Batch Content
- Split Batch into Individual Items
- Deduplicate by External ID
- Set Normalized Record Fields
- Check for Validation Errors
- Generate Content Hash
- Fetch Airtable Record
- Prepare Record State for Comparison
- Route by Record Change Status
- Upsert Record in Airtable
- Post to HubSpot Suppression API
47 steps in total.
Similar automations
Data Sync & ETLSync HubSpot and Pipedrive Records on a Schedule6 stepsData Sync & ETLUpsert Lection scrape results into Google Sheets with duplicate matching9 stepsData Sync & ETLRoute scored GTM signals from BigQuery to HubSpot with Telegram and Google Sheets14 stepsMonitoring, Ops & IncidentsSend Hyperliquid wallet fill alerts to Telegram9 steps