Amélioration des contacts HubSpot avec l'IA
Intermédiaire
Ceci est unCRM, AI Summarizationworkflow d'automatisation du domainecontenant 12 nœuds.Utilise principalement des nœuds comme Filter, Hubspot, Agent, ScheduleTrigger, ToolSerpApi. Amélioration des contacts HubSpot avec l'IA
Prérequis
- •Clé API HubSpot
- •Clé API Google Gemini
Nœuds utilisés (12)
Aperçu du workflow
Visualisation des connexions entre les nœuds, avec support du zoom et du déplacement
Exporter le workflow
Copiez la configuration JSON suivante dans n8n pour importer et utiliser ce workflow
{
"meta": {
"instanceId": "09423a3357ff64bdcc082268b9d577001317edbe377a3ccfb0b131ffb9554b30",
"templateCredsSetupCompleted": true
},
"nodes": [
{
"id": "830fac2b-14a4-4249-aa96-901ae8119a6a",
"name": "Obtenir les contacts récemment créés/mis à jour",
"type": "n8n-nodes-base.hubspot",
"position": [
720,
160
],
"parameters": {
"limit": 1,
"operation": "getRecentlyCreatedUpdated",
"authentication": "oAuth2",
"additionalFields": {}
},
"credentials": {
"hubspotOAuth2Api": {
"id": "Vxqd8oQJmbtNmpRz",
"name": "HubSpot account"
}
},
"notesInFlow": true,
"typeVersion": 2.1
},
{
"id": "43048b3a-174b-458e-b616-424195444066",
"name": "Rechercher sur le web avec SerpAPI",
"type": "@n8n/n8n-nodes-langchain.toolSerpApi",
"position": [
1440,
384
],
"parameters": {
"options": {}
},
"credentials": {
"serpApi": {
"id": "8eSQVt6yilfnvTud",
"name": "SerpAPI account"
}
},
"typeVersion": 1
},
{
"id": "896d9486-d0b9-4e2e-afc2-128fed120d6c",
"name": "Filtrer les contacts créés dans les dernières 24h",
"type": "n8n-nodes-base.filter",
"position": [
960,
160
],
"parameters": {
"options": {},
"conditions": {
"options": {
"version": 2,
"leftValue": "",
"caseSensitive": true,
"typeValidation": "strict"
},
"combinator": "and",
"conditions": [
{
"id": "3f05e8cd-81e1-4495-a5fc-b7e8cadcef75",
"operator": {
"type": "dateTime",
"operation": "afterOrEquals"
},
"leftValue": "={{ $json.properties.createdate.value.toDateTime('ms') }}",
"rightValue": "={{ $today.minus(1, 'days') }}"
},
{
"id": "5dc4e198-582a-45e5-9216-ebcbcd455a3e",
"operator": {
"type": "string",
"operation": "notContains"
},
"leftValue": "={{ $json['identity-profiles'][0].identities[0].value }}",
"rightValue": "gmail.com"
}
]
}
},
"typeVersion": 2.2
},
{
"id": "1b2b6dd7-266f-4461-91dd-73cdaedae561",
"name": "Google Gemini Chat Model",
"type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
"position": [
1248,
384
],
"parameters": {
"options": {}
},
"credentials": {
"googlePalmApi": {
"id": "KYY7pVULIl0PdDp3",
"name": "Google Gemini(PaLM) Api account"
}
},
"typeVersion": 1
},
{
"id": "7a6bcf9c-e7c6-4712-9cb3-a8292c723389",
"name": "Agent de recherche d'entreprise",
"type": "@n8n/n8n-nodes-langchain.agent",
"position": [
1248,
160
],
"parameters": {
"text": "=You’re an analyst specializing in company profiling. You’ll receive a domain and must return structured data only.\n\nDomain to research (extract it from the email and then search the web from the SerpAPI tool): {{ $json['identity-profiles'][0].identities[0].value }}\n\nReturn only a JSON object with exactly these fields (keep the keys as written):\n\ncompany_name: Full legal or commonly used company name\n\nindustry: Primary industry category\n\nheadquarters_city: City\n\nheadquarters_country: Country\n\nemployee_count: Approximate employee count (number or range)\n\nwebsite: Official site URL\n\nlinkedin: Company LinkedIn URL (if available)\n\ndescription: One or two sentences summarizing what the company does\n\nUse reliable, verifiable sources. No commentary—output JSON only.",
"options": {},
"promptType": "define",
"hasOutputParser": true
},
"typeVersion": 2
},
{
"id": "8f899dcc-54da-469e-a842-36028bb02dac",
"name": "Analyseur de sortie structurée",
"type": "@n8n/n8n-nodes-langchain.outputParserStructured",
"position": [
1616,
384
],
"parameters": {
"jsonSchemaExample": "{\n\"company_name\": \"n8n\",\n\"industry\": \"Software Development\",\n\"headquarters_city\": \"Berlin\",\n\"headquarters_country\": \"Germany\",\n\"employee_count\": \"51-200\",\n\"website\": \"https://n8n.io\",\n\"linkedin\": \"https://www.linkedin.com/company/n8n-io\",\n\"description\": \"n8n is a workflow automation tool that integrates AI capabilities with business process automation, enabling users to automate tasks and synchronize data across various applications and services.\"\n}"
},
"typeVersion": 1.3
},
{
"id": "fcd79d28-692a-41d3-9a92-78567ce148ae",
"name": "Note autocollante",
"type": "n8n-nodes-base.stickyNote",
"position": [
0,
0
],
"parameters": {
"color": 5,
"width": 368,
"height": 448,
"content": "## AI company enrichment for new HubSpot contacts\n\nRuns on a schedule, finds contacts from the last 24 hours (skips Gmail), looks up the company with SerpAPI + Gemini, and updates the HubSpot contact with company details.\n\n### Setup\n1. Connect HubSpot on both HubSpot nodes\n2. Connect SerpAPI — get your key at [serpapi.com](https://serpapi.com/manage-api-key)\n3. Connect Google Gemini — create an API key in [Google AI Studio](https://aistudio.google.com/)\n4. Activate the workflow so it runs daily\n\n**Optional:** Tweak the Agent prompt to fetch other data.\n"
},
"typeVersion": 1
},
{
"id": "85b44031-4bb8-4799-be7b-43ede57d6410",
"name": "Note autocollante 1",
"type": "n8n-nodes-base.stickyNote",
"position": [
448,
80
],
"parameters": {
"color": 7,
"width": 672,
"height": 288,
"content": "## 1. Get contact(s)"
},
"typeVersion": 1
},
{
"id": "7e2238b7-f66e-4db5-8609-b82e0fab4938",
"name": "Note autocollante 2",
"type": "n8n-nodes-base.stickyNote",
"position": [
1200,
80
],
"parameters": {
"color": 7,
"width": 544,
"height": 496,
"content": "## 2. Research company"
},
"typeVersion": 1
},
{
"id": "e5832459-4505-49e1-b38c-8d8ce3e485ab",
"name": "Note autocollante 3",
"type": "n8n-nodes-base.stickyNote",
"position": [
1824,
80
],
"parameters": {
"color": 7,
"width": 272,
"height": 272,
"content": "## 3. Update contact"
},
"typeVersion": 1
},
{
"id": "7ab9fabc-0ee0-4bba-a368-81015942b07b",
"name": "Ajouter les informations de l'entreprise",
"type": "n8n-nodes-base.hubspot",
"position": [
1872,
160
],
"parameters": {
"email": "={{ $('Get recently created/updated contacts').item.json['identity-profiles'][0].identities[0].value }}",
"options": {},
"authentication": "oAuth2",
"additionalFields": {
"city": "={{ $json.output.headquarters_city }}",
"country": "={{ $json.output.headquarters_country }}",
"websiteUrl": "={{ $json.output.website }}",
"companyName": "={{ $json.output.company_name }}",
"companySize": "={{ $json.output.employee_count }}",
"linkedinUrl": "={{ $json.output.linkedin }}"
}
},
"credentials": {
"hubspotOAuth2Api": {
"id": "Vxqd8oQJmbtNmpRz",
"name": "HubSpot account"
}
},
"typeVersion": 2.1
},
{
"id": "fafc22fb-ec1d-4e8d-b02c-404455c4ce16",
"name": "Exécuter quotidiennement",
"type": "n8n-nodes-base.scheduleTrigger",
"position": [
512,
160
],
"parameters": {
"rule": {
"interval": [
{}
]
}
},
"typeVersion": 1.2
}
],
"pinData": {},
"connections": {
"fafc22fb-ec1d-4e8d-b02c-404455c4ce16": {
"main": [
[
{
"node": "830fac2b-14a4-4249-aa96-901ae8119a6a",
"type": "main",
"index": 0
}
]
]
},
"7a6bcf9c-e7c6-4712-9cb3-a8292c723389": {
"main": [
[
{
"node": "7ab9fabc-0ee0-4bba-a368-81015942b07b",
"type": "main",
"index": 0
}
]
]
},
"1b2b6dd7-266f-4461-91dd-73cdaedae561": {
"ai_languageModel": [
[
{
"node": "7a6bcf9c-e7c6-4712-9cb3-a8292c723389",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"8f899dcc-54da-469e-a842-36028bb02dac": {
"ai_outputParser": [
[
{
"node": "7a6bcf9c-e7c6-4712-9cb3-a8292c723389",
"type": "ai_outputParser",
"index": 0
}
]
]
},
"43048b3a-174b-458e-b616-424195444066": {
"ai_tool": [
[
{
"node": "7a6bcf9c-e7c6-4712-9cb3-a8292c723389",
"type": "ai_tool",
"index": 0
}
]
]
},
"830fac2b-14a4-4249-aa96-901ae8119a6a": {
"main": [
[
{
"node": "896d9486-d0b9-4e2e-afc2-128fed120d6c",
"type": "main",
"index": 0
}
]
]
},
"896d9486-d0b9-4e2e-afc2-128fed120d6c": {
"main": [
[
{
"node": "7a6bcf9c-e7c6-4712-9cb3-a8292c723389",
"type": "main",
"index": 0
}
]
]
}
}
}Foire aux questions
Comment utiliser ce workflow ?
Copiez le code de configuration JSON ci-dessus, créez un nouveau workflow dans votre instance n8n et sélectionnez "Importer depuis le JSON", collez la configuration et modifiez les paramètres d'authentification selon vos besoins.
Dans quelles scénarios ce workflow est-il adapté ?
Intermédiaire - CRM, Résumé IA
Est-ce payant ?
Ce workflow est entièrement gratuit et peut être utilisé directement. Veuillez noter que les services tiers utilisés dans le workflow (comme l'API OpenAI) peuvent nécessiter un paiement de votre part.
Workflows recommandés
Réponse par IA aux e-mails basée sur le contexte HubSpot avec approbation Slack
Réponse par IA aux e-mails basée sur le contexte HubSpot avec approbation Slack
If
Code
Gmail
+
If
Code
Gmail
19 NœudsMiha
CRM
Résumé d'appel par IA + Tâche de suivi HubSpot
Résumé d'appel par IA + Tâche de suivi HubSpot
Hubspot
Form Trigger
Hubspot Tool
+
Hubspot
Form Trigger
Hubspot Tool
12 NœudsMiha
CRM
Discuter avec vos données HubSpot (contacts et deals)
Dialoguer avec vos données HubSpot (contacts et transactions)
Hubspot Tool
Agent
Chat Trigger
+
Hubspot Tool
Agent
Chat Trigger
6 NœudsMiha
CRM
Analyse des performances régionales
Utiliser Bright Data MCP et GPT-4o pour analyser les performances des zones de vente
Set
Code
Gmail
+
Set
Code
Gmail
17 NœudsYaron Been
CRM
Explorer les nœuds n8n dans la bibliothèque de références visuelles
Explorer les nœuds n8n dans la base de références visuelles
If
Ftp
Set
+
If
Ftp
Set
113 NœudsI versus AI
Autres
Préparer des réunions externes Google Calendar avec l'IA via MadKudu MCP
Générer des notes de réunion IA pour Google Calendar avec GPT-4 et MadKudu MCP
Filter
Split Out
Google Calendar
+
Filter
Split Out
Google Calendar
13 NœudsMargo Rey
CRM
Informations sur le workflow
Niveau de difficulté
Intermédiaire
Nombre de nœuds12
Catégorie2
Types de nœuds8
Description de la difficulté
Auteur
Liens externes
Voir sur n8n.io →
Partager ce workflow