Skip to main content

Automatically enrich Salesforce accounts with web crawling, LinkedIn data, GPT

Workflow preview

Workflow preview
100%
Automatically enrich Salesforce accounts with web crawling, LinkedIn data, GPT preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

Crawl the web, mine LinkedIn, think with GPT, and auto‑enrich Salesforce—all inside n8n. How It Works (High Level) 1. Listen – Trigger on new Salesforce Accounts. 2. Discover – Crawl the company...

Best for

  • CRM automation workflows
  • AI Summarization automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.httprequest, n8n-nodes-base.stickynote, n8n-nodes-base.salesforcetrigger, n8n-nodes-base.salesforce, n8n-nodes-base.set, n8n-nodes-base.code, n8n-nodes-base.if, n8n-nodes-base.merge

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Le Nguyen.

Original n8n.io source

1.1 Workflow description

Title
Automatically enrich Salesforce accounts with web crawling, LinkedIn data, GPT
Workflow name
Automatically enrich Salesforce accounts with web crawling, LinkedIn data, GPT

Crawl the web, mine LinkedIn, think with GPT, and auto‑enrich Salesforce—all inside n8n.


🔧 How It Works (High-Level)

  1. Listen – Trigger on new Salesforce Accounts.
  2. Discover – Crawl the company site (depth-limited) + grab/parse LinkedIn.
  3. Distill – GPT (JSON mode) returns a clean insight object + HTML summary.
  4. Enrich – Update the Account record in Salesforce automatically.

🛠 Setup Steps (≈15–25 minutes)

  1. Import the workflow JSON into n8n.
  2. Connect Credentials: Salesforce OAuth2 + OpenAI API key.
  3. Tune Settings: Set maxDepth (default = 1), confirm the model (e.g., gpt‑4o).
  4. Test with a sample Account to verify crawl + update.
  5. Enable Trigger and let it run.

💼 Business Impact

  • Zero manual research: Insights appear in Salesforce instantly.
  • Consistent data: Unified JSON schema + confidence rating.
  • Faster qualification: Reps see services, size, HQ, etc., without leaving SF.
  • Scalable & automated: Works 24/7 on every new Account.
  • AI-ready outputs: Raw JSON for automations, HTML for dashboards/Lightning.

🌟 Optional Enhancements

  • Push insights to Slack/Teams.
  • Auto-create tasks if rating < 60 or data missing.
  • Archive raw HTML to S3 for audits.

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - Fetch HTML Page

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 2 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 3 - SF: On Account Created

Type / Role
n8n-nodes-base.salesforceTrigger - salesforceTrigger
Config choices
Version 1

Block 4 - SF: Get Account

Type / Role
n8n-nodes-base.salesforce - salesforce
Config choices
Version 1

Block 5 - Init Crawl Params

Type / Role
n8n-nodes-base.set - set
Config choices
Version 2

Block 6 - Init Globals

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 7 - Prep LinkedIn Search Inputs

Type / Role
n8n-nodes-base.set - set
Config choices
Version 2

Block 8 - IF LInkedin URL Missing?

Type / Role
n8n-nodes-base.if - if
Config choices
Version 1

Block 9 - DDG Search (LinkedIn)

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 2

Block 10 - Parse LinkedIn URL

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 11 - Use Provided URL (Fallback)

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 12 - Merge LinkedIn URL Branches

Type / Role
n8n-nodes-base.merge - merge
Config choices
Version 2

Block 13 - Fetch LinkedIn HTML1

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 2

Block 14 - Extract LinkedIn Body

Type / Role
n8n-nodes-base.html - html
Config choices
Version 1.2

Block 15 - Parse LinkedIn Company Info

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 16 - Seed Root Crawl Item

Type / Role
n8n-nodes-base.merge - merge
Config choices
Version 3.2

Block 17 - Attach URL/Depth to HTML

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 18 - Extract Body & Links

Type / Role
n8n-nodes-base.html - html
Config choices
Version 1

Block 19 - Queue & Dedup Links

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 20 - IF Crawl Depth OK?

Type / Role
n8n-nodes-base.if - if
Config choices
Version 1

Block 21 - Requeue Link Item

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 22 - Loop Links (Batches)

Type / Role
n8n-nodes-base.splitInBatches - splitInBatches
Config choices
Version 1

Block 23 - Store Page Data

Type / Role
n8n-nodes-base.set - set
Config choices
Version 2

Block 24 - Collect Pages & Emit When Done

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Showing the first 24 of 30 workflow blocks. Download the JSON for the full node graph.

3. Summary Table

Workflow Automatically enrich Salesforce accounts with web crawling, LinkedIn data, GPT
Complexity advanced
Nodes 30
Categories CRM, AI Summarization
Author Le Nguyen
Published 28 Jul 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/6586/6586.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Automatically enrich Salesforce accounts with web crawling, LinkedIn data, GPT do?

Crawl the web, mine LinkedIn, think with GPT, and auto‑enrich Salesforce—all inside n8n. How It Works (High Level) 1. Listen – Trigger on new Salesforce Accounts. 2. Discover – Crawl the company...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your CRM, AI Summarization use case.