Webhook Proxy Server

by Adnan Hajdarević

Lightweight incoming webhook server to run shell commands in Mattermost

‘webhook’ is a lightweight configurable tool written in Go, that allows you to easily create HTTP endpoints (hooks) on your server, which you can use to execute configured commands. You can also pass data from the HTTP request (such as headers, payload or query variables) to your commands. webhook also allows you to specify rules which have to be satisfied in order for the hook to be triggered.

In Mattermost, you can set up an “Outgoing webhook integration” or “Slash command” to run various commands on your server, which can then report back directly to you or your channels using the “Incoming webhook integrations”, or the appropriate response body.

webhook aims to do nothing more than it should do, and that is:

1. Receive the request,

2. Parse the headers, payload and query variables,

3. Check if the specified rules for the hook are satisfied,

4. And finally, pass the specified arguments to the specified command via command line arguments or via environment variables.

Webhook Proxy Server


Adnan Hajdarević


Mattermost disclaims any and all liability for integrations, including Third Party Integrations and Mattermost Integrations. All integrations are provided "AS IS", and may be used at your own risk. Integrations may be modified or discontinued at any time.