Skip to content

Tools4everBV/HelloID-Conn-Prov-Notification-Topdesk

Repository files navigation

HelloID-Conn-Prov-Notification-Topdesk

Important

Please be aware that the notifications only can be triggered by events. If you need entitlements please use the Target connector HelloID Topdesk target system

Important

This repository contains the connector and configuration code only. The implementer is responsible to acquire the connection details such as username, password, certificate, etc. You might even need to sign a contract or agreement with the supplier before implementing this connector. Please contact the client's application manager to coordinate the connector requirements.


Table of contents

Introduction

HelloID-Conn-Prov-Notification-Topdesk is a notifcation connector. Topdesk provides a set of REST APIs that allow you to programmatically interact with its data. The Topdesk API documentation provides details of API commands that are used.

Getting started

Prerequisites

  • Archiving reason that is configured in Topdesk
  • Credentials with the rights as described in permissions

Connection settings

The following settings are required to connect to the API.

Setting Description Mandatory
BaseUrl The URL to the API Yes
UserName The UserName to connect to the API Yes
Password The Password to connect to the API Yes
Archiving reason Fill in an archiving reason that is configured in Topdesk Yes
Toggle query linked assets Enable if you want to add a list of linked assets in your change or incident
Message no linked assets found Message shown when no linked asset is found Yes
Filter queried assets The type of assets that need to be queried. Leave empty if you want to query all linked assets
Toggle debug logging Creates extra logging for debug purposes

Permissions

The following permissions are required to use this connector. This should be configured on a specific Permission Group for the Operator HelloID uses.

Permission Read Write Create Archive
Call Management
First line calls x x x
Second line calls x x x
Escalate calls x
Link object to call x
Link room to call x
Change Management
Requests for Simple Change x x x
Requests for Extensive Change x x x
Simple Changes x x
Extensive Changes x x
Supporting Files
Persons x x x
Operators x
Operator groups x
Suppliers x
Rooms x
Supporting Files Settings x x
Reporting API
REST API x
Use application passwords x
Asset Management - Assets
Configuration x
Firsttemplate x
Hardware x
Inventories x
Licentie x
Network component x
Software x
Stock x
Telephone systems x

Templates

There are two different templates. One for changes and one for incidents. They can be mixed when configured in Topdesk.

Important

Please keep in mind that the key form field names in the templates are used in the notification.ps1 changing them will break the connector.

It is possible to hide or disable (make them read-only) certain form fields if they are not used or should not be changed. For example, the branch should always be 'Baarn' and the field must be hidden in the configuration:

  {
    "key": "Branch",
    "type": "input",
    "defaultValue": "Baarn",
    "templateOptions": {
      "label": "Branch",
      "description": "Fill in the branch name that is used in Topdesk. This is a mandatory lookup field.",
      "required": true,
    "disabled": true
    },
  "hide": true
  },

Changes

To create a form for changes the following template should be used: template_change.json.

The table below describes the different form fields from the template.

template key Description Mandatory
scriptFlow Fixed value of Change (read-only) Yes
TopdeskPersonCorrelation Which Topdesk field is used to correlate the requester (employeeNumber or email) Yes
TopdeskPerson Fixed value or a HelloID variable of the requester. Make sure you configure a 'fallback' when using a notification variable Yes
Template The code of the template from Topdesk Yes
ChangeType Type of the change in Topdesk Simple or Extensive Yes
BriefDescription Title of the Topdesk Change Yes
Request Request info that is shown in the Topdesk Change Yes
Action Optionally add an action to the Topdesk change
Category The category is commonly filled in the Topdesk change template
SubCategory The subcategory is commonly filled in the Topdesk change template
Impact The impact is filled in the Topdesk change template
Benefit The benefit is commonly filled in the Topdesk change template
Priority The priority is commonly filled in the Topdesk change template

Incidents

To create a form for incidents the following template should be used: template_incident.json.

Note

The Topdesk incident API uses HTML tags. For example by using the tags <'strong'><'/strong'>. By default, we convert all "enter" (\n) to <'br'>, so you can just use the 'enter' button when filling in the Request Description and Action of the incident. For more information about the HTML tags: Topdesk incident API documentation

The table below describes the different form fields from the template.

Key Description Mandatory
scriptFlow Fixed value of Incident Yes
TopdeskPersonCorrelation Which Topdesk field is used to correlate the caller (employeeNumber or email) Yes
TopdeskPerson Fixed value or a HelloID variable of the caller. Make sure you configure a 'fallback' when using a notification variable Yes
RequestShort Title of the Topdesk Incident Yes
RequestDescription Request info that is shown in the Topdesk Incident. HTML tags supported Yes
Action Optionally add an action to the Topdesk. HTML tags supported
Branch Fill in a existing branch Yes
OperatorGroup Operator group name that will be assigned to the incident
OperatorCorrelation Which Topdesk field is used to correlate the operator (employeeNumber or email)
Operator Operator that will be assigned to the incident
Category Fill in the category name that is used in Topdesk
SubCategory Fill in the subcategory name that is used in Topdesk
CallType Fill in the branch call type that is used in Topdesk
Impact Fill in the impact name that is used in Topdesk
Priority Fill in the priority name that is used in Topdesk
EntryType Fill in the entry type name that is used in Topdesk
Urgency Fill in the urgency name that is used in Topdesk
ProcessingStatus Fill in the processing status name that is used in Topdesk

Note

Some fields in Topdesk are marked mandatory in the Topdesk configuration. These fields are default not marked mandatory in the template.

Query assets

In the configuration there is a option to enable query assets. When this is enabled you can add a list of assigned assets of the person to the change or incident.

To add the list of assets the $($account.TopdeskAssets) variable needs to be used. For example:

Assets:
$($account.TopdeskAssets)

Tip

If only certain assets needs to be queried you can add a list of asset types. Each type needs to be on a separate line in the configuration. Also note the assets types are case sensitive. Leave empty if you want to query all assets. For example:

Hardware
Software

Getting help

For more information on how to configure a HelloID PowerShell connector, please refer to our documentation pages

If you need help, feel free to ask questions on our forumPost

HelloID docs

The official HelloID documentation can be found at: https://docs.helloid.com/