Back to blog

n8n Workflow Examples for Small Business: 8 Automations to Build

IM Host EditorialOctober 10, 20269 min read
n8n Workflow Examples for Small Business: 8 Automations to Build

n8n pays off in a small business when it removes a manual step someone repeats every day: copying form leads into a sheet, telling sales an order arrived, reminding a customer who left a cart. Below are eight workflows an Egyptian SMB can build in an afternoon each, with the trigger, the nodes and the mistakes that break them in production, then how much server they need and when queue mode matters.

The examples assume a self-hosted instance with a public HTTPS address that your website, store and payment gateway can reach. Still deciding where to run it? Start with our comparison of n8n Cloud vs self-hosted n8n and what each really costs.

One habit before you start: in each workflow's settings, attach an error workflow that begins with the Error Trigger node and sends you the failed workflow and node on Telegram. Silent failures are how automations quietly lose leads.

1. Website lead to Google Sheets plus a sales alert

  • Trigger: Webhook node (POST) that your form posts to, or n8n's own Form Trigger if you have no form yet.

  • Nodes: Code (clean the phone number) → Google Sheets "Append or Update Row", matched on phone or email so a repeat submission updates the same row → IF (service or budget filter) → Telegram "Send Message" to the sales group. A CRM node or HTTP Request can replace Sheets.

  • Gotchas: every Webhook node has a test URL and a production URL, and the production URL only answers while the workflow is active. Drop submissions that fill a hidden honeypot field. Normalize Egyptian mobile numbers so 010…, +2010… and 002010… end up in one format:

// n8n Code node, mode: Run Once for Each Item
const raw = String($json.phone || '').replace(/\D/g, '');
let phone = raw;
if (raw.startsWith('0020')) phone = raw.slice(2);
else if (raw.startsWith('01') && raw.length === 11) phone = '20' + raw.slice(1);
return { json: { ...$json, phone } };

For alerts on WhatsApp, use the official WhatsApp Business Platform (Cloud API) through n8n's WhatsApp Business Cloud node. It needs a Meta business account, a number registered on the API, and approved templates for messages you start outside the 24-hour window after the customer's last message. Unofficial "WhatsApp Web" libraries break WhatsApp's terms and get numbers banned.

2. WooCommerce order to receipt email and stock sheet

  • Trigger: WooCommerce Trigger node on order.updated, not only order.created. Card orders are created as "pending" and become "processing" after payment.

  • Nodes: IF status equals processing → Remove Duplicates (items processed in previous executions, keyed on order ID, since one order updates several times) → Split Out on line_items → Google Sheets: look up each SKU and subtract the quantity → Aggregate → Send Email (SMTP) with a bilingual receipt.

  • Gotchas: this email is a customer receipt. Your official tax invoice or e-receipt still comes from your accounting system. WooCommerce disables a webhook after repeated failed deliveries, so after any n8n downtime check WooCommerce → Settings → Advanced → Webhooks and re-enable it if needed. A sheet handles stock for a few hundred SKUs at most.

If the store is outgrowing that stage, our guide to WooCommerce hosting for small, medium and large stores in Egypt covers what changes on the store side.

3. A daily report the manager actually reads

  • Trigger: Schedule Trigger, every day at 09:00.

  • Nodes: WooCommerce "Get Many" orders with "After" set to {{ $now.minus({ days: 1 }).startOf('day').toISO() }} and "Return All" on (the API paginates) → Summarize (count orders, sum totals) → Google Sheets read for yesterday's leads → Merge → one Telegram or email message.

  • Gotchas: set the instance timezone to Africa/Cairo by name, not a fixed UTC+2, since Egypt brought back daylight saving time in 2023. Report five numbers: orders, revenue, new leads, leads not contacted, refunds. Compare with the same weekday last week, not with yesterday, because Friday and Saturday traffic in Egypt looks nothing like Monday.

4. Abandoned cart reminder

  • Data source first: WooCommerce does not send abandoned-cart events by itself. Use a cart-recovery plugin that fires a webhook, or capture email and phone at the first checkout step into a table with a timestamp.

  • Trigger: Schedule Trigger every 30 minutes.

  • Nodes: Postgres or Sheets: carts older than one hour with reminded = false → WooCommerce "Get Many" orders for that email since the cart time → IF no order → Send Email with a link back to the cart → update the row to reminded = true.

  • Gotchas: one reminder, perhaps a second after 24 hours, never more. Message only customers who agreed to be contacted. A WhatsApp reminder is a business-initiated message, so it needs an approved template, and Meta charges for template messages; check their current pricing before you scale it.

5. AI summary of support emails

  • Trigger: Email Trigger (IMAP) on the support mailbox.

  • Nodes: Code (strip quoted history and signatures, cap the length) → Basic LLM Chain returning JSON with category, urgency, a two-line summary and a draft reply → Structured Output Parser → IF urgent → Telegram to whoever is on duty → log to a sheet.

  • Gotchas: calls run on your own API key and cost money per token. Produce drafts; do not auto-send AI replies at the start. Mask card numbers and national ID numbers before sending text to any external model.

