Skip to content

Nodinite/Azure.LogicApp.Template.Alert.FreshDesk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Nodinite

Nodinite - Webhook - Logic App FreshDesk Template

Deploy to Azure

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.

Requirements

For this to work you need to have:

  1. A running instance of Nodinite
  2. The HTTP Webhook alarm plugin (For this template to work, do not enable the Compress Body flag in the plugin configuration)
  3. A working instance of FreshDesk
  4. Your FreshDesk API key

Installation

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.

How it works

Azure Logic App 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.

How do I test this

  1. Visit the WebClient of your Nodinite installation.
  2. Go to Administration, Settings, Alarm Plugins and choose the HTTP Webhook plugin.
  3. Choose the "Configuration" tab and fill in the URL of your Logic App in the Test URL field.
  4. Click the Save button. It should basically look like the screenshot below. Nodinite Configuration
  5. 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.

FreshDesk Screenshot

About

An Azure Logic App template that exposes an HTTP endpoint for Nodinite to call. The template will automatically call your FreshDesk instance and create a ticket if an error occurs.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published