c5caf0d2-dad2-4fb1-9a71-de8fe3f676ba

Setting Up WaveApps API for n8n

It took me a while to get n8n configured for interacting with the WaveApps API correctly, so I figured I ought to document for other how to setup OAuth2 access to the WaveApps API.

For businesses using Wave for accounting and n8n for workflow automation, connecting these two can streamline operations significantly. This post will guide you through the process of connecting n8n to the WaveApps API.

Introduction

The need to integrate Wave with other API-connected services without directly using Wave prompted me to explore the connection of n8n to the WaveApps API. Here’s a step-by-step guide on how to achieve this integration effortlessly.

Setting Up the WaveApps API

Before we dive into the connection process, ensure you have a Wave account with the businesses you want to manage. Here’s what you need to do to get started:

  1. Create an Application on Wave:
    • Visit the Wave Developer Portal.
    • Log in with your Wave account credentials.
    • Fill in the necessary details for your application.
  2. Set the Redirect URI:
    • In the application creation process, you’ll need the URI Redirect – you’ll get that as soon as you create the Credentials in n8n, but the structure is https://n8n-domain.com/rest/oauth2-credential/callback

Configuring n8n for OAuth2

With your Wave application ready, the next step is to configure n8n to use OAuth2 for authentication.

  1. Create OAuth Credentials in n8n:
    • Log in to your n8n account.
    • Navigate to the Credentials section and create a new OAuth2 Credential.
  2. Set Up the OAuth Credential:
    • Redirect URI: Use the OAuth Redirect URL provided in n8n. (https://n8n-domain.com/rest/oauth2-credential/callback)
    • Grant Type: Set to Authorization Code.
    • Authorization URL: https://api.waveapps.com/oauth2/authorize
    • Access Token URL: https://api.waveapps.com/oauth2/token
    • Client ID & Client ID: Get these from the application you created on Wave.
    • Scope: account:* business:* customer:* invoice:* product:* transaction:* user:* vendor:*
  3. Authentication Method:
    • Set to Header.
  4. Connect:
    • After filling in all the required fields, click the Connect button to initiate the connection. If everything is set up correctly, you should see a successful connection message.

Verifying the Connection

Once the connection is established, you can verify it by accessing the Wave API through n8n and performing basic operations. This connection allows you to automate tasks involving accounting, customer management, invoicing, and more without manually interacting with Wave.

Integrating n8n with WaveApps API simplifies managing multiple aspects of your business, from accounting to customer management, all in one workflow automation tool. This guide walks you through the initial setup and connection, ensuring you have a solid foundation for further automation.

Choteau's Railroad Crossings - Informational Update

BNSF Update

I wanted to take a moment and update the citizens of Choteau about the status of the BNSF railroad crossings, particularly the crossing east of Rex’s on Hwy 221. Mayor Lannen and I have been reaching out to a variety of contacts at BNSF over the last few months to find someone who could help us address the damaged crossings. Frankly, most of our outreach resulted in phone calls that ended in excuses as to why the work could not be undertaken.

After navigating our personal and professional networks to find a contact at BNSF willing to take responsibility I found Ross Lane, BNSF’s Regional Public Affairs Director. Ross recognized the urgency of the safety issues with the BNSF railroad crossings and agreed to help Choteau by coordinating with several BNSF departments to create a plan to address our safety concerns.

Within the week of first contacting him, Ross promptly got back to me and formulated a plan to bring the interested parties to the table to fix the problem. By Friday of last week, Ross, his team, and I made a plan for a temporary patch repair to be completed this month (November 2018) and a permanent fix involving MTDOT and BNSF next spring. I have made a commitment to follow up with Ross and the BNSF maintenance team to make sure they fulfill their promise to Choteau in a few weeks and in the spring.

For immediate and up to date information about this and many other issues facing our City, please Like Steve “Dee” Dogiakos on Facebook at https://facebook.com/dogiakos

Thank you to all the community members for their concern and input, and thanks to Mr. Lane for helping us advocate for our rural community.

City Council Report July 17, 2018


Good evening, at tonight’s City Council meeting we approved the minutes of the July 3rd meeting. (00:01:19) We approved Councilman Major’s request to be out of state between tonight and the next scheduled meeting of the Council (00:02:01), and we elected Councilman Merja as the Council President (00:02:38).