Skip to content
NEWMarketplace and your team: sell what you build, and get plans and changes that are tested before you see them. See what is new

Library / Data Sync & ETL

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

  1. When Intake Webhook Received
  2. Acknowledge Webhook Receipt
  3. Parse Webhook Data Batch
  4. Route by Batch Content
  5. Split Batch into Individual Items
  6. Deduplicate by External ID
  7. Set Normalized Record Fields
  8. Check for Validation Errors
  9. Generate Content Hash
  10. Fetch Airtable Record
  11. Prepare Record State for Comparison
  12. Route by Record Change Status
  13. Upsert Record in Airtable
  14. Post to HubSpot Suppression API

47 steps in total.

Similar automations