Latenode

GPT Chat Assistant for Website via Chatwoot

This automation connects a GPT assistant to your website using the Chatwoot chat widget. It receives user messages via webhook, stores necessary data, checks for existing contact history, and replies accordingly.

Whether it’s a new or returning user, the assistant provides tailored responses and continues the conversation. Ideal for setting up an AI-powered customer support system that’s cost-effective, easy to implement, and scalable. The flow handles message routing, history tracking, and response generation using GPT.

Updated Aug 31, 2026Est. run: 19sEst. cost: $0,05
How Latenode estimates time and cost

Latenode bills workflow runtime in CPU seconds. The first 10,000 CPU seconds are free each month, then usage follows pay-as-you-go CPU-second pricing. Plug-and-Play (PnP) AI nodes are billed separately—each PnP token is $1 USD, charged pay-as-you-go at vendor cost plus a small processing fee, with no API keys required.

Full pricing — how CPU seconds work →

Workflow preview

What this template does

  • Embed a GPT assistant on your site through the Chatwoot widget
  • Handles new and returning visitors with contact history awareness
  • Routes messages, tracks history, and generates replies in one flow
  • Cost-effective, scalable pattern for AI-powered website support

How it works

1
Trigger

Receive a Chatwoot webhook

A website visitor sends a message through the Chatwoot widget, which posts the event into Latenode.

2
Logic

Store and look up contact context

The scenario saves needed fields and checks whether the contact already has conversation history.

3
AI

Generate a tailored GPT reply

ChatGPT crafts a response that fits a new visitor or continues an existing conversation.

4
Action

Send the reply back to Chatwoot

The answer is returned to the widget so the visitor keeps chatting on your website.

Setup guide

1

Install the Chatwoot widget

Add the Chatwoot chat widget to your website and note the webhook destination for new messages.

2

Point Chatwoot webhooks to Latenode

Configure Chatwoot to send message events to this scenario’s webhook URL.

3

Connect ChatGPT

Add ChatGPT credentials and set the assistant prompt for your support tone and knowledge.

4

Test new and returning contacts

Send a first message as a new visitor, then a follow-up, and confirm history-aware replies.

Requirements

Latenode account
Chatwoot account with website widget and webhook access
ChatGPT credentials for reply generation
Website where you can embed the Chatwoot widget

FAQ

Common questions about this template

They use the Chatwoot chat widget on your site; messages arrive in Latenode via webhook.

What should Latenode build?

Continue without a prompt →