Salesforce allows for a limited number of Flows (Process Builder was retired December 31, 2025). Because of this, it is important to use them sparingly and only when needed.
A common use case of the automation tools is to pull information from a related Account and use it as a default value when creating an Opportunity. Instead of using up an automation process, use a List Button instead by following the steps in this article.
This article explains how to create a List Button in Salesforce that opens a new Opportunity from the Opportunities related list on an Account, with default values for Opportunity Name, Stage, Account ID and Close Date already filled in.
In the example below, a custom button on the related Opportunity list within an Account record provides default values for the following fields when an Opportunity is created:
If you would like to create default values for different fields than the ones used in this example, add them to your formula.
'/lightning/o/Opportunity/new?defaultFieldValues=Name=' +
+ " Opportunity" + ',AccountId=' + Account.Id + ',StageName=' + "Qualification" + ',CloseDate=' + TEXT(TODAY()+30))}
{!URLFOR( '/lightning/o/Opportunity/new?defaultFieldValues=Name=' + URLENCODE(Account.Name)+ " Opportunity" + ',AccountId=' + Account.Id + ',StageName=' + "Qualification" + ',CloseDate=' + TEXT(TODAY()+30))}
000389967

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.