Templates / Investigate and refund customer orders with Groq, Gmail and Paystack

Investigate and refund customer orders with Groq, Gmail and Paystack

Ready for 3.0

by Salim Kabir ✓ · 0 views · created 2026-11-19 · Document Extraction, AI Summarization

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-12-01.

📬 Weekly n8n 3.0 breakage alerts, free

What this workflow does

This AI workflow has 49 nodes and runs when someone submits an n8n form (“Request a refund”) (plus 3 other triggers). Along the way it connects Google Sheets, Gmail and Groq Chat Model. It also calls api.paystack.co over HTTP.

How it runs

Trigger: When someone submits an n8n form (“Request a refund”) (plus 3 other triggers).

  1. Normalize request (Edit Fields (Set)): sets 8 fields: request_id, source, order_id…
  2. Set Paystack Event Parameters (Edit Fields (Set)): sets 3 fields: store_name, alert_email, paystack_secret_key
  3. Alert owner about the failure (Gmail): send (message)
  4. Set Refund Parameters (Edit Fields (Set)): sets 13 fields: store_name, approver_email, currency…
  5. Compute Paystack signature (Crypto): hashes or encrypts values
  6. Request complete? (If): checks a condition and branches into true / false
  7. Signature valid? (If): checks a condition and branches into true / false
  8. Find order in Orders sheet (Google Sheets): read (sheet)
  9. Ask customer to complete the request (Gmail): send (message)
  10. Route Paystack event (Switch): routes items into 2 branches

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

Services it uses

Google SheetsGmailGroq Chat Model

HTTP calls to: api.paystack.co

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Nodes used (16)

From the author

Quick overview This workflow receives refund requests via webhook, scores risk using n8n Data Tables and rule-based signals, generates an investigation note with Groq, and routes approvals through Gmail before optionally issuing refunds via Paystack and…

Excerpt from Salim Kabir'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.