This workflow follows the Emailsend → HTTP Request recipe pattern — see all workflows that pair these two integrations.
The workflow JSON
Copy or download the full n8n JSON below. Paste it into a new n8n workflow, add your credentials, activate. Full import guide →
{
"id": "demo-refund-risky",
"name": "Refund Risky Workflow",
"nodes": [
{
"id": "refund-webhook",
"name": "Refund Request Webhook",
"type": "n8n-nodes-base.webhook",
"parameters": {
"path": "demo/refunds",
"httpMethod": "POST",
"responseMode": "onReceived"
}
},
{
"id": "lookup-order",
"name": "Lookup Order",
"type": "n8n-nodes-base.httpRequest",
"parameters": {
"url": "https://orders.example.test/api/orders/{{$json.orderId}}",
"method": "GET",
"sendHeaders": true,
"headerParameters": [
{
"name": "X-Demo-Api-Key",
"value": "demo-placeholder-api-key"
}
]
}
},
{
"id": "refund-amount-branch",
"name": "IF Refund Amount Over 500",
"type": "n8n-nodes-base.if",
"parameters": {
"conditions": {
"number": [
{
"value1": "={{$json.refundAmount}}",
"operation": "larger",
"value2": 500
}
]
}
}
},
{
"id": "large-refund-stop-marker",
"name": "Large Refund Should Stop",
"type": "n8n-nodes-base.noOp",
"parameters": {
"note": "Demo risk: this branch should stop for manual review, but the workflow continues to the refund node."
}
},
{
"id": "create-refund",
"name": "Stripe Create Refund",
"type": "n8n-nodes-base.stripe",
"parameters": {
"resource": "charge",
"operation": "refund",
"chargeId": "={{$json.chargeId}}",
"amount": "={{$json.refundAmount}}"
}
},
{
"id": "update-crm",
"name": "CRM Update Contact",
"type": "n8n-nodes-base.hubspot",
"parameters": {
"resource": "contact",
"operation": "update",
"contactId": "={{$json.customerId}}",
"property": "last_refund_amount"
}
},
{
"id": "send-customer-email",
"name": "Send Customer Refund Email",
"type": "n8n-nodes-base.emailSend",
"parameters": {
"fromEmail": "support@example.test",
"toEmail": "={{$json.customerEmail}}",
"subject": "Your demo refund has been requested"
}
},
{
"id": "slack-finance-alert",
"name": "Slack Finance Notification",
"type": "n8n-nodes-base.slack",
"parameters": {
"resource": "message",
"operation": "post",
"channel": "#demo-refunds",
"text": "Refund requested for order {{$json.orderId}}"
}
}
],
"connections": {
"Refund Request Webhook": {
"main": [
[
{
"node": "Lookup Order",
"type": "main",
"index": 0
}
]
]
},
"Lookup Order": {
"main": [
[
{
"node": "IF Refund Amount Over 500",
"type": "main",
"index": 0
}
]
]
},
"IF Refund Amount Over 500": {
"main": [
[
{
"node": "Large Refund Should Stop",
"type": "main",
"index": 0
}
],
[
{
"node": "Stripe Create Refund",
"type": "main",
"index": 0
}
]
]
},
"Large Refund Should Stop": {
"main": [
[
{
"node": "Stripe Create Refund",
"type": "main",
"index": 0
}
]
]
},
"Stripe Create Refund": {
"main": [
[
{
"node": "CRM Update Contact",
"type": "main",
"index": 0
},
{
"node": "Slack Finance Notification",
"type": "main",
"index": 0
}
]
]
},
"CRM Update Contact": {
"main": [
[
{
"node": "Send Customer Refund Email",
"type": "main",
"index": 0
}
]
]
}
}
}
For the full experience including quality scoring and batch install features for each workflow upgrade to Pro
About this workflow
Refund Risky Workflow. Uses httpRequest, stripe, hubspot, emailSend. Webhook trigger; 8 nodes.
Source: https://github.com/jiushiaaa/OpenWorkflowDoctor/blob/928f5f7581953242b109acc52aa2db0466a3c92e/samples/n8n/refund-risky.workflow.json — original creator credit. Request a take-down →
Related workflows
Workflows that share integrations, category, or trigger type with this one. All free to copy and import.
This workflow automates end-to-end research analysis by coordinating multiple AI models—including NVIDIA NIM (Llama), OpenAI GPT-4, and Claude to analyze uploaded documents, extract insights, and gene
Automação de Chargeback - Contestação SaaS. Uses httpRequest, postgres, emailSend, slack. Webhook trigger; 14 nodes.
This workflow provides a complete, automated post-purchase solution triggered by a successful payment webhook from Abacate Pay. (For international users, think of Abacate Pay as 'the Brazilian Stripe'
Advanced Workflow with Branching and Error Handling. Uses emailSend, httpRequest, postgres, slack. Webhook trigger; 12 nodes.
Payment Processing Workflow. Uses postgres, hubspot, emailSend, slack. Webhook trigger; 11 nodes.