Process Stripe refunds with Allowly approval and reviewer checks
UnknownWhat this workflow does
This workflow has 23 nodes and runs manually, when you click “Execute workflow”. Along the way it connects Allowly (community). It also calls api.stripe.com over HTTP.
How it runs
Trigger: Manually, when you click “Execute workflow”.
- Refund request (Edit Fields (Set)): sets or maps fields
- Validate request (Code): runs custom JavaScript code
- Read Stripe payment (HTTP Request): calls an HTTP API
- Require test payment (Code): runs custom JavaScript code
- Check refund (Allowly): check
- Validate decision (Code): runs custom JavaScript code
- Allowed immediately (If): checks a condition and branches into true / false
- Refund permitted (Code): runs custom JavaScript code
- Needs review (If): checks a condition and branches into true / false
- Create Stripe test refund (HTTP Request): calls api.stripe.com (POST)
…plus 12 more steps. See the full node list below.
Services it uses
HTTP calls to: api.stripe.com
Before you upgrade to n8n 3.0
We can't fully verify this one: it relies on 1 community package, and n8n 3.0 turns unverified community packages off by default (N8N_UNVERIFIED_PACKAGES_ENABLED=false).
- Check that n8n-nodes-allowly is verified or supports 3.0 (used in Check refund, Resolve confirmation, Resolve escalation).
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Nodes used (8)
- Manual Trigger
n8n-nodes-base.manualTrigger - Edit Fields (Set)
n8n-nodes-base.set - Code
n8n-nodes-base.code - HTTP Request
n8n-nodes-base.httpRequest - Allowly
n8n-nodes-allowly.allowly - If
n8n-nodes-base.if - Stop and Error
n8n-nodes-base.stopAndError - Wait
n8n-nodes-base.wait
From the author
Quick overview This workflow runs a Stripe test-mode refund only after an Allowly policy check allows it or a reviewer approves it via a secure callback, then creates the refund in Stripe and fetches the Allowly decision receipt as evidence. How it works 1.…