What can you use this flow for?
- Log bank transfer and wallet payment submissions into Google Sheets and alert your finance chat on Telegram.
- Record merchant approval or rejection decisions and automatically email the customer in English or Arabic.
What you need before starting
- An HTTPS n8n server and a backend that sends authenticated JSON webhooks for payment submissions and merchant decisions.
- Google service account with Editor access to your Payments spreadsheet, plus SMTP and Telegram bot credentials.
How to set it up
- Get the licensed package and import workflow.json into n8n.
- Bind the Header Auth, Google Sheets, Telegram and SMTP credentials.
- Set spreadsheetId, paymentsSheet, businessName, merchantChatId and fromEmail in Configuration.
- Send submit-payload.json and verify-payload.json to the webhook and confirm the sheet update, Telegram alert and customer email.
Each submission is deduplicated by paymentReference; merchant verification requires a human decision sent from your backend or admin panel.
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)
- Telegram bot
- SMTP account of your mail provider, for customer emails
You connect your own accounts inside your n8n. Jervis never sees or stores your credentials.
Settings you'll fill in
- Payments spreadsheet
- The spreadsheet's URL or id. Share it with the service account email as Editor.
- Payments tab
- The tab that stores payment submissions and their review status. It must exist; when empty, the flow writes the header row itself.
- Business name
- Shown in customer confirmation/rejection emails and Telegram alerts.
- Finance Telegram chat
- Chat id of the group or channel that receives new payment alerts and verification confirmations.
- Sender address
- The address customer payment emails come from, optionally with a display name.
- Reply-to address (optional)
- Where customer replies go. Optional.
- Default currency (optional)
- Three-letter ISO currency code used when the submission omits currency (e.g. EGP, SAR, USD).
- Language (optional)
- "en" or "ar": default language for Telegram alerts and customer emails.
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 14, 2026
Added
• Authenticated webhook endpoint (jervis-payment-verification) handling both transfer submissions (action: "submit") and merchant verification decisions (action: "verify").
• Idempotent lookup and storage in Google Sheets (Payments tab) keyed by paymentReference, using RAW cell formatting to prevent spreadsheet formula injection.
• Bilingual (en and ar) finance alerts on Telegram and customer confirmation/rejection emails via SMTP.
• Full input validation with structured 400 field errors and 404 payment_not_found handling for unknown references.