Home of Agents Action icon

Home of Agents Action

Interact with the Home of Agents chat platform. Send/edit/pin/delete messages, ask the user a question, send a message and wait for the reply, fetch chat metadata, manage assistants and files. Usable as an AI agent tool. (n8n-nodes-bgos v1.17.0)

Chat → Save Chat History

AI-generated

Summary

Bulk-save chat messages to Home of Agents for importing or replaying conversation history. Provide messages as a JSON array or pass them in the input data; each message is mapped to a chat ID, sender, text, and sent date before submission.

Inputs

  • Messages (JSON) (required) — JSON array of message objects. If omitted, the operation reads messages from input data, or wraps a single input message object in an array. Each message can provide chat_id or chatId (or message.chatId), sender (or message.sender), text (or message.text), and sentDate, sent_date, message.sentDate, or timestamp. Defaults are sender user, empty text, and the current time for the sent date.
  • User ID (required) — User ID for the operation. Falls back to user_id or userId in input data; execution fails if none is provided.
  • Chat Name or ID — Optional chat selector. The save implementation does not use this field to assign the messages’ chat IDs; supply a chat ID on each message object.

Output shape

A single output item per input item, merging the bulk-save API response fields into the original input JSON.

The operation POSTs the mapped message array to the bulk messages endpoint. It requires BGOS API credentials. The selected Chat Name or ID is not passed to the save request; message chat IDs come from the message objects and default to 0 if absent.

Links

Discussion