Actions3
- Conversation Actions
Conversation → Record Message
AI-generatedSummary
Record a message in a specified Trilox conversation by sending message content along with sender details and channel information to Trilox via its webhook API.
Inputs
- App (required) — Select the Trilox app (chat inbox) associated with your API key to record the message in.
- Chat ID (required) — Provide the unique identifier for the specific conversation to record the message.
- Sender Type (required) — Specify the type of sender: 'Bot' for automated responses or 'Visitor' for customer messages.
- Channel — Optionally choose the communication channel (e.g., 'Telegram', 'WhatsApp', 'Messenger', 'Widget', etc.) to indicate the message's origin platform; defaults to 'n8n Chat'.
- Message (required) — Enter the message content to record, between 1 and 10,000 characters.
- Visitor Name — If Sender Type is 'Visitor', optionally provide the visitor's full name.
- Visitor Metadata — If Sender Type is 'Visitor', optionally provide additional visitor metadata as a JSON object.
Output shape
a single JSON object representing the recorded message response from the Trilox webhook API
The operation validates message length and visitor metadata JSON format, throws errors if invalid, and returns the API response JSON following successful recording.