Ever wanted to integrate Nodinite with Freshdesk or any other customer support software? Using Nodinite's HTTP WebHook plugin and a Logic App it is possible.
This repository contains a simple Logic App template to get you started, which receives an HTTP call from Nodinite and uses Azure's built-in connector for FreshDesk.
For this to work you need to have:
- A running instance of Nodinite
- The HTTP Webhook alarm plugin (For this template to work, do not enable the Compress Body flag in the plugin configuration)
- A working instance of FreshDesk
- Your FreshDesk API key
Press the "Deploy to Azure" button and fill in your Azure information, the name of the resource group and a name for the Logic App. The deployment will automatically create the resources in your Azure tenant and subscription.
The only thing not provided in this deployment file is the connection information to your FreshDesk instance. This is a manual step you are required to do in the Azure Logic Apps designer.
The Logic app will be configured to retrieve data from Nodinite (the JSON schema is automatically provided) and loops over all Monitor Views that have a changed state. The Logic App will automatically create new tickets in your freshdesk for each Monitor View that has a status code that does not match 0 (status code for OK).
Some fields are pre-defined:
- Subject - Predefined value: "Error in MonitorView: {Name of the Monitor View}"
- Description - Predefined value contains the name and a link to the Monitor View in your Nodinite installation.
- Priority (SLA) - Predefined value: Low
- Status - Predefined value: Open
- Type - Predefined value: Problem
Depending on your FreshDesk instance, other fields might need to be configured, e.g. Product.
- Visit the WebClient of your Nodinite installation.
- Go to Administration, Settings, Alarm Plugins and choose the HTTP Webhook plugin.
- Choose the "Configuration" tab and fill in the URL of your Logic App in the Test URL field.
- Click the Save button. It should basically look like the screenshot below.
- Click the Execute Alarm test button
If you have followed the steps above, a ticket should be created in your FreshDesk instance - as shown below.