Save yourself the work of writing custom integrations for AirNow and Kibana and use n8n instead. Build adaptable and scalable Utility, and Cybersecurity workflows that work with your technology stack. All within a building experience you will love.
Step 2: Create a new workflow to connect AirNow and Kibana
In n8n, click the "Add workflow" button in the Workflows tab to create a new workflow.
Step 3: Add the first step
Add the starting point – a trigger on when your workflow should run: on an app event, on schedule, on a webhook call, when called by another workflow, or manually. In some cases, the HTTP Request node might already serve as your starting point.
Step 4: Add Kibana using the HTTP Request node
Add the HTTP Request node to your workflow canvas and authenticate it using a predefined credential type. This allows you to perform custom operations, without additional authentication setup.
Step 5: Configure the Kibana node
Click on the HTTP node to configure its settings. Use the Kibana API docs to construct your request. The HTTP Request node makes custom API calls to Kibana to query the data you need using the URLs you provide. See the example here.
Step 6: Add and authenticate AirNow using the HTTP Request node
Add the HTTP Request node to your workflow canvas and authenticate it using a generic authentication method. The HTTP Request nodes make custom API calls to Kibana to query the data you need using the URLs you provide. See the example here.
Step 7: Configure the AirNow node
Click on the HTTP node to configure its settings. With generic authentication, you'll typically need to provide endpoint URLs, headers, parameters, and any other authentication details specific to the service you're integrating with:
Find the documentation of the AirNow API and see if the API supports HTTP requests;
Most APIs require some form of authentication and you can configure this in the HTTP Request mode (Basic Auth, Custom Auth, Digest Auth, Header Auth, OAuth1 API, OAuth2 API, Query Auth).
Step 8: Connect AirNow and Kibana
Connect the output of the Kibana node to the input of the AirNow node or swop nodes to route the integration the other way around.