n8n Automation Tutorial: Build Your First Workflow in 30 Minutes
Step-by-step n8n tutorial for beginners. Learn to automate WhatsApp, email, CRM, and more with open-source workflow automation.
What Is n8n and Why Should You Care?
If you've ever wished you could connect two apps together without writing code — like sending a WhatsApp message every time a new row is added to Google Sheets, or automatically adding new leads from a form to your CRM — n8n is the tool that makes it possible.
n8n (pronounced "n-eight-n") is an open-source workflow automation platform. Think of it as a visual pipeline builder where you drag and drop nodes, connect them together, and let data flow from one app to another automatically. It's like Zapier or Make, but you host it yourself, own your data, and pay nothing for the core platform.
For Nigerian businesses, n8n is particularly powerful because it can run on affordable cloud servers (like DigitalOcean or Hetzner for ₦15,000–₦50,000/month) and connect to local services like WhatsApp Business API, Paystack, and Flutterwave. You're not locked into expensive SaaS pricing tiers — you control the infrastructure and the costs.
This n8n automation tutorial will walk you through installation, your first workflow, and practical use cases you can implement today. If you'd rather have someone build it for you, our agentic AI automation services handle the full setup.
Installing n8n: The Quick Setup
You can run n8n on your local machine, a cloud server, or via Docker. Here's the fastest path:
Option 1: Docker (Recommended for Production)
Docker is the cleanest way to run n8n in production. With a single command, you get a fully isolated instance that's easy to upgrade and back up:
docker run -it --rm \
--name n8n \
-p 5678:5678 \
-v ~/.n8n:/home/node/.n8n \
n8nio/n8n
This starts n8n on port 5678. Open http://localhost:5678 in your browser and you're in.
Option 2: npm (Quick Local Setup)
npm install n8n -g
n8n start
This installs n8n globally and starts it on port 5678. Good for testing and development, not ideal for production workloads.
Building Your First n8n Workflow: A Practical Example
Let's build something useful immediately. We'll create a workflow that watches a Google Sheet for new rows and sends a WhatsApp notification when someone submits a form.
Step 1: Create a New Workflow
Open n8n and click "New Workflow." You'll see an empty canvas with a search bar. This is where you'll build your automation pipeline.
Step 2: Add a Google Sheets Trigger
Search for "Google Sheets" and select it as your trigger node. Choose "On Row Added" as the trigger event. Connect your Google account, select your spreadsheet, and specify the sheet name. This node now polls your spreadsheet and fires every time a new row appears.
Step 3: Add a Function Node
You might want to transform the data before sending it. Add a Function node and write simple JavaScript to format the message. For example, extracting the name, email, and phone number from the row and formatting them into a readable message:
return [{
json: {
message: `New lead: ${$input.first().json.Name}
Email: ${$input.first().json.Email}
Phone: ${$input.first().json.Phone}`
}
}];
Step 4: Add a WhatsApp or Telegram Node
Search for "WhatsApp" or "Telegram" and add it as your action node. For Telegram, you'll need a bot token (create one via @BotFather). For WhatsApp, you'll need the WhatsApp Business API integration. Map the formatted message to the text field, and connect it to the Function node.
Step 5: Test and Activate
Click "Execute Workflow" to test it. Add a row to your Google Sheet and watch the notification arrive. Once it works, toggle the workflow to "Active." It now runs automatically in the background — every new row triggers a notification.
Congratulations — you've just built your first automation. This pattern (trigger → transform → action) is the foundation of every n8n workflow.
5 n8n Workflows Every Business Should Automate
Now that you know the basics, here are practical workflows that deliver immediate value:
1. Lead Capture to CRM Pipeline
When a form is submitted on your website (Typeform, Google Forms, or a custom form), n8n creates a contact in your CRM (HubSpot, Salesforce, or a Google Sheet), sends a welcome email, and notifies your sales team on WhatsApp. No lead falls through the cracks.
2. Order Confirmation and Follow-Up
When a Paystack or Flutterwave payment succeeds, n8n sends a WhatsApp confirmation to the customer, updates your order database, and sends a summary to your operations team. Payment → confirmation → fulfillment in seconds.
3. Social Media Content Scheduler
Connect a Google Sheet (your content calendar) to n8n. When a row with today's date appears, n8n posts to your social platforms via their APIs or scheduling tools. Your content goes out on time, every time, without manual posting.
4. Customer Feedback Aggregator
When a customer fills out a feedback form, n8n categorizes the response (positive, negative, neutral), logs it in a database, sends a thank-you message, and alerts your team if the feedback is negative. You catch problems before they become reviews.
5. Invoice Generator and Reminder
When a project milestone is reached in your project management tool, n8n generates an invoice (via Google Docs or a PDF service), emails it to the client, and schedules a WhatsApp reminder if payment isn't received within 7 days. Cash flow stays healthy.
n8n vs. Other Automation Tools
n8n vs. Zapier: Zapier charges per task (₦2,500–₦25,000+/month for meaningful volume). n8n is free and self-hosted. You pay only for your server. For businesses processing 10,000+ tasks monthly, n8n saves millions of naira annually.
n8n vs. Make (formerly Integromat): Make is more visual than Zapier but still charges per operation. n8n gives you the same visual builder with unlimited operations. Make also limits complex branching; n8n handles it natively.
n8n vs. custom code: Custom Python or Node.js scripts give you full control but require developer time for every change. n8n lets non-technical team members modify workflows visually. The sweet spot: use n8n for standard automations, custom code for unique logic.
Tips for Getting the Most from n8n
Start small, scale fast. Don't try to automate everything at once. Pick one painful manual process, build the workflow, prove the value, then expand. Most businesses start with lead capture or order processing.
Use error handling. n8n has built-in error workflows that catch failures and alert you. Always set up an error notification — a failed automation that nobody notices is worse than no automation at all.
Document your workflows. Add descriptions to each node. When you revisit a workflow six months from now, you'll thank yourself. Keep a simple spreadsheet listing all active workflows, their purpose, and who to contact if they break.
Leverage the community. n8n has a vibrant community with 400+ workflow templates. Before building from scratch, check if someone has already solved your problem. You'll often find a ready-made workflow you can customize in minutes.
Ready to Automate Your Business?
This n8n automation tutorial gave you the foundation. But building production-grade workflows that connect your entire business stack — WhatsApp, CRM, payment gateway, inventory, accounting — requires experience with integrations, error handling, and optimization.
At MetroHyp Digital, we build and deploy n8n workflows for businesses across Nigeria. From simple lead capture automations to complex multi-step processes, we handle the technical setup so you can focus on running your business.
We also provide ongoing automation support — monitoring, optimizing, and expanding your workflows as your business grows. Ready to save 20+ hours per week? Let's build your automations.
Automate Your Business with n8n
Tell us what processes you want to automate, and we'll build production-grade n8n workflows that save you hours every week.
Chat on WhatsApp — Free Consultation