Hi @Allen121 Salesforce can be tricky to work with, but it looks like you’re most of the way there. I would just add a step between 2 and 3, so that it looks like this:
- Find an Account in SFDC based on the company name in the Google Sheet. If an Account doesn’t exist, create one. If an Account exists, move on to the next step.
- Find a Contact in SFDC based on the email address in the Google Sheet. If a Contact doesn’t exist, create a Contact and associate it with the Account from the previous step. If a Contact already exists, Zapier will move onto the next step.
- Update Contact in SFDC - update the contact that was found or created in the previous step, which will allow you to update the Account if the contact was found and not created.
- Find an Opportunity in SFDC based on the company name in the Google Sheet. If an Opportunity doesn’t exist, create an Opportunity and associate it with the Account from the previous step. If an Opportunity already exists, Zapier will do nothing.
For the Find an Opportunity step..
The trick here is when finding the Opportunity, Zapier will perform an exact match based on the company name. Therefore, if an Opportunity already exists with a slight variation such as a comma or hyphen, Zapier will create a new Opportunity, which I don’t want.
This is a difficult one, because the search isn’t smart enough to say ‘that’s close enough’ with the Company name. I can’t quite remember - is there another field that you could search with to find the Opportunity? For example, searching by email address is usually a good option because each one will be unique.