Auto-fix ClickUp bug reports with OpenAI, Cursor, GitHub and Slack
Needs changesWhat this workflow does
This AI workflow has 15 nodes and runs when an HTTP POST request hits its webhook URL. Along the way it connects OpenAI Chat Model, Slack, GitHub and ClickUp.
How it runs
Trigger: When an HTTP POST request hits its webhook URL.
- Prepare Bug Report Data (Edit Fields (Set)): sets 18 fields: bugId, taskName, description…
- Bug Fix Planner Agent (AI Agent): runs an AI agent, with model: OpenAI Model
- Analyze Auto-Fix Eligibility (Code): runs custom JavaScript code
- If: checks a condition and branches into true / false
- Create Fix Task Payload (Code): runs custom JavaScript code
- Notify Dev on Slack for Review (Slack): uses Slack
- Trigger Cursor Background Agent (HTTP Request): calls an HTTP API (POST)
- Wait: pauses before continuing
- Wait: pauses before continuing
- Process Cursor Result for PR (Code): runs custom JavaScript code
…plus 3 more steps. See the full node list below.
Services it uses
Before you upgrade to n8n 3.0
1 thing in this workflow is removed in n8n 3.0. Fix it before you upgrade:
- AI Agent v1 (old agent modes) in Bug Fix Planner Agent (v1.6): replace with Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.
Rather not rewrite it? Many of these flows can be rebuilt in Make (free plan).
| Removed in 3.0 | Replace with |
|---|---|
| AI Agent v1 (old agent modes) Bug Fix Planner Agent (v1.6) | Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent. |
Nodes used (12)
- Webhook
n8n-nodes-base.webhook - Edit Fields (Set)
n8n-nodes-base.set - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - AI Agent
@n8n/n8n-nodes-langchain.agent - Code
n8n-nodes-base.code - If
n8n-nodes-base.if - Slack
n8n-nodes-base.slack - Wait
n8n-nodes-base.wait - HTTP Request
n8n-nodes-base.httpRequest - GitHub
n8n-nodes-base.github - ClickUp
n8n-nodes-base.clickUp - Respond to Webhook
n8n-nodes-base.respondToWebhook
From the author
Quick overview This workflow receives ClickUp bug reports via webhook, uses OpenAI to plan a fix, optionally asks for developer approval in Slack, then triggers Cursor’s background agent to implement and test the change, opens a GitHub pull request, and…