Connectwise/Slack Integrations

Retrieve ConnectWise ticket information into Slack channels and DMs

View project on GitHub

Integrating ConnectWise PSA and Slack for efficiency.

The goal of this project is to fully integrate the ConnectWise software into Slack slash commands and incoming webhooks to make life as an MSP much easier. The ConnectWise main interface can be slow and bogged down through many pages, whereas the API has quick responses as long as you know what you're searching for.

Latest Version: v2.2

  • Tickets: New ticket creation using /t new
  • Tickets: Ticket scheduling using /t ### scheduleme and /t ### schedule
  • Tickets: Fixed /t ### priority and /t ### status to use word value instead of ID
  • Tickets: Fixed issue #78 which caused some tickets without notes to generate errors in Slack output.
  • Configs: New variable $hidepasswords will hide any fields named Password from being sent to Slack.
  • Configs: Fixed issue with required functions being missing.
  • License: Updated license statement for install.php and update scripts.

The latest version of these scripts is available at the download links above, or you can visit the release page here.

Support

Basic support for these script is provided through the GitHub issues page. Please submit an issue for any question or error you're receiving and I'll reply as soon as possible. You can also reach me on reddit for any private questions.

Command Usage

* denotes required

cwslack.php

/t [ticket number]* [command] [option3]

status

option3 should be n2s/scheduled/completed

priority

option3 should be low/moderate/critical

full (or) notes (or) all

If $posttext=1 in config.php, shows you the latest note and the initial note. This displays to you only to avoid spam.

initial (or) note (or) first

If $posttext=1 in config.php, shows you the initial note of the ticket. This displays to you only to avoid spam.

cwslack-activities.php

/act new*|[activity title]*|[assigned to]*

All are required for activities. New will be replaced with more commands in the future.

cwslack-follow.php

/follow [ticket number]* (unfollow)

Add unfollow to the end of the command to stop following a ticket.

cwslack-contacts.php

/contact [last name]* OR [first name] [last name]

Either option works, but you cannot search by first name only.

cwslack-notes.php

/note [ticket number]* [internal OR external]* [ticket note]*

This does allow spaces for the ticket note so do not wrap in quotation marks or anything.

cwslack-configs.php

/config [company name]*|[config name]* OR [config name]*

Requires pipe symbol between the two, will return details on config that matches search.