Download attachment
Save an attachment (from a ticket comment) to a local folder under its own name.
Command in the Zendesk toolkit · id ooa.zendesk/download_attachment · 7 inputs (2 required), 1 output
Inputs
| Input | Type | Required | Default | What it is |
|---|---|---|---|---|
| Site | String | Yes | Your Zendesk address, e.g. https://acme.zendesk.com, or just the subdomain acme. | |
| String | No | Email of the agent the API token belongs to. Leave empty when using an OAuth token. | ||
| API token | Credential | No | Zendesk API token from the vault (used with email). | |
| OAuth token | Credential | No | OAuth access token from the vault, instead of email and API token. Or leave it empty and choose a connection that signs in, which gets and renews the token. | |
| Attachment ID | Number | Yes | Attachment id, from List comments. | |
| Folder | File | No | . | Folder to save into; the run's temporary folder when empty (G5). |
| Overwrite | Boolean | No | true | Replace a file of the same name; otherwise a number is added. |
Outputs
| Output | Type | What it is |
|---|---|---|
| path | File | Saved file. |