Configure Action and Create Records Elements Without Creating Variables

When you add an action or Create Records element to a flow, we automatically store the output values. You no longer have to create and assign variables, but you can still opt to do so. Action and Create Records elements that were created before Spring ’20 aren’t affected by this change.

Where: This change applies to Lightning Experience and Salesforce Classic in Essentials, Professional, Enterprise, Performance, Unlimited, and Developer editions.

How: When you define a field that supports variables, automatically stored outputs show up as available options just like other variables in your flow. Later in the flow, you can access values returned by an Action element by starting to type the API name of the element.

Typing “Get” into the Value field reveals Text from Get_Account_Source as an option.

To use the record Id from a Create Records element later in the flow, start typing the API name of the element.

Typing “Create” into the Value field reveals AccountId from Create_Account as an option.

If you don’t want to use automatically created variables, select Manually assign variables (advanced).

Selecting “Manually assign variables (advanced)” allows the manual selection of a variable for Store Account ID in Variable.