MEGA icon

MEGA

Manage conversations, contacts, WhatsApp, Kanban CRM and Captain AI in MEGA

Actions417

Kanban Item → Upload Attachment

AI-generated

Summary

Upload a binary file from an incoming workflow item as an attachment to a specified Kanban item within the selected MEGA account.

Inputs

  • Account (required) — Select the MEGA account to use for this operation, either from a list or by specifying its numeric ID.
  • Kanban Item (required) — Select the specific Kanban item to which the attachment will be uploaded, either from a list or by its numeric ID.
  • Binary Property (required) — Specify the name of the incoming binary property containing the file to upload (default is 'data').

Output shape

a single object containing details of the uploaded attachment as returned by the MEGA API

The operation expects the binary data in the property named in 'Binary Property' input. The response includes metadata about the newly uploaded attachment. Errors will occur if the account or Kanban item IDs are invalid or if the binary data is missing.

Examples

Example 1: Upload a PDF invoice to a Kanban item representing an order

Set 'Account' to the relevant MEGA account, 'Kanban Item' to the target Kanban item's ID, and 'Binary Property' to 'fileData' where the workflow stores the PDF file binary.

Links

Discussion