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
| Name | Type | Description |
|---|---|---|
| Environment | String | Flow environment Possible values: eu, us, dev, qa. |
| Flow ID | String | Flow ID |
| External ID | String | External ID |
| API Key | String (sensitive) | API Key |
| API Secret | String (sensitive) | API Secret |
| File Base 64 | String | File base 64 |
| Filename | String | Filename |
Outputs
| Name | Type | Description |
|---|---|---|
| Success | Boolean | Whether the file was uploaded |
| File URL | Object | Url |