Loading
Salesforce now sends email only from verified domains. Read More
Help Agent Performance DegradationRead More
Automate Your Business Processes
Table of Contents
Select Filters

          No results
          No results
          Here are some search tips

          Check the spelling of your keywords.
          Use more general search terms.
          Select fewer filters to broaden your search.

          Search all of Salesforce Help
          Launch a Flow from a Process

          Launch a Flow from a Process

          Start an autolaunched flow from your process to automate complex business processes. Create flows to perform logic and have events trigger the flows via processes without writing code.

          Required Editions

          Available in: both Salesforce Classic (not available in all orgs) and Lightning Experience
          Available in: Essentials, Professional, Enterprise, Performance, Unlimited, and Developer Editions
          User Permissions Needed
          To create, edit, or view processes:

          Manage Flow

          AND

          View All Data

          Important
          Important Support and updates for Process Builder have ended as of December 31, 2025. This means that support won't be provided for any process and bugs in the Process Builder product won't be fixed. See Workflow Rules & Process Builder End of Support.

          After December 31, 2025, existing processes continue to run, and you can activate, deactivate, and edit them; however, we recommend using Flow Builder. To migrate existing processes, plan your switch to Flow Builder and use the Migrate to Flow tool. For new automations, create flows in Flow Builder.

          To launch a flow from a process, you must create and activate the flow. The flow must be autolaunched.

          1. Enter a name for this action.
            This text appears on the canvas and helps you differentiate this action from others in your process. The name truncates to fit on the canvas.
          2. For Flow, search for and select the flow that you want to launch from this process.
            Only active, autolaunched flows are available.
          3. Optionally, click Add Row to set values for the flow’s variables.
            Flow Variable

            Start typing the name of the flow variable whose value you want to set, or click Drop-down icon to select a flow variable from the dropdown list.

            You can set values for any variables in the flow that allow input access.

            However, for a text, picklist, or multi-select picklist variable that isn’t a collection, a value of null is converted to an empty string. in the flow.

            Type Select the type of value that you want to set. For example, select String to manually enter the values for a Text collection variable, or select Reference to use the value of a record for a record variable.
            Value

            Set a value for the flow variable.

            • For collection variables, use the text entry field to specify a value. The value must match the collection variable's data type.
            • For record variables, use the field picker to select an ID field. The ID must correspond to a record whose object type matches the record variable’s object.
            • For record collection variables, use the field picker to select a related list. The selected records’ object type must match the record collection variable’s object. For example, populate a record collection variable with all child contact records associated with the account that started the process.

              If the related list is empty when the flow tries to populate the record collection variable with field values from those records, the process fails.

          4. Save the action.
           
          Loading
          Salesforce Help | Article