Hello Everyone,
I am trying to implement an integration with a third-party system to Insert products into Salesforce. I have created the External Service, consumed the schema, and was also able to make a call to the web service through Flow Action and get the return(200) by debugging the flow.
The issue I have is that the return is either in JSON or XML format with multiple Products. Do Salesforce flows have the capability to get the XML/JSON data, somehow parse it, and Insert it into the Product2 object? Or do I need to implement Apex XML parser and get rid of the flow altogether?
I would like a point-and-click solution but I am not sure if flows can handle this.
Thanks.
2 réponses
Hi Sooraj,
If I remember correctly, each external service generates an Apex-defined type that you can use in the flow. If you place your action output in a variable of that Apex-defined type, it should be parsed automatically.
These types normally have a name starting with ExternalService.