File download
Download file data to Workflows and return the file contents and file metadata for use in other cards.
This function card is only available in Connector Builder.
Input
| Field | Definition | Type | Required | 
|---|---|---|---|
| File Name | The name of the file. | File | TRUE | 
| URL | The URL of the request, including the protocol http:// or https://. | String | TRUE | 
| HTTP Method | 
                                                                         The HTTP method to use: 
  | 
                                                                    Dropdown | TRUE | 
| Protocol | 
                                                                         The protocol to use: 
  | 
                                                                    Dropdown | TRUE | 
| Query | 
                                                                         Specify any additional query parameters to include as key and value pairs. For example: {"name":"something-urgent"} turns into the query parameter ?name=something-urgent&....  | 
                                                                    Object | FALSE | 
| Headers | Specify any headers for the request. | Object | FALSE | 
Output
| Field | Definition | Type | 
|---|---|---|
| File Content | The contents of the downloaded file. | File | 
| File Name | The name of the file. | Text | 
| Created At | The unix timestamp in milliseconds of the file creation. You can use the Text to Date function card with format x to change the data to a more readable format. | Text | 
| File Size | The size of the file in bytes. | Number | 
