Zalo OA icon

Zalo OA

Zalo Official Account API

Zalo OA → Upload File

AI-generated

Summary

Upload a file to the Zalo Official Account either by referencing a file URL or by providing binary file data.

Inputs

  • Binary Data — Set to true if uploading a file from binary data stored in the workflow.
  • Binary Property (required) — The name of the binary property containing the file data when uploading from binary.
  • File URL (required) — The URL of the file to upload if not using binary data.

Output shape

a JSON object representing the uploaded file metadata or response from the Zalo API

Only one source of file input should be used: either 'File URL' (when Binary Data is false) or 'Binary Property' (when Binary Data is true). The node returns the API response with details about the uploaded file.

Links

Discussion