Upload File
Uploads a file that can be attached to a ticket comment.
External Documentation
To learn more, visit the Zendesk documentation.
Parameters
Parameter | Description |
---|---|
File Identifier | The identifier of the file. You can create a file identifier using the Set File Variable action. |
File Name | Specifies what the file will be named when attached to the ticket comment.For example: user_crash.log . |
Token | A token that's used for adding multiple files to the same upload. The token is valid for 3 days.For further information, please refer to Zendesk Documentation. |
Example Output
{
"upload": {
"attachment": {
"content_type": "image/png",
"content_url": "https://company.zendesk.com/attachments/token/tyBq1ms40dFaHefSIigxZpwGg/?name=crash.png",
"deleted": false,
"file_name": "crash.png",
"height": "62",
"id": 1503729607981,
"inline": false,
"mapped_content_url": "https://company.zendesk.com/attachments/token/tyBq1ms40dFaHefSIigxZpwGg/?name=crash.png",
"size": 5172,
"thumbnails": [],
"url": "https://company.zendesk.com/api/v2/attachments/1503729607981.json",
"width": "80"
},
"attachments": [
{
"content_type": "image/png",
"content_url": "https://company.zendesk.com/attachments/token/tyBq1ms40dFaHefSIigxZpwGg/?name=crash.png",
"deleted": false,
"file_name": "crash.png",
"height": "62",
"id": 1503729607981,
"inline": false,
"mapped_content_url": "https://company.zendesk.com/attachments/token/tyBq1ms40dFaHefSIigxZpwGg/?name=crash.png",
"size": 5172,
"thumbnails": [],
"url": "https://company.zendesk.com/api/v2/attachments/1503729607981.json",
"width": "80"
}
],
"token": "LXJdriewLBP8JrtzzkN7Ne4k6"
}
}
Workflow Library Example
Upload File with Zendesk and Send Results Via Email
Preview this Workflow on desktop