Loading
Prepare for Email to Become the Default Login ExperienceRead More
Intermittent freezing when using using certain browser versionsRead More
Automate Your Business Processes with Salesforce Flow
Start a Flow with a Button

Start a Flow with a Button

There are different ways to start a flow from a button. The type of button determines the type of flow you can start, where users can see the button, what variable values you can send into the flow.

Required Editions

Review the available flow types, locations, variables, and ways the variable values get populated to help you determine which type of button to use.

Options to Launch a Flow from a Button
Flow Type Location How Variable Values Are Sent to Flow Available Variables to Populate Button Type
Screen Record page Sent automatically to the flow Text or record variable named recordId Quick Action
Screen or Autolaunched Record page Add variable name and value to the flow's URL Any variable Custom Record Page Button
Screen or Autolaunched List view page Sent automatically to the flow Text collection variable named ids Custom List View Button
  • Run a Screen Flow From a Quick Action
    Add a button to a Lightning record page that starts an active screen flow. Send the entire record or the record ID to the flow. Use a quick action to setup the button.
  • Run a Flow from a Custom Record Page Button
    Add a custom button to a record page that starts an active autolaunched flow or screen flow. Send any variable value to the flow. Use the flow's web address (URL) to set up the button.
  • Run a Flow from a Custom List View Button
    Add a custom button to a list view that starts an active autolaunched flow or screen flow. Send the IDs of the selected list view records to the flow. Use the flow's web address (URL) to set up the button.
 
Loading
Salesforce Help | Article