n8n

How to Automate Kofi Payments for Sales Tasks?

Capture payment events from Kofi and sort them into clear paths for donations, subscriptions, and shop orders. Teams get the right context fast so they can thank supporters, fulfill items, and welcome new members without digging through raw data.

The flow begins with a Webhook that receives a POST from Kofi. A Prepare step stores a verification token. An If check compares the token from the request to the stored token and blocks bad calls with a clear error. A Switch then looks at the payment type and routes it to the correct branch. Each branch uses a Set step to shape clean fields for downstream tools. After a subscription event, an extra check flags new subscribers for special actions like onboarding or perks.

You need a Kofi account and access to webhook settings. Copy the webhook URL from the Webhook node into your Kofi dashboard and paste the verification token from Kofi into the Prepare step. Turn on the workflow and run test events from Kofi to confirm each path. Expect faster handoffs, fewer mistakes, and less manual sorting. Great for creators and small shops that want to send thank you notes, process orders, and start member access right away.

What are the key features?

  • Webhook receives POST events from Kofi and starts the flow
  • Stored verification token in Prepare protects the entry point
  • If check validates the token and stops invalid requests
  • Switch detects payment type and routes to the right branch
  • Set steps map clean fields for donations, subscriptions, and shop orders
  • Extra check marks new subscribers for special handling
  • Stop and Error returns a clear message when the token is wrong

What are the benefits?

  • Reduce manual sorting from 1 hour a day to 5 minutes
  • Block fake calls with a token check and cut errors by 90 percent
  • Route donations, subscriptions, and orders with zero manual steps
  • Speed up new subscriber onboarding by 70 percent
  • Handle spikes at 10 times normal volume without extra staff

How do you set it up?

  1. Import the template into n8n: Create a new workflow in n8n > Click the three dots menu > Select 'Import from File' > Choose the downloaded JSON file.
  2. You'll need accounts with Kofi. See the Tools Required section above for links to create accounts with these services.
  3. Open the Webhook node and copy the Production URL. Leave the HTTP method as POST.
  4. In your Kofi dashboard, open the webhook settings and paste the n8n Webhook URL. Save the change.
  5. In Kofi, find the verification token in the webhook settings. Copy it.
  6. Back in n8n, open the Prepare step and replace the placeholder token value with your real token. Save.
  7. Review the Switch and Set steps to confirm the mapped fields match your needs. Adjust field names if your payload format differs.
  8. Enable the workflow in n8n and send a test from the Kofi webhook settings. Check Executions to confirm a successful run.
  9. Trigger donation, subscription, and shop order tests to verify each branch. Ensure the correct Set step runs and fields look clean.
  10. If you see Invalid verification token, make sure the token in Prepare matches the token in Kofi and that you are using the Production URL.
  11. If no events arrive, confirm your n8n instance is reachable from the internet and that the URL in Kofi is exactly the same as in the Webhook node.
  12. When ready, turn on the workflow permanently and monitor the first day to confirm stable routing and clean data.

Tools Required

$24 / mo or $20 / mo billed annually to use n8n in the cloud. However, the local or self-hosted n8n Community Edition is free.

Free: $0 / mo; webhooks available; 0% fee on donations, 5% service fee on memberships/shop/commissions

Credits:
Author: Audun / xqus. Website: xqus.com Store: xqus.gumroad.com

Similar Templates

Join Futurise to access 1,200+ automation templates

Get instant access to ready-made automation workflows for n8n, Make.com, AI agents, and more. Download, customise, and deploy in minutes.