What is the best way to listen to an API feed with Mendix

We need to subscribe to an external API which provides all the day, new events. We thought to implement a CRON/Scheduled event with a schedule every minute but we think this is not the right method. We think we should implement in Mendix a kind of listener which is working in the background when the server is up.   Any idea or sample or implementation feedback to share?
1 answers

In Mendix, you can use a scheduled event for this.  First create a microflow that requests the latest updates from the API.  In that microflow, you can store updates for display in your Mendix app.  Then add a scheduled event and select the microflow you just created.  The scheduled event can run at whatever frequency you choose.  Each time it executes, the microflow will run.