n8n recipe · orders
Stripe → Gmail
When a Stripe charge is refunded, an email goes out from Gmail.
스트라이프 결제가 환불되면 지메일로 메일을 보내요.
Steps
- When when a stripe charge is refunded — Stripe node
- Then send an email with gmail — Gmail node
Fields to fill (3)
The file has every node wired up. These are the blanks only you can fill (your form, your sheet, your words).
| Node | What to do |
|---|---|
| Gmail | fill sendTo (The email addresses of the recipients) |
| Gmail | fill subject (Subject) |
| Gmail | fill message (Message) |
Accounts to connect (2)
In n8n, pick or add a credential on each node — one of the types below.
- Stripe:
stripeApi - Gmail:
googleApiorgmailOAuth2
Get the n8n file
Download stripe-refund-to-gmail.json
- Open a new, empty workflow in n8n.
- Open the workflow menu (⋯) and choose Import from File — or copy the JSON below and paste it onto the canvas (Ctrl/Cmd+V).
- Connect the accounts, fill the fields above, run one test, then turn the workflow on.
Or copy the JSON
{
"name": "When a Stripe charge is refunded",
"nodes": [
{
"id": "n1",
"name": "Stripe Trigger",
"type": "n8n-nodes-base.stripeTrigger",
"typeVersion": 1,
"parameters": {
"events": [
"charge.refunded"
]
},
"position": [
240,
300
],
"notes": "step: when a stripe charge is refunded"
},
{
"id": "n2",
"name": "Gmail",
"type": "n8n-nodes-base.gmail",
"typeVersion": 2.2,
"parameters": {
"resource": "message",
"operation": "send",
"sendTo": "",
"subject": "",
"emailType": "html",
"message": ""
},
"position": [
460,
300
],
"notes": "step: send an email with gmail"
}
],
"connections": {
"Stripe Trigger": {
"main": [
[
{
"node": "Gmail",
"type": "main",
"index": 0
}
]
]
}
},
"settings": {
"executionOrder": "v1"
},
"active": false
}