Skip to main content
Question

Salesforce tasks and opoortunity link

  • March 15, 2023
  • 3 replies
  • 40 views

Martin K

Hi, I want to link tasks with opportunities. E.g. when a new task is created for a contact, add a relation to the opportunities that belong to the initial contact. When testing the trigger, I see the opportunity ID is stored in WhatID but when I come to the action part and select Update (or create) Record in Salesforce with Task as the Salesforce Object, I cannot find the WhatID.

This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

3 replies

Troy Tessalone
Zapier Orchestrator & Solution Partner
Forum|alt.badge.img+14
  • Zapier Orchestrator & Solution Partner
  • March 15, 2023

Hi @Martin K 

Good question.

If you know the value of the ID, then you can try searching for that instead of the variable name.

Or simply try searching for just “ID”.


Martin K
  • Author
  • New
  • March 15, 2023

The ID for the task comes from the trigger. The opportunity ID I want to write in the WhatID field comes from a search step.
Searching for “ID” only leads me to Name (the contact) and Related To (the account).

If you know the value of the ID, then you can try searching for that instead of the variable name.

Do you mean Ctrl+F search? This does not work since the values are empty in the action (see screenshot). Is there a way to search for a specific field?

 


Troy Tessalone
Zapier Orchestrator & Solution Partner
Forum|alt.badge.img+14
  • Zapier Orchestrator & Solution Partner
  • March 15, 2023

@Martin K

I think it will be helpful if you can outline a specific example for us plus screenshots as though you would do this thru the Salesforce UI.

 

Also full screenshots with how your Zap steps are outlined will be helpful.