/
/
Complete the right Todoist task by name, after a check
For anyone who finishes Todoist work from their AI assistant and wants the right task closed, not a lookalike.
On this page
Connector
Connect Todoist, pick your AI tool and paste the prompt.
The problem
Similar task names get the wrong one closed
Telling an assistant to finish a task by name is quick, but several open tasks can share the words. Close the wrong one and you may not notice until the work is chased.
Without PopdockAI
- Search Todoist for the task
- Scroll past tasks with similar names
- Open the right one and mark it done
- Add a closing comment as a separate step
With PopdockAI
- Open tasks are matched on your words, narrowed by project if you give one
- More than one match means you choose, and nothing is closed
- You confirm the single task before it is completed
- It closes exactly one task, adds your note and checks it landed
The prompt
Use this prompt
Copy it into any AI tool connected to PopdockAI. Swap the values in braces for your own.
**Objective:** Complete the open task matching `{task-search}` (optionally in `{project-name}`), with the closing note `{closing-comment}` if given.
**Step 1: Find the task**
If `{project-name}` is given, call `todoist-get-projects` with `name.contains` set to it and keep the `project-id`; stop if it is ambiguous. Then call `todoist-get-tasks` with `content.contains` set to `{task-search}`, `is-completed` false and `project-id` if known.
**Step 2: Confirm**
* If zero tasks match, say so and stop.
* If more than one matches, list them (task id, content, project id, due date) and ask which one. Stop.
* If exactly one matches, show its content, due date and priority and ask the user to confirm completing it. Wait for a yes.
**Step 3: Act**
After confirmation call `todoist-close-task` with the `task-id`. If `{closing-comment}` is not empty, call `todoist-add-task-comment` with the same `task-id` and that text.
**Step 4: Verify**
Call `todoist-get-tasks` with the `task-id` and report whether `is-completed` is now true.
**Rules & Guidelines:**
* Call `todoist-close-task` for exactly one task, and only after the user confirms.
* Never call `todoist-delete-task` or any other write tool except `todoist-add-task-comment` for the closing note.
**Validation:**
* If the task is already completed, say so and do nothing.Who it's for
One answer, three teams that use it
Project managers
Close work from a chat
Finish a task by naming it, without opening Todoist, and with a check against closing a lookalike.
Complete the Todoist task Update launch checklist in project Website Launch.
Team members
Leave a note as you close
Add a closing comment in the same step, so the person reading the task later sees what was done.
Mark Order office supplies done in Todoist and note that Contoso approved the quote.
Operations managers
Handle busy projects safely
When several tasks share a phrase you pick from a list, so a busy project never gets the wrong task closed.
Close the Todoist task about the vendor review in project Supplier Management, but show me the matches first.
How it works
What PopdockAI does when you ask
You say which task to finish and your AI assistant finds it first. It only closes after you say yes, never more than one task, and never deletes.
Ask
You give part of the task name, and optionally a project and a closing note.
Find
It finds matching open tasks, and asks you to choose if more than one matches.
Confirm
You see the one task's content, due date and priority and say yes.
Close
It closes that task, adds your note if you gave one, and checks it is completed.
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.
todoist-get-projects
todoist-get-tasks
todoist-close-task
todoist-add-task-comment
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
The right task closed, every time
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)
