Back to Short Menu in Google Sheets
SheetXAI logo
Short Menu logo
Short Menu · Google Sheets Guide

Bulk Delete Expired Short Menu Links From a Google Sheet

2026-05-14
5 min read

The Scenario

The Q1 product promotion wrapped three weeks ago. You're the marketing manager doing account cleanup before the Q2 campaign kicks off. Someone built a sheet with 40 Short Menu link IDs in column A — all the campaign short links that are now obsolete and cluttering the account.

Your job is to delete them and mark each row as done so there's an audit trail. You've opened Short Menu. You see the search bar. You do the math: 40 links, delete button per link, confirmation modal per delete.

The bad version:

  • Search for the first link ID in Short Menu's dashboard, find the right entry, click the delete button, confirm the modal, go back to the search field.
  • Paste the next ID, repeat.
  • After about link 10 you start abbreviating your confirmation click before the modal fully renders and accidentally skip a deletion.
  • Finish the run, go back to the sheet, manually type "deleted" into each row in column B — because the dashboard didn't give you any export of what you just did.

You were hired to manage campaigns, not to be a delete-button operator for forty minutes. And if someone asks you next week which links you removed, "I clicked through them one by one" is not a satisfying audit trail.

The Easy Way: One Prompt in SheetXAI

SheetXAI is an AI agent that lives inside your Google Sheet. It reads the link IDs already in your sheet, calls the Short Menu delete endpoint for each one, and writes the status back — no dashboard hunting, no modal clicking.

Delete every Short Menu link ID listed in column A of my sheet and write "deleted" into column B when each one is removed

What You Get

  • SheetXAI reads every link ID in column A and calls the Short Menu delete endpoint for each one in sequence.
  • Column B receives "deleted" for each successfully removed link, so you have a row-level audit trail the moment the run completes.
  • If a link ID doesn't exist or has already been deleted, that row's column B shows the error response rather than "deleted" — so you know exactly which IDs came back as not-found without having to cross-check manually.
  • The sheet becomes the record of what was removed and when, without any additional documentation step.

What If the Data Is Not Quite Ready

Skip any blank rows in column A, delete the Short Menu link for each ID that is present, and write "deleted" or the error message into column B

Delete Short Menu links only for rows where column C equals "expired" and write "deleted" into column B for each one, leaving other rows unchanged

Strip the "SM-" prefix from each value in column A, then delete the corresponding Short Menu link and write "deleted" into column B

I want to do a full cleanup: deduplicate IDs, delete them, log the result, and flag any errors separately

Remove duplicate link IDs from column A, delete each unique Short Menu link, write "deleted" into column B for successes, and write the error message into column C for any that fail so I have a clean error log

One prompt handles the deduplication, the deletion, and the error logging together — the output is ready for any audit without a separate cleanup pass.

Try It

Get the 7-day free trial of SheetXAI and open your sheet of expired Short Menu link IDs, then ask SheetXAI to delete every ID in column A and mark column B as each one is removed. See also how SheetXAI handles bulk short link generation or the full Short Menu integration overview.

Stop memorizing formulas.
Tell your spreadsheet what to do.

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

Learn more