Settings
| Setting | What it is |
|---|---|
| ConnectionRequired | The TOPdesk connection the step signs in with. |
| Call idRequired | The call's TOPdesk id (attachments have no by-number form). |
| File nameRequired | Pick the file, then paste its base64 below. |
| File contentsRequired | Base64 of the file — {{ file("name").base64 }}. Multipart uploads over the "Use fixed IP address" lane are unverified; leave that toggle off for this node. |
| Hidden from the caller | On keeps the attachment internal. |
| Description | text |
Technical details
| Key | Value |
|---|---|
connection | texta connection id from `requires.connections` (provider `topdesk`) |
incidentId | text |
name | texta file name, listed in `requires.files` |
contentBase64 | textits `{{ }}` must give a string |
invisibleForCaller | true/false, by default true |
description | text |
Output
| Field | Type |
|---|---|
attachment | object |
attachment.id | string |
attachment.fileName | string |
Sample output, and the expression for each field
- attachment
- fileName"photo.jpg"
- id"1"
Errors
When a step of this node stops a run, the run page shows a code. Look it up:
Example step
The step as a flow file holds it. Replace each value in <…>.
{
"config": {
"connection": "<connection id>",
"contentBase64": "<file contents>",
"description": "",
"incidentId": "<call id>",
"invisibleForCaller": true,
"name": "<file name>"
},
"label": "Attach file to call",
"type": "topdesk.uploadAttachment",
"version": 1
}