Automatically Triage & Improve Todoist Tasks with GPT-4.1-mini

Go to Workflow
0 views
Built by Rui Borges Rui Borges
Created on June 07, 2026

Description

How it works (high-level)

This workflow automatically triages new tasks created in Todoist in the last 5 minutes.
It improves the task description, assigns a priority (P1–P4), and sets a realistic due date based on your current workload.

Main flow steps

Schedule Trigger — runs at a chosen interval.
Get many tasks (Todoist) — fetches all tasks created in the last 5 minutes.
AI Agent (LLM) — receives the new task plus clear rules to:
Rewrite the task description in an imperative style.
Score and set the priority (1–4) using Impact × Urgency × Risk.
Schedule a due date that respects workload and avoids overbooking.
get_open_tasks — provides the agent with the full list of open tasks to check daily capacity.
update_task — applies the improved description, chosen priority, and due date back into Todoist.

Setup steps
Time required: ~5-10 minutes.
Configure Todoist credentials (API token) and OpenAI credentials in the respective nodes.
Adjust the Schedule Trigger to how often you want the system to check for new tasks.
Optionally, fine-tune the scoring and scheduling rules inside the AI Agent system prompt.

ℹ️ More detailed instructions, reasoning frameworks, and constraints are already included as sticky notes inside the workflow itself.

Nodes Used (3)

AI Agent
@n8n/n8n-nodes-langchain.agent
OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi
Todoist
n8n-nodes-base.todoist