SharinPix Flow JSON Parser Integration in Salesforce Flow (Admin-Oriented)

Overview

The FlowJSONParser invocable method allows Salesforce users to parse JSON strings within a Flow. It provides a streamlined way to extract specific values from a JSON string and automatically store them into Salesforce object fields. This automation eliminates manual data entry, helping users efficiently work with structured JSON data.

This document covers the following topics:

  • FlowJSONParser Parameters: A breakdown of the input and output parameters that power the AI extraction process, detailing how the data is processed and returned.

Prerequisites:

Before integrating the JSON Parser in a Salesforce Flow, 

SharinPix Flow JSON Parser Parameters

Input Parameters

Below are the inputs required when using the FlowJSONParser invocable method in a Salesforce Flow.

Parameter Description
JSON String to Parse
  • This is the JSON string that needs to be parsed. It can either be a plain JSON string or a Text Template formatted to JSON.
  • This parameter is required for parsing the provided JSON data.
Ignore Error?
  • A Boolean value indicating whether errors should be ignored during parsing.
  • If set to True, any parsing errors will result in the response: [Error]: <error text>.
  • This parameter is required.
Index
  • This parameter specifies the index in case the provided JSON is an array.
  • It allows you to specify which element in the array to parse.
Field01 - Field10
  • These are the keys from the JSON data that need to be extracted.
  • You can specify up to 10 fields (from Field01 to Field10) to retrieve specific values from the JSON.
  • Each field corresponds to a key in the provided JSON and will return the associated value from the JSON object.

Note: 

The number of fields is limited to 10 keys only. If the provided JSON contains more keys than the specified number of fields, the additional keys will not be extracted.

Output Parameters

Below are the outputs received when using the FlowJSONParser invocable method.

Parameter Description
Value01 - Value10
  • These output variables hold the parsed values from the provided JSON string, corresponding to the keys specified in Field01 to Field10.
  • You can assign these values either to a variable to store the parsed data or directly to a Salesforce object field to keep the extracted value.

These output parameters allow users to easily store and use extracted data from JSON strings within Salesforce flows, automatically populating fields in Salesforce objects based on the parsed values.

Info: 

For more information on how to integrate the JSON parser within a flow, please follow the article below: Parse the JSON Result

0 Comments

Add your comment

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.