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

Last edited 58 days ago

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.

New to n8n?

Need help building new n8n workflows? Process automation for you or your company will save you time and money, and it's completely free!