10 ready-to-use n8n automation workflows for Moroccan businesses. Lead routing, WhatsApp notifications, invoice generation, review requests — with setup instructions.

Category: AI Automation / Tutorials
Read time: 14 min
Target keyword: n8n automation Morocco

Introduction

n8n is the most powerful automation tool most Moroccan business owners have never heard of. Think Zapier — but self-hosted, significantly cheaper, and with the ability to run custom code inside your workflows.

With n8n, you connect apps and services visually. No coding required for most workflows. Each “node” does one thing — send a message, read a spreadsheet, call an API, wait for a trigger — and you chain them together into automated processes that run 24/7.

This article walks through 10 specific workflows built for Moroccan businesses, with real examples and what each one saves you.


What n8n Is and Why It Beats Alternatives

n8n is open-source and self-hosted. You install it on a VPS (costs 100–150 MAD/month) and you own the system entirely. Compare:

  • Zapier: $49–$69/month for 2,000 tasks, no custom code, US-based servers
  • Make.com: $9/month to start, cloud-based, less flexible
  • n8n self-hosted: ~120 MAD/month VPS, unlimited executions, full code access, your data stays on your server

For Moroccan businesses handling customer data, keeping it on your own server matters.


Workflow 1: WhatsApp Lead Capture and CRM Logging

What it does: Every time someone messages your WhatsApp Business number, n8n captures their name, phone, message, and timestamp, then adds a row to your Google Sheet or Airtable and sends you a Telegram notification with a summary.

Nodes: WhatsApp trigger → Google Sheets (append row) → Telegram (send message)

Time saved: 5 minutes per lead × 30 leads/month = 2.5 hours/month

Why it matters: No lead ever falls through the cracks. Even if you’re in a meeting, driving, or asleep, every inquiry is logged and you’re notified instantly.


Workflow 2: Automatic Lead Qualification and Routing

What it does: Incoming WhatsApp message triggers the flow. n8n checks keywords in the message (budget amount, city name, urgency words). Based on the analysis, it routes the lead to the right team member via Telegram or email, tagged with priority level.

Nodes: WhatsApp trigger → IF node (check keywords) → Switch (route by category) → Telegram (notify agent A or B)

Example: A real estate agency sets keywords — if message contains “500k” or “villa” or “urgent,” it goes directly to the senior agent’s phone with HIGH PRIORITY tag. Budget inquiries under 300k go to the junior agent.

Time saved: 10 minutes per qualified lead. Agents stop sorting their own messages.


Workflow 3: Appointment Reminder System

What it does: Every morning at 8am, n8n reads your Google Calendar (or Calendly, or a Google Sheet with appointments), finds all appointments for tomorrow, and sends a WhatsApp message to each client with the appointment time and address.

Nodes: Schedule trigger (8am daily) → Google Calendar (get tomorrow’s events) → Loop (for each event) → WhatsApp (send reminder to attendee phone)

Time saved: Eliminates no-shows (typically 20–30% of appointments for clinics). A clinic with 40 appointments/week at 200 MAD/appointment saves 8,000–10,000 MAD/month in recovered revenue from no-shows alone.


Workflow 4: Review Request After Appointment or Purchase

What it does: 3 hours after a calendar event ends (or a purchase is marked complete in your sheet), n8n sends a personalized WhatsApp message to the client with your Google review link.

Nodes: Schedule trigger (every hour) → Google Calendar (check events ending 3 hours ago) → Google Sheets (verify not already messaged) → WhatsApp (send review request) → Google Sheets (mark as messaged)

The “verify not already messaged” check prevents duplicate messages — critical for customer experience.

Impact: Businesses using this workflow consistently generate 3–5x more reviews per month than those asking manually.


Workflow 5: Instagram DM to WhatsApp Handoff

What it does: When someone comments on your Instagram post with a trigger word (“prix,” “info,” “intéressé,” “كم”), n8n automatically replies to their comment and sends them a DM with your WhatsApp link and a brief intro message.

Nodes: Instagram trigger (new comment) → IF (comment contains keywords) → Instagram (reply to comment) → Instagram (send DM)

Why it matters: Instagram DMs convert poorly for complex sales. Getting them to WhatsApp where you can automate qualification and follow-up is far more effective. This workflow moves people from social media to your actual sales system automatically.


Workflow 6: Automatic Invoice Generation

What it does: When you mark a row in Google Sheets as “Confirmed” or “Sold,” n8n pulls the client name, service, amount, and date, generates a PDF invoice using a template, and sends it to the client’s email automatically.

