This workflow orchestrates interactions initiated by a Chrome extension webhook, updating tasks and statuses in ClickUp and Postgres, and managing project data dynamically. It accommodates task creation, updates, status changes, and comment management in an automated manner.
taskId, which inform subsequent operations in updating task details and managing comments.
path: "a48b0db4-60cc-457d-8e12-56275931ac4b""responseNode" to respond after processing.taskId.query: Executes a complex SQL query that retrieves task metadata, status history, tags, time estimates, assignments, and more.operation: "executeQuery"$json.query.taskId parameter to compile comprehensive task details including status, tags, time metrics, assignment history, etc.operation: "executeQuery"$json.query.taskId to find list and folder details for contextual data enrichment.church, cap, active_tasks, etc.) into a structured object.active_tasks, mmq_max, and visual styling info like bar_color.operation: "executeQuery"taskId to determine the project list and folder name, facilitating contextual understanding.project_cap, church, and active_tasks derived from previous nodes.operation: "executeQuery"taskId: {{ $json.body.taskId }}operation: "update"updateFields: {"status": "{{ $json.body.preferences.changeStatus.status }}" }"TheSquad"path: "reviewed"httpMethod: "POST""lastNode""https://api.clickup.com/api/v2/task/{{ $json.body.taskId }}/tag/{{ $json.tagRemove }}"method: "DELETE""{{ $json.body.clickupAccessToken }}""https://api.clickup.com/api/v2/task/{{ $json.body.taskId }}/tag/{{ $json.tagAdd }}"method: "POST""{{ $json.body.clickupAccessToken }}"path: "add-to-queue"httpMethod: "PATCH""responseMode": "lastNode""https://api.clickup.com/api/v2/task/{{ $json.body.taskId }}/tag/{{ $json.tagRemove }}"method: "DELETE""{{ $json.body.clickupAccessToken }}""https://api.clickup.com/api/v2/task/{{ $json.body.taskId }}/tag/{{ $json.tagAdd }}"method: "POST""{{ $json.body.clickupAccessToken }}""https://api.clickup.com/api/v2/task/{{ $json.body.taskId }}"method: "PUT"{"status": "{{ $json.body.preferences.changeStatus.status }}"}"{{ $json.body.clickupAccessToken }}""combine" or "chooseBranch" depending on context.taskId to fetch detailed task info, tags, status history, and other metadata from Postgres. It updates task tags and statuses in ClickUp applying business rules based on incoming preferences, such as changing statuses, adding/removing tags, and commenting. It also manages project capacity displays and handles queued task operations, ensuring all data is formatted for UI or further processing steps. The architecture allows for dynamic updates, external review triggers, and task management automation based on extension interactions.