MEGA icon

MEGA

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

Actions417

Conversation → Download Attachment

AI-generated

Summary

Download a conversation attachment as binary data, locating it either by its attachment ID within a selected account, inbox, and conversation, or by a direct URL. Store the downloaded data under the configured binary property name.

Inputs

  • Download Mode — Choose By Attachment ID (default) or By URL.
  • Account (required) — In By Attachment ID mode, select the account or enter its numeric ID.
  • Inbox (required) — In By Attachment ID mode, select the inbox or enter its numeric ID.
  • Conversation (required) — In By Attachment ID mode, select the conversation or enter its numeric ID.
  • Attachment (required) — In By Attachment ID mode, select the attachment or enter its numeric ID.
  • Attachment URL (required) — In By URL mode, provide the direct URL of the attachment.
  • Allow External URLs — In By URL mode, defaults to false; enable to allow downloads from URLs outside the configured MEGA instance.
  • Output Binary Property (required) — Name of the binary property where the attachment data is written; defaults to data.

Output shape

Input items with the downloaded attachment stored as binary data.

The binary property name is configurable. The supplied operation source lists the download implementation but does not expose its response handling, so additional output fields are unspecified.

Examples

Example 1: Download an attachment selected by its ID

Choose By Attachment ID, then select or enter the account, inbox, conversation, and attachment. Keep the binary property as data or choose another name.

Example 2: Download an attachment from a direct URL

Choose By URL, enter the direct attachment URL, and enable Allow External URLs only when the URL is outside the configured MEGA instance.

Links

Discussion