PROGRAM ZERO 18-month live AI, LLM & full-stack programme · ₹89,999 or ₹7,500/month · Starts 9 January 2027
Explore Program Zero →
Careers Ninza — business and startup leadership training
JOIN ZERO NINZA KIDS
JOIN ZERO NINZA KIDS
See all programs → Free live masterclass → Guides & articles → Newsletter →
Careers Ninza
AI & AUTOMATION 7 min read · Updated 14 October 2026

n8n for beginners: build your first AI automation without writing code

n8n is a workflow automation tool that connects apps, APIs and AI models on a visual canvas. This beginner tutorial explains the core ideas, builds a lead-to-WhatsApp-and-sheet workflow step by step, and adds an AI step that classifies each lead.

CN
Careers Ninza AI faculty
Careers Ninza · Kolkata, India
Learn this live in our No-Code Agentic AI Development course

n8n is a workflow automation platform where you connect triggers (something happens), actions (do something in an app) and AI steps (let a model read, classify or write) on a visual canvas. A beginner can build a useful workflow in an afternoon: for example, every new website lead is saved to Google Sheets, classified by an AI model and sent to the right salesperson.

Small and medium businesses in India run on repetitive work: copying leads from forms into sheets, sending the same WhatsApp replies, chasing invoices, preparing daily reports. n8n is one of the most popular tools for automating this without a development team, and it is the main platform in our No-Code Agentic AI Development programme.

Why are Indian businesses adopting AI automation now?

Because the tools are finally usable by non-developers, and the workforce is ready. The Microsoft and LinkedIn Work Trend Index 2024 found that 92% of Indian knowledge workers already used AI at work, well above the global figure. The government is investing too: the Union Cabinet approval of the IndiaAI Mission committed ₹10,371.92 crore over five years to compute, datasets and skilling. What most companies lack is people who can turn AI into reliable workflows, which is exactly what n8n is for.

Knowledge workers using AI at work, 2024
India92%
Global75%

Source: Microsoft and LinkedIn Work Trend Index 2024

What are the core ideas in n8n?

ConceptWhat it meansExample
WorkflowA sequence of connected stepsNew lead to sheet to email
Trigger nodeStarts the workflowWebhook, form submission, schedule, new email
Action nodeDoes something in an appAdd a row in Google Sheets, send an email
CredentialsSecure logins for apps and APIsGoogle account, OpenAI or Anthropic API key
Items and JSONThe data passed between nodesName, phone, message from a form
ExpressionsUse data from earlier stepsInsert the lead’s name into an email
AI nodesCall a language model or an AI AgentClassify a lead as hot, warm or cold

The official n8n documentation has a quickstart and reference for every node. n8n can be used as a hosted cloud service or self-hosted on your own server; our self-hosting guide covers the second option.

What will we build?

A lead workflow for a coaching institute in Bhopal: when someone fills the enquiry form, n8n saves the lead to Google Sheets, asks an AI model to classify the enquiry by course and urgency, emails the right counsellor, and sends the student an acknowledgement.

Step by step: building the workflow

1Trigger: add a Webhook node (or the n8n Form Trigger) and copy its test URL. Point your website form to it, or use the n8n form for testing.
2Clean the data: add an Edit Fields (Set) node to keep only name, phone, email, course interest and message, and trim spaces.
3Save: add a Google Sheets node, connect your Google account in credentials, choose "Append row" and map the fields.
4Classify with AI: add an AI step (for example a Basic LLM Chain or the model’s own node) with a prompt: "Classify this enquiry. Return JSON with course (one of: Foundation, Inter, Final, Other) and urgency (high, medium, low). Message: {{ $json.message }}".
5Route: add a Switch node on the course field so each course goes to its counsellor.
6Notify: add Gmail or SMTP nodes to email the counsellor with the lead and the AI’s classification.
7Acknowledge: send the student a short confirmation email or WhatsApp template (see our WhatsApp automation guide).
8Test and activate: run with sample data, check each node’s output, then switch the workflow to active and use the production webhook URL.

Ask the model for structured output (JSON with fixed allowed values) rather than free text. It makes the next node reliable. Always add a fallback route for when the AI returns something unexpected.

Which AI models can n8n use?

n8n has nodes for major model providers, including OpenAI, Anthropic Claude, Google Gemini and others, and can call local models through tools such as Ollama. For simple classification a small, fast, low-cost model is enough; use larger models for long documents or complex reasoning. You pay the model provider separately for API usage.

How do you make a workflow reliable?

—Error workflow: set an error workflow that emails or messages you when any execution fails.
—Retries: enable retry on nodes that call external APIs.
—Validation: check that phone numbers and emails look valid before using them.
—Logging: keep execution history and a log sheet of what the AI decided.
—Human check: for anything customer-facing or financial, send the AI’s decision for approval at first.

What does this workflow save?

Illustration: weekly minutes spent on lead handling, before and after automation (sample institute, 150 leads a week)
Before: manual copy, sort and emailabout 600 minutes
After: review exceptions onlyabout 90 minutes

Source: Careers Ninza classroom estimate for a sample workflow; actual savings vary.

The bigger gain is often speed: leads reach the right counsellor in seconds, not hours, and fast follow-up converts better.

Which mistakes do beginners make?

