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)

File → Upload a File

AI-generated

Summary

Upload the first input item's binary file to BGOS using a presigned S3 URL, then save its metadata and return the resulting file record with success: true. Use the returned file ID when attaching the file in a message operation.

Inputs

  • Binary Property (required) — Name of the input item's binary property containing the file; defaults to data. The operation reads the first input item and errors if that property has no binary data.
  • File Name — Optional name override. If blank, uses the binary file's name, or a generated file_<timestamp> name if none is present.
  • User ID (required) — BGOS user ID; if blank, uses user_id or userId from the input item's JSON. The operation errors if neither is available.

Output shape

A single output item per input item, containing the input JSON merged with the BGOS file record and success: true.

Uploads the binary content, then registers its key, MIME type, and byte size with BGOS. MIME type defaults to application/octet-stream when absent. Requires configured BGOS API credentials; failures stop the operation unless Continue On Fail is enabled, in which case the output includes success: false and an error message.

Links

Discussion