Templates / Enrich CRM contact data with LinkedIn profiles using GPT & multi-CRM support

Enrich CRM contact data with LinkedIn profiles using GPT & multi-CRM support

Needs changes

by Andrey ✓ · 1,163 views · created 2025-05-20 · Lead Generation, AI Summarization

Needs changes. This template uses 1 thing(s) that n8n 3.0 removes: AI Agent v1 (old agent modes). 1 breaking item(s) found. Static check, last run 2026-10-19.

What to replace before upgrading

Removed in 3.0Replace with
AI Agent v1 (old agent modes)
Data Enrichment AI Agent (v1.9), Data Enrichment AI Agent1 (v1.9), Data Enrichment AI Agent2 (v1.9)
Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.

Community nodes

These come from third-party npm packages. In n8n 3.0 unverified community packages are off by default (N8N_UNVERIFIED_PACKAGES_ENABLED=false).

Nodes used (9)

OpenAI Chat ModelPipedriveHubSpotAI Agent

What it does

!crmenricmentn8n.png(fileId:1342) ⚠️ DISCLAIMER: This workflow uses the AnySite LinkedIn community node, which is only available on self-hosted n8n instances. It will not work on n8n.cloud. Overview This n8n workflow automates the enrichment of CRM contact data with professional insights from LinkedIn profiles. The workflow integrates with both Pipedrive and HubSpot CRMs, finding LinkedIn profiles that match your contacts and updating your CRM with valuable information about their professional background and recent activities. Key Features - Multi-CRM Support: Works with both Pipedrive and HubSpot - AI-Powered Data Enrichment: Uses an advanced AI agent to analyze and summarize professional information - Automated Triggers: Activates when new contacts are added or when enrichment is requested - Comprehensive Profile Analysis: Captures LinkedIn profile summaries and post activity How It Works Triggers The workflow activates in three scenarios: 1. When a new contact is created in CRM 2. When a contact is updated in CRM with an enrichment flag LinkedIn Data Collection Process 1. Email Lookup: First tries to find the LinkedIn profile using the contact's email 2. Advanced Search: If email lookup fails, uses name and company details to find potential matches 3. Profile Analysis: Collects comprehensive profile information 4. Post Analysis: Gathers and analyzes the contact's recent LinkedIn activity CRM Updates The workflow updates your CRM with: - LinkedIn profile URL - Professional summary (skills, experience, background) - Analysis of recent LinkedIn posts and activity Setup Instructions Requirements 1. Self-hosted n8n instance with the HDW LinkedIn community node installed 2. API access to OpenAI (for GPT-4o) 3. Pipedrive and/or HubSpot account 4. AnySite API key https://AnySite.io Installation Steps 1. Install the HDW LinkedIn Node: npm install n8n-nodes-hdw - Follow the detailed instructions at: https://www.npmjs.com/package/n8n-nodes-hdw 2. Configure Credentials: - OpenAI: Add your OpenAI API key - Pipedrive: Connect your Pipedrive account (if using) - HubSpot: Connect your HubSpot account (if using) - AnySite LinkedIn: Add your API key from https://AnySite.io 3. CRM Custom Fields Setup: For Pipedrive: - Go to Settings → Data Fields → Contact Fields → + Add Field - Create the following custom fields: - LinkedIn Profile: Field type - Large text - Profile Summary: Field type - Large text - LinkedIn Posts Summary: Field type - Large text - Need Enrichment: Field type - Single option (Yes/No) Detailed instructions for creating custom fields in Pipedrive: https://support.pipedrive.com/en/article/custom-fields For HubSpot: - Go to Settings → Properties → Create property - Create the following properties for Contact object: - linkedinurl: Field type - Single-line text - profilesummary: Field type - Multi-line text - linkedinpostssummary: Field type - Multi-line text - needenrichment: Field type - Checkbox (Boolean) Detailed instructions for creating properties in HubSpot: https://knowledge.hubspot.com/properties/create-and-edit-properties 4. Import the Workflow: - Import the "HDWCRMEnrichment.json" file into your n8n instance 5. Activate Webhooks: - Enable the webhook triggers for your CRM to ensure the workflow activates correctly Customization Options AI Agent Prompts You can modify the system prompts in the "Data Enrichment AI Agent" nodes to: - Change the focus of profile analysis - Adjust the tone and detail level of summaries - Customize what information is extracted from posts CRM Field Mapping The workflow is pre-configured to update specific custom fields in Pipedrive and HubSpot. Update the field/property mappings in: - "Update data in Pipedrive" nodes - "Update data in HubSpot" node Troubleshooting Common Issues - LinkedIn Profile Not Found: Check if the contact's email is their work email; consider adjusting the search parameters - Webhook Not Triggering: Verify webhook configuration in your CRM - Missing Custom Fields: Ens

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.