Google Sheets

Google Sheets: table row to label

The ready-made Google Apps Script adds a ShipPickup menu to the sheet. Select order rows, and the script will buy labels and write status, tracking, order number, price, and label link back to those rows.

Downloadable files

What you’ll need

Step-by-step instructions

  1. Download google-sheets.gs. In the sheet, open “Extensions”, “Apps Script”, paste the file content replacing the default code, and save.
  2. Reload the sheet page: the ShipPickup menu appears. Choose “Set API key” and paste your live API key. It will be saved in script properties and won’t appear in files or cells.
  3. Select “Create sender sheet” and fill out the Sender sheet: your sender address.
  4. In the first row of the orders sheet, enter headers (see example below). Order doesn’t matter, extra columns don’t interfere. The script will add result columns itself.
  5. Select order rows, choose “Buy labels for selected rows” and grant script access on first run.

Example

Sheet
name | line1 | city | state | postal_code | country | phone | email | weight_g | length_mm | width_mm | height_mm | description | quantity | unit_value_cents

Important to know

Files contain no keys or passwords: all secrets are set by you in environment settings. Do not publish files with your values.

← All ready-made solutions · Common Scenarios