Templates / Check dependencies before completing Awork tasks (workaround)

Check dependencies before completing Awork tasks (workaround)

Ready for 3.0

by Gregor · 209 views · created 2025-05-23 · Project Management

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

What this workflow does

This workflow has 25 nodes and runs when an HTTP POST request hits its webhook URL. It uses only n8n's built-in nodes. It also calls api.awork.com over HTTP.

How it runs

Trigger: When an HTTP POST request hits its webhook URL.

  1. Workflow config (Edit Fields (Set)): sets 6 fields: finishedStateLabels, useDependencies, useTreeStructure…
  2. Fetch task changes (Edit Fields (Set)): sets or maps fields
  3. Split Out: splits a list into separate items
  4. Filter: keeps only the items that match a condition
  5. Check if task done (If): checks a condition and branches into true / false
  6. Check if dependencies enabled (If): checks a condition and branches into true / false
  7. Load dependencies for task (HTTP Request): calls an HTTP API
  8. Check if tree structure enabled (If): checks a condition and branches into true / false
  9. Aggregate: combines items into one
  10. Check subtasks (If): checks a condition and branches into true / false

…plus 14 more steps. See the full node list below.

HTTP calls to: api.awork.com

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Nodes used (8)

From the author

Awork currently does not support a check for open subtasks or open dependencies when setting a task status to done. This workflow offers you a simple workaround to add this functionality to Awork and notifies users when triggered. Multiple configuration…

Excerpt from Gregor's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.