<aside>
SimpleT JSON Parser converts JSON strings into key value pairs for use in Salesforce Flows. It supports selective extraction, error handling, and works with API responses, webhook data, and configuration files without requiring custom Apex code.
</aside>
Use these guides before adding the JSON Parser to your Flows:
JSON (JavaScript Object Notation) is a format for storing and exchanging data. Example:
{
"name": "John Smith",
"age": 30,
"email": "[email protected]",
"active": true
}
The parser converts JSON into simple pairs where:
"name", "age", "email")."John Smith", "30", "[[email protected]](<mailto:[email protected]>)").JSON String
{!apiResponse}.{!$Record.JSON_Data__c}.{!jsonVariable}.{"name": "John", "status": "active"}.Keys to Extract
["name", "email", "status"].{!keysToExtractList}.Benefits of selective extraction:
The parser returns a collection of key-value pairs.
parsedResults[0].invocableWrappers[0].key = "name"
parsedResults[0].invocableWrappers[0].value = "John Smith"
parsedResults[0].invocableWrappers[1].key = "age"
parsedResults[0].invocableWrappers[1].value = "30"

Method 1: Loop through all results
{!parsedResults[0].invocableWrappers}.{!currentKeyValue}.Inside the Loop:
{!currentKeyValue.key}.{!currentKeyValue.value}.Method 2: Find specific values
{!parsedResults[0].invocableWrappers}.{!currentKeyValue}.{!currentKeyValue.key} equals "email".{!currentKeyValue.value} in emailVariable.Scenario: Get customer information from an external API.
https://api.example.com/customers/123.{!apiResponse}.{!apiResponse}.["name", "email", "phone", "status"].{!parsedCustomer}.Scenario: Handle order updates from an e-commerce platform.
Scenario: Process form submissions with different fields.