When this grows memory, tools and long tasks, it usually moves into its own service; see our guide on deploying an AI agent 24/7 with Docker .

6. Social post approval before publishing

  • Trigger: Schedule Trigger every hour, reading a "content calendar" sheet with date, text, image URL and status.

  • Nodes: Filter (due now and status is ready) → Telegram "Send and Wait for Response" with approve and reject buttons to the manager → IF approved → Facebook Graph API node posting to the Page → write back published and the post ID. Rejected posts go back to needs-edit with the comment.

  • Gotchas: short-lived Page tokens expire within hours; create a long-lived one through a system user in Meta Business settings. Give the wait step a 24-hour limit so stale approvals do not pile up.

7. Weekly export of workflows and business data

  • Trigger: Schedule Trigger, Sunday 03:00.

  • Nodes: n8n node "Get Many Workflows" (uses an n8n API key you create in settings) → Convert to File (JSON) → upload to Google Drive or S3-compatible storage in a dated folder. A second branch exports key sheets or your customer list as CSV.

  • Gotchas: workflow exports do not contain credential secrets. Credentials are encrypted with the instance encryption key (N8N_ENCRYPTION_KEY). Store a copy of that key somewhere safe: a database restore without it gives you credentials nobody can decrypt. This export is an extra layer on top of server backups, not a replacement.

8. Payment gateway webhook: mark paid, then notify

  • Trigger: Webhook node (POST) with the raw body option enabled, because signature checks must run on the exact bytes the gateway sent.

  • Nodes: Crypto node (HMAC-SHA256 of the body with your webhook secret) → IF it matches the signature header → Remove Duplicates on the event ID → update the order status in WooCommerce or your database → Telegram to finance → Respond to Webhook with 200.

  • Gotchas: gateways retry on timeouts and non-2xx responses, so the same event can arrive twice. Answer quickly. Never mark an order paid because the customer landed on the success page; only the signed webhook counts. Keep the secret in n8n credentials, not typed into a Code node.

How much server these workflows need

n8n with PostgreSQL idles at a few hundred MB of RAM. As a rule of thumb, these eight workflows at small-business volume (hundreds to a few thousand executions a day) run comfortably on 1 to 2 vCPU and 2 GB of RAM. Plan for 4 GB once you process files, large sheets or many parallel AI calls, because n8n holds an execution's items in memory.

The hidden consumer is execution history: every run stores its data in the database. Keep pruning on and stop saving successful runs once a workflow is stable:

GENERIC_TIMEZONE=Africa/Cairo
TZ=Africa/Cairo
EXECUTIONS_DATA_PRUNE=true
EXECUTIONS_DATA_MAX_AGE=168
EXECUTIONS_DATA_SAVE_ON_SUCCESS=none

168 hours keeps a week of history; failed runs are still saved for debugging.

When queue mode matters

By default, one n8n process receives webhooks and runs every execution, so a heavy workflow competes with incoming requests, and a campaign bringing 500 submissions in ten minutes can time out responses. Queue mode splits the work: the main instance puts jobs in Redis and separate workers execute them.

EXECUTIONS_MODE=queue
QUEUE_BULL_REDIS_HOST=redis
QUEUE_BULL_REDIS_PORT=6379

# on each worker process (same database and N8N_ENCRYPTION_KEY as the main instance)
n8n worker --concurrency=5

You need it when webhook responses slow while a big workflow runs or one core sits at 100%. At small volume, regular mode is enough.

Where to run it

To set it up yourself on a plain VPS, follow our production guide to self-hosting n8n on a VPS. To skip installation, IM HOST n8n hosting gives you your own NVMe KVM server with the latest n8n pre-installed on PostgreSQL behind an HTTPS address, free SSL with a custom domain, unlimited workflows and executions with no per-execution pricing, free daily backups and full root access. Queue mode with Redis workers comes on Pro plans and above.

Frequently asked questions

Is n8n free for a small business?

n8n is fair-code under its Sustainable Use License. Self-hosting it for your own internal business is allowed and free; you pay for the server and any paid APIs. Offering n8n itself to clients as a service has restrictions, so read the license for your case.

Can n8n send WhatsApp messages to customers?

Yes, through the official WhatsApp Business Cloud API and n8n's WhatsApp Business Cloud node. You can reply freely within 24 hours of the customer's last message; anything you start yourself needs an approved template.

What happens to my workflows if the server restarts?

Active workflows start listening again when n8n comes back. Schedules missed during downtime are not replayed, and webhooks sent meanwhile are lost unless the sender retries.

If you want these automations running on a server you control without doing the installation, look at n8n hosting plans from IM HOST, starting from $7.99/mo. n8n arrives ready with PostgreSQL and HTTPS, and our engineers are available 24/7 if a workflow misbehaves.

More from our blog

Discover more practical guides and product insights from the IM Host team.

View all articles