Question

Can a Zap step delete a record in a Salesforce custom object

  • 16 February 2022
  • 1 reply
  • 374 views

Userlevel 2
Badge

I have a custom object in Salesforce that mirrors an object in my app, and I use Zapier to update Salesforce when a record changes in my app. Often records in my app get deleted, and I need a way to delete the corresponding record that Zapier created in Salesforce. I don’t see an Action for deleting a record in the Salesforce integration. Are there any ways to do this? Seems like it would be a very common use case.


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

1 reply

Userlevel 7
Badge +14

Hi @jeffernst 

The Salesforce API would have to be used to delete a record: https://developer.salesforce.com/docs/atlas.en-us.api_rest.meta/api_rest/dome_delete_record.htm

App APIs can be used in Zap with the Webhook app as an action step: https://zapier.com/apps/webhook/integrations

NOTE: Many apps don’t expose their API endpoints related to deleting records as that can have negative impacts if not used correctly.