N8nFront icon

N8nFront

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

Отправить фото

AI-generated

Summary

Send a photo image to a specified chat using the N8nFront Bot API.

Inputs

  • Chat ID (required) — ID of the chat (conversation) to send the photo to, typically obtained from a trigger like {{ $json.message.chat.id }}.
  • Binary Property (required) — Name of the binary property in the input item that contains the photo file to send.
  • Подпись — Optional caption text to include with the photo.

Output shape

a list of JSON objects, each representing the API response for sending a photo.

Each output item corresponds to an input item and contains the JSON response from the N8nFront API's sendPhoto endpoint. Errors are returned as JSON with an error message if continueOnFail is enabled.

Links

Discussion