Mattermost is using a slack compatible interface. I tried to install the following plugin Slack for Confluence Pro in Confluence and configured a the incoming web-hook of Mattermost.
The good news is that it is working out of the box and I can see Confluence changes now in Mattermost.
The pre-configure Notification format is configured by default for Slack and it is not rendered correctly in the my Mattermost channel:
I changed the notification format to a more lightweight way which fits my needs and uses []() for links:
[
{
"fallback": "${spaceTitle} - ${pageTitle} ${action} by ${actionUserName}: ${pageUrl}",
"pretext": "${action} in Space [${spaceTitle}](${spaceUrl}) by [${actionUserName}](${actionUserLink})",
"title": "${pageTitle}",
"title_link": "${pageUrl}",
"text": "${versionComment}",
"color": "#205081"
}
]
In the plugin Slack for Confluence Pro you can configure a Bot Icon Url. To make it appear in the channel I had to enable โEnable Overriding Icon from Webhooks:โ in the system console of Mattermost.