AutomationFlowsFinance › Lookup Lightning Invoice

Lookup Lightning Invoice

Lookup Lightning Invoice. Uses n8n-nodes-nwc. Webhook trigger; 3 nodes.

Webhook trigger★☆☆☆☆ complexity3 nodesN8N Nodes Nwc
Finance 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": "Lookup Lightning Invoice",
  "nodes": [
    {
      "parameters": {
        "httpMethod": "POST",
        "path": "lookup-invoice",
        "responseMode": "responseNode",
        "options": {}
      },
      "id": "webhook-trigger",
      "name": "Webhook Trigger",
      "type": "n8n-nodes-base.webhook",
      "typeVersion": 1,
      "position": [
        240,
        300
      ]
    },
    {
      "parameters": {
        "operation": "lookupInvoice",
        "invoiceOrHash": "={{ $json.invoice_or_hash }}"
      },
      "id": "nwc-lookup",
      "name": "Lookup Invoice",
      "type": "n8n-nodes-nwc.nwc",
      "typeVersion": 1,
      "position": [
        460,
        300
      ],
      "credentials": {
        "nwcUrl": {
          "name": "<your credential>"
        }
      }
    },
    {
      "parameters": {
        "respondWith": "json",
        "responseBody": "={{ { success: $json.success, invoice_details: $json } }}",
        "options": {}
      },
      "id": "respond",
      "name": "Respond to Webhook",
      "type": "n8n-nodes-base.respondToWebhook",
      "typeVersion": 1,
      "position": [
        680,
        300
      ]
    }
  ],
  "connections": {
    "Webhook Trigger": {
      "main": [
        [
          {
            "node": "Lookup Invoice",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Lookup Invoice": {
      "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

Lookup Lightning Invoice. Uses n8n-nodes-nwc. Webhook trigger; 3 nodes.

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

More Finance workflows → · Browse all categories →

Related workflows

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

Finance

ScrapFlow - Customer Invoice (Outbound). Uses emailSend. Webhook trigger; 4 nodes.

Email Send
Finance

Stop copy-pasting invoice details!

Google Docs, Email Send, Google Drive
Finance

AP Invoice — 01 Orchestrator. Uses postgres, httpRequest, quickbooks, slack. Webhook trigger; 42 nodes.

Postgres, HTTP Request, QuickBooks +1
Finance

This workflow automates the entire process of receiving a product/service order, checking or creating a customer in QuickBooks Online (QBO), generating an invoice, and emailing it — all triggered by a

QuickBooks
Finance

Tired of the standard, boring invoices from QuickBooks Online? This workflow completely automates the process of creating beautiful, custom-branded PDF invoices and emailing them directly to your clie

QuickBooks, HTTP Request, Email Send