The latter three requirements were relatively simple. But how we were going to run the flow in real-time was up for debate. The first things that came to mind when talking about real-time in Salesforce were Process Builder and Apex triggers. Both run on a record’s creation or update.
Between these two, only Apex triggers could provide the functionality to call a MuleSoft flow. But we wanted something simpler, if we went with an Apex trigger, we would have to create the trigger, create the MuleSoft flow, and then set up the endpoint that the trigger would call to activate the flow.
In the pursuit of something simpler, we discovered Salesforce’s Change Data Capture feature. A detailed introduction can be found HERE>>