How to Make a Contact Primary in Salesforce Opportunities

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.

  1. 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.
Make contact primary in Salesforce
  1. In the edit window of the opportunity contact role, select the Primary checkbox.
How to make a contact primary in Salesforce Opportunities
  1. 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.
Make Opportunity contact primary in Salesforce
  1. 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.
Set Contact as primary in Salesforce opportunity

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.

  1. 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.
Make contact primary using flow in Salesforce
  1. 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.
Set contact primary in Salesforce Opportunities Using flow
  1. 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.
Make Opportunity contact role Primary in Salesforce with flow
  1. 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.
Salesforce contact primary using trigger flow
  1. 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 requirementsthe 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.
Create a flow to make contact primary in Salesforce
  1. 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.
Update contact as primary using flow in Salesforce
  1. 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.
Set Contact as primary in Salesforce opportunity using flow

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:

Agentforce in Salesforce

DOWNLOAD FREE AGENTFORCE EBOOK

Start with AgentForce in Salesforce. Create your first agent and deploy to your Salesforce Org.

Salesforce flows complete guide

FREE SALESFORCE FLOW EBOOK

Learn how to work with flows in Salesforce with 5 different real time examples.