In-house build

/ Case study / n8n workflow templates

Three n8n workflow templates for leads, invoices and email

Safock built three free n8n workflow templates for jobs small teams repeat every day: capturing website leads, chasing overdue invoices and sorting incoming email with AI. Each imports as a single JSON file, lists its setup steps in a note on the canvas, and runs on n8n Cloud or a self-hosted instance with no paid features.

Project
n8n workflow templates
Industry
Workflow automation for small businesses
Stack
n8nGoogle SheetsGmailWhatsApp Cloud APIAnthropic APISlack

What it includes

  • Webhook lead capture
  • Invoice reminder automation
  • AI email triage
  • WhatsApp Cloud API alerts
  • Input validation and fallbacks
  • Self-hosted n8n ready
safock.com
The three free n8n workflow templates on safock.com, each card listing its nodes, the accounts it needs and a download button

/ At a glance

  • 01Three importable workflows
  • 0217Working nodes across the threePlus one setup note per workflow
  • 03Six tools connectedSheets, Gmail, WhatsApp, Anthropic, Slack, webhooks
  • 04Zero paid n8n features required
On this page
  1. 01Three jobs small teams still do by hand
  2. 02One template per job, ready to adapt
  3. 03Inside the lead template
  4. 04Inside the invoice template
  5. 05Inside the email triage template
  6. 06What changes for a production workflow
  7. 07Free to download and adapt

01The challenge

Three jobs small teams still do by hand

Website enquiries get copied into a spreadsheet and forwarded by hand. Overdue invoices wait until someone remembers to chase them. Shared inboxes mix sales leads with support and billing, so the leads that matter sit unread.

Each is a short, well-defined process with a clear start and end. That makes it a good first automation for a small team, and a fair way to show, in files anyone can open, how we build workflows for clients.

02The solution

One template per job, ready to adapt

Each template is a complete workflow. A note on the canvas lists the accounts to connect and the values to replace, so nobody has to read a separate guide. They use standard nodes and the HTTP Request node rather than paid-plan features, which keeps them working on self-hosted n8n.

  1. 01

    Website lead to Google Sheets and WhatsAppseven nodes that clean the form, reject bad emails, log the lead and alert sales.

  2. 02

    Overdue invoice remindersfive nodes that run every weekday at 9:00 and chase each unpaid invoice at most once a week.

  3. 03

    AI email triage with Claudefive nodes that label each new email, summarise it in one line and post sales or urgent mail to Slack.

03How it works

Inside the lead template

A webhook takes a POST from your website form with name, email, company and message. The next step trims every field, lowercases the email and adds the source and the time it arrived, so the sheet stays tidy without anyone fixing it later.

An email check splits the flow in two. A valid lead is added to a Leads tab, your sales number gets a WhatsApp message through the Cloud API, and the form gets an ok reply. An invalid email gets a 422 reply with a clear error, so the website can ask the visitor to fix it instead of losing the lead.

  1. 01

    WhatsApp only delivers free-form text inside the 24-hour window after a customer last wrote. The setup note says so, and explains how to switch to an approved utility template for alerts outside it.

04How it works

Inside the invoice template

Every weekday at 9:00 the workflow reads an Invoices tab with eight named columns, from invoice number to the date of the last reminder. A short code step decides who gets an email, Gmail sends a polite reminder you can edit, and the reminder date is written back to the sheet.

  1. 01

    Skips anything marked paid and invoices that are not yet due.

  2. 02

    Skips rows with no client email or a due date it cannot read.

  3. 03

    Skips anyone reminded in the last seven days, so no client is chased twice in a week.

05How it works

Inside the email triage template

Gmail checks the inbox every minute. Each new email goes to Claude Haiku through the Anthropic Messages API with a 300-token limit, which keeps each call small and cheap. The model replies with a category (sales, support, billing or other), an urgent flag and a one-line summary.

A code step reads that reply defensively. If the answer is malformed or names a category that does not exist, the email falls back to other instead of stopping the workflow. Sales emails and anything urgent are posted to a Slack channel.

  1. 01

    Only the sender, subject and a short preview are sent to the model, never the full email or attachments.

  2. 02

    Any chat model API workschange the URL and request body in one node.

06How it works

What changes for a production workflow

The templates are starting points. For client work we add error alerts so a failure reaches a person, retries for temporary API errors, run logs, and approval steps before anything risky. We replace spreadsheets with the client's CRM or ERP where that fits, and host n8n where the client's data rules require.

07The outcome

Free to download and adapt

All three templates are free to download from safock.com and import into n8n as single files. They show how we build workflows for clients: small steps you can test, setup written where you need it, and safe behaviour when an input is wrong.

/ FAQ

About this project

Are the n8n templates free to use commercially?

Yes. You can import, change and run the templates in your own business at no cost. They run in your n8n instance with your own credentials, and no data is sent to Safock. If you want help adapting one, book a call and we will scope the changes.

Do the templates work on self-hosted n8n?

Yes. They use standard nodes and the HTTP Request node rather than paid-plan features, so they import into n8n Cloud or a self-hosted instance. You connect your own Google, WhatsApp, Anthropic and Slack accounts.

Can I use a different AI model for email triage?

Yes. The model is called from one HTTP Request node, so you can point it at another chat model API by changing the URL and the request body. The step that reads the answer stays the same as long as the model returns the same JSON fields.

What does Safock add when it builds a workflow for a client?

Error alerts so failures reach a person, retries for temporary API errors, run logs, approval steps before risky actions, and connections to the client's real systems instead of spreadsheets. We also document each workflow and train the team that will own it.

/ Next step

Want one of these running in your business, properly monitored?

Tell us what you are working on. You will speak with a founder, and you will leave the call with a clear next step, even if that step is not us.

Prefer writing? Send us a brief and a founder will reply.

WhatsApp usBook a call