Connectors

/

Todoist

/

Find stale Todoist tasks for finished WooCommerce orders
Report
Cross-Connector

Clear Todoist tasks for orders that are already done

For operations teams who want to find open Todoist tasks tied to WooCommerce orders that no longer need work, by asking their AI assistant.

Try PopdockAI free
Get a live demo
Find stale Todoist tasks for finished WooCommerce orders
Check my 50 latest open Todoist tasks that mention orders and tell me which ones point at WooCommerce orders that are completed, refunded or cancelled.
5 of the 50 open tasks point at orders that no longer need work. - Task 7731, Pack order #3120: order completed, due 2 Nov - Task 7740, Refund query for #3135: order refunded, due 3 Nov - Task 7752, Call about #3141: order cancelled, due 5 Nov - Not found: 1 task names order #9999, which WooCommerce could not find Want the full list of all 5 tasks?
Todoist
Sample figures. Your results come from your own account.
todoist-get-tasks
woocommerce-get-order

On this page

The problem

The problem

The prompt

Who it's for

How it works

Tools used

Connector

Todoist

Todoist
Run it on your own Todoist data.

Connect Todoist, pick your AI tool and paste the prompt.

Try PopdockAI free

The problem

Tasks outlive the orders they were about

Open Todoist tasks keep pointing at WooCommerce orders that have already shipped or been refunded. Finding them means opening every order in the store admin, so stale tasks bury the ones that still need work.

Without PopdockAI

  • Scan open tasks for order numbers
  • Open each order in WooCommerce
  • Note which are completed, refunded or cancelled
  • Leave stale tasks in place because it takes too long

With PopdockAI

  • Order numbers are pulled from the open tasks
  • Each distinct order is checked in WooCommerce
  • Tasks with finished orders are listed once with their status
  • Tasks whose order is not found are listed, not guessed

The prompt

Use this prompt

Copy it into any AI tool connected to PopdockAI. Swap the values in braces for your own.

Prompt
**Objective:** Find open Todoist tasks that refer to a WooCommerce order that no longer needs work, scanning up to `{max-tasks}` open tasks (default 50) and treating orders with status `{closed-statuses}` (default completed, refunded, cancelled) as finished.

**Step 1: Collect open tasks (todoist server)**

Call `todoist-get-tasks` with `is-completed` false and `content.contains` set to `order`, with `max-records` set to `{max-tasks}`. Pull the order number from each task's `content` (a number after "order", "#" or "WC-"). Ignore tasks with no order number.

**Step 2: Check each order (woocommerce server)**

For each distinct order number call `woocommerce-get-order` with `order-number`. Keep `status` and `total`. If an order is not found, mark the task as "order not found".

**Step 3: Report**

List only tasks whose order status is in `{closed-statuses}`: task id, task content, due date, order number, order status. Add a second short list of tasks whose order was not found. Count the tasks checked.

**Rules & Guidelines:**

* Read-only. Do not close, update or delete any task and do not change any order. Never call `todoist-close-task`, `todoist-update-task`, `todoist-delete-task`, `woocommerce-update-order` or `woocommerce-add-refund`.
* Todoist tasks are on the todoist server and orders on the woocommerce server.

**Validation:**

* If a task names more than one order number, check each and report the task once.
* If no stale tasks are found, say so and give the count checked.

Who it's for

One answer, three teams that use it

Operations managers

Keep the task list honest

See which tasks refer to orders that are already finished, so the list shows only work still to do.

Which of my open Todoist tasks mention WooCommerce orders that are already completed or refunded?

Order fulfilment staff

Stop chasing shipped orders

Find the tasks you can clear because the order has shipped, without opening each order in the store admin.

Scan my 30 latest Todoist tasks about orders and list the ones whose WooCommerce order is completed.

Store owners

Spot cancelled orders still on the task list

Check that nobody is still working on orders that were cancelled or refunded, using the task list you already keep.

Check open Todoist tasks that mention orders and show any WooCommerce orders that are cancelled or refunded.

How it works

What PopdockAI does when you ask

You choose how many tasks to scan and what counts as finished. Your AI assistant checks each order and only reports, so no task or order is changed.

Ask

You say how many tasks to scan and which order statuses count as finished.

Your AI tool

Collect

It reads open Todoist tasks that mention an order and takes the order number from each.

todoist-get-tasks
woocommerce-get-order

Check

It looks each order number up in WooCommerce and notes the status.

No items found.

Report

You get tasks whose order is finished, plus tasks whose order was not found.

Your AI tool

What PopdockAI provides

The tools behind the answer

Ready made tools for Todoist and one secure connection to your AI tool. No code, no exports.

get-data

todoist-get-tasks

Returns tasks from Todoist.
get-data

woocommerce-get-order

Returns WooCommerce orders with status, totals, discounts, shipping, payment method and paid date. Filter by status, customer email or id, order number, created date range, total range or billing last name.
Read only.Nothing in Todoist Changes

This report is built from Get data tools only. PopdockAI applies the row, field and parameter rules your admin sets, and every query is written to the audit trail.

How Popdock AI secures your data

The outcome

Open tasks that still need work stand out

Try PopdockAI free
Get a live demo

Related use cases

More ways to put this data to work

One prompt template with infinite possibilities.

‍

Your AI assistant adapts its approach, tone, and capabilities to match each unique context while you maintain a single, manageable workflow.

Join forward-thinking companies that are transforming their operations with intelligent, secure AI automation.

Try PopdockAI Free
See Documentation