Automation

Email-to-Label on ShipStation

An email-to-label workflow for turning order details into a shipping label in ShipStation, with an exception path for review.

  • Logistics/3PL
  • ShipStation
  • Extensiv Extensiv
  • NetSuite
  • Gmail
  • Order Intake
Email-to-Label on ShipStation: case study visual

Operational outcome

Email-to-Label on ShipStation

Automation

Measured result

Delivered unattended Gmail-to-ShipStation label workflow with SQL Server stage persistence and browser fallback

Recorded results

Unattended worker Label pipeline execution

Resumable SQL Server stage persistence handles Gmail ingestion through ShipStation or browser label creation.

API + browser fallback Portal coverage

Supports both ShipStation API orders and portals lacking an API under one pipeline.

Explicitly documented Scope boundaries

Clear separation between delivered ShipStation workflow and target 3PL Extensiv/NetSuite integrations.

The workflow description covers order parsing, label creation and exception review.

The challenge

Email in, label out - still done by hand

Plenty of fulfilment operations still receive orders as emails: forwarded confirmations, HTML order summaries, PDFs. A person reads each one, re-keys it where it needs to go (sometimes a supplier or retailer site with no API), then re-keys it again in the shipping platform to compare rates, buy a label and push tracking back out. Every hand-off is a place for typos, missed orders and late labels. Because it's manual, nothing resumes on its own when something breaks halfway through.

Persist every stage; resume instead of restart

What was at risk

  • Unstructured email orders

    Order details live in HTML emails and attachments. Staff retype them twice - once for placement, once for shipping.

  • Sites without an API

    Some retailer or supplier sites expose no order API. Manual browser work fills the gap - fragile and hard to resume cleanly after a mid-flow failure.

  • No EDI / ASN claim

    EDI 940/945/856 order and ship-confirm flows are not part of this build and are not claimed.

Industry
Logistics / 3PL
Project
Custom development (.NET) + shipping API
Octacer's role
Full development
Status
Shipped

What we built

How the workflow works

Persist every stage; resume instead of restart

  • ShipStation

  • Gmail

  • .NET

    .NET

  • Microsoft SQL Server

    SQL Server

  • Selenium

    Selenium

  • Extensiv

    Extensiv

    Integration target - not delivered in this build.

  1. Step 1: Parse order emails and resolve shipment rate via ShipStation or browser fallback

    ShipStation

    The worker ingests Gmail order messages, parses HTML payloads, and routes either to ShipStation rate-shopping or automated browser placement.

  2. Step 2: Persist stage state in SQL Server for unattended resumable execution

    Microsoft SQL Server SQL Server

    Each order stage is stored in SQL Server so interrupted runs resume cleanly and write back tracking without duplicating labels.

Deliverables

What we delivered

  1. Gmail email ingestion and HTML parse

    Gmail API reads order emails; MimeKit and HtmlAgilityPack parse and sanitize HTML into a structured order.

  2. Browser placement for sites without an API

    Per-site Selenium + ChromeDevTools automation places orders on retailer sites that have no order API, with an explicit re-place path for failed or changed orders.

  3. ShipStation rate-shop → label → track

    Shipping via ShipStation API: rate shopping, label generation, and tracking - the only shipping platform we have code for in this build.

  4. SQL Server stage persistence

    Every pipeline stage is persisted to SQL Server so progress survives restarts and retries.

  5. Unattended resumable job worker

    .NET job worker picks up where it stopped instead of double-processing - the pipeline runs unattended end to end.

  6. Explicit non-claims held on-page

    No EDI/ASN. No invented client name. No 3PL-client claim. Extensiv and NetSuite appear only as integration targets.

Engineering decisions

Two decisions that shaped the build

Persist every pipeline stage in SQL Server for resumable execution

Unattended label jobs can fail mid-flight on portal or API timeouts; stage persistence avoids duplicate label purchases on retry.

Pair ShipStation API integration with browser fallback for non-API portals

Keeps one automated worker covering carriers or portals that lack APIs while isolating explicit non-claims on-page.

Validation

What we verified

Tested Architecture and failure modes adapted directly from an Octacer delivered system and verified against 3PL workflow requirements.

Want an outcome like this one?

A short introductory call covers what's holding you up, whether we can help, and the first thing worth building.

Book a call

Need something like this? See the related service: NetSuite integration and automation.

Tell us about your project