Chat Trigger

Chat Trigger integration on indie.money

Written By Philippe

Last updated 30 days ago

Chat Trigger

The Chat Trigger node starts an agent run whenever a chat message is posted to your agent's chat link. It is ideal for building conversational agents that respond to messages from a chat client you embed in your own app.

indie.money compatibility

FeatureStatus
POST chat messages (embedded mode)Supported
Memory connection (Simple Memory)Supported
loadPreviousSession actionSupported
Streaming responsesPartial β€” responseMode=streaming returns NDJSON after execution completes (synthesized chunks, not real-time per-token streaming). Connect a Chat Trigger to a Chain LLM or Agent node and the response stream contains one JSON event per output item.
Hosted chat web page (GET URL serves HTML)Not supported β€” agents return 404 on GET. Embed your own chat client instead
Basic Auth authentication modeNot supported β€” choose None and put your own auth in front of the agent link
n8n User Auth authentication modeNot supported
File uploads in chatNot supported

How it works

  1. Add the Chat Trigger node to your agent.
  2. Set Make Chat Publicly Available = true and Mode = Embedded Chat.
  3. Connect the trigger to an Agent or Chain LLM node downstream.
  4. (Optional) Connect a Simple Memory node to remember conversation history per session.
  5. Publish your agent. Your agent's chat link accepts POST requests with this body:
{  "chatInput": "Hello, how are you?",  "sessionId": "my-session-123"}

The agent responds with the output of the last node (or with chunks if streaming is enabled).

Who pays

When caller-paid runs are enabled for the chat trigger, it follows the same two-link model as the Webhook node: a You pay link (runs draw on your agent balance) and a Caller pays link (unpaid calls get a price back; callers with a wallet pay per run). See Webhook Node (Trigger) for the full explanation.

When only owner-funded chat is configured, chat messages draw on your agent balance. Embed that link in your own UI only β€” do not publish it as a buyer-facing surface.

Loading previous session messages

When Load Previous Session is set to From Memory and a Simple Memory node is connected, sending the special body {"action":"loadPreviousSession","sessionId":"..."} returns the prior messages for that session, without invoking the agent.

Differences from n8n

n8n offers a built-in chat web page that opens automatically when you visit the trigger link in a browser. indie.money does not host that page. To build a UI, embed any standard chat widget in your own webpage and point it at your agent's chat link.