Knowledge Base
Sending Notifications to a Slack Channel Data Ingestion & Notifications
Context
If you and your team use Slack for communications, MSP Process can alert you when an event occurs by sending notifications to a Slack channel. Examples of this include:
- Putting a message in a Slack channel when a critical priority ticket is logged in your PSA
- Putting a message in a Slack channel when one of the platforms you use to power your business (for example, your Backup solution) logs a failure
Creating the Slack App
- Login to the Slack API site (https://api.slack.com/apps)
- Click the Create an App button
- Choose the From a manifest option
- Choose which workspace you'd like to develop the app in; click Next to move to the next step:
- When prompted to insert a manifest, click on the YAML tab
- Enter the following text into the YAML tab
- _metadata: major_version: 1 minor_version: 1 display_information: name: MSPProcess features: bot_user: display_name: MSPProcess always_online: false oauth_config: scopes: bot: - incoming-webhook settings: org_deploy_enabled: false socket_mode_enabled: false token_rotation_enabled: false
- Click Next
- Click Create to finish creating the app
Customizing the Icon of the Slack App
By default, any new Slack app uses a default icon. You'll likely want to customize that icon, so that it's easier to see when MSP Process has posted to your Slack channel.
- In the https://api.slack.com/apps website, edit the MSP Process app that you just created
- Navigate to Settings -> Basic Information
- At the bottom of the page, in the Display Information section, upload the logo below into App Icon & Preview.
- Click the Save Changes button when ready
Creating a Webhook in Slack for MSP Process to Use
- In the https://api.slack.com/apps website, edit the MSP Process app that you just created
- Navigate to Features -> Incoming Webhooks
- At the bottom of the page, click the Add New Webhook button
- When prompted, choose which Slack channel this webhook will post into
- Once you've saved that webhook, copy it into your clipboard; you'll need it for the next step
Configuring a Notification To Send Messages to a Slack Channel
- Login to MSP Process
- Open the Notifications module
- Click the Create button to add a new Notification
- Configure the Notification as needed:
- Give it a Name
- Select which Data View it should use (for example, an App Bot or a Webhook)
- Enable the Slack output by clicking on it, and then configure the Slack settings by clicking the gear icon
- Configure how MSP Process will send messages into your Slack channel by doing the following:
- Provide the webhook URL from the previous section
- Configure what the payload of the message will be - note that you can use variables to insert dynamic data from the Data View
- Click Test to ensure that MSP Process is able to communicate with Slack; you'll see a "Hello, world" test message show up in the Slack channel
- Click Update to save the Slack configuration in MSP Process
- Click Create to save the Notification in MSP Process
Congratulations! You've now configured MSP Process to send a message to a Slack channel.
Receiving Ticket Updates from HaloPSA Data Ingestion & Notifications
Use Case:
You're an MSP who leverages HaloPSA, and you want MSP Process to be aware of ticket changes in HaloPSA, so that you can notify whomever is on-shift when critical issues come up.
The functionality outlined in this KB article is only available on the Pro plan for MSP Process.
Creating a Webhook Receiver in MSP Process
- Login to the MSP Process UI (https://app.mspprocess.com)
- Navigate to the Monitor and Notify > Webhooks page
- Click the Create button to create a new Webhook receiver
- Click the Get button to generate a URL
- Click the Copy (
) button on the right-hand side of the URL; you'll need the URL in the next section
- Leave this MSP Process window open, on this page; you'll be coming back to it in a later step
Configuring a Webhook Trigger in HaloPSA
- Login to your HaloPSA tenant
- Navigate to Configuration -> Webhooks
- Click the New button in the top right-hand corner of the HaloPSA UI
- Specify a name for the webhook (we recommend MSP Process - Ticket Status Changes)
- Paste the URL from the previous section into the Payload URL field
- In the Payload section, ensure that Full Object with linked objects is chosen in the Payload drop-down menu
- In the Events section, click the
button
- Choose New Ticket Logged from the Event drop-down menu
- Click Save
Sending A Test Event To MSP Process
- In HaloPSA, create a new ticket
- In the MSP Process UI, you'll see the webhook payload appear
- Specify a name for this Webhook Receiver in the Integration Name field
- On the right-hand side of the UI, uncheck any fields that you don't want to store or process.
- Ensure to check at least one instance of the ID field - this will tell MSP Process how to uniquely identify this event. In this context, choose the ticket_id field
- Click Submit
- In the Data View Creation pop-up that appears, check the link to webhook option, and then click the Create button
Congratulations! HaloPSA will now send webhook events to MSP Process whenever the status of tickets change.
For instructions on how to send notifications - through e-mail, SMS, Slack or Microsoft Teams - refer to this KB article.
Notifying On Specific Ticket Details Data Ingestion & Notifications
Use Case:
You want to notify your technicians, with a text message, when a ticket's status changes - for example, to an "Escalated" status.
This KB article will guide you through what you need to setup; if you want to be notified for any other specific details observed in a ticket by sending an e-mail, a Slack message, or a Teams message, the same steps apply.
Ingesting Ticket Data From Your PSA:
For ConnectWise or Autotask, you'll setup an App Bot that will query your PSA every 5 minutes for ticket updates.
For HaloPSA, you'll configure HaloPSA to send a webhook event to MSP Process whenever a ticket changes status. Click here for the KB article that outlines those steps, and skip to the Configuring a Notification portion of this article.
- Navigate to Monitor and Notify > App Bots
- Click the Add New button
- Give the App Bot a name - such as Ticket Observer
- Choose the Autotask or ConnectWise ticket observer (depending on which PSA you use)
- The App Bot needs to know how to communicate with your PSA: choose the existing API connection from the PSA Integration menu
- Click Submit, then in the Data View Creation pop-up that appears, check the link to app bot option, and then click the Create button.
Viewing the Data From Your PSA:
If you're curious to see what data we've been ingesting from your PSA, you can see it from the Monitor and Notify > Data menu and selecting the appropriate Data View:
Configuring a Notification:
- Open the Notifications module (Monitor and Notify > Notifications):
- Click the Create button
- Give this Notification a name (for this example, we will create a notification for Ticket Status Changes to In Progress), and choose the Ticket Observer Data View:
- Open the Filter section, and find the StatusName field; click on the + sign on the right-hand side:
- Click on the + sign to choose from the list of Statuses that MSP Process has observed:
- Note: If we have just created the app bot and relevant data view, we may have yet to ingest any payloads - in this case either enter the Status Name(s) manually, or wait 5 minutes for the next sync.
- Select the status (or any other relevant field) you wish to be notified on, and click the > button to save your selection. The Filter section should now look like this:
- Scroll to the bottom of the Notification; click on SMS to enable that output, and then click on the "gear" icon to configure it:
- Configure who should receive the text message, either by manually typing in their phone number, choosing one of your technicians from the drop-down menu, selecting the assigned technician mobile number field, or specifying a Notification Group (see this article for Notification Group Setup). Also, configure the text message that is to be sent:
- Note: You may include any details specific to the payload observed by clicking the + next to the message field.
- Click Update when everything has been configured
- Click Create to finish creating the Notification
Congratulations! You've configured MSP Process to send your technician a text message whenever the status of a ticket is changed to a specific value. Using the steps outlined above, you can create any other notifications tied to other filters which you can specify in their own notification rules.
Scheduled Entry/Service Call Notification Setup Data Ingestion & Notifications
This support article will help you setup Scheduled Entry (for ConnectWise Manage) or Service Call (Autotask) Notifications using our Monitor and Notify feature set.
Creating the App Bot:
Go to Monitor and Notify > App Bots
Click on Add New in the top right corner.
Ensure Status is set to Enabled and Data Processing is set to Identity and Non-Identity Fields.
Give it a name and select either ConnectWise Scheduled Entry Observer or Autotask Service Calls.
Click Integration and select ConnectWise and it will fill in all the integration fields.
Then choose Start from X days before now field and set it to a minimum of 3 days (we typically recommend 7 days as a solid benchmark). This will sync up scheduled data from the last 7 days so the system has a baseline for existing scheduled entries.
Finally, select the relevant Scheduling types for this App Bot and click submit!
In the Data View Creation pop-up that appears, check the link to app bot option, and then click the Create button.
Setting up the Notification Criteria:
You can then setup notification rules to target this data from Monitor and Notify > Notifications
Some common examples given the app bot we created may be:
- When you want to send out a notification on a new scheduled entry for a technician, when an appointment is coming up or past due.
- Notify clients based on technician being scheduled on their ticket.
Below is a sample notification where we are sending the technician a reminder notification 45 minutes before the call is due. Notice the last option should be turned on to skip the initial notification (ie when the resource was first scheduled). This prevents duplicate notiifcations.
If we did not use the repeat notification, then the system would just send notifications when resources are scheduled on a ticket.
Update Purchase Orders to ConnectWise Data Ingestion & Notifications
To post updates from an email that was parsed to a ConnectWise PO you can enable this on the Notification level as shown below:
Click Integration and select your integration PSA name and it will autopopulate the fields as shown below.
The next screen you can right click in each of the fields and add the variables to it.