Enrich HubSpot contacts with LinkedIn profiles using SerpAPI, Google Docs and AI
Needs changesWhat this workflow does
This AI workflow has 10 nodes and runs manually, when you click “Execute workflow” (plus 1 other trigger). Along the way it connects HubSpot, SerpApi (Google Search), Google Docs and OpenRouter Chat Model.
How it runs
Trigger: Manually, when you click “Execute workflow” (plus 1 other trigger).
- Get recently created/updated contacts (HubSpot): get recently created updated
- Edit Fields (Edit Fields (Set)): sets 3 fields: First Name, Last Name, Email
- AI Agent: runs an AI agent, with model: OpenRouter Chat Model; 2 tools (SerpAPI, Read Google Docs)
- Code: runs custom JavaScript code
- HubSpot: uses HubSpot
Services it uses
Other Google Docs + OpenRouter templates (27) · Other OpenRouter + SerpApi templates (14) · Other SerpApi + Google Docs templates (8)
Before you upgrade to n8n 3.0
1 thing in this workflow is removed in n8n 3.0. Fix it before you upgrade:
- SerpApi (Google Search) in SerpAPI: no direct replacement: call the SerpApi REST API with an HTTP Request tool, or use a verified community node.
Rather not rewrite it? Many of these flows can be rebuilt in Make (free plan).
Published 2025 — 19% of 2025 templates need changes for 3.0. See how template age affects 3.0 readiness →
| Removed in 3.0 | Replace with |
|---|---|
| SerpApi (Google Search) SerpAPI | No direct replacement: call the SerpApi REST API with an HTTP Request tool, or use a verified community node |
Nodes used (9)
- AI Agent
@n8n/n8n-nodes-langchain.agent - HubSpot
n8n-nodes-base.hubspot - SerpApi (Google Search)
@n8n/n8n-nodes-langchain.toolSerpApi - HubSpot Trigger
n8n-nodes-base.hubspotTrigger - Manual Trigger
n8n-nodes-base.manualTrigger - Code
n8n-nodes-base.code - Google Docs Tool
n8n-nodes-base.googleDocsTool - Edit Fields (Set)
n8n-nodes-base.set - OpenRouter Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenRouter
From the author
HubSpot Lead Refinement 🚀 How it works Triggers: HubSpot Trigger: Fires when contacts are created/updated. Manual Trigger: Run on demand for testing or batch checks. Get Recently Created/Updated Contacts: Pulls fresh contacts from HubSpot. Edit Fields (Set):…