N8n Chat Widget No Longer Loading on GHL Landing Pages

n8n Chat Widget No Longer Loading on GHL Landing Pages

I’ve been embedding the @n8n/chat widget on HighLevel (GHL) landing pages for months without any problems — working across 15+ pages.

Suddenly, it stopped working on all pages:

  • No chat input
  • Just blank space

Setup

  • Using this script previously:

js

CopyEdit

import { createChat } from 'https://cdn.jsdelivr.net/npm/@n8n/chat/chat.bundle.es.js';
  • My n8n instance is self-hosted on Render latest version 1.103.2
  • No changes made to the page or to the n8n workflow
  • When I test the chat directly in n8n, it still works as expected

Information on your n8n setup

  • n8n version: 1.103.2
  • **Database: PostgresDB
  • Running n8n via (Docker, npm, n8n cloud, desktop app): Render Supabase self hosted

Dear @jakeThai How are you !

Why don’t you use the custom code for Chatbot ?

That way you can have a better visual and control over the chatbot.

If you want to generate the custom chatbot, just the like the following then I would love to help you figuring out this.

Happy to help…

thanks but I already customized it to look like a phone. The problem is the widget suddenly stopped appearing in all my landing pages.

That great @jakeThai buddy.

You can try and paste the following url in your browser.

https://cdn.jsdelivr.net/npm/@n8n/chat/chat.bundle.es.js

If the output is empthy which means that this side didn’t exist any more.

which means that you have to generate new js. url for your case. Once you do that it will start working again…

Happy to help.

1 Like

just posting the solution for anyone else. It turns out the cdn/css url for n8n chat widget got changed so you need to add /dist into your code.

example:

  • Old: https://cdn.jsdelivr.net/npm/@n8n/chat/style.css

  • New: https://cdn.jsdelivr.net/npm/@n8n/chat/dist/style.css

  • Old: https://cdn.jsdelivr.net/npm/@n8n/chat/chat.bundle.es.js

  • New: https://cdn.jsdelivr.net/npm/@n8n/chat/dist/chat.bundle.es.js

Also a bunch of stuff changed so it has affected my widgets and had to do some troubleshooting, still not behaving as before but just going to leave it as is.

Would be good to know how often this might happen because it broke all my demo pages at once unexpectedly and we had sales calls where the demo didn’t work obviously not a good start.

1 Like

Dear @jakeThai sound good that you have figure out the problem.

I still suggest you should develop the custom code based chatbot.
If you want I would love to help you in this and don’t worry I am not going to charge anything.

Just looking forward to help you out…

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.