List the orders I can still return

Each recent purchase with its last return date and the return cost, the nearest deadline first.

  • You start it: When you start it

What it does

The task

Search my Gmail for order confirmations and delivery e-mails from the last days days. For each order, find the delivery date and read the store's return policy for that item. Work out the last return date, and note when a return costs money or gives store credit only. Put the items in a new Google Sheet named Returns, with the store, the item, the price, the last return date, the cost and a link to the return page, the nearest date first. Do not start any return.

  • It works in Gmail, any online store and Google Sheets, in the workspace you pick, and signs in with passwords from your Cuiar vault.
  • It runs once, when you start it.

What you give it

BlankWhat to giveExample
daysHow many days back to search45

What you get back

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

Sheet Returns: 12 items from 9 orders

StoreItemPriceLast return dateCost
Northfield OutletWool overcoat189.00 EUR2 Novfree
Kestrel ElectronicsWireless earbuds79.00 EUR5 Novfree, unopened only
Brightline HomeDesk lamp49.90 EUR9 Nov5.95 EUR label
Tallow & PineCandles (2)24.00 EURcannot be returnednone

8 more items, with last return dates from 15 Nov to 3 Dec

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

    Run sends it to the agent. Follow each step in the panel, and stop it at any time.

From the terminal

cuiar exec "Search my Gmail for order confirmations and delivery e-mails from the last 45 days. For each order, find the delivery date and read the store's return policy for that item. Work out the last return date, and note when a return costs money or gives store credit only. Put the items in a new Google Sheet named Returns, with the store, the item, the price, the last return date, the cost and a link to the return page, the nearest date first. Do not start any return."

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 run_task 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 run_task to run my "List the orders I can still return" template with days = 45.

Setup for other agents: AI agents.

The tool call

{
  "name": "run_task",
  "arguments": {
    "task": "Search my Gmail for order confirmations and delivery e-mails from the last 45 days. For each order, find the delivery date and read the store's return policy for that item. Work out the last return date, and note when a return costs money or gives store credit only. Put the items in a new Google Sheet named Returns, with the store, the item, the price, the last return date, the cost and a link to the return page, the nearest date first. Do not start any return."
  }
}
All shopping templates
  • SalesAsks first

    Follow up with leads from a trade show

    Each lead you met added to the CRM, with a personal follow-up e-mail based on your notes.

    You start it: When you start it
    • Google Sheets
    • HubSpot
    • Gmail
  • Sales

    Find out why you lost deals last quarter

    The real loss reasons from notes and e-mails, counted, with competitors, price gaps and fixes.

    You start it: When you start it
    • Pipedrive
    • Gmail
    • Google Sheets
  • MarketingAsks first

    Build a press list and draft pitches

    Reporters who covered your topic recently, with their articles, and one pitch for each, sent after your OK.

    You start it: When you start it
    • Google News
    • Any news site
    • Gmail
    • +1 more: Google Sheets
  • MarketingAsks first

    Find best-of lists that leave out your product

    List articles that name your competitors and not you, with the site's contact and a pitch for your OK.

    You start it: When you start it
    • Any website
    • Gmail
    • Google Sheets
  • Finance

    Find card payments that have no receipt

    Each card payment matched to a receipt from your inbox or folder, with the missing ones listed first.

    You start it: When you start it
    • Any bank site
    • Gmail
    • Google Drive
    • +1 more: Google Sheets
  • Personal

    Make a list of my product warranties

    Each device and appliance you bought, with its warranty end date and a link to the receipt.

    You start it: When you start it
    • Gmail
    • Google Sheets
    • Any website