1. Home
  2. Docs
  3. Integrations
  4. OnPage Integrations
  5. FreshService

FreshService

This integration uses OnPage’s Incoming Webhooks. This is a common integration path with OnPage and many other services will support this method as well. To get started, you have to access OnPage’s Webhook Console and register a Client ID and Secret Key. These are then used to authenticate the requests being sent to OnPage. Please keep these values secure as if they were a password. Although they do not allow Read access to OnPage, anyone with these keys can create Pages within your environment.

Navigate to https://integrations.onpage.com/#/integration/web-hook and login with your nps.onpage.com credentials.

Here you will see all of your currently configured Webhooks and the ability to suspend or remove them.

Click on the Create Button

Image

Give a Webhook name (i.e., New Relic ONE integration)

Copy the Secret Key and Client ID and store it in a secure place. The Secret Key is only shown once.

Image

In Freshservice

Click on Settings or (⚙️) on the left and select Workflow Automator under Helpdesk Productivity.OnPage Freshservice Integration

Choose if you want to create an Automator for Tickets, Problems, Changes, Releases, Tasks or Assets.OnPage Freshservice Integration

Provide the New Ticket Automator title and description.OnPage Freshservice Integration

Add a rule that triggers an OnPage incident if the priority is Urgent.

Event – defines when a workflow must be triggered.OnPage Freshservice Integration

Condition – defines the parameter(s) that needs to be validated during the execution of a workflow.OnPage Freshservice Integration

Action – The outcome of the workflow.

  • Select Trigger Webhook
  • Request type: POST>
  • Copy and paste the OnPage URL in the Callback URL field https://webhook.onpage.com/gw/v1/page
  • Encoding section, select JSON and Advanced
  • Copy and paste the JSON payload from the integrations console
  • Paste the payload in the Content section.
{
    "clientId": "-YOUR-CLIENT-ID-",
    "secretKey": "-YOUR-SECRET-KEY-",
    "message": {
        "subject": "-YOUR-ALERT-SUBJECT-",
        "body": "*-YOUR-ALERT-MESSAGE-",
        "recipients": ["OPID1", "OPID2", ...],
        "priority": "HIGH|LOW"
    }
}

Edit the script by inserting the Client IDSecret Key.

Add subject and body and or insert placeholders of what you would like to see as the subject and body of the message in the OnPage app.

Enter OnPage recipients OPIDs or Group IDs.

Enter Priority of the message. Either HIGH or LOW.

Click Test Webhook – you should receive an OnPage alert.OnPage Freshservice IntegrationOnPage Freshservice Integration

Click Done.