Workflows & Automation
How to Set Up the GoHighLevel Chat Widget and Trigger Workflows from It
By Marnix Geerkens. Published 2020-04-30. Updated 2026-06-02.
The GoHighLevel chat widget embeds a popup on any web page that opens a real SMS conversation, not a live chat session. You install it by pasting a small script into your funnel or site tracking code, replacing a location ID placeholder with the ID from your sub-account URL. Once installed, a 'Customer Replied' workflow trigger with the chat widget channel filter lets you automate follow-up the moment someone sends their first message.
Watch it, then build it
Get the full platform free for 30 days
That walkthrough runs on GoHighLevel. Start it free through RocketLauncher and you get 30 days instead of the usual 14, the whole platform unlocked, plus our setup help and a community of thousands of builders in 47+ countries.
30 days, not 14Full platform, nothing held backFree community and setup help
We earn a referral commission if you keep GoHighLevel after the trial. It never changes your price.
Summary. This tutorial shows how to add the GoHighLevel chat widget to a funnel page or an entire funnel, and how to build a workflow that fires when a visitor initiates a conversation through it. The widget creates an SMS thread in the Conversations tab, and the trigger setup lets you notify your team or send an auto-reply without any manual monitoring.
What you will learn
- Understand that the chat widget starts an SMS conversation, not a live browser chat session
- Grab the widget script from GoHighLevel help docs and customize the heading text
- Find your sub-account location ID from the URL bar and insert it into the script
- Install the widget on a single funnel page or across an entire funnel at once
- Build a workflow trigger that fires specifically when a chat widget message arrives
Steps
Get the widget script
Inside your GoHighLevel agency account, click Help and search for 'chat widget'. Open the doc and copy the example script provided.
Find your location ID
Navigate into the sub-account where you want the widget. Look at the URL, find the segment after 'location/', and copy that string. This is your location ID.
Edit the script
In the script, find the 'locationId' placeholder and replace it with the ID you just copied. You can also edit the 'heading' field inside the script to change the text shown on the widget popup.
Add to a single page
Open the funnel page editor, go to Settings, then Tracking Code, and select the Footer tab. Paste the script there and save. Preview the page to confirm the widget appears.
Add to an entire funnel
Go to the top-level funnel Settings rather than a page's settings. Paste the script into the Body tracking code field. This places the widget on every page in the funnel.
Build the workflow trigger
Go to Automations and open or create a workflow. Add a 'Customer Replied' trigger. Add a filter, select 'Reply Channel', and set it to 'Chat Widget'. Add any notification or auto-reply actions you want to fire when someone initiates a conversation.
Tips
- The script must go in the footer, not the header. Placing it in the header prevents the widget from rendering.
- Change the widget heading text directly inside the script tag rather than through a separate settings panel.
- Use the workflow notification action to SMS or email a team member so no chat widget conversation goes unanswered.
Related tutorials
Watch it, then build it
Get the full platform free for 30 days
30 days, not 14Full platform, nothing held backFree community and setup help
Frequently asked questions
Is the chat widget a live chat tool?
No. It opens an SMS text conversation in the GoHighLevel Conversations tab, not a browser-based live chat session.
How do I find my location ID?
Log into the sub-account and read the string after 'location/' in the browser URL bar.
Can I put the widget on a WordPress site instead of a funnel?
Yes. Paste the script into any site's footer HTML. The location ID makes it work for that specific sub-account.
What happens to conversations started through the widget?
They appear in the Conversations tab under Recents, just like any other inbound SMS message.






