This setup helps you build automation systems using:
- Cursor
• Claude Code
• n8n
• MCP
• AI agents
The goal is simple:
→ You describe the workflow
→ Claude Code builds the structure
→ n8n runs the automation
What This Means
n8n is an automation tool.
It connects apps like:
- Gmail
• Google Sheets
• Slack
• Notion
• CRMs
• Forms
• Webhooks
• AI tools
Claude Code helps you create and manage these workflows faster.
MCP acts like the bridge between Claude Code and n8n.
Step 1, Download Cursor
Go to Cursor and install it on your laptop.
Cursor is the workspace where you will run Claude Code and manage the setup.
Step 2, Install Claude Code
Open Cursor.
Go to extensions.
Search for Claude Code.
Install it.
Sign in or connect your Claude account if required.
Step 3, Clone the GitHub Repo
Open the GitHub repo shared in the full guide.
Copy the repo link.
In Cursor:
→ Open command palette
→ Select clone repository
→ Paste the GitHub repo link
→ Open the cloned folder
This repo contains the setup files needed to connect Claude Code with n8n.
Step 4, Open n8n
Create or open your n8n account.
You can use:
- n8n cloud
• self hosted n8n
For beginners, n8n cloud is easier.
Step 5, Copy Your n8n API Key
Inside n8n:
→ Go to settings
→ Find API section
→ Create or copy your API key
Keep this key private.
Do not share it publicly.
Step 6, Paste API Key Into Claude Code Setup
Go back to Cursor.
Find the config or environment file from the repo.
Paste your n8n API key where required.
This allows Claude Code to talk to your n8n account.
Step 7, Check MCP Status
After setup, check if MCP shows a green check.
Green check means:
✓ Claude Code is connected
✓ n8n is reachable
✓ Your automation setup is ready
If MCP is not green, check:
- API key
• repo setup
• n8n URL
• permissions
• missing install steps
Step 8, Describe What You Want To Build
Now you give Claude Code a clear workflow prompt.
Example:
“Create an n8n workflow for lead generation.
When a new lead fills a form, add the lead to Google Sheets, enrich the company data, send a Slack alert, and draft a follow up email.”
Claude Code will help create the automation structure.
Good Beginner Workflows To Build
- Lead generation system → Form submission → Save lead in Google Sheets → Send Slack alert → Draft email follow up
- Client onboarding system → New client form → Create Notion page → Send welcome email → Create internal task list
- Content workflow → Add topic to Google Sheet → Generate content ideas → Create drafts with AI → Send for review
- Sales follow up system → New prospect added → Wait 2 days → Send follow up email → Update CRM
- Support ticket system → New support request → Classify issue with AI → Send to correct team → Log status in database
Beginner Prompt Template
Use this:
“Build an n8n workflow for [goal].
Trigger: [What starts the workflow]
Inputs: [What data comes in]
Steps:
- [First action]
- [Second action]
- [Third action]
Tools: [List apps like Gmail, Sheets, Slack, Notion, CRM]
Output: [What should happen at the end]
Add error handling and explain how I should test it.”
Example Prompt
“Build an n8n workflow for client onboarding.
Trigger: A new client fills a Typeform.
Steps:
- Add client details to Google Sheets.
- Create a Notion client page.
- Send a welcome email through Gmail.
- Send an internal Slack alert.
- Create a task for the team.
Output: A complete onboarding system ready to test.
Add error handling and explain every n8n node in simple language.”
How To Turn This Into A Business
Start with simple offers.
Do not sell “AI automation.”
Sell a clear business outcome.
Examples:
- I will automate your lead follow up
• I will build your client onboarding system
• I will connect your form, CRM, and email workflow
• I will automate your weekly reporting
• I will build an AI lead qualification system
Businesses pay for saved time and fewer manual tasks.
Best First Clients
Start with businesses that repeat the same admin work every week.
Good targets:
- coaches
• agencies
• real estate teams
• clinics
• consultants
• recruiters
• local service businesses
• education businesses
Ask them:
→ What task do you repeat every day?
→ Where do leads get lost?
→ What do you copy paste often?
→ What follow ups do you forget?
→ Which reports take too much time?
Their answers become automation ideas.
Important Rule
Do not launch any automation without testing.
Test with fake data first.
Check:
- trigger works
• data goes to the right place
• emails look correct
• Slack alerts fire
• errors are handled
• no private data leaks
Simple Learning Path
Day 1: Set up Cursor, Claude Code, n8n, and MCP.
Day 2: Build a simple form to Google Sheets workflow.
Day 3: Add Gmail or Slack.
Day 4: Add AI summarization or lead scoring.
Day 5: Build one complete client onboarding workflow.
Day 6: Record a demo.
Day 7: Pitch it to 5 businesses.
Final Takeaway
You do not need to start with complex AI agents.
Start with boring workflows.
Lead capture.
Follow ups.
Onboarding.
Reports.
Internal alerts.
That is where businesses feel pain, and that is where n8n plus Claude Code becomes useful fast.
