All about AFAS
AFAS: Get product relations from AFAS
Get related, up-sell and cross-sell articles from AFAS and set them up in your webshop, for example in Magento.
Updated November 9, 2026
In AFAS you can record relations between articles, such as related articles, up-sell and cross-sell. This flow gets those relations and sends them to an application that supports them. In Magento, for example, this flow sets up the cross-sell articles.
How it works
- For each type of relation, you create a free field on the article in AFAS: related, up-sell and cross-sell.
- In that field, you enter the article numbers of the related articles, separated by commas. APIcenter keeps the order in which you enter them.
- APIcenter gets the articles that changed since the last run, based on the modification date. Articles without relations are skipped.
What you need first
- All articles must already exist in the target application, created by APIcenter with the product flow (Get products from AFAS). Only switch on this flow when that is done.
- The connector set is imported and the GetConnectors are added to the App connector. See Connect AFAS to APIcenter.
Tips
- Use the exact article numbers from AFAS in the relation fields, separated by commas.
- Do the relations not appear? Check that the related articles were created in the target application by the product flow.
You find all settings for this flow below, each with its own explanation.
Settings
The settings you see in the dashboard, with what each one does.
Enable URL Encoding of data in the endpoints of the source application
General flow settingEnable URL Encoding of data in the endpoints of the target application
General flow settingEnable URL encoding of data in endpoints
General flow settingUse administration mapping table
General flow settingWhat to do with a value that cannot be mapped using the mapping table
General flow settingNotifications Email address
NotificationsNotifications Slack webhook
NotificationsNotifications frequency
NotificationsReceive Notifications
NotificationsAmount to process
Run behaviourLast execution time
Run behaviourMaximum number of pages to retrieve
Run behaviourOffset
Run behaviourRun at specific times
Run behaviourThe date and time from which the flow retrieves records from AFAS, based on their modification date: for example articles, debtors, price lists, stock, payments or shipments that changed after this moment. APIcenter moves this date forward automatically after each run, so the next run continues where the last one stopped. Set it back in time to send records again, for example all stock after a stock count, because AFAS does not register a stock correction as a change. For AFAS the default is 1 January 2025.