This is an n8n workflow that enriches HubSpot contacts with public Twitter data and writes personalized cold emails with Claude Sonnet 4. It starts when a HubSpot webhook detects a new or updated contact, then fetches the full contact details.
Each Twitter handle is logged in a Google Sheet, which serves as a queue showing the stage of each contact's enrichment. Two Phantombuster scrapers run at the same time to collect public profile data and recent tweets. The workflow merges the results into one JSON object per contact.
Claude Sonnet 4 uses that profile to write email content with specific details about the prospect. High-intent prospects are flagged and pushed to a Telegram feed, and the emails are sent through Gmail.
- Trigger
- HubSpot webhook for a new or updated contact
- Data logging
- Twitter handles recorded in a Google Sheet
- Data sources
- Public Twitter profile data and recent tweets, collected by two Phantombuster scrapers
- AI model
- Claude Sonnet 4
- Email delivery
- Gmail
- Lead alerts
- High-intent prospects pushed to a Telegram feed
- Nodes used
- if, set, code, wait, Gmail, merge
- Integrations
- HubSpot, Phantombuster, Google Sheets, Telegram, Claude Sonnet 4
- Setup
- Configure credentials for Anthropic, HubSpot, Google Sheets, Gmail and Telegram. Replace the placeholder identifiers for Phantombuster settings.