Home of Agents icon

Home of Agents

Interact with the Home of Agents AI assistant platform. Send/edit/pin/delete messages, ask the user a question, send-and-wait for a reply, manage assistants, files and peer agents (Action mode), or run generic CRUD against the Home of Agents REST API (Record mode). Usable as an AI agent tool. (n8n-nodes-bgos v1.17.0)

Message → Create Message

AI-generated

Summary

Creates a message in a BGOS chat by sending the specified text as an assistant or user. In Record mode, the operation calls the BGOS send-message endpoint and returns its response.

Inputs

  • Mode — Select Record mode to use this generic REST operation; the default is Action mode, which does not show these fields.
  • Assistant ID (required) — Numeric ID of the assistant sending the reply.
  • Chat ID (required) — Numeric ID of the chat where the message is sent.
  • Text (required) — Message text to send.
  • Sender — Whether the message is sent as the assistant or user; defaults to assistant.
  • Files (JSON) — Optional JSON array of attachments. Each file object must include fileName, fileData (URL string), fileMimeType, and boolean isImage, isVideo, isAudio, and isDocument fields. Can be supplied from BGOS Trigger output, for example {{$json.files}}.

Output shape

A single response from the BGOS send-message API.

The source identifies the endpoint and its side effects: the message is saved to the database, pushed to the frontend over WebSocket, and sent as a push notification. The response fields are not specified in the provided source.

Links

Discussion