WHMCS hook to Slack. Send notification to slack channel or user on ticket open and user reply.
Just copy slack.php
and slack.json
to $WHMCS_ROOT/includes/hooks
directory.
Edit file slack.json
and change hook_url
to your slack hook url.
{
"hook_url" : "your_slack_hook_url",
"username" : "WHMCS",
"emoji" : ":loudspeaker",
"channel" : "#whmcs"
}
Explanation
hook_url
: your slack's hook URLusername
: whatever you want to display in slack channelemoji
: emoji iconchannel
: Slack channel to receive the notification
Now, try open ticket in the client area. You should receive notification from WHMCS every ticket open and user reply.