The Scenario
You're a marketing ops specialist. Last week you finished auditing your company's Dub workspace and compiled an Excel workbook of 150 link IDs from campaigns that ended more than six months ago. The links are dead weight — they're cluttering search results, inflating the workspace link count, and nobody has touched them since Q3.
Your manager signed off on the cleanup. The workbook is done. All that's left is the actual deletion.
The bad version:
- Open Dub, search for link ID from row 1, open the link, click delete, confirm the modal.
- Repeat 149 more times.
- At some point wonder whether there's a bulk delete button somewhere you're missing. There isn't, not in the UI.
- Finish three days later, slightly demoralized.
Auditing 150 links took half an hour. Deleting them one at a time is going to take the rest of the week.
The Easy Way: One Prompt in SheetXAI
SheetXAI is an AI agent inside your Excel workbook. It reads your list of link IDs and sends them to Dub for deletion in bulk — no UI clicking required.
Open your "Deprecated Links" workbook, open SheetXAI in the sidebar, and type:
Take every link ID in my Excel table and bulk-delete them from Dub, then mark each row in column B as "deleted." Process them in batches of 100.
What You Get
- Link IDs are sent to Dub for deletion in batches of 100, matching Dub's bulk-delete operation limits.
- Column B receives a status per row: "deleted" for successful removals, or an error message if the link wasn't found or the deletion failed.
- Rows with blank or malformed link IDs are skipped and flagged in column B rather than causing the entire batch to fail.
- After both batches complete, a summary line appears at the top of the worksheet noting total deleted, total skipped, and any errors.
What If the Data Is Not Quite Ready
Some link IDs in column A look like duplicates — I want to deduplicate before deleting
Before sending any delete operations to Dub, deduplicate column A of my "Deprecated Links" worksheet — keep the first occurrence of each link ID and mark subsequent duplicates in column B as "duplicate, skipped." Then delete the deduplicated list in batches of 100 and write the result to column C.
I want to confirm each link is actually expired before deleting it — check the expiry date first
For each link ID in column A of my "Deprecated Links" worksheet, first fetch the link's expiry date from Dub. If the link is expired or has no expiry date set and was created before 2025-01-01, mark it for deletion in column B. Then delete only the rows marked for deletion and write the outcome to column C.
Some of the links in column A belong to a different workspace — I want to delete them workspace by workspace
Read column A (link ID) and column C (workspace name) from my "Deprecated Links" worksheet. Group the deletions by workspace and send each group's bulk-delete call to the correct Dub workspace. Write the result for each row to column B.
Normalize the ID list, check expiry, dedup, delete in batches, and update the status — all in one pass
In the "Deprecated Links" worksheet: strip whitespace from all values in column A, deduplicate, fetch each link's expiry from Dub and write it to column C. Then delete all links where the expiry date is before 2025-06-01 in batches of 100. Write "deleted," "skipped (not expired)," or the error message to column B for each row.
Combining the validation, dedup, and deletion into a single instruction means you review the output once, not after each phase.
Try It
Get the 7-day free trial of SheetXAI and open any Excel workbook with a list of Dub link IDs to retire, then ask it to bulk-delete them and write back the status. You can also use it to export a fresh inventory of all remaining links or see the full Dub + Excel overview.
