N8nFront icon

N8nFront

Отправка сообщений и файлов через N8nFront Bot API

Отправить документ

AI-generated

Summary

Send a document file to a specified chat using the n8nFront Bot API by providing the chat ID and a binary file from the workflow.

Inputs

  • Chat ID (required) — The ID of the chat (conversation) to which the document will be sent. This can typically be taken from a trigger event, e.g. {{ $json.message.chat.id }}.
  • Binary Property (required) — The name of the binary property in the input data that contains the file to be sent as a document.
  • Подпись — An optional caption to include with the document.

Output shape

a single JSON object representing the API response for each document sent

Returns the JSON response from the n8nFront Bot API indicating the result of the sendDocument operation. The response will wrap each execution item's output; errors may be included if "Continue On Fail" is enabled.

Links

Discussion