AutomationFlowsGeneral › Send Lightning Payment

Send Lightning Payment

Send Lightning Payment. Uses n8n-nodes-nwc. Webhook trigger; 3 nodes.

Webhook trigger★☆☆☆☆ complexity3 nodesN8N Nodes Nwc
General Trigger: Webhook Nodes: 3 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": "Send Lightning Payment",
  "nodes": [
    {
      "parameters": {
        "httpMethod": "POST",
        "path": "send-payment",
        "responseMode": "responseNode",
        "options": {}
      },
      "id": "webhook-trigger",
      "name": "Webhook Trigger",
      "type": "n8n-nodes-base.webhook",
      "typeVersion": 1,
      "position": [
        240,
        300
      ]
    },
    {
      "parameters": {
        "operation": "send",
        "amount": "={{ $json.amount }}",
        "recipient": "={{ $json.recipient }}",
        "description": "={{ $json.description || 'Payment via n8n' }}"
      },
      "id": "nwc-send",
      "name": "Send Satoshis",
      "type": "n8n-nodes-nwc.nwc",
      "typeVersion": 1,
      "position": [
        460,
        300
      ],
      "credentials": {
        "nwcUrl": {
          "name": "<your credential>"
        }
      }
    },
    {
      "parameters": {
        "respondWith": "json",
        "responseBody": "={{ { success: $json.success, payment_hash: $json.payment_hash, amount_sent: $json.amount_sent } }}",
        "options": {}
      },
      "id": "respond",
      "name": "Respond to Webhook",
      "type": "n8n-nodes-base.respondToWebhook",
      "typeVersion": 1,
      "position": [
        680,
        300
      ]
    }
  ],
  "connections": {
    "Webhook Trigger": {
      "main": [
        [
          {
            "node": "Send Satoshis",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Send Satoshis": {
      "main": [
        [
          {
            "node": "Respond to Webhook",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "active": false,
  "settings": {},
  "versionId": "1"
}

Credentials you'll need

Each integration node will prompt for credentials when you import. We strip credential IDs before publishing — you'll add your own.

Pro

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

About this workflow

Send Lightning Payment. Uses n8n-nodes-nwc. Webhook trigger; 3 nodes.

Source: https://github.com/matjaz/n8n-nodes-nwc/blob/10a9a83dd494f080235a0891c69289fc56548655/examples/send-payment.json — original creator credit. Request a take-down →

More General workflows → · Browse all categories →

Related workflows

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

General

This sample workflow allows you to forward alerts from TheHive 5 to SIGNL4 in order to send reliable alerts to your team.

The Hive, Signl4
General

Update Time Tracking Projects Based On Syncro Status Changes. Uses clockify, httpRequest. Webhook trigger; 6 nodes.

Clockify, HTTP Request
General

DesligaBot. Uses httpRequest. Webhook trigger; 6 nodes.

HTTP Request
General

IDS AI - PDF Processor. Uses functionItem, respondToWebhook. Webhook trigger; 5 nodes.

Function Item
General

Export Workflows. Uses scheduleTrigger, httpRequest, respondToWebhook. Webhook trigger; 5 nodes.

HTTP Request