FlowmageDocs

Create record

BetaChanges data

Adds a new record to AFAS Profit through one of its UpdateConnectors.

Settings

SettingWhat it is
ConnectionRequiredThe AFAS Profit connection the step signs in with.
UpdateConnectorRequiredThe node sends it a POST — AFAS's verb for adding a new record.
BodyThe AFAS Profit UpdateConnector envelope as JSON — or one {{ }} expression that produces it, e.g. {{ node["Build body"] }}.
Technical details
KeyValue
connectiontexta connection id from `requires.connections` (provider `afas-profit`)
connectortexta value from the vendor's own list
dataany JSON

Output

FieldType
responseAFAS Profit response bodyobject
Sample output, and the expression for each field
  • response{}

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>",
    "connector": "<updateconnector>"
  },
  "label": "Create record",
  "type": "afas.insert",
  "version": 1
}