I am a Salesforce user that updates records in bulk frequently.
When I update records to a certain criteria, it calls a Zapier webhook.
Here is my problem, the Zap works fine for a single webhook call with a single object. Example:
![](https://uploads-us-west-2.insided.com/zapier-ca/attachment/cfebfc73-f69f-45b9-ae6e-5d6ac6ef00d3.png)
When I run a bulk operation in Salesforce it calls the webhook and sends multiple objects in one API call and it then breaks the Zap:
![](https://uploads-us-west-2.insided.com/zapier-ca/attachment/9f330266-86c3-4535-8452-5cb3ee456633.png)
I have tried to run a Loop step which seems to work fine with multiple objects but then it fails when there is only a single object:
![](https://uploads-us-west-2.insided.com/zapier-ca/attachment/5e5c144d-7a36-4b6c-9155-fc0e71ab8dac.png)
Here is the error on a single object call:
![](https://uploads-us-west-2.insided.com/zapier-ca/attachment/3be1492f-abf0-4b1e-9190-d92e71a0c3e6.png)
Despite the API having the same name, it doesn’t work for both multiple object and single object use cases:
![](https://uploads-us-west-2.insided.com/zapier-ca/attachment/a94ce52b-b53a-42e9-82a8-5f9f5442b371.png)
![](https://uploads-us-west-2.insided.com/zapier-ca/attachment/c815c69e-e72c-48e1-b5a4-8c800a98ee1c.png)
What is the best way to solve for this?