n8n — Workflow Automation
Connect your tools and automate repetitive tasks with a visual drag-and-drop builder.
What is n8n?
n8n is an open-source workflow automation tool that lets you connect apps and automate processes visually — without writing code. Think of it as a self-hosted alternative to Zapier or Make (formerly Integromat), but with no per-task fees and full data control.
In ServicePlus, n8n runs at ai.yourdomain.com. When you add n8n via sp add n8n, ServicePlus automatically provisions a PostgreSQL 16 database with the pgvector extension enabled — giving n8n a vector database for AI agent workflows, semantic search, and RAG pipelines. Cal.com (if added) also uses this same PostgreSQL instance.
Key capabilities
- 400+ integrations — WhatsApp, Gmail, Notion, Airtable, Slack, HubSpot, WooCommerce, and more
- Trigger types — webhooks, schedules (cron), email, form submissions, and database events
- Data transformation — filter, merge, split, format, and enrich data in any workflow
- AI agents — build autonomous agents using OpenAI, Claude, or Mistral with tool use
- Mautic integration — trigger Mautic campaigns, create contacts, update segments from n8n
- HTTP requests — connect to any API without a built-in integration
Moroccan business examples
- WhatsApp lead capture — receive a WhatsApp message → extract contact info → create contact in Mautic → send a welcome email
- Instagram DM automation — new Instagram follower → send DM with a lead magnet link → add to Mautic nurture sequence
- Appointment confirmation — Cal.com booking → send SMS reminder → create Mautic task for follow-up
- Invoice automation — Mautic deal closed → generate invoice → send PDF by email → log in PocketBase
- AI lead qualification — form submission → analyze with Claude API → score and tag in Mautic → route to the right sequence
Why n8n instead of Zapier or Make?
| Feature | n8n (ServicePlus) | Zapier / Make |
|---|---|---|
| Cost | Included in 149 MAD/month | 80–400 MAD/month + per-task fees |
| Tasks per month | Unlimited | Capped by plan |
| Data ownership | Your server | Vendor's servers |
| AI agent support | Built-in (pgvector) | Limited / extra cost |
| Custom integrations | Any HTTP API | Limited on basic plans |
Adding n8n
From your server terminal:
sp add n8n
n8n will be available at https://ai.yourdomain.com after the command completes.