/
/
Match low Shopify stock to restock tasks
For store teams who want to see which low-stock Shopify variants have no Todoist task, by asking their AI assistant.
On this page
Connector
Connect Shopify, pick your AI tool and paste the prompt.
The problem
Restock tasks get forgotten or duplicated
You spot low-stock variants in Shopify, then search Todoist to see whether a restock task exists. Tasks go missing, variants without a SKU cannot be traced, and oversold items are easy to overlook.
Without PopdockAI
- Filter Shopify variants by stock level
- Look up the product behind each variant
- Search Todoist by SKU and product title
- Overlook oversold items and variants with no SKU
With PopdockAI
- Variants at or below your threshold are found
- Open tasks are read once and matched in memory
- Oversold variants are listed first
- Variants with no SKU are listed as unmatchable
The prompt
Use this prompt
Copy it into any AI tool connected to PopdockAI. Swap the values in braces for your own.
**Objective:** Find Shopify product variants with `{threshold}` units or fewer in stock (default 5) that have no open Todoist task mentioning their SKU or product title.
**Step 1: Find low stock in Shopify**
Call `shopify-get-product-variant` with `inventory-quantity.max` set to `{threshold}` (5 if empty). Keep `sku`, `title`, `product-id`, `inventory-quantity` and `inventory-item-id`. To name the product, call `shopify-get-product` with each `product-id` (at most 30 distinct products; say so if there are more). If none are low, report that and stop.
**Step 2: Check Todoist**
Call `todoist-get-tasks` with `is-completed` false. Match a variant when a task `content` contains its `sku` or the product `title`. Match in memory from one read.
**Step 3: Report**
Table of low-stock variants with no task: `sku`, product `title`, `inventory-quantity`. Then a short list of variants that already have a task and the `task-id`.
**Rules & Guidelines:**
* Servers: `todoist-*` tools are on the todoist server; `shopify-*` tools are on the shopify server. This prompt is read-only. Never call `todoist-add-task`, `todoist-update-task`, `todoist-close-task`, `todoist-add-task-comment`, `shopify-update-order`, `shopify-update-customer` or any other add, update, close or delete tool.
* Skip variants with an empty `sku` from the Todoist match and list them separately as unmatchable.
**Validation:**
* `inventory-quantity` may be negative for oversold items; include them first.Who it's for
One answer, three teams that use it
Store managers
See what still needs a restock task
Get the low-stock variants that nobody has a task for, with oversold ones at the top, in a single message.
Which Shopify variants have 3 or fewer in stock and no open Todoist task for their SKU?
Merchandisers
Protect best sellers from stock outs
Check that the products you promote are covered by a restock task before a campaign starts.
Find Shopify variants at 10 units or fewer that no Todoist task mentions, and show the product names.
Fulfilment leads
Catch oversold items early
Spot variants with negative stock that have no task, so backorders are dealt with before customers ask.
List oversold Shopify variants and tell me which have no open Todoist task.
How it works
What PopdockAI does when you ask
You set a threshold and your AI assistant compares the stock list with Todoist. It only reads, so your store and your tasks are untouched.
Ask
You give a stock threshold, or leave it at 5.
Find
It lists Shopify variants at or below the threshold and looks up their product names.
Match
It reads the open Todoist tasks once and matches each variant by SKU or product title.
Report
You get variants with no task, negative stock first, and the ones already covered.
What PopdockAI provides
The tools behind the answer
Ready made tools for Shopify and one secure connection to your AI tool. No code, no exports.
shopify-get-product-variant
shopify-get-product
todoist-get-tasks
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.
The outcome
Every low-stock variant has a task or a flag
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.

.webp)
