Templates / Track MPESA and Airtel mobile payments in a fundraising WhatsApp group

Track MPESA and Airtel mobile payments in a fundraising WhatsApp group

Needs changes

by Mabura Ze Guru · 470 views · created 2026-02-04 · File Management

Needs changes. This template uses 1 thing(s) that n8n 3.0 removes: Function (legacy). 1 breaking item(s) found. Static check, last run 2026-10-19.

What 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).

  1. Edit Fields (Edit Fields (Set)): sets 3 fields: from, to, message
  2. Classify Message (Code): runs custom JavaScript code
  3. Route (Switch): routes items into 5 branches
  4. Drop original message (Edit Fields (Set)): sets 2 fields: from, to
  5. Message a model (Google Gemini): uses Google Gemini
  6. Delete payments (Data table): delete rows
  7. Fetch payments (Data table): get
  8. Mpesa (Code): runs custom JavaScript code
  9. Airtel Money (Code): runs custom JavaScript code
  10. Merge: merges the data from its input branches

…plus 9 more steps. See the full node list below.

Services it uses

TwilioGoogle Gemini

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.0Replace with
Function (legacy)
Create Message, Create Summary
Code node, mode 'Run Once for All Items'

Nodes used (12)

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…

Excerpt from Mabura Ze Guru's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.