FlowmageDocs

Attach file

BetaChanges data

Attaches a file to a Bullhorn record.

Settings

SettingWhat it is
ConnectionRequiredThe Bullhorn connection the step signs in with.
EntityRequiredtext
Record idRequiredtext
File contentsRequiredBase64 of the file — {{ file("cv.pdf").base64 }}. Bullhorn keeps the bytes and the name you give here.
File nameRequiredThe name Bullhorn stores, extension included.
File typetext
External idRequiredBullhorn's label for this attachment. It is not checked for duplicates.
Content typetext
Descriptiontext
Attachment typeBullhorn's own `type` field on the attachment.
Technical details
KeyValue
connectiontexta connection id from `requires.connections` (provider `bullhorn`)
entityTypetext
entityIdtext
contenttextits `{{ }}` must give a string
nametext
fileTypetext, by default "SAMPLE"
externalIdtext
contentTypetext
descriptiontext
categorytext

Output

FieldType
fileIdnumber
Sample output, and the expression for each field
  • fileId1

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": {
    "category": "",
    "connection": "<connection id>",
    "content": "<file contents>",
    "contentType": "",
    "description": "",
    "entityId": "<record id>",
    "entityType": "<entity>",
    "externalId": "<external id>",
    "fileType": "SAMPLE",
    "name": "<file name>"
  },
  "label": "Attach file",
  "type": "bullhorn.uploadFile",
  "version": 1
}