Enrich HubSpot contacts with Gemini
Each day, Gemini researches the company of new HubSpot contacts. This n8n template starts from a daily schedule trigger and keeps HubSpot contacts created in the last 24 hours whose email domain does not contain gmail.com. An AI research agent built on Google Gemini and SerpAPI takes the company domain from each contact's email, searches the web and returns structured JSON. A HubSpot node then updates the contact with company name, industry, headquarters city and country, employee count, website, LinkedIn and a description. You connect HubSpot with OAuth2 on both HubSpot nodes, a SerpAPI key and a Google AI Studio key for Gemini. It is for sales teams whose HubSpot contacts lack company details.
Steps
- Trigger: A daily schedule trigger starts the workflow
- HubSpot gets recently created contactsHubSpot
- Filter keeps new, non-gmail.com contacts
Created within the last 24 hours. - AI research agent finds company detailsGoogle Gemini
Gemini + SerpAPI; structured JSON. - Output: HubSpot updates the contactHubSpot
Limits
- Needs a SerpAPI key for web search.
- Company data comes from a web search, not from a company database.
What it does well
- Writes the company fields straight into the HubSpot contact.
- Runs once a day without manual steps.
Before you import
Connect HubSpot (OAuth2) on both HubSpot nodes, paste a SerpAPI key, and add a Google AI Studio API key for Gemini.
Similar templates
Verify Jotform leads, sync to HubSpot
Also for sales and leads, 6 steps.
Mailchimp lead scoring for two CRMs
Also for sales and leads, 8 steps.
Small business AI readiness scorer
Also for sales and leads, 7 steps.
Google Gemini and HubSpot: 3 templates compared
Same two apps, different steps.
Copy records between apps
Other templates that do this task.