Back to Lusha in Google Sheets
SheetXAI logo
Lusha logo
Lusha · Google Sheets Guide

Bulk-Delete Stale Lusha Webhook Subscriptions From a Google Sheet

2026-05-14
5 min read

The Scenario

You ran the audit. You have a Google Sheet with subscription IDs in column A, endpoint URLs in column B, and a column C labeled "status" where someone has marked 9 rows as "DEPRECATED." These subscriptions were pointing at a decommissioned service and haven't received a signal in months. They need to go.

The bad version:

  • Open Lusha, search for the first subscription ID in your list, open the record, click delete, confirm.
  • Go back to the sheet, find the next ID, return to Lusha, search again.
  • Get to ID 5 and realize Lusha's search doesn't always surface the right record when two subscriptions have similar names — spend three minutes making sure you're deleting the right one before confirming.

Nine deletions at four minutes each is 36 minutes of navigation you're billing to overhead. That's before accounting for the one you're not sure about and have to verify manually.

The Easy Way: One Prompt in SheetXAI

SheetXAI reads the subscription IDs directly from your sheet and calls the Lusha API to delete each one. No searching, no confirming one at a time, no risk of clicking the wrong record.

Here's the prompt:

Sheet 'Deprecated Webhooks' has subscription_id in column A for 9 rows — delete all these Lusha webhook subscriptions

What You Get

  • SheetXAI reads each subscription_id in column A
  • Calls the Lusha API to delete each subscription
  • Writes a result to column B: "Deleted" on success, or an error message if the subscription wasn't found or the deletion failed

Subscriptions that error out don't disappear quietly — they show up in column B so you know exactly what's left to handle.

What If the Data Is Not Quite Ready

You want to filter by status column before deleting — only delete rows marked "DEPRECATED"

Sheet 'Deprecated Webhooks' has subscription_id in column A and status in column C — delete only the Lusha subscriptions where column C is "DEPRECATED", write deletion result to column D

Some IDs in the sheet are placeholders and you want to skip blank rows

Sheet 'Cleanup' has subscription_id in column A and reason in column B for 12 rows — skip any row where column A is blank, delete all other corresponding Lusha subscriptions, write result to column C

You want a dry run first — list what would be deleted without actually deleting

Sheet 'Deprecated Webhooks' has subscription_id in column A — fetch the name and active_status for each subscription from Lusha and write to columns B and C so I can review before deleting

Full cleanup kill chain: cross-check activity, filter, delete, and summarize

Sheet 'Cleanup' has subscription_id in column A and marked_for_deletion (YES/NO) in column B. For each subscription where column B is YES: fetch its current active_status from Lusha and write to column C. Then delete all subscriptions where marked_for_deletion is YES and active_status is false. Write deletion results to column D, and add a summary row at the bottom: total attempted, total deleted, total skipped because active

One pass — verification, conditional scoping, deletion, and the audit trail.

Try It

Get the 7-day free trial of SheetXAI and open the sheet where you've flagged the stale Lusha subscriptions, then ask it to delete every deprecated record from your account in a single run. Link to a sibling spoke: Bulk-Update Lusha Webhook Subscription Settings · Back to the Lusha overview

Stop memorizing formulas.
Tell your spreadsheet what to do.

Join 4,000+ professionals saving hours every week with SheetXAI.

Learn more