Create record
BetaChanges data
Adds a new record to AFAS Profit through one of its UpdateConnectors.
Settings
| Setting | What it is |
|---|---|
| ConnectionRequired | The AFAS Profit connection the step signs in with. |
| UpdateConnectorRequired | The node sends it a POST — AFAS's verb for adding a new record. |
| Body | The AFAS Profit UpdateConnector envelope as JSON — or one {{ }} expression that produces it, e.g. {{ node["Build body"] }}. |
Technical details
| Key | Value |
|---|---|
connection | texta connection id from `requires.connections` (provider `afas-profit`) |
connector | texta value from the vendor's own list |
data | any JSON |
Output
| Field | Type |
|---|---|
responseAFAS Profit response body | object |
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
}