Zum Inhalt springen
NEULerne Alaaddin kennen, deinen KI-Flaschengeist mit Stimme. trig8n startet am 1. Januar 2027. Neuigkeiten ansehen

Bibliothek / Code, Git & Entwicklertools

Code, Git & Entwicklertools

ClickUp-Fehlermeldungen mit OpenAI, Cursor, GitHub und Slack automatisch beheben

Läuft, wenn ein ClickUp-Bug-Webhook auslöst, plant eine Korrektur mit OpenAI, fragt bei Unsicherheit per Slack um Freigabe, lässt Cursor den Code patchen und öffnet anschließend einen GitHub-Pull-Request.

Was sie bewirkt

## AI Autonomous Bug-Fixing Pipeline ### How it works This workflow receives ClickUp bug reports through a webhook, normalizes the bug details, and uses an OpenAI-powered agent to identify the root cause and propose a fix plan. It scores whether the issue is safe for autonomous fixing, routes uncertain cases through Slack developer approval, then sends the approved fix task to a Cursor background agent. After Cursor completes the fix and tests, the workflow prepares follow-up payloads, creates a GitHub pull request, updates the ClickUp task, and returns a success response. ### Setup steps - Configure the ClickUp webhook to send new bug reports to the n8n webhook URL, and ensure the incoming payload contains the bug ID, task name, description, and stack trace fields expected by the config node. - Add OpenAI credentials for the chat model used by the AI Agent node. - Configure Slack credentials and the target channel or user for manual review notifications. - Set the Cursor API URL and authentication details used by the HTTP Request node to trigger the Cursor background agent. - Configure the wait/resume URLs or callback handling so developer approvals and Cursor completion events can resume the workflow correctly. - Add GitHub credentials with permission to create pull requests in the target repository, and configure ClickUp credentials with permission to update bug task status. ### Customization Adjust the auto-fix eligibility scoring logic, Slack approval message, Cursor task payload, target repository/branch, and ClickUp status values to match the team’s risk tolerance and development process.

Die Schritte

  1. When Bug Reported in ClickUp
  2. Prepare Bug Report Data
  3. OpenAI Model
  4. Bug Fix Planner Agent
  5. Analyze Auto-Fix Eligibility
  6. If Eligible for Auto-Fix
  7. Notify Dev on Slack for Review
  8. Wait for Dev Approval
  9. Create Fix Task Payload
  10. Trigger Cursor Background Agent
  11. Wait for Cursor Completion
  12. Process Cursor Result for PR
  13. Create GitHub Pull Request
  14. Update Bug Status in ClickUp

Insgesamt 15 Schritte.

Ähnliche Automatisierungen