Help Centre › Building Processes
Upload a file to a URL.
Add it to a process
In the process designer, open the Add step tab. Find Upload a file to a URL under Network › File Operations, or type its name in the search box, and drag it onto the canvas.
Fields
| Field | Required | What it does |
|---|---|---|
| Upload URL | Yes | Upload URL |
| File path | Yes | Local file path to upload |
| Session name | No | Session name Default: default. |
| Variable | Yes | Name of the variable where the result will be stored Default: response. |
| Additional form data (JSON object) | No | Extra form data |
| Headers (JSON object) | No | Request headers |
| Field name | No | Form field name for the file Default: file. |
| Timeout (seconds) | No | Request timeout |
What it gives back
{response}– Upload response
See all Network steps.
Errors
| Error | Description |
|---|---|
| File not found | The specified file does not exist at the given path |
| Connection failed | Unable to establish a connection to the server |
| Upload rejected | The server rejected the file upload |
Tips
- Use the field_name parameter to match the API's expected form field name
- Add extra form data with the data parameter for metadata such as descriptions or tags
- Increase timeout for large file uploads