Upload Media to Execution

Uploads a file to a flow execution so it can be referenced later in the conversation. Use it to attach images or documents generated during a flow.

What it does

  • Uploads a base64-encoded file to the execution identified by flow ID and external ID.
  • Returns a URL for the uploaded file.
  • Returns whether the upload succeeded.

Notes

  • Environment must match the region where the flow runs (eu, us, dev or qa).

Inputs

NameTypeDescription
EnvironmentStringFlow environment Possible values: eu, us, dev, qa.
Flow IDStringFlow ID
External IDStringExternal ID
API KeyString (sensitive)API Key
API SecretString (sensitive)API Secret
File Base 64StringFile base 64
FilenameStringFilename

Outputs

NameTypeDescription
SuccessBooleanWhether the file was uploaded
File URLObjectUrl

Notes