Last updated:
Export To AFAS Profit
The Export To AFAS Profit node sends data from a dataflow to AFAS Profit. It uses Update Connectors to create or update records within AFAS.
The process works as follows:
- Select a valid connection to AFAS Profit.
- Open Advanced and configure the entity (Update Connector) and the field mappings between the input data and AFAS fields.
- Execute the node to send the data to AFAS.
- AFAS processes the request and returns a response.
Configuration
Section titled “Configuration”| Setting | Required | Description |
|---|---|---|
| Connection | Yes | The connection to the AFAS Profit environment. |
| Advanced | Yes | Opens the mapping configuration where you define how input data is mapped to the AFAS Update Connector structure. |
| JSON response | No | When enabled, includes the full JSON response from AFAS in the output of the node. |
AFAS connectors
Section titled “AFAS connectors”AFAS Profit works with two types of connectors:
- Update Connectors: used to create or update data in AFAS Profit, and can be configured in AFAS to include specific fields.
- Get Connectors: used to retrieve data from AFAS Profit. Not used in this export node, but relevant for import scenarios.
JSON response
Section titled “JSON response”When the JSON response option is enabled, the full response from AFAS is added to the output table, including detailed information about the processed request. This is useful for retrieving generated IDs and results of nested (child) records. A query node (SQLite with JSON functions) can be used to extract values such as IDs from nested structures in the response.
- Ensure the selected Update Connector is correctly configured in AFAS Profit.
- Carefully map all required fields in the Advanced configuration.
- Enable JSON response when you need to extract additional information from the response.