Settings
| Setting | What it is |
|---|---|
| ConnectionRequired | The Carerix connection the step signs in with. |
| File nameRequired | The name Carerix stores and offers the document under, extension included. |
| Contents (base64)Required | The file itself, as base64 — {{ file("cv.pdf").base64 }} from the file store, or the output of the Download attachment node. Carerix accepts 10 MB per request and base64 is a third wider than the bytes, so anything over 7 MB is refused here. |
| Label | What Carerix shows the document as. Empty uses the file name. |
| Owner id | text |
| Document type code | The code of the Carerix document type, looked up by code rather than by id — for example cv or contract. |
| Other fields | Any other CRAttachmentRequest field, by name — docs.carerix.io/graphql has the full list. Dates are yyyy-MM-dd HH:mm:ss in Amsterdam time, and a list value is set by its code with a _lookup. |
| List-value language | Which language Carerix answers its list values (statuses, types, results) in. It does not translate the data. |
Technical details
| Key | Value |
|---|---|
connection | texta connection id from `requires.connections` (provider `carerix`) |
fileName | text |
contentBase64 | text |
label | text |
ownerUserId | text |
typeNodeValue | text |
extraFields | object (any keys), by default {} |
language | "" or "DUTCH" or "ENGLISH" or "FRENCH" or "GERMAN" or "HUNGARIAN" or "ITALIAN" or "POLISH" or "PORTUGUESE" or "SPANISH" |
Output
| Field | Type |
|---|---|
attachmentIdNew attachment id | string |
attachment | object |
Sample output, and the expression for each field
- attachment
- _id"9001"
- _kind"CRAttachment"
- downloadName"cv-ada-lovelace.pdf"
- attachmentId"9001"
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": "<contents (base64)>",
"extraFields": {},
"fileName": "<file name>",
"label": "",
"language": "",
"ownerUserId": "",
"typeNodeValue": ""
},
"label": "Upload attachment",
"type": "carerix.uploadAttachment",
"version": 1
}