If you build flows, I know you’ve done value mapping (even if you never even called it that). Something as simple as a customer picking “Very Dissatisfied” and you wanting to show them a different message than the person who picked “Very Satisfied” is already value mapping. And up until Summer ’26, there were two common ways to handle this, but both have their disadvantages.
Global Flow Resources solves this issue by allowing you to define the mapping once, and use it in the Transform element of any flow. In the event that you want to make changes to a value, the mapping is located in one place, so it’s easy to update once and have that change applied to every flow that uses it.
In this tutorial, we will look into the traditional ways to do this, build a simple screen flow that uses the global flow resources feature, and then go through the limits you should know before rolling it out. Let’s dive in!
Traditional Ways of Mapping
Before this feature, the CASE() function was commonly used. Admittedly, this was one of my favorite functions in formulas as I was learning them. It is, however, miserable to maintain if you’ve got a lot of values. Basically, you have to have a set of values you want to display based on another set of values. If the resulting value doesn’t match any of the ones you set, it will display the else_result. The format is:
CASE(expression,value1, result1, value2, result2,…, else_result)
Another disadvantage is that the formula also lives inside the flow, meaning when a value changes, you have to open every flow that uses it, edit the formula, save a new version, and activate it. What a pain!
The second traditional way is a custom object that stores the mappings, queried with Get Records. This one is easier to maintain, given that it solves the need to edit every flow that uses it should an update need to be done. Its main disadvantage is that every run spends a SOQL query on a simple lookup.
What Are Global Flow Resources?
Summer ’26 gifted us a third option: Global Flow Resources. Mapping is defined once in the Automation app, then it can be used in the Transform element of any flow. When a value changes, you edit the mapping in one place, and every flow that uses it picks up the change.
Global flow resources are org-wide resources, so unlike CASE() formulas, they don’t live in just a single flow. The type we’re using here is a value mapping, which is a list of source values and what each one should turn into. You then call that mapping from the Transform element.
Here are some more basic things to know about mapping:
- Source and target values can be String, Number, Boolean, Date, or Date/Time.
- You decide what happens when a flow sends a value that isn’t in the mapping. You can either fail the flow, pass the original value through, or return a default value.
- Because the resource is global, one mapping can be used in many flows.
Tim covered this value mapping briefly as a bonus item in our 10 New Salesforce Flow Features in Summer ’26 roundup.
Building a Simple Screen Flow With Value Mappings
In this walkthrough, we’ll build a simple screen flow where a customer logs a case and rates their satisfaction. Based on the rating, the flow must show a different message. The messages would have to be defined in the value mapping, not in the flow, so you can reword them later without touching the flow at all.
Before you start, create a custom picklist field on the Case object called Satisfaction Level (Satisfaction_Level__c). I used the following values:
- Very Satisfied
- Satisfied
- Neutral
- Dissatisfied
- Very Dissatisfied
Creating the Value Mapping
The first step starts with the Automation app instead of within Flow Builder itself.
- Open the Automation app and go to the Global Flow Resources tab.
- Click New and give the mapping a clear name. In this case, I am using “Satisfaction Level Message”. Add a description as well.
- Define your source and target data type. Because we’re dealing with picklist values and messages, choose String.
- Add your mapping pairs. The left side is the value the flow will receive, and the right side is what it should become.

Here’s a table you can copy-paste from:
| Source Value (When This Value is Returned) | Target Value (Map to This Value) |
|---|---|
| Very Satisfied | We’re so glad to hear that! Thanks for letting us know. |
| Satisfied | Thanks for the feedback. Glad we could help. |
| Neutral | Thanks for letting us know. Is there anything we could do better? |
| Dissatisfied | Sorry we missed the mark. Tell us what we can improve. |
| Very Dissatisfied | We’re really sorry. Please tell us how we can make this right. |
- Below your values, you can set the default or unmapped behavior. There are three options:
- Pass through as an unmapped value: Best when most values already match your target and only a few need translating. You map just those few, and everything else keeps its original value. The catch is that typos and brand-new values pass through too, so avoid this if the target is a restricted picklist.
- Fail the flow: Best for integrations, where a missing value means something upstream changed and you want to know right away.
- Define a default value: Best for anything customer-facing. While we’re sure that our picklist only allows the set values, I chose this option and set it to “Thanks for your feedback”, so whatever happens, the customer never sees an error or a blank.

- Hit Save.
Building the Screen Flow
- Still in the Automation App, move to the Flows tab and click New.
- Create a new resource: a record variable for the Case object. I called mine
newCase.

- Click Screen Flow, and add a Screen element. I’m only adding the Satisfaction Level field for the sake of simplicity, but feel free to add any others you’d like and stylize your screen. Hit Done.

- Add a Transform element after the screen and give it a label. For the source data, choose your newCase record variable.

- For the target data, create a new text variable. I’m calling this satisfactionMessage.
- On the right-side column, hover your cursor and click the function button. From there, select Value Mapping.

- Map Satisfaction Level from the source and select the Satisfaction Level Message mapping you created.

- Click Done
Instead of mapping the field straight across or writing a formula, you’ve now told the Transform element to run the value through your mapping. Whatever the customer picks should now land in the text variable as the matching message.
Display the Result
- Add a second Screen element and use a Display Text component.
- Insert a resource and use the result from your Transform element in the Display Text component.

- Hit Done and save the flow with a name like Case Satisfaction Level Mapping.
Testing
- Click Debug and run the flow.
- I randomly picked a value (Satisfied) and clicked Proceed.

- Check whether the next screen shows the appropriate message based on the values we defined in the mapping.

- If you didn’t hide the Previous button, you can always go back to the previous screen and check whether other values display their respective messages accurately.
Limitations
At the time of writing, because mappings work with the Transform element, they only work with a single record or value, not a collection. For example, if your flow triggers on one Case, you can map that Case’s Status. But if you’ve used Get Records to pull 20 Cases into a collection, you can’t run the mapping across all 20 in one Transform element.
This also works for any flow that supports the Transform element, so they can’t be used in before-save record-triggered flows. And because any mapping change affects every flow that references it, you can’t delete a value map unless you remove it from all the flows using it (more of a good thing than a limit, actually).

Mappings behave one-to-one for now, meaning one value is connected to exactly one value. If the result you’d like to display depends on several fields or conditions, a Decision element or formula may still be the better fit.
Summary
Before Summer ‘26, value mapping used to mean a long CASE() formula copied into every flow, or an extra object and a query. But now, we’ve got a simple resource that can be built once on the Automation app and reused when needed through the Transform element.
Any value changes or fixes can now be done in a single place, and it is definitely the cleaner option right now. What use cases will you be utilizing this feature on, or have you got any existing automations that are ready to make the switch? Let us know in the comments!









