FlowRunner
Features Pricing
Theme
Start Free

Shippo delivery exceptions to Slack, delivered orders closed

When Shippo reports a parcel failed or returned, your fulfillment channel hears about it in Slack. Delivered parcels close the WooCommerce order and tell the customer.

The prompt

When Shippo reports that any of our parcels was delivered, failed or came back, find the WooCommerce order its label was bought for. If it was delivered, send the customer a note and mark the order completed. If it failed or came back, post it to our fulfillment channel in Slack with the customer, the order total, the carrier, the tracking number and the latest tracking event.

FlowRunner Prompt to Flow built this flow from that request. Here it is as it opens in the editor.

The flow

No Yes Yes Condition Delivered? Condition Label bought for astore order? Action Alert thefulfillment channel Action Close the order Action Get theWooCommerceorder Action Tell the customerit arrived Starts the flow Tracking updatefrom Shippo

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

  1. Tracking update from Shippo Starts when Shippo reports a parcel on your account delivered, failed or returned. Parcels still in transit are ignored.
  2. Label bought for a store order? Goes on only when the parcel's label carries a WooCommerce order ID, as labels from the Shippo label flows do.
  3. Get the WooCommerce order Pulls the order with the customer's name, email, phone and order total.
  4. Delivered? Delivered parcels close the order. Failed and returned parcels go to the team.
  5. Tell the customer it arrived Adds a customer note that the order was delivered, which WooCommerce emails to the buyer.
  6. Close the order Marks the order completed in WooCommerce.
  7. Alert the fulfillment channel Posts the status, the order number, the customer, the order total, the carrier, the tracking number, and the latest tracking event to Slack.

Before you turn it on

  • Enter your Shippo API token and your WooCommerce store URL, consumer key and consumer secret, and connect your Slack account.
  • Pick your fulfillment channel in Alert the fulfillment channel.