n8n Workflow Automation
n8n is a powerful workflow automation platform. Connect it to IndigiCoder and the AI will create workflows for you automatically — no automation experience needed!
n8n Integration Overview
Video coming soon
What Can You Build?
| Automation | Example Prompt |
|---|---|
| Contact Form → Email | "Build a contact form that sends me an email via n8n" |
| Slack Notifications | "Notify #orders in Slack when a form is submitted" |
| Google Sheets Logging | "Log feedback submissions to a Google Sheet" |
| Webhook API | "Create an API endpoint that processes and returns data" |
| Multi-step Workflow | "Build a signup form that saves to Sheets and sends a welcome email" |
| Conditional Routing | "Route form submissions to different Slack channels based on the selected department" |
| AI Chatbot | "Add a support chat where an AI agent answers questions using my FAQ and can look up order status" |
| AI Support Agent | "Build a ticket form where an AI agent reads the issue, searches the knowledge base, and either resolves it or escalates to a human" |
| AI Sales Agent | "Create a lead intake form where an AI agent qualifies the lead, looks up their company, and routes them to the right sales rep" |
Getting Started: 3 Steps
1. Create Your n8n Account
Sign up at cloud.n8n.com (or use a self-hosted instance). Then create an API key in Settings → n8n API.
2. Connect in IndigiCoder
Go to Settings → Integrations → n8n. Enter your Instance URL (e.g., https://your-instance.app.n8n.cloud) and your API Key. Click Connect.
3. Start Prompting
That's it! Now just describe what you want automated. The AI creates workflows on your n8n instance automatically.
n8n Setup Walkthrough
Video coming soon
How It Works
- AI checks your n8n connection
- Creates a workflow on your n8n instance
- Activates the workflow and gets the webhook URL
- Wires the frontend code to call the webhook
Webhook URLs are public — no API key is needed in the generated frontend code. The generated code is simply:
fetch(webhookUrl, { method: 'POST', body: JSON.stringify(data) })Service Integrations
When your prompt mentions services like Slack or Gmail, the AI creates placeholder credentials on your n8n instance. You then update those credentials with your real tokens in n8n Settings → Credentials.
| Service | Credential Type |
|---|---|
| Slack | Slack API (Bot Token) |
| Gmail | Google OAuth2 |
| Google Sheets | Google OAuth2 |
| Discord | Discord Webhook |
| Telegram | Telegram Bot API |
| Airtable | Airtable API Key |
Workflow Examples
Simple
- Webhook → Respond — Simple API endpoint
- Webhook → Set → Respond — Transform data and return a result
- Webhook → Slack → Respond — Send a notification to a Slack channel
- Webhook → Google Sheets → Respond — Log a form submission to a spreadsheet
Multi-Step
- Webhook → Google Sheets → Gmail → Respond — Save a signup, then send a welcome email
- Webhook → IF (condition) → Slack / Discord → Respond — Route messages to different channels based on form input
- Webhook → HTTP Request → Set → Respond — Call an external API, transform the response, and return it to your app
Agentic / AI-Powered
These use n8n's AI Agent node with tool-calling — the agent autonomously decides which tools to use, can carry on multi-turn conversations, and takes actions based on its reasoning.
- Chat Webhook → AI Agent (+ Memory + Knowledge Base Tool) → Respond — A conversational chatbot that remembers the full conversation, searches your docs to answer questions, and carries on a natural back-and-forth with the user
- Webhook → AI Agent (+ DB Lookup Tool + Slack Tool) → Respond — A support agent that reads a ticket, autonomously decides to search the knowledge base or look up the customer's order, then either resolves it directly or escalates to Slack
- Webhook → AI Agent (+ HTTP Tool + Google Sheets Tool + Gmail Tool) — A sales agent that receives a lead, autonomously looks up company info via API, logs a qualification score to Sheets, and sends a personalized outreach email
- Webhook → AI Agent (+ Sub-Agent Tools) → Respond — A supervisor agent that delegates to specialized sub-agents: one handles billing questions, another handles technical support, another handles account changes
- Schedule → HTTP Request → AI Agent (+ Slack Tool) → Slack — A reporting agent that periodically fetches data, autonomously analyzes trends, decides what's worth highlighting, and posts a digest to Slack
Troubleshooting
"Connection failed"
Verify your Instance URL format (should be https://your-instance.app.n8n.cloud) and check that your API key is correct and active.
"Webhook not responding"
Make sure the workflow is activated in n8n. Inactive workflows won't respond to webhook calls.
"Slack/Gmail not working"
The AI creates placeholder credentials. You need to update them with your real tokens in n8n Settings → Credentials.
Self-Hosted n8n
If you're running n8n self-hosted, make sure your instance is accessible from the internet so webhook calls can reach it.
n8n Troubleshooting
Video coming soon