FlowmageDocs

Attach file to call

BetaChanges data

Attaches a file to a TOPdesk call.

Settings

SettingWhat it is
ConnectionRequiredThe TOPdesk connection the step signs in with.
Call idRequiredThe call's TOPdesk id (attachments have no by-number form).
File nameRequiredPick the file, then paste its base64 below.
File contentsRequiredBase64 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 callerOn keeps the attachment internal.
Descriptiontext
Technical details
KeyValue
connectiontexta connection id from `requires.connections` (provider `topdesk`)
incidentIdtext
nametexta file name, listed in `requires.files`
contentBase64textits `{{ }}` must give a string
invisibleForCallertrue/false, by default true
descriptiontext

Output

FieldType
attachmentobject
attachment.idstring
attachment.fileNamestring
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
}