Uploads a file that can be attached to a ticket comment.
External DocumentationTo learn more, visit the Zendesk documentation.

Parameters

ParameterDescription
File IdentifierThe identifier of the file. You can create a file identifier using the Set File Variable action.
File NameSpecifies what the file will be named when attached to the ticket comment.

For example: user_crash.log.
TokenA 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": {
		"token": "<string>",
		"expires_at": "2025-04-15T07:29:04Z",
		"attachments": [
			{
				"url": "<string>",
				"id": 34142873249856,
				"file_name": "<string>",
				"content_url": "<string>",
				"mapped_content_url": "<string>",
				"content_type": "<string>",
				"size": 596895,
				"width": 1988,
				"height": 1287,
				"inline": false,
				"deleted": false,
				"malware_access_override": false,
				"malware_scan_result": "<string>",
				"thumbnails": [
					{
						"url": "<string>",
						"id": 16543355994864,
						"file_name": "<string>",
						"content_url": "<string>",
						"mapped_content_url": "<string>",
						"content_type": "<string>",
						"size": 2235,
						"width": 132,
						"height": 48,
						"inline": false,
						"deleted": false,
						"malware_access_override": false,
						"malware_scan_result": "<string>"
					}
				]
			}
		],
		"attachment": {
			"url": "<string>",
			"id": 22592852966842,
			"file_name": "<string>",
			"content_url": "<string>",
			"mapped_content_url": "<string>",
			"content_type": "<string>",
			"size": 632384,
			"width": 1661,
			"height": 260,
			"inline": false,
			"deleted": false,
			"malware_access_override": false,
			"malware_scan_result": "<string>",
			"thumbnails": [
				{
					"url": "<string>",
					"id": 47819782114552,
					"file_name": "<string>",
					"content_url": "<string>",
					"mapped_content_url": "<string>",
					"content_type": "<string>",
					"size": 3078,
					"width": 73,
					"height": 20,
					"inline": false,
					"deleted": false,
					"malware_access_override": false,
					"malware_scan_result": "<string>"
				}
			]
		}
	}
}

Workflow Library Example

Upload File with Zendesk and Send Results Via Email
Workflow LibraryPreview this Workflow on desktop