This workflow helps small business owners using Wave Apps to easily access the Wave Accounting API using n8n
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!
What this workflow template does
This workflow triggers when a payout is paid in Stripe and sends a GraphQL request to the Wave Accounting API recording the payout as a journal entry automatically. The benefits of this worklow are to instantaneously keep your books up to date and to ensure accuracy.
How to setup
- Setup your Stripe credential in n8n using the native Stripe nodes.
- Follow this guide to get your Wave Apps authorization token.
- Setup the node with the correct header auth -> {"Authorization": "Bearer TOKEN-HERE"}
- Get your account IDs from Wave
- The payload uses GraphQL so ensure to update it accordingly with what you are trying to achieve, the current example creates a journal entry.
Tips
Getting Wave account and IDs
- It is easiest to use network logs to obtain the right account IDs from Wave, especially if you have created custom accounts (default Wave account IDs can be obtained via making that API call).
- Go to Wave and make a new dummy transaction using the accounts you want to use in n8n.
- Have the network logs open while you do this.
- Search network logs for the name of the account you are trying to use.
- You should see account IDs in the log data.
Sales tax
- This example uses sales tax baked into the total Stripe payout amount (5%)
- You can find the sales tax account IDs the same way as you found the Wave account IDs using network logs
Use AI to help you with your API call
- Ask Claude or ChatGPT to draft you your ideal payload