What can you use this flow for?
- Automatically welcome and follow up with qualified website enquiries for agencies, clinics or property sales.
- Keep a simple Sheets-based lead register and notify sales in Telegram.
What you need before starting
- A supported n8n server and backend form using a private webhook token.
- WhatsApp Business Cloud API, a connected phone number and approved templates/consent as required.
- Google Sheets service account, spreadsheet shared to it, and a Telegram bot.
How to set it up
- Request the licensed premium package from Jervis and import it to your own n8n.
- Connect Header Auth, Google Sheets, WhatsApp Cloud API and Telegram credentials.
- Configure spreadsheetId, templates, whatsappPhoneNumberId, chat IDs and followUpAfterHours.
- Send a consented test lead from your backend and verify the sheet, welcome message, sales alert and timed follow-up.
WhatsApp template approval, user opt-in and Meta policy compliance remain your responsibility. No subscription login substitutes for API credentials.
The package includes detailed installation, configuration and troubleshooting guides.
Works with
- Google Sheets
- Telegram
- Webhook
Requirements
- Webhook token (Header Auth)
- Google service account (JSON key)
- WhatsApp Business Cloud API
- Telegram bot
You connect your own accounts inside your n8n. Jervis never sees or stores your credentials.
Settings you'll fill in
- Leads spreadsheet
- The spreadsheet's URL or id. Share it with the service account email as Editor.
- Sheet (tab) name
- The tab that holds the leads. It must exist; when it is empty, the flow writes the header row itself.
- Sales Telegram chat
- Chat id of the sales group or channel that is alerted about every lead.
- WhatsApp phone number ID
- The numeric Phone number ID of your business number, from WhatsApp Manager → API Setup. Not the phone number itself.
- Welcome template
- Approved template for the first message, as name|language. Its body has one variable {{1}}: the lead's first name.
- Follow-up template (optional)
- Approved template sent once to leads still marked new after the follow-up delay, as name|language with one variable {{1}}. Leave empty to turn follow-ups off.
- Follow-up after (hours) (optional)
- How long a lead may stay new before the follow-up, from 1 to 720 hours. Default 24.
- Default country code (optional)
- Calling code added to local numbers such as 0100 123 4567. Leave empty to accept international numbers only.
- Duplicate window (days) (optional)
- A lead with the same phone number within this many days is a repeat inquiry: stored and announced, but not welcomed again. 0 turns it off. Default 30.
- Require WhatsApp opt-in (optional)
- true: message only leads whose form sent whatsappOptIn = true, as WhatsApp's policy requires. false: your form collects consent another way.
- Sales alert language (optional)
- Language of the Telegram alerts: en or ar. WhatsApp messages use each template's own language.
- WhatsApp API version (optional)
- Graph API version used for sending. Default v23.0; change it only when Meta retires that version.
Supported runtime
n8n >=2.42.0 <3.0.0
Jervis Runtime support for catalog flows is planned.
Documentation
Installation, configuration, troubleshooting and architecture guides are included in the package.
What's new in 1.0.0
Released October 7, 2026
Added
• Lead intake through an authenticated webhook: validation, plain-text storage and phone numbers normalised to
• international format (local numbers, 00 prefixes and Arabic digits included).
• Leads stored in Google Sheets as a lightweight CRM, with the header row written on first use.
• Repeat inquiries from the same phone within a configurable window stored as repeat and not welcomed again;
• replayed form deliveries (same event id) ignored.
• WhatsApp welcome through an approved template, only for leads that opted in (configurable).
• Telegram alert to sales in English or Arabic with the welcome's outcome, a WhatsApp chat link and a sheet link.
• Hourly follow-up: one WhatsApp template to leads still marked new after a configurable delay, never sent
• twice, with a Telegram summary.
• Retries for Google Sheets, WhatsApp and Telegram; failed messages recorded in the sheet and reported to sales.
• Import-tested in a clean n8n 2.42.3 against fake Google Sheets, WhatsApp Cloud API and Telegram.