ShipStation tracking email and shipment log in Google Sheets
Each new ShipStation label sends the customer their carrier, tracking number and tracking link from Gmail, and adds the shipment to a log in Google Sheets.
The prompt
When a new shipping label is created in ShipStation, look up its order. Email the customer from my Gmail with the carrier, the tracking number and a link to track the package, signed by our shipping team. Then add a row to my shipment log in Google Sheets with the ship date, order number, customer, email, carrier, service, tracking number, label cost and whether the customer was emailed. If the order has no customer email, skip the email and still log the shipment.
FlowRunner Prompt to Flow built this flow from that request. Here it is as it opens in the editor.
The flow
Download the file, then in FlowRunner click + beside Flows, pick it under Import a Flow Version and click Create. How importing works
What each step does
- New ShipStation shipment Checks ShipStation every 5 minutes for new labels. Labels not tied to an order are left alone.
- Read the order Pulls the order from ShipStation for the customer's name and email address.
- Write the shipping email Writes a short email with the order number, the carrier, the tracking number and a tracking link for USPS, UPS, FedEx and DHL Express.
- Email the customer Sends it from your Gmail. When the order has no customer email, the flow skips straight to the log.
- Log the shipment Adds a row to your shipment log in Google Sheets with the ship date, order, customer, email, carrier, service, tracking number, label cost and whether the customer was emailed.
Before you turn it on
- Enter your ShipStation API key and API secret, and connect your Gmail and Google Sheets accounts.
- Make a Google Sheet for the log with the headers Ship date, Order, Customer, Email, Carrier, Service, Tracking number, Label cost and Customer emailed on the first row of its first tab, and put its URL in the flow setting Shipment log spreadsheet.
- Change the flow setting Sign-off to the name your emails should be signed with.
- Turn off ShipStation's own shipment email if it is on, so customers don't get two.