Skip to content

Shipping labels from inbox to printer

Every sale on Poshmark or Vinted drops a shipping label PDF into Gmail. This watches the inbox, crops the PDF to a print ready 4 by 6 label, checks the barcode decodes, and prints it or holds it for a tap from your phone. Labels that fail checks are never printed silently and duplicates are held.

Ecommerce and resaleWorks with Claude Code · n8n+1Community example

What it does

  • Polls Gmail for label emails from the two platforms
  • Pulls item, order id, tracking number and ship by date, with the regex tracking number always winning
  • Crops and scales the PDF to an exact 4 by 6 label
  • Decodes the barcode and checks ink coverage before printing
  • Keeps history and a reprint button on a home network dashboard

Your approval boundaries

Creates drafts

These actions always wait for your yes:

  • Turning on auto print, until then each label waits for a tap
  • Printing any label that failed verification or looks like a duplicate
  • Exposing the dashboard beyond your own machine

You decide what happens next.

More about this workflow

This setup is for online sellers and resale shops juggling listings, orders and buyers. It takes a repeat chore off your plate and hands back something you can check quickly.

First, it polls Gmail for label emails from the two platforms. Next, it pulls item, order id, tracking number and ship by date, with the regex tracking number always winning. Then it crops and scales the PDF to an exact 4 by 6 label. After that, it decodes the barcode and checks ink coverage before printing. Finally, it keeps history and a reprint button on a home network dashboard. It works with your email and shipping app, each on its own login with limited access.

You get the prep work done and waiting for you. The agent stops and asks for your yes before turning on auto print, until then each label waits for a tap, printing any label that failed verification or looks like a duplicate and exposing the dashboard beyond your own machine, and says plainly if a step cannot be undone.

“Pause means "stop printing", not "stop working".”
ceponatia ceponatia on GitHub · Sep 23, 2026
Before you startEmail · Shipping app accessScoped permissionsClaude Code or n8n
Explore required tools and model recommendations

Tools and access

  • Gmail

    Handles the email part of this job. Grant read-only plus compose (drafts) scopes.

    API required: Yes. Needs a Google Cloud project with an OAuth app and the Gmail API turned on. The agent signs in through OAuth with only the scopes you pick.

  • ShipStation

    Handles the shipping app part of this job. Grant read order and shipment status.

    API required: Yes. Needs API credentials from your ShipStation account settings.

Official links only. Not sponsored, no affiliate links.

Model recommendations

Best pick

Gemini 3.8 Flash

Built for agent workflows, with a free tier to test on.

$0.75 per million input tokens and $3.75 per million output tokens through December 31, 2026. $1.50 and $7.50 from January 1, 2027.

Google docs as of October 11, 2026

Cheaper backup

Gemini 3.5 Flash-Lite

Low cost for many listings at once.

$0.30 per million input tokens, $2.50 per million output tokens.

Google docs as of October 11, 2026

Our own picks. Not sponsored, no affiliate links.

Build your prompt

Add your details, then copy the prompt into your tool.

1Your details

Fill these in and the prompt updates as you type.

a dedicated account

off at first

2Your prompt

4 of 4 still empty
Fill these in before you run it: [GMAIL APP PASSWORD: a dedicated account] [PRINTER NAME AND 4X6 TRAY] [POLL INTERVAL] [AUTO PRINT: off at first] You are the Shipping labels from inbox to printer agent. Every sale on Poshmark or Vinted drops a shipping label PDF into Gmail. This watches the inbox, crops the PDF to a print ready 4 by 6 label, checks the barcode decodes, and prints it or holds it for a tap from your phone. Labels that fail checks are never printed silently and duplicates are held. Use only the details filled in above. If any [BRACKETED] item is still blank or unclear, stop and ask for it first. Do not guess. What you do on your own: - Polls Gmail for label emails from the two platforms - Pulls item, order id, tracking number and ship by date, with the regex tracking number always winning - Crops and scales the PDF to an exact 4 by 6 label - Decodes the barcode and checks ink coverage before printing - Keeps history and a reprint button on a home network dashboard What you must never do without a yes from a person: - Turning on auto print, until then each label waits for a tap - Printing any label that failed verification or looks like a duplicate - Exposing the dashboard beyond your own machine Rules: - Before any step on the list above, stop and ask. Say in plain words what you want to do, who it affects, and whether it can be undone. - If something cannot be undone, say so first, in one short line. - Write drafts, not final actions. A person sends, pays, posts, or deletes. - Keep a short log of every action you took and every source you read. - If you are unsure, ask instead of guessing.
View run instructionsPaste into: Claude Code, n8n, Make

Your answers stay in this browser only.

Run your workflow

Connect your tools with only the access this setup needs, then follow these steps.

Steps

Do these in order. Test on old data before it touches live work.

  1. 1Connect Gmail with its own login, not yours. Grant read-only plus compose (drafts) scopes.
  2. 2Connect ShipStation with its own login, not yours. Grant read order and shipment status.
  3. 3Paste the prompt where your harness takes instructions. See the note under the Copy button.
  4. 4Do a dry run on old or test data first. Check every draft and every stop point by hand before you let it near live work.
  5. 5Read its log after the first real run. Only widen access once a week of runs looks clean.

Safeguards and trust score

The score describes this example setup’s access, approval boundaries, ability to undo changes, and scope.

Access24 / 30

Writes drafts and notes inside your tools, nothing leaves on its own.

Human approval30 / 30

Waits for a yes on: turning on auto print, until then each label waits for a tap, printing any label that failed verification or looks like a duplicate, exposing the dashboard beyond your own machine.

Undo and logs17 / 20

Leaves drafts you can throw away, with a record of what it made.

Scope18 / 20

Runs on its own login across 2 tools. Fewer connections means a smaller blast radius.

How to raise it

  • Scope: Run it on one tool only, with its own login that can see just what this job needs +2

Do all of these to reach 91, up from 89.

Want help getting there? Get an AI Trust Audit from Pixeldesigns

Reviewed by Trustcase (example setup). How scoring works

Embed badge

Show this trust score on your site or README. It links back here.

Trustcase trust score badge
Markdown
[![Trustcase trust score for Shipping labels from inbox to printer](https://trustcase.dev/badge/shipping-labels-from-inbox-to-printer.svg)](https://trustcase.dev/use-cases/shipping-labels-from-inbox-to-printer)
HTML
<a href="https://trustcase.dev/use-cases/shipping-labels-from-inbox-to-printer"><img src="https://trustcase.dev/badge/shipping-labels-from-inbox-to-printer.svg" alt="Trustcase trust score for Shipping labels from inbox to printer" height="20"></a>

Other workflows that use the same tools

  • Warranty replies that ask before they offer

    Support. A one person store has agents draft every customer email from the full thread and the order history. For a warranty problem the first reply only asks questions, and a hook blocks any draft that promises money or product until the owner approves that exact text.

  • Follow up drafter

    Sales. Writes the follow up email after a sales call so nothing goes cold.

  • Pipeline cleanup

    Sales. Finds stale deals and tells you which ones to close or chase.