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?

Featuren8n (ServicePlus)Zapier / Make
CostIncluded in 149 MAD/month80–400 MAD/month + per-task fees
Tasks per monthUnlimitedCapped by plan
Data ownershipYour serverVendor's servers
AI agent supportBuilt-in (pgvector)Limited / extra cost
Custom integrationsAny HTTP APILimited on basic plans
n8n requires at least 512 MB additional RAM beyond your base Mautic setup. See the VPS Guide to make sure your server has enough memory.

Adding n8n

From your server terminal:

sp add n8n

n8n will be available at https://ai.yourdomain.com after the command completes.