AutomationFlowsFinance › Record Payout From Stripe in Wave Accounting

Record Payout From Stripe in Wave Accounting

ByJacob @ vwork Digital @jacob-vwork-digital on n8n.io

In this example, the workflow is triggered from a new payout from Stripe. It then logs the transaction as a journal entry in Wave Accounting, helping you automate your accounting without needing to pay for expensive subscriptions!

Event trigger★☆☆☆☆ complexity2 nodesStripe TriggerHTTP Request
Finance Trigger: Event Nodes: 2 Complexity: ★☆☆☆☆ Added:

This workflow corresponds to n8n.io template #5705 — we link there as the canonical source.

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
{
  "nodes": [
    {
      "id": "8690a0d3-8280-47f4-b60e-20f3046bebc1",
      "name": "New Payout",
      "type": "n8n-nodes-base.stripeTrigger",
      "position": [
        0,
        0
      ],
      "parameters": {
        "events": [
          "payout.paid"
        ]
      },
      "credentials": {
        "stripeApi": {
          "name": "<your credential>"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "3b7c1c9c-7384-48ef-a4f5-fe1bdd8ec1b9",
      "name": "Record in Wave Accounting",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        280,
        0
      ],
      "parameters": {
        "url": "https://gql.waveapps.com/graphql/public",
        "method": "POST",
        "options": {},
        "jsonBody": "={\n    \"query\": \"mutation ($input: MoneyTransactionCreateInput!) { moneyTransactionCreate(input: $input) { didSucceed inputErrors { path message code } transaction { id } } }\",\n    \"variables\": {\n      \"input\": {\n        \"businessId\": \"BUSINESS ID HERE\",\n        \"externalId\": \"stripe-payout-{{ $json.created.toDateTime('s').format('yyyy-MM-dd') }}\",\n        \"date\": \"{{ $json.created.toDateTime('s').format('yyyy-MM-dd') }}\",\n        \"description\": \"Payout from Stripe - ${{ ($json.data.object.amount / 100).toFixed(2) }} total\",\n        \"anchor\": {\n          \"accountId\": \"ANCHOR ACCOUNT ID HERE\",\n          \"amount\": {{ ($json.data.object.amount / 100).toFixed(2) }},\n          \"direction\": \"DEPOSIT\"\n        },\n        \"lineItems\": [\n          {\n            \"accountId\": \"DEPOSIT ACCOUNT ID HERE\",\n            \"amount\": {{ ($json.data.object.amount / 100).toFixed(2) }},\n            \"balance\": \"INCREASE\",\n            \"taxes\": [\n              {\n                \"salesTaxId\": \"SALES TAX ACCOUNT ID HERE - EXAMPLE BELOW IS 5% TAX BAKED INTO TOTAL AMOUNT\",\n                \"amount\": {{ (($json.data.object.amount / 100) - (($json.data.object.amount / 100) / 1.05)).toFixed(2) }}\n              }\n            ]\n          }\n        ]\n      }\n    }\n}",
        "sendBody": true,
        "sendHeaders": true,
        "specifyBody": "json",
        "headerParameters": {
          "parameters": [
            {
              "name": "Authorization",
              "value": "Bearer YOUR_TOKEN_HERE"
            }
          ]
        }
      },
      "typeVersion": 4.2
    }
  ],
  "connections": {
    "New Payout": {
      "main": [
        [
          {
            "node": "Record in Wave Accounting",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}

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

In this example, the workflow is triggered from a new payout from Stripe. It then logs the transaction as a journal entry in Wave Accounting, helping you automate your accounting without needing to pay for expensive subscriptions!

Source: https://n8n.io/workflows/5705/ — 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

Http Stripe. Uses httpRequest, stripe, stripeTrigger, quickbooks. Event-driven trigger; 10 nodes.

HTTP Request, Stripe, Stripe Trigger +1
Finance

Streamline your accounting by automatically creating QuickBooks Online customers and sales receipts whenever a successful Stripe payment is processed. Ideal for businesses looking to reduce manual dat

HTTP Request, Stripe, Stripe Trigger +1
Finance

This automation manages Stripe disputes by fetching dispute data, formatting it, logging it into Google Sheets, updating related payment records, and notifying the customer via email. It ensures finan

HTTP Request, Google Sheets, Gmail
Finance

Manual Xero. Uses manualTrigger, xero. Event-driven trigger; 2 nodes.

Xero
Finance

Automated Stripe Payment to QuickBooks Sales Receipt

HTTP Request, Stripe, Stripe Trigger +1