—Building a huge workflow at once instead of testing step by step.
—Hard-coding API keys in nodes instead of using credentials.
—Trusting AI output without validating its format.
—No error notifications, so failures go unnoticed for days.
—Sending customer data to AI models without considering privacy and India’s DPDP Act obligations.

What are the limits of no-code automation?

n8n handles most business workflows, but very high volume, complex custom logic or strict latency needs may still require developers. It also does not fix a broken process: automate a process that already works manually, then improve it. And someone must own and maintain each workflow, because apps change their APIs and credentials expire.

What should you automate after your first workflow?

Once the lead workflow runs, most businesses find their next automations in the same places. Ten beginner-friendly workflows our students build in the first month:

1Daily sales summary from Google Sheets or the CRM sent to the owner on WhatsApp or email at 8 pm.
2Invoice reminder emails for unpaid invoices older than 7, 15 and 30 days.
3New Google review alert with an AI-drafted reply for approval.
4Meta lead ads into the CRM with instant acknowledgement to the lead.
5Weekly social media post calendar drafted by AI from a list of topics.
6Job application inbox sorted by role, with AI summaries of each CV.
7Website uptime check that alerts you if the site is down.
8Expense receipts from email parsed into a spreadsheet.
9Event registration confirmations and reminders.
10Customer feedback form answers summarised every Friday.

Each is small, saves real time and teaches a new pattern: schedules, loops, parsing, approvals and notifications. After ten of these, building larger AI agents feels natural.

How do expressions work in n8n?

Expressions let a node use data from earlier steps. Inside a field you write {{ $json.name }} to insert the current item’s name, or {{ $('Webhook').item.json.phone }} to read from a specific earlier node. Simple JavaScript works inside expressions, so {{ $json.phone.replace(/\s/g, "") }} removes spaces from a phone number. Most beginners only need these patterns for months.

How do you keep workflows organised as they grow?

—Name every node by what it does ("Append lead to sheet"), not the default name.
—Add sticky notes explaining tricky parts.
—Split large workflows into sub-workflows called with the Execute Workflow node.
—Use tags for client, department or status.
—Export important workflows as JSON backups regularly.

Our No-Code Agentic AI Development batches run live online, so the same class reaches learners and business owners in metros such as Kolkata, Mumbai, Delhi NCR, Bengaluru and Hyderabad, growing cities such as Surat, Jaipur, Indore, Lucknow and Coimbatore, and smaller industrial towns such as Siliguri, Durgapur, Tiruppur, Rajkot and Guwahati, at the same fee. Each city page explains how local businesses use AI automation, for example in Kolkata, Surat, Tiruppur.

Learn this live: No-Code Agentic AI Development

Build real n8n and AI agent workflows for a business process, with guardrails, testing and deployment. 40 live hours, ₹34,999 paid in full or ₹40,000 as No-Cost EMI of ₹20,000 × 2.

LONG-TERM PROGRAM · LIVE ONLINE
No-Code Agentic AI Development

Ship AI agents that do real work — without writing production code.

₹34,999 paid in full · EMI ₹20,000 × 240 hoursLive, mentor-ledCertificate on completion

Frequently asked questions

What is n8n used for?+

n8n is a workflow automation tool that connects apps, APIs and AI models. Businesses use it to automate lead handling, notifications, reports, data sync, document processing, customer support and AI agent workflows without writing much code.

Is n8n free?+

n8n can be self-hosted for free under its Sustainable Use License for internal business use, with paid cloud and enterprise plans available. AI model usage is billed separately by the model provider.

Do I need coding to use n8n?+

No for most workflows. n8n is visual, and expressions are simple. Basic understanding of data in JSON helps, and a Code node is available for occasional custom logic.

Can n8n use ChatGPT or Claude?+

Yes. n8n has nodes for OpenAI, Anthropic Claude, Google Gemini and other providers, plus an AI Agent node that can use tools. You connect your own API key in credentials.

How long does it take to learn n8n?+

Most people build simple workflows within a few days. Building reliable AI agents with error handling, guardrails and deployment takes structured practice over several weeks.

Where can I learn n8n and AI automation in India?+

Careers Ninza No-Code Agentic AI Development is a 40-hour live programme covering n8n in depth, Make, integrations, RAG, agents, guardrails and deployment. Fee ₹34,999 paid in full, or ₹40,000 as No-Cost EMI of ₹20,000 × 2.

Related reading

AI & AUTOMATION Rolling Out Claude Across an Indian Company: Pilots, Governance, Training and ROI Buying licences is the easy part of an AI rollout. This guide covers how Indian companies should pilot Claude, set governance and data rules, train people by role, build shared Skills and connectors, control cost and measure real value. 6 min read AI & AUTOMATION AI Automation for HR and Recruitment: Screening, Onboarding and Employee Questions HR teams spend hours on repetitive tasks: sorting CVs, scheduling interviews, onboarding paperwork and answering the same policy questions. This guide shows practical AI automations for Indian HR teams, with fairness and privacy safeguards. 6 min read AI & AUTOMATION Claude for Small Business Owners in India: 20 Practical Uses That Save Time and Money Owners of Indian MSMEs wear every hat: sales, accounts, HR, marketing and operations. This guide lists 20 practical ways Claude helps, from quotations and GST-ready summaries to job descriptions and customer replies, with safety rules and a plan to start. 6 min read

We teach this, live

Every article here comes from something we teach. Sit in on a free masterclass and judge the mentors yourself.