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
How it works
- Add the Chat Trigger node to your agent.
- Set Make Chat Publicly Available =
trueand Mode =Embedded Chat. - Connect the trigger to an Agent or Chain LLM node downstream.
- (Optional) Connect a Simple Memory node to remember conversation history per session.
- Publish your agent. Your agent's chat link accepts
POSTrequests 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.