Pachca (beta) icon

Pachca (beta)

Интеграция с мессенджером Пачка

Message → Send a message

AI-generated

Summary

Send a message to a specified entity in Pachca by providing the entity type and ID, along with optional message content, attached files, and interactive buttons with configurable layout.

Inputs

  • Entity Type (required) — Specifies the type of entity to send the message to, choosing among 'discussion' (chat or channel), 'user' (private message), or 'thread' (comment in a thread).
  • Entity ID (required) — The numeric ID of the chat, user, or thread to which the message will be sent.
  • Content — The textual content of the message to be sent.
  • Files — One or more files to attach to the message. Each file requires a file key (path), display name, type (file or image), size in bytes, and optionally width and height for images.
  • Buttons — One or more interactive buttons attached to the message. Buttons can be 'data' type buttons that send data back via webhook or 'url' buttons with a link to open. Each button includes text, type, and associated data or URL.
  • Button Layout — Defines how buttons are arranged visually: all in a single row or each on its own row.

Output shape

a single record representing the sent message response

The output contains the server response confirming the message was sent. Handling errors is done by node execution errors. Buttons and files are optional components in the sent message.

Discussion