Find late orders in your Shopify store

Unfulfilled orders and stuck parcels, with the carrier's last event and a next step for each.

  • On a schedule: Every weekday at 8:00

What it does

The task

Open the orders in my Shopify admin. Find the orders that are unfulfilled for more than days days, and the shipped orders whose tracking did not change for 4 days. For each shipped order, open the tracking page on the carrier site and read the last event. Send me a table with the order number, the order date, the status, the last carrier event and a next step, the oldest order first. Do not contact customers and do not change orders.

  • It works in Shopify and any carrier site, in the workspace you pick, and signs in with passwords from your Cuiar vault.
  • As a routine it runs every weekday at 8:00 (cron 0 8 * * 1-5).

What you give it

BlankWhat to giveExample
daysDays after which an unfulfilled order is late2

What you get back

An example run with the example values above. Your run uses your own data.

5 late orders on 4 Nov

OrderDateStatusLast carrier eventNext step
#1043322 OctShipped, DHL29 Oct, held at customsSend the customs invoice to DHL
#1045124 OctShipped, UPS30 Oct, delivery failedAsk the customer for a safe place
#1048229 OctUnfulfillednoneLinen apron, size M, out of stock: restock or refund
#1049530 OctUnfulfillednoneAddress check failed: confirm the address
#105011 NovUnfulfillednoneLabel printed, not picked up: call the carrier

Run it in Cuiar

  1. 01

    Open it

    Click Use in Cuiar on this page. The side panel opens with the task in the composer.

  2. 02

    Fill in the blank

    Type days. Tab moves to the next blank.

  3. 03

    Run it, then repeat it

    Run sends it once. To run it every weekday at 8:00, make a routine on cuiar.com/routines or with the CLI below.

As a routine, from the terminal

cuiar routines create "Find late orders in your Shopify store" --schedule "0 8 * * 1-5" --time-zone Europe/Berlin \
  "Open the orders in my Shopify admin. Find the orders that are unfulfilled for more than 2 days, and the shipped orders whose tracking did not change for 4 days. For each shipped order, open the tracking page on the carrier site and read the last event. Send me a table with the order number, the order date, the status, the last carrier event and a next step, the oldest order first. Do not contact customers and do not change orders."

Run it from your AI agent

Claude Code, Codex, Cursor and other MCP clients reach Cuiar at https://mcp.cuiar.com/mcp. Add the server one time, then ask for the task in plain words, or call create_routine yourself.

1. Add Cuiar to Claude Code

claude mcp add --transport http cuiar https://mcp.cuiar.com/mcp

2. Ask your agent

Use the Cuiar tool create_routine to run my "Find late orders in your Shopify store" template with days = 2.

Setup for other agents: AI agents.

The tool call

{
  "name": "create_routine",
  "arguments": {
    "name": "Find late orders in your Shopify store",
    "task": "Open the orders in my Shopify admin. Find the orders that are unfulfilled for more than 2 days, and the shipped orders whose tracking did not change for 4 days. For each shipped order, open the tracking page on the carrier site and read the last event. Send me a table with the order number, the order date, the status, the last carrier event and a next step, the oldest order first. Do not contact customers and do not change orders.",
    "schedule": "0 8 * * 1-5",
    "time_zone": "Europe/Berlin"
  }
}
All ops templates
  • FinanceAsks first

    Answer a Stripe dispute with evidence

    The order, the delivery proof and your messages for the disputed payment, with a draft answer.

    You start it: When you start it
    • Stripe
    • Shopify
    • Gmail
    • +1 more: Any carrier site
  • Finance

    Prepare the figures for your VAT return

    Sales and input VAT by rate for the period, checked against your sales platforms, with the box values.

    You start it: When you start it
    • Xero
    • Shopify
    • Stripe
    • +1 more: Google Sheets
  • Ops

    Sort my inbox every morning

    A label on each new e-mail, and a short list of what needs a reply.

    On a schedule: Every weekday at 7:30
    • Gmail
  • OpsAsks first

    Follow up on e-mail with no reply

    A polite follow-up in each thread. Nothing goes out before you approve it.

    On a schedule: Every weekday at 16:00
    • Gmail
  • Ops

    Collect last month's invoices

    The vault signs in to each account. All PDFs go to one folder.

    On a schedule: On the 1st of each month at 9:00
    • Gmail
    • Google Drive
  • Ops

    Send me my agenda and tasks every morning

    Today's meetings with their links and documents, and the tasks that are due, in one e-mail.

    On a schedule: Every weekday at 7:00
    • Google Calendar
    • Asana
    • Gmail