How do I find Salesforce Fields on a Task that aren't returned in the Trigger Test?
I am new to Zapier and currently trying to setup a Zap to pull tasks from salesforce, filter them by tasks assigned to me, and then create google tasks from them so that they show up in my calendar. I was able to get the Zap to work but it is creating google tasks for me for salesforce tasks assigned to other people in my organization. I am attempting to create a filter in Zapier but do not see the “Assigned To” field as an option...any advice?
Page 1 / 1
Hi @mcrosby
Good question.
Salesforce may be returning your User ID, which if so, then you can filter by.
We would need to see screenshots of the DATA OUT returned from the Salesforce Zap trigger.
Here is a copy and paste since there is a scroll for the screen shot:
OwnerId field shows the Owner ID from the linked user.
This task is not one of mine, how do I find my OwnerId?
@mcrosby
In Salesforce, go to your Record.
It should show the Record ID in the browser URL.
Or you can add a temp test step to find the Record ID.
Hi Troy thanks I was actually able to go to my profile and copy my ID out of the browser. I think I am missing something with my setup here. I have:
New Record in Salesforce Triggering on “New Record” event and then a Salesforce Object of “Task”. I am then shown records and select one of those. (Are these just meant to be samples because I seem to only get returned what is shown there when I test my Zap)
I created an Only continue if with the following which again only returns the sample from the previous step that I duplicated and edited to have my user id.
My last step is “Create Task in Google Tasks”. The event is to obviously “Create Task” and for my actions I am using the below, I am using the reminder date time to set the task date.
So again when I hit test it does create a google task but only for the example chosen.
Ultimately my desire here is to sync my tasks in salesforce to my google calendar, please let me know if there is a better approach.
@mcrosby
Have you tried turning the Zap ON and testing live?
Then check your Zap Runs to see the DATA IN/OUT for each Zap step to help you troubleshoot.
It failed on the filter of the owner id. On the below record selector step should I be using variables somehow? Why does it look for the exact information of one record rather than all open tasks for example for my user? I went through and removed all of the data I would want to be variable and now if I try to run it there is an error that the data is missing...
@mcrosby
We would need to see screenshots of the DATA IN/OUT for each Zap step from the Zap Runs.
Here is the most recent record in the Zap History…the thing to note is that this task should not work as it is not my task so the filter is in fact working...that being said I created a new task and tried to run the zap and I dont see anything happening...
This Zap Run was filtered because the Filter step conditions were not met, which makes sense.
@mcrosby
The Zap trigger being used is scheduled, meaning it can take from 1-15 minutes to fire depending on your Zapier plan.
Why did it not find the correct task that should have met the conditions?
Even if I manually run the zap that doesn’t override the schedule?
Here is what I have configured…I suspect it isn’t running again because it won’t let me republish because of those yellow errors. So I should be manually populating data in those fields? Ultimately the Subject , Description and Date/Time should be dynamic values that change per task...
@mcrosby
The ( ! ) indicates the mapped variable may need to be remapped.
Make sure to manually test each Zap step.
I think this may be the issue I am not currently using any variables. How do I know what the value should be for each of those variables rather than using static data?
@mcrosby
Your previous screenshots showed mapped variables for the action steps.
If you changed the Zap trigger, then you will need to remap those variables.
Looks like it finally worked!
Yay! Glad to hear it’s working now @mcrosby! So pleased to see that Troy was able to get you pointed in the right direction here. Nice work!
If you have any further issues please do reach out in the Community again. Until then, happy Zapping!