This API documentation covers a workflow that handles task dependencies upon receiving a POST request via webhook. It processes incoming data, interacts with Postgres databases to record task dependencies, and integrates with ClickUp to fetch task details. The workflow orchestrates splitting incoming data, updating dependencies, and responding accordingly.
/task-dependency-handler.path as "task-dependency-handler" and responseMode set to "responseNode" to define how the response is handled within n8n.task_dependencies table.table: task_dependenciesschema: publiccolumns: links the dependency (depends_on) with task (task_id)matching mode: define belowquery batching: singleskip on conflict: trueSquadDatadependencies into separate items for individual processing.field to split out: dependenciesinclude: all other fieldstask_dependencies table.columns: links linked_tasks.link_id with task_id.SquadDataid exists and is non-empty, filtering relevant records.subtasks.id to parent task id.SquadData$json.body), prepping data for further use.https://api.clickup.com/api/v2/task/{{ $json.id }}.clickUpApi credentials.include_subtasks = true.dependencieslinked_taskssubtasksextrataskId: {{ $json.id }}).