# Process Stripe test refunds with Allowly: n8n workflow template

> Started by an event in a connected app. It calls services over plain HTTP rather than through connectors.

Source: https://millionrounds.com/workflow/process-stripe-test-refunds-with-allowly (Millionrounds; every figure on the page links to its filing or article)

[Automation library](https://millionrounds.com/workflows) · [Customer support](https://millionrounds.com/workflows?category=Customer+support#library)

# Process Stripe test refunds with Allowly

Started by an event in a connected app. It calls services over plain HTTP rather than through connectors. 23 steps, 4 branches, 1 loop or waits: large, and worth reading before you trust it with anything live.

Large

[Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fprocess-stripe-test-refunds-with-allowly)

**23 steps** Large: read it before trusting it with anything live

**4** Branches: places the flow splits

**1** Loop or waits

**0** Services by connector: it calls them over plain HTTP

## The flow

Starts it 1 Logic 15 Service 7

The steps in the order they run, from what starts it.

- 1 **Run test refund** Manual trigger *Starts it*
- 2 **Refund request** Set *Logic*
- 3 **Validate request** Code *Logic*
- 4 **Read Stripe payment** Http Request *Service*
- 5 **Require test payment** Code *Logic*
- 6 **Check refund** Allowly *Service*
- 7 **Validate decision** Code *Logic*
- 8 **Allowed immediately** If *Logic*
- 9 **Refund permitted** Code *Logic*
- 10 **Needs review** If *Logic*
- 11 **Create Stripe test refund** Http Request *Service*
- 12 **Wait for reviewer** Wait *Logic*
- 13 **Stop refund** Stop And Error *Logic*
- 14 **Refund result** Code *Logic*
- 15 **Validate review** Code *Logic*
- 16 **Fetch decision receipt** Http Request *Service*
- 17 **Confirmation requested** If *Logic*
- 18 **Export refund evidence** Code *Logic*
- 19 **Resolve confirmation** Allowly *Service*
- 20 **Resolve escalation** Allowly *Service*
- 21 **Reviewer approved** If *Logic*
- 22 **Recheck refund after review** Allowly *Service*
- 23 **Require final allow** Code *Logic*

## How it's built

- **Starts on:** An event in a connected app
- **Steps:** 23, with 4 branches, 1 loop or waits
- **Size:** Large: read it before trusting it with anything live
- **Connects to:** Nothing by connector; it calls services over plain HTTP
- **Model:** None. This is plumbing, not judgement

## Questions

What does it need to run?

An n8n account. You connect your own accounts after importing it; none are included.

What starts it?

It starts on an event in a connected app.

Does it use AI?

No. Every step is fixed logic or a call to a service, so it does the same thing every time.

How long does it take to set up?

Take your time. At 23 steps it is large: read it before trusting it with anything live.

How do I import it?

Copy the workflow, open a new workflow in n8n and paste. The steps appear on the canvas, ready for your own accounts.

**Before you run it**

Nothing here has been tested by us. It is somebody's working automation, read and described from its own steps. Treat the connections it wants as a list of accounts it will touch, and read the 23 steps before you point it at anything that matters.

## Run it in n8n

- **Create your n8n account** Free to start. n8n is where the workflow runs. [Create an n8n account ↗](https://millionrounds.com/n8n)
- **Download the workflow** Free with a Millionrounds account. [Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fprocess-stripe-test-refunds-with-allowly)
- **Paste it into n8n** Open a new workflow in n8n and paste. Then connect your own accounts.

Stored with the author's traces removed: canvas notes, instance identifiers, saved credential names and any live document they had left behind.

## Workflows like it

Also customer support, with the same services where possible, closest in size first.

- [**User-friendly technical support portal for GLPI ticket management** 23 steps](https://millionrounds.com/workflow/user-friendly-technical-support-portal-for-glpi-ticket-manag)
- [**AI email support system: Gmail, Gemini, GPT-4, Slack & Google** 23 steps · calls a model · Gmail, Google Drive](https://millionrounds.com/workflow/ai-email-support-system-gmail-gemini-gpt-4-slack-and-google)
- [**Build RAG-powered support agent for Jira issues with Pinecone** 23 steps · calls a model · Pinecone](https://millionrounds.com/workflow/build-rag-powered-support-agent-for-jira-issues-with-pinecon)
- [**Create a WhatsApp customer support bot with OpenAI** 23 steps · calls a model · Gmail, Google Calendar](https://millionrounds.com/workflow/create-a-whatsapp-customer-support-bot-with-openai)
- [**Customer Support with Gemini** 23 steps · calls a model](https://millionrounds.com/workflow/customer-support-with-gemini)
- [**Draft grounded Gmail support replies from a Notion KB** 23 steps · calls a model · Gmail, Notion](https://millionrounds.com/workflow/draft-grounded-gmail-support-replies-from-a-notion-kb)
