Proxy service to map different requests to Glip's inbound webhook service. This is useful because various chat services have similar, but slightly different inbound webhook services. This proxy service does the conversion so you don't have to. Applications already integrated with Slack's inbound webhooks can create messages on Glip simply by using the proxy URL.
Conversion of the following webhook message formats to Glip inbound webhooks include:
- Travis CI (outbound)
Example Webhook Message from Travis CI:
$ git clone https://github.com/grokify/glip-webhook-proxy
Start the service with the following.
$ cd glip-webhook-proxy
$ MY_APP_PORT=8080 node index.js
- create a Glip webhook
- use webhook URL's GUID to create the proxy URL as shown below
- use the proxy URL in your outbound webhook service
Service | URL |
---|---|
Glip | https://hooks.glip.com/webhook/11112222-3333-4444-5555-666677778888 |
Travis CI Outbound | https://example.com/webhook/travisci/out/glip/11112222-3333-4444-5555-666677778888 |
The webhook proxy URLs support both inbound and outbound formats. For example:
- when using Travis CI's webhook format use
travisci/out/glip
to indicate converting a Travis CI outbound webhook format message to Glip.
To create the Glip webhook and receive a webhook URL do the following:
At the top of any conversation page, click the Settings gear icon and then click Add Integration
.
Select the Glip Webhooks
integration.
Once you get the URL, the proxy URL is created by appending the GUID (e.g. 1112222-3333-4444-5555-666677778888
) to the proxy URL base, /webhook/slack/glip
(e.g. https://glip-proxy.example.com/webhook/slack/glip/1112222-3333-4444-5555-666677778888
). Use the proxy URL in the app that is posting the Slack webhook and the payload will be sent to Glip.
Glip Webhook Proxy is built using: