Generate, review, and optimize code with Cursor AI, GitHub, Google, and Slack
Ready for 3.0What this workflow does
This AI workflow has 15 nodes and runs when an HTTP POST request hits its webhook URL (plus 1 other trigger). Along the way it connects Google Drive, Google Sheets, Slack and OpenAI. It also calls api.cursor.sh over HTTP.
How it runs
Trigger: When an HTTP POST request hits its webhook URL (plus 1 other trigger).
- Set Task Config (Edit Fields (Set)): sets or maps fields
- Create a conversation (OpenAI): work with conversation
- Wait: pauses before continuing
- Parse Classification (Code): runs custom JavaScript code
- Cursor AI: Generate Code (HTTP Request): calls api.cursor.sh
- Cursor AI: Code Review (HTTP Request): calls api.cursor.sh
- Quality Score OK? (If): checks a condition and branches into true / false
- GitHub: Commit Code (HTTP Request): calls an HTTP API
- Cursor AI: Optimize Code (HTTP Request): calls api.cursor.sh
- Google Drive: uses Google Drive
…plus 3 more steps. See the full node list below.
Services it uses
HTTP calls to: api.cursor.sh
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 (11)
- Webhook
n8n-nodes-base.webhook - Schedule Trigger
n8n-nodes-base.scheduleTrigger - Edit Fields (Set)
n8n-nodes-base.set - Code
n8n-nodes-base.code - HTTP Request
n8n-nodes-base.httpRequest - Wait
n8n-nodes-base.wait - If
n8n-nodes-base.if - Google Drive
n8n-nodes-base.googleDrive - Google Sheets
n8n-nodes-base.googleSheets - Slack
n8n-nodes-base.slack - OpenAI
@n8n/n8n-nodes-langchain.openAi
From the author
A smart, fully automated coding pipeline built inside n8n that leverages Cursor AI to write, refactor, review, and optimize code projects — triggered by a webhook, schedule, or manual prompt. Every output is versioned, stored, and delivered with a detailed…