FlowmageDocs

Download attachment

BetaReads data

Downloads a file from a TOPdesk call as base64.

Settings

SettingWhat it is
ConnectionRequiredThe TOPdesk connection the step signs in with.
Call idRequiredtext
Attachment idRequiredThe attachment's id — the List attachments node gives you attachments[].id.
Technical details
KeyValue
connectiontexta connection id from `requires.connections` (provider `topdesk`)
incidentIdtext
attachmentIdtext

Output

FieldType
nameFile namestring
contentTypestring
base64File contents (base64)string
sizeSize in bytesnumber
Sample output, and the expression for each field
  • base64""
  • contentType"image/jpeg"
  • name"photo.jpg"
  • size0

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": {
    "attachmentId": "<attachment id>",
    "connection": "<connection id>",
    "incidentId": "<call id>"
  },
  "label": "Download attachment",
  "type": "topdesk.downloadAttachment",
  "version": 1
}