Create an Automated Customer Support Assistant with GPT-4o and GoHighLevel SMS

Go to Workflow
1,649 views
Built by Cyril Nicko Gaspar Cyril Nicko Gaspar
Created on June 05, 2026

Description

๐Ÿ“Œ AI Agent via GoHighLevel SMS with Website-Based Knowledgebase

This n8n workflow enables an AI agent to interact with users through GoHighLevel SMS, leveraging a knowledgebase dynamically built by scraping the company's website.

โ“ Problem It Solves

Traditional customer support systems often require manual data entry and lack real-time updates from the company's website. This workflow automates the process by:

Scraping the company's website at set intervals to update the knowledgebase.
Integrating with GoHighLevel SMS to provide users with timely and accurate information.
Utilizing AI to interpret user queries and fetch relevant information from the updated knowledgebase.

๐Ÿงฐ Pre-requisites

Before deploying this workflow, ensure you have:

An active n8n instance (self-hosted or cloud).
A valid OpenAI API key (or any compatible AI model).
A Bright Data account with Web Unlocker setup.
A GoHighLevel SMS LeadConnector account.
A GoHighLevel Marketplace App configured with the necessary scopes.
Installed n8n-nodes-brightdata community node for Bright Data integration (if self-hosted).

โš™๏ธ Setup Instructions

1. Install the Bright Data Community Node in n8n

For self-hosted n8n instances:

Navigate to Settings โ†’ Community Nodes.
Click on Install.
In the search bar, enter n8n-nodes-brightdata.
Select the node from the list and click Install.

Docs: https://docs.n8n.io/integrations/community-nodes/installation/gui-install

2. Configure Bright Data Credentials

Obtain your API key from Bright Data.
In n8n, go to Credentials โ†’ New, select HTTP Request.
Set authentication to Header Auth.
In Name, enter Authorization.
In Value, enter Bearer <your_api_key_from_Bright_Data>.
Save the credentials.

3. Configure OpenAI Credentials

Add your OpenAI API key to the relevant nodes.
If you want to use a different model, replace all OpenAI nodes accordingly.

4. Set Up GoHighLevel Integration

a. Create a GoHighLevel Marketplace App

Go to https://marketplace.gohighlevel.com
Click My Apps โ†’ Create App
Set Distribution Type to Sub-Account
Add the following scopes:
locations.readonly contacts.readonly contacts.write opportunities.readonly opportunities.write users.readonly conversations/message.readonly conversations/message.write
Add your n8n OAuth Redirect URL as a redirect URI in the app settings.
Save and copy the Client ID and Client Secret.

b. Configure GoHighLevel Credentials in n8n

Go to Credentials โ†’ New
Choose OAuth2 API
Input:
Client ID
Client Secret
Authorization URL: https://auth.gohighlevel.com/oauth/authorize
Access Token URL: https://auth.gohighlevel.com/oauth/token
Scopes:
locations.readonly contacts.readonly contacts.write opportunities.readonly opportunities.write users.readonly conversations/message.readonly conversations/message.write
Save and authenticate to complete setup.

Docs: https://docs.n8n.io/integrations/builtin/credentials/highlevel

๐Ÿ”„ Workflow Functionality (Summary)

Scheduled Scraping**: Scrapes website at user-defined intervals.
Edit Fields** node: User defines the homepage or site to scrape.
Bright Data Node* (self-hosted) OR *HTTP Node** (cloud users) used to perform scraping.
Knowledgebase Update**: The scraped content is stored or indexed.
GoHighLevel SMS**: Incoming user queries are received through SMS.
AI Processing**: AI matches queries to relevant content.
Response Delivery**: AI-generated answers are sent back via SMS.

๐Ÿงฉ Use Cases

Customer Support Automation**: Provide instant, accurate responses.
Lead Qualification**: Automatically answer potential customer inquiries.
Internal Knowledge Distribution**: Keep staff updated via SMS based on website info.

๐Ÿ› ๏ธ Customization

Scraping URLs**: Adjust targets in the Edit Fields node.
Model Swap**: Replace OpenAI nodes to use a different LLM.
Format Response**: Customize output to match your tone or brand.
Other Channels**: Expand to include chat apps or email responses.
Vector Databases**: It is advisable to store the data into a third-party vector database services like Pinecone, Supabase, etc.
Chat Memory Node**: This workflow is using Redis as a chat memory but you can use N8N built-in chat memory.

โœ… Summary

This n8n workflow combines Bright Dataโ€™s scraping tools and GoHighLevelโ€™s SMS interface with AI query handling to deliver a real-time, conversational support experience. Ideal for businesses that want to turn their website into a live knowledge source via SMS, this agent keeps itself updated, smart, and customer-ready.

Nodes Used (10)

AI Agent
@n8n/n8n-nodes-langchain.agent
Default Data Loader
@n8n/n8n-nodes-langchain.documentDefaultDataLoader
Embeddings OpenAI
@n8n/n8n-nodes-langchain.embeddingsOpenAi
HighLevel
n8n-nodes-base.highLevel
HTML
n8n-nodes-base.html
HTTP Request
n8n-nodes-base.httpRequest
OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi
Recursive Character Text Splitter
@n8n/n8n-nodes-langchain.textSplitterRecursiveCharacterTextSplitter
Redis Chat Memory
@n8n/n8n-nodes-langchain.memoryRedisChat
Simple Vector Store
@n8n/n8n-nodes-langchain.vectorStoreInMemory