Track MPESA and Airtel mobile payments in a fundraising WhatsApp group
Needs changesWhat this workflow does
This AI workflow has 21 nodes and runs when an HTTP POST request hits its webhook URL (plus 1 other trigger). Along the way it connects Twilio and Google Gemini.
How it runs
Trigger: When an HTTP POST request hits its webhook URL (plus 1 other trigger).
- Edit Fields (Edit Fields (Set)): sets 3 fields: from, to, message
- Classify Message (Code): runs custom JavaScript code
- Route (Switch): routes items into 5 branches
- Drop original message (Edit Fields (Set)): sets 2 fields: from, to
- Message a model (Google Gemini): uses Google Gemini
- Delete payments (Data table): delete rows
- Fetch payments (Data table): get
- Mpesa (Code): runs custom JavaScript code
- Airtel Money (Code): runs custom JavaScript code
- Merge: merges the data from its input branches
…plus 9 more steps. See the full node list below.
Services it uses
Before you upgrade to n8n 3.0
1 thing in this workflow is removed in n8n 3.0. Fix it before you upgrade:
- Function (legacy) in Create Message, Create Summary: replace with Code node, mode 'Run Once for All Items'.
Rather not rewrite it? Many of these flows can be rebuilt in Make (free plan).
| Removed in 3.0 | Replace with |
|---|---|
| Function (legacy) Create Message, Create Summary | Code node, mode 'Run Once for All Items' |
Nodes used (12)
- Webhook
n8n-nodes-base.webhook - Data table
n8n-nodes-base.dataTable - Edit Fields (Set)
n8n-nodes-base.set - Merge
n8n-nodes-base.merge - Twilio
n8n-nodes-base.twilio - Code
n8n-nodes-base.code - Switch
n8n-nodes-base.switch - Function
n8n-nodes-base.function - If
n8n-nodes-base.if - Chat Trigger
@n8n/n8n-nodes-langchain.chatTrigger - Chat
@n8n/n8n-nodes-langchain.chat - Google Gemini
@n8n/n8n-nodes-langchain.googleGemini
From the author
Try It Out! This n8n templates assists with keeping track of mobile payments within a fundraising WhatsApp group. Use cases: We fundraise alot using whatsapp groups in East Africa, especially in Kenya ! Keeping track of each payment and the tallying requires…