Skip to main content

Hi all, I am new to the community and to Zapier.

I work in external relations at a university and we use Salesforce as our CRM. Access to CRM is only for those managing partnerships, not the whole university. We have an issue keeping track of when payments are received from companies that we partner with on projects.

I built a custom object in Salesforce called Payments to manage invoices associated with an Opportunity. Here is what an example record looks like:

 

My team and I send out invoices but often the person who gets check is not on the external relations team, and does not have access to Salesforce. I created a Zap to add a new row on a shared Google Sheet whenever a Payment record status is changed to “Invoice Sent”. With the exception of the Opportunity Name coming in as gibberish (would love insight on how to fix this, but it’s not my priority right now), it’s working just fine.

 

 

What I want to happen now is the person who receives a check can look at this spreadsheet and see that it belongs to “Opportunity Name” and they would update column G “Status” to Payment Received. I am trying to create a Zap that would change the Payment Status in Salesforce to Payment Received (this is an option in the picklist I created in SF) when column G is updated. 

 

Here is what each step of my Zap looks like:

Everything looks good until I test the Zap and get this error:

Can anyone help me figure out what I am doing wrong here? Thanks!!!

Hi ​@Michelle.Chevalier 

In the GSheet, the Opportunity Name is showing the Opportunity ID from Salesforce.

 

In Zap step 3, the field “Record to Update” expects the ID of the Payment record to update, rather than the “Name” value.

Help link for understanding expected value in dropdown fields when using mapped variables: 
https://help.zapier.com/hc/en-us/articles/8496241696141-Add-custom-values-to-dropdown-menu-fields-in-Zaps

 

You’ll want to add a Filter as Zap step 2, to check that the GSheet row has the used column values populated and with the desired values, since the GSheet trigger will fire for both of these:

  • NEW ROW
  • UPDATED ROW

Filter help: https://zapier.com/apps/filter/integrations#help


That worked! Thank you! Now, do you know how I can get the actual Opportunity Name to appear in my GSheet?


@Michelle.Chevalier 

We would need to see how that Zap is configured.

Post screenshots showing:

  • how your Zap steps are outlined
  • how your Zap steps are configured in EDIT mode with the field mappings visible

@Troy Tessalone 

Screenshots are below. In the mapping records that it pulled, it only shows Opportunity_C with the ID # as an option. 

 


@Michelle.Chevalier 

When you see the record ID, that means the Salesforce field is a linked field to another Salesforce Object.

To get the Salesforce Record Name from a Salesforce Record ID, add this Zap step: Salesforce - Find Record

Search by the Record ID, which will return the Record Name variable to map.

 


@Troy Tessalone 

I tried that and I keep getting an error that says Required field "Field to Search" (searchField) is missing. Any ideas as to what I am doing wrong?

 


@Michelle.Chevalier 

There should be another field that appears called: Field to Search

This will allow you to select the desired Salesforce Object field to search by for the Search Value.

Try refreshing the Zap.

Try clicking the refresh button in the Zap step.

 


@Troy Tessalone with your help I have both of my Zaps working now! 😎 Thank you SO MUCH for walking this newbie through the steps and helping me trouble shoot. Have a great week!


Wow! Thank you for confirming that Troy’s resolution got the Zap running. This will significantly help our Community members to have as a reference for the same issue.