How to handle blank contacts when syncing Salesforce with Xero using webhooks
I am having issue and need solution.Ok soo i am finding contacts from Salesforce and using webhooks addiing in contacts of xero that is additional people but if it dont find data for contact if its empty i want that its should make it as success still and let the step run of webhooks where i update contact to xero even its blank we can do ot but due to step fails its skip any solution?
this is step where i map data from above steps which if i maulayyy skip the test an run it can go blank but when automate start it skip this step if any contact found blank
This post has been edited by a moderator to remove personal information. Please remember that this is a public forum and to remove any sensitive information prior to posting.
Page 1 / 1
Add an error handler in your “find additional contacts” step and add the same steps below it as if it was a success. Of course, you will need to map the correct fields or remove the blank ones that are causing the error.
But if thier are multiple find contact i how to added error handling for all steps the number of task will increase to many and plus thier is an option in find records that say if no record found then also mark success as true i enable that still its not working
Why this not working?
I see. In your first post, the error is not that “no contacts were found.” The error is “required search value is missing”. Which tells me the previous step that you’re using to search for contacts came back empty, so in the search for additional contacts step, it’s not that it’s not finding any, it’s that you’re not providing a required field.
For that, you may need to add a “Paths” step to handle the case when a blank field is returned, or as I said before, add an error handler even though that sounds like it won’t work for you.
In the step where you map data from Salesforce to Xero, implement a conditional check. If the contact data is blank or null, you can either pass a default placeholder value or simply continue without mapping those fields.
This post has been edited by a moderator to remove personal information. Please remember that this is a public forum and to remove any sensitive information prior to posting.
Hi @Vostro,
We just wanted to see how everything is going with your Zap. Feel free to reach out if you need further assistance with your Zap. We're glad to address any concerns and assist you.
We're looking forward to your response.
I tried thanks for the confirmation, it worked well for me