capabilities.work

Delete Stale Lead

A 2-step recipe with Salesforce Sales Cloud. We can help you get access.

Recipe · 2 steps

Delete Stale Lead

Locate an unconverted Lead and delete it.

  1. Query for an unconverted Lead by email.
  2. Delete the matched Lead by id.
What you'll need to have ready
  • accessToken: OAuth 2.0 access token used as the Bearer credential.
  • leadEmail: Email of the Lead to match in the SOQL WHERE clause.
For your developer

Arazzo workflow salesforce-sales-cloud:delete-stale-lead, 2 operations: executeSOQLQuery → deleteSObjectRecord. Specs on APIs.io.