While working as a system admin for a Salesforce org, I received a requirement from a Sales representative to set a specific contact as the primary contact in an opportunity record. The opportunity is progressing well, and several key contacts were added to the opportunity, so, according to the requirement, I had to make contact with the role decision maker as the primary.
In this Salesforce tutorial, I will explain the possible ways to make a contact primary in Salesforce, including the manual method and a flow automation.
Make a Contact Primary in Salesforce Opportunities
To make a primary contact in Salesforce Opportunities, navigate to Salesforce’s setup page and follow the steps below.
- On Salesforce’s setup page, click on the App Launcher and then select Opportunities. If you are in the Sales application, click the Opportunity tab.
- Select the Opportunity record in which you have to make the contact as primary.
- In the opportunity record, navigate to the Contact Roles section and click on the dropdown of the contact that you want to set as primary, and select Edit.

- In the edit window of the opportunity contact role, select the Primary checkbox.

- If you already have a primary contact in the current opportunity record, a confirmation message will appear on the screen to change the primary contact. Click the Confirm button to proceed.

- At last, click on the Save button. Now, in the Opportunity contacts, we can see that the selected contact is set as primary for the opportunity record.

This way, we can set contacts as primary in Salesforce by following the above steps.
Make a Contact Primary using flow in Salesforce
In Salesforce, we can automate assigning a primary contact to an opportunity using a flow, specifically a record-triggered flow.
However, we have a checkbox option for each contact to make it the primary contact. Suppose the primary checkbox is disabled, and in that case, we can use flow to define criteria that will update the contact as primary in the Opportunity.
To automate assigning a primary contact to an opportunity using a flow, navigate to the setup page of Salesforce and follow the steps below.
- On Salesforce’s setup page, go to the Quick Find box, search, and select flows.
- In the flow setup, click on the New Flow button.

- For the new flow, select the option Start from scratch and click Next. In the next window, select the option Record-triggered flow and click the Create button.

- To configure the start of the flow, select the Object as Opportunity Contact Role. In the Configure trigger section, select the option when a record is created and updated.

- Set entry conditions as when the contact role is a decision maker, then the flow will trigger. For this, select the Field as Role, Operator as Equals, and Value as Decision Maker.

- Add the Get Record element to the flow and enter the label of the Get Record element. Select the Object as an Opportunity Contact Role.
- In the condition requirements, the role is equal to that of a decision maker. Add another condition, selecting Field as OpportunityId, Operator as Equal, and Value as $Record > Opportunity ID > Opportunity ID.

- Now, add an Update record element to the flow and enter the label for it.
- In the section Set Field Values for the Opportunity Contact Role Record, select the Field as IsPrimary and Value as True.

- Now, save and activate the flow.
- After activating the flow, when you add a new contact or update the existing role as Decision Maker, the trigger flow will update that contact as primary for that specific opportunity record.

This way, we can automate the process of updating contacts as primary in Salesforce opportunities using record-triggered flow.
Conclusion
I hope, by now, you have understood the process of making a contact primary for Salesforce Opportunities. In the above examples, I have explained the two approaches through which you can set any specific contact as primary in Salesforce.
By following the above two methods, you will be able to set the contact as primary in Salesforce Opportunities using the manual method and also with automation using record-triggered flow.
You may also like to read:
- Create an Opportunity from a Contact in Salesforce
- Create an Opportunity in Salesforce
- Mass Update Territory on Opportunity records via Data Loader in Salesforce
- Create a Renewal Opportunity in Salesforce
I am Bijay Kumar, the founder of SalesforceFAQs.com. Having over 10 years of experience working in salesforce technologies for clients across the world (Canada, Australia, United States, United Kingdom, New Zealand, etc.). I am a certified salesforce administrator and expert with experience in developing salesforce applications and projects. My goal is to make it easy for people to learn and use salesforce technologies by providing simple and easy-to-understand solutions. Check out the complete profile on About us.