AutomationFlowsWeb Scraping › Refund Workflow

Refund Workflow

Refund Workflow. Uses httpRequest, stripe. Webhook trigger; 5 nodes.

Webhook trigger★★☆☆☆ complexity5 nodesHTTP RequestStripe
Web Scraping Trigger: Webhook Nodes: 5 Complexity: ★★☆☆☆ Added:

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 →

Download .json
{
  "name": "Refund Workflow",
  "nodes": [
    {
      "id": "webhook",
      "name": "Webhook Trigger",
      "type": "n8n-nodes-base.webhook",
      "parameters": {
        "path": "refund",
        "httpMethod": "POST"
      }
    },
    {
      "id": "lookup",
      "name": "Lookup Order",
      "type": "n8n-nodes-base.httpRequest",
      "parameters": {
        "url": "https://api.example.test/orders/{{$json.orderId}}",
        "method": "GET"
      }
    },
    {
      "id": "branch",
      "name": "IF refund amount > 500",
      "type": "n8n-nodes-base.if",
      "parameters": {
        "conditions": {
          "number": [
            {
              "value1": "={{$json.amount}}",
              "operation": "larger",
              "value2": 500
            }
          ]
        }
      }
    },
    {
      "id": "approval",
      "name": "Manual Approval",
      "type": "n8n-nodes-base.manualTrigger",
      "parameters": {}
    },
    {
      "id": "refund",
      "name": "Stripe Refund",
      "type": "n8n-nodes-base.stripe",
      "parameters": {
        "resource": "charge",
        "operation": "refund"
      }
    }
  ],
  "connections": {
    "Webhook Trigger": {
      "main": [
        [
          {
            "node": "Lookup Order",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Lookup Order": {
      "main": [
        [
          {
            "node": "IF refund amount > 500",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "IF refund amount > 500": {
      "main": [
        [
          {
            "node": "Manual Approval",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Stripe Refund",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
Pro

For the full experience including quality scoring and batch install features for each workflow upgrade to Pro

About this workflow

Refund Workflow. Uses httpRequest, stripe. Webhook trigger; 5 nodes.

Source: https://github.com/jiushiaaa/OpenWorkflowDoctor/blob/928f5f7581953242b109acc52aa2db0466a3c92e/samples/n8n/refund-workflow.json — original creator credit. Request a take-down →

More Web Scraping workflows → · Browse all categories →

Related workflows

Workflows that share integrations, category, or trigger type with this one. All free to copy and import.

Web Scraping

03.06 AI-Powered RMA & Liquidation Routing. Uses httpRequest, stripe. Webhook trigger; 6 nodes.

HTTP Request, Stripe
Web Scraping

This template is designed for developers, businesses, and service providers who need to programmatically check Calendly availability. It's perfect for: Web developers building custom booking interface

HTTP Request
Web Scraping

Never lose a prospect to a missed call again. This workflow sends an automatic "sorry we missed you" SMS within seconds, follows up 2 hours later if there's no reply, and enrolls unresponsive contacts

HTTP Request
Web Scraping

Send Postcards to Contacts Automatically using CentralStationCRM and EchtPost. Uses httpRequest. Webhook trigger; 12 nodes.

HTTP Request
Web Scraping

Send Postcards to Contacts Automatically using CentralStationCRM and EchtPost. Uses httpRequest. Webhook trigger; 12 nodes.

HTTP Request