Email Automation
Score inbound leads with Google Gemini, HubSpot, and Gmail alerts
When a form is submitted, it handles email with Google Gemini using Gmail, HubSpot.
What it does
## Score inbound leads with AI, sync to HubSpot and alert sales on hot ones ### How it works This workflow captures inbound lead details from a form, normalizes the submitted fields, and uses an AI chat model to score the lead. It parses the AI verdict, checks that the lead has a valid email address, and creates or updates the contact in HubSpot. After the CRM sync, it branches on whether the lead is hot and either emails the sales owner or simply records that no alert was sent. ### Setup steps - Configure the form trigger fields so they collect the expected lead details such as first name, last name, email, and company. - Add credentials for the Google Gemini chat model used by the AI scoring chain. - Connect HubSpot credentials and confirm the contact properties mapped by the HubSpot node match your HubSpot schema. - Connect Gmail credentials for the sales alert sender and verify the recipient or sales-owner routing logic in the alert-building code. ### Customization Adjust the AI scoring prompt and verdict parsing logic to match your qualification criteria, and update the hot-lead threshold or email template to fit your sales process.
The steps
- When Lead Form Submitted
- Set Lead Data Fields
- Normalize Lead Data
- AI Score Lead
- Google Gemini Model
- Parse AI Verdict
- If Lead is Hot
- Generate Alert Email
- Send Alert to Sales
- Store Lead Without Alert
- Sync Contact to HubSpot
- Check Email Validity
Similar automations
Email AutomationScore and triage inbound leads with OpenAI, HubSpot, and Slack9 stepsEmail AutomationScore and route inbound leads with Claude, HubSpot, Slack, and Gmail13 stepsLead Generation & EnrichmentQualify inbound form leads with Gaffa website checks and HubSpot12 stepsLead Generation & EnrichmentScore inbound leads with AI, reply by SMS or WhatsApp, alert sales in Slack32 steps