Nodes: Google Sheets trigger (row updated) → IF (status = “Confirmed”) → HTTP Request (generate PDF via invoice API) → Gmail (send PDF attachment)

Tools for PDF generation: Invoice Ninja API (free self-hosted), PDFMonkey, or a custom HTML template converted to PDF via a node.

Time saved: 15–20 minutes per invoice. At 30 invoices/month, that’s 7–10 hours/month of admin work eliminated.


Workflow 7: Social Media Content Publishing

What it does: You write your week’s posts in a Google Sheet (caption, hashtags, scheduled time, platform). n8n reads the sheet every hour, checks if any post’s scheduled time has passed, and publishes to Instagram, Facebook, or both automatically.

Nodes: Schedule trigger (hourly) → Google Sheets (get unpublished posts due now) → Switch (platform) → Instagram Graph API (publish) or Facebook API (publish) → Google Sheets (mark as published)

Why this beats Buffer/Hootsuite: Free, unlimited posts, you control the data, and it integrates with your other n8n workflows (e.g., auto-reply to comments on newly published posts).


Workflow 8: WhatsApp Broadcast on Customer Milestones

What it does: Every day, n8n checks your customer database for clients who joined exactly 30, 60, or 90 days ago, and sends them a personalized milestone message — check-in, upsell offer, or loyalty reward.

Nodes: Schedule trigger (daily 9am) → Google Sheets (get rows where join date = today minus 30/60/90 days) → Loop → WhatsApp (send personalized message)

Example for a gym:

  • Day 30: “مرحبا {{name}}! كمل شهر كامل — وهاذا هو الأصعب. إيمانك بنفسك هو إيماننا بك. 💪”
  • Day 60: “شهرين! جسمك بدا يتكيف وأنت تحس بالفرق. هل فكرت في إضافة كوتش شخصي لتسريع النتائج؟”
  • Day 90: “3 أشهر مع Jectar Gym — إنت من الناس اللي بيكملوا. عندنا هدية ليك: أسبوع مجاني لصديق تختاره.”

This builds loyalty and drives referrals with zero manual effort.


Workflow 9: Lead Follow-Up Sequence

What it does: When a new lead is added to your Google Sheet (from WhatsApp capture, web form, or manual entry), n8n triggers a 5-step follow-up sequence over 7 days — mix of WhatsApp messages and emails.

Schedule:

  • Immediately: WhatsApp welcome + intro to your services
  • Day 1: WhatsApp with a relevant case study or result
  • Day 3: Email with a detailed breakdown of what you offer
  • Day 5: WhatsApp with a specific offer or call to action
  • Day 7: Final WhatsApp — “Still interested? No pressure, just wanted to make sure you had what you needed.”

Nodes: Google Sheets trigger → Wait node (delay) → WhatsApp/Gmail → loop through sequence

Conversion rates for nurtured leads are typically 2–3x higher than one-time contact.


Workflow 10: Daily Business Summary Report

What it does: Every evening at 7pm, n8n generates a summary of the day — new leads received, appointments booked, messages sent, invoices created — and sends it to you via Telegram or WhatsApp.

Nodes: Schedule trigger (7pm) → Multiple Google Sheets reads → HTML template (build summary) → Telegram (send message)

Example report format:

📊 Daily Summary — Tuesday 22 MayNew leads: 7Qualified: 3 (hot), 2 (warm)Appointments booked: 5Invoices sent: 2 (total: 8,500 MAD)Reviews received: 1 (⭐⭐⭐⭐⭐)Pending follow-ups: 4

You spend 30 seconds knowing your business state instead of checking 5 different tools.


How to Set Up n8n: Quick Start

Install on VPS (15 minutes):

# On Ubuntu 22.04 VPSnpm install -g n8nn8n start

Or use Docker:

docker run -it --rm --name n8n -p 5678:5678 -v ~/.n8n:/home/node/.n8n n8nio/n8n

Access at http://your-server-ip:5678. Create your account. Start building.

Recommended VPS: Hostinger VPS (cheapest reliable option in Morocco), DigitalOcean, or Contabo. 2GB RAM is comfortable for most workflow loads.

First workflow to build: Start with Workflow 1 (lead capture to Google Sheets). It’s simple, immediately useful, and teaches you the basic n8n pattern that all other workflows follow.


Resources

  • n8n.io — official docs and community templates
  • community.n8n.io — search for existing workflow templates before building from scratch
  • YouTube: “n8n tutorial” — official channel has solid beginner videos

We build and deploy n8n automation systems for Moroccan businesses. From setup to custom workflow development, we handle the technical side. Message us: wa.me/212752138075