Skip to main content

Lead scoring & auto-assignment with GPT-4 and GoHighLevel + Slack alerts

Workflow preview

Workflow preview
100%
Lead scoring & auto-assignment with GPT-4 and GoHighLevel + Slack alerts preview
Open on n8n.io

Important notice

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

1. Workflow Overview

This workflow automatically scores and categorizes new GoHighLevel contacts using AI (GPT 4), then tags and assigns them to the appropriate team member based on their score. Hot leads also trigger ...

Best for

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

Tools used

n8n-nodes-base.webhook, n8n-nodes-base.set, n8n-nodes-base.httprequest, @n8n/n8n-nodes-langchain.openai, n8n-nodes-base.code, n8n-nodes-base.if, n8n-nodes-base.slack, n8n-nodes-base.respondtowebhook

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Țugui Dragoș.

Original n8n.io source

1.1 Workflow description

Title
Lead scoring & auto-assignment with GPT-4 and GoHighLevel + Slack alerts
Workflow name
Lead scoring & auto-assignment with GPT-4 and GoHighLevel + Slack alerts

This workflow automatically scores and categorizes new GoHighLevel contacts using AI (GPT-4), then tags and assigns them to the appropriate team member based on their score. Hot leads also trigger a Slack notification for immediate follow-up.

What does it do?

  • Triggers when a new contact is added in GoHighLevel.
  • Fetches full contact details and recent engagement data.
  • Uses AI (GPT-4) to analyze and score the lead (1-100), categorize it (Hot, Warm, Cold), and provide an explanation.
  • Tags the contact in GoHighLevel based on the score.
  • Assigns the lead to the correct sales or nurturing team member.
  • Sends a Slack alert for Hot leads to ensure fast response.

Use case

Use this workflow to automate lead qualification and assignment in sales teams using GoHighLevel. It helps prioritize high-quality leads, ensures fast follow-up, and reduces manual work.

How to configure

  1. GoHighLevel API:

    • Set your GoHighLevel API URL and API key in the Workflow Configuration node.
    • Update user IDs for assignment as needed.
  2. Slack Integration:

    • Add your Slack webhook URL or credentials in the Slack Notify Hot Lead node.
  3. AI Provider:

    • Configure your OpenAI (or compatible) credentials in the AI Lead Scoring (GPT-4) node.
  4. Adjust thresholds:

    • If needed, change the score thresholds in the IF nodes to match your business logic.
  5. Activate the workflow:

    • Once configured, activate the workflow to start processing new leads automatically.

Tip:
You can further customize the workflow to fit your sales process, add more notifications, or integrate with other tools as needed.

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 - GHL New Contact Trigger

Type / Role
n8n-nodes-base.webhook - webhook
Config choices
Version 2.1

Block 2 - Workflow Configuration

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

Block 3 - GHL Get Contact Details

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

Block 4 - GHL Fetch Engagement Data

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

Block 5 - Clean Contact Data

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

Block 6 - Prepare AI Input

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

Block 7 - AI Lead Scoring (GPT-4)

Type / Role
@n8n/n8n-nodes-langchain.openAi - openAi
Config choices
Version 2

Block 8 - Parse Score to Numeric

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

Block 9 - IF Score >= 80 (Hot)

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

Block 10 - IF Score >= 40 (Warm)

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

Block 11 - GHL Tag Hot Lead

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

Block 12 - GHL Tag Warm Lead

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

Block 13 - GHL Tag Cold Lead

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

Block 14 - GHL Assign Hot to Top Rep

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

Block 15 - GHL Assign Warm to Secondary Rep

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

Block 16 - GHL Assign Cold to Nurture Team

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

Block 17 - Slack Notify Hot Lead

Type / Role
n8n-nodes-base.slack - slack
Config choices
Version 2.3

Block 18 - Webhook Response

Type / Role
n8n-nodes-base.respondToWebhook - respondToWebhook
Config choices
Version 1.5

Block 19 - Sticky Note

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

Block 20 - Sticky Note1

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

Block 21 - Sticky Note2

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

Block 22 - Sticky Note3

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

Block 23 - Sticky Note4

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

3. Summary Table

Workflow Lead scoring & auto-assignment with GPT-4 and GoHighLevel + Slack alerts
Complexity advanced
Nodes 23
Categories Lead Generation, AI Summarization
Author Țugui Dragoș
Published 01 Dec 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/11408/11408.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 Lead scoring & auto-assignment with GPT-4 and GoHighLevel + Slack alerts do?

This workflow automatically scores and categorizes new GoHighLevel contacts using AI (GPT 4), then tags and assigns them to the appropriate team member based on their score. Hot leads also trigger ...

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 Lead Generation, AI Summarization use case.