Bulk workflows

Google Sheets QR Workflows: Record Printed Asset IDs Next to URL Rows

Keep every printed QR code traceable to one Google Sheets row: which ID to print, where the short link goes, and how to check a scan against the row.

Written by
VastQR Product & Editorial Team
Last updated
On this page
  1. Three identifiers, one join key
  2. Set up the sheet before you import
  3. After import: write each short link back into its
  4. The check the top results skip: trace a printed
  5. When the same sheet is imported again
  6. Keep the ID and short-link columns from accidental
  7. What we checked, and what we did not
  8. FAQ

Three identifiers, one join key

A printed dynamic code touches three identifiers. Only two of them stay tied to one asset.

IdentifierWhere it comes fromStays the same?Use it to match?
Your asset ID (for example TBL-07)You assign it and print it as text on the labelYes, as long as you never renumberYes: the row key
Short link /r/<slug>VastQR assigns an 8-character slug when the code is created; it is what the QR pattern encodesYes for that code; a re-import creates a different oneYes: the scan-side key
Number prefix of a downloaded file (007-...)The file's position in the list being downloadedNo: a partial download starts again at 001No

Every VastQR image, whatever its format and whether downloaded singly or in a batch, encodes a fixed short link: vastqr.com/r/ followed by the slug; the destination URL is not part of the pattern, so editing the destination later does not change what is printed. When that link is scanned, VastQR answers with an HTTP 302 redirect to the destination currently stored for the code. Both points come from a review of VastQR's production code in November 2026.

The number prefix is the one that causes mistakes. In a batch ZIP, the number at the start of each file name is the file's 1-based position in the list being downloaded, zero-padded to at least three digits. It is not the CSV row number, and the same code review found that the order of that list is not guaranteed to follow CSV order. A file called 007-tbl-07.png and the seventh row of your sheet may be two different assets.

Set up the sheet before you import

A layout that keeps the join visible, with one row per physical asset:

ColumnContentFilled when
A asset_idThe ID printed on the label, such as TBL-07Before import
B locationWhere the asset goes, in plain wordsBefore import
C destination_urlThe page the code should openBefore import
D titleThe same value as asset_idBefore import
E short_linkThe code's /r/<slug>After import
F printed_onDate the label went to printAfter printing

VastQR's bulk import reads a CSV with a destination_url (or url) column and an optional title column, so columns C and D are the ones the importer uses. When the first row names those columns, every other column is ignored (code review, November 2026), so the other columns can stay in the CSV file.

Check the IDs before import, in two ways

  1. A first duplicate check. Google describes COUNTIF as a function that "Returns a conditional count across a range" (Google Docs Editors Help, COUNTIF, page date not shown, accessed 22 November 2026). A helper column with =COUNTIF(A:A, A2) counts how often each row's asset ID appears in column A; a count above 1 marks an ID used more than once. Treat it as a preliminary check only: the same page states that "COUNTIF is not case sensitive.", so tbl-07 and TBL-07 count as one value, and it compares the IDs as you typed them, so it cannot see IDs that only collide after the file-name conversion described next.
  2. IDs that collapse to the same file name. When VastQR names a downloaded file after a title, it lower-cases the title and replaces every run of characters outside a to z and 0 to 9 with a single hyphen, then cuts the result to 40 characters. TBL_07, tbl-07 and TBL 07 all become tbl-07. The importer gives no warning for repeated titles, so pick IDs that differ in their letters or digits, not only in case or punctuation, and keep them short enough that the part that tells them apart falls inside the first 40 characters. Accents and non-Latin characters behave less predictably: in our local run of VastQR's naming code (below), Café Menü became cafe-menu but Résumé-01 became re-sume-01, because an accent inside a word turns into a hyphen, and テーブル7 kept only 7. Plain ASCII letters and digits are the safe choice for asset IDs.

In our signed-out check of the public batch preview on 18 November 2026, titles made only of digits kept their leading zeros. That only helps if the zeros are still there when the file leaves your sheet, so open the CSV in a text editor before import and confirm that an ID such as 007 still reads 007. While it is open, save the file as UTF-8: VastQR reads uploads as UTF-8, so accented IDs saved in another encoding are garbled (code review, November 2026).

The check the top results skip: trace a printed code back to one row

The top results we reviewed in November 2026 (asset-tag guides, an add-on listing, an automation recipe) cover making the codes. None of them covers proving, after the files leave your hands, that each printed code still belongs to the row you think it does. Two checks close that gap.

Before files go to print:

  1. Identify which download path made the files. Files from the library's selection Download menu are named after each code's title; files from the Download batch button after activation are all named by slug.
  2. Count the files and the rows. The two counts must be equal.
  3. Look up each row's converted ID as an exact name part. The name part is the text after the number and its hyphen, before the extension. For every row, exactly one file's name part must equal that row's converted asset ID: for TBL-07, a name part of exactly tbl-07, in a .png or .svg file. A name part of x-tbl-07, from an ID such as X-TBL-07, does not count. Look each ID up among the file names rather than comparing files and rows in order.
  4. Do not treat an 8-character name part as proof of a slug. An asset ID that is eight letters or digits long, such as TABLE007 (name part table007), looks just like one. Look such a name part up in your ID column and in column E before deciding what it is.
  5. Match slug-named files through column E. A file that really carries a slug came either from the Download batch button or from a title with no letters or digits left after conversion.

After printing, on a sample. Read a printed label with a scanner app that shows the encoded link before opening it. The link should end in /r/ followed by eight characters. Slugs mix digits with upper- and lower-case letters, and two slugs can differ only in case (code review, November 2026), so paste the eight characters into the VastQR library search, which also matches slugs. If more than one code appears, take the one whose short link matches the label character for character, upper and lower case included. Its title is your asset ID; that ID should match the text printed on the label, and column E in that ID's row should hold the same short link. If no code matches, check the characters again, then consider that the code may have been created in another VastQR account or deleted from this one. If column E holds a different short link, either the row was updated after this label was printed or the link was pasted into the wrong row; compare it with the library before changing anything.

Worked example (illustrative, not a recorded test): a café prints 40 table cards, TBL-01 to TBL-40, all pointing at the same menu URL. After import, the library shows 40 codes titled TBL-01 to TBL-40; the staff member pastes each /r/<slug> into column E. Card 17 is scanned during set-up; its slug, pasted into the library search, finds the code titled TBL-17, and column E in the TBL-17 row holds the same short link, which matches the printed card. If the sheet were imported a second time by mistake, the new codes would carry new slugs, and the short link on the already-printed card 17 would no longer match column E if that column were overwritten with the new set. That mismatch is the sign to keep the first set and pause or delete the duplicates rather than print again.

What a local run of VastQR's naming code shows

On 22 November 2026 we ran VastQR's own file-naming function, taken unchanged from its production code, on a set of example IDs. The run covers naming only; it did not import codes or download a ZIP from the live product.

Asset IDFile name part
TBL-07, TBL_07, tbl 07, Tbl.07tbl-07 (all four the same)
007007
X-TBL-07x-tbl-07
Café Menücafe-menu
Résumé-01re-sume-01
TABLE-0001-NORTH-ENTRANCE-LEFT-STAND-COUNTER and the same ID with -B addedtable-0001-north-entrance-left-stand-cou (both the same)

The last row is the 40-character cut at work: two IDs that differ only after the 40th converted character get the same name part.

When the same sheet is imported again

Every VastQR bulk import creates new codes, each with a fresh random slug; nothing matches them to earlier batches by title, destination or slug. Re-importing the same CSV therefore produces a second set of codes whose short links differ from the ones already printed.

  • If nothing has been printed yet, decide which set you keep; only once you have chosen the new set, overwrite column E with its short links, and pause or delete the other set so its codes do not count against your active codes. If the account was close to its 500 active codes (VastQR pricing page, read 20 November 2026), the second import may have created only the rows that fit and skipped the rest (code review, November 2026), so check its size before choosing it.
  • If labels are already printed, keep the original codes and their column E values. To send those printed codes somewhere else, change their destination instead of importing again: one bulk update applies a single new destination to up to 500 selected codes you own, and codes that each need a different destination are edited one by one (code review, November 2026). See how to edit a QR code after printing.

What we checked, and what we did not

The VastQR behaviour in this guide (what the pattern encodes, the redirect, file naming, download order, slug characters, CSV columns and encoding, re-import, bulk update, the library short link and search) comes from a review of VastQR's production code in November 2026, not from running the product end to end. The file-name table comes from a local run of VastQR's naming function on 22 November 2026. The leading-zero observation comes from our signed-out check of the public batch preview on 18 November 2026, which stopped before any codes were created. The Google Sheets behaviour is limited to what Google's help pages quoted above say. We did not print labels, scan them with phones, or run the formulas in a live sheet for this guide; the café example is illustrative.

Frequently asked questions

Can I print the short link's slug as my asset ID instead of my own number?

Not before import: VastQR assigns the slug when the code is created, at random, so you cannot know it in advance, and importing the same rows again creates different slugs. Keep your own ID as the printed key and record the slug next to it once the codes exist.

Why don't the numbers at the start of my downloaded files match my sheet rows?

Because the number is the file's position in the list being downloaded, not the CSV row, and that list is not guaranteed to follow CSV order. A partial download starts again at 001. Match files by the title part of the name (your asset ID) or by slug.

Two of my asset IDs ended up with the same file name part. What happened?

The title part of a file name keeps only lower-case letters and digits, with one hyphen for each run of anything else, so IDs that differ only in case, spaces or punctuation (TBL_07 and TBL-07) become the same name. The importer does not warn about repeated titles, and counting the raw IDs does not reveal the problem, because TBL_07 and TBL-07 are different IDs. Our local run of VastQR's naming code shows the effect: TBL-07, TBL_07, tbl 07 and Tbl.07 all became tbl-07. Rename one ID so it differs in a letter or digit, then compare the name parts of the downloaded files.