Thursday, April 11, 2024 13:28 EDT

I am consistently impressed with the capabilities of Salesforce's Flow builder. What once started as a point a click tool to automate field updates can now do full on HTTP callouts.

In one of the earliest versions of this feature, you could make the callout but Flow did not have any good tools for parsing the response body. So unless you did some string hacking via formulas, there was no good way of using the response in any meaningful way.

Flash forward to today where I set up a Named Credential, added the optional query parameters, and provided the response in the setup wizard which parses a sample response and determines data types for an Apex-Defined object that can be used throughout the flow.

Hopefully this doesn't come off like a sales pitch for Salesforce, but this does eliminate the need for custom Apex code for the callout and handlers which is a huge time saver. Really great stuff to bring more people into the quasi development world.