Cheogram Webhooks

This is a Webhook to XMPP PubSub gateway. It is under heavy development and alpha testing.

Setup is done over XMPP with commands. Add webhooks.cheogram.com to your contacts to access the command UI. Use Create Node to set up a new webhook. You can set a descriptive title and the list of Jabber IDs who are allowed to subscribe.

If you subscribe over command UI or bot command instead of via a PubSub stanza, then an attempt will be made to deliver the items as chat messages to you as well.

The best format to post in is an Atom entry or feed (each entry will become one item). You must set Content-Type: application/xml.

You can also use Content-Type: text/plain to send very basic webhook payloads.

You can also use Content-Type: application/json or x-www-form-encoded, in this case the keys supported are: id, title, content, category

If you send JSON that does not match these keys, by default it will be published as raw JSON, which can be further processed by eg riddim. You can also set a datamapper schema when creating a node to map incoming JSON to Atom entries, though the syntax is a bit limited and may be replaced by a better templating tool in the future.

A part of the Soprani.ca family of projects. Based on: https://modules.prosody.im/mod_pubsub_post.html

How can I send notifications to a channel?

There is some work done on a module to allow channels to subscribe to pubsub, but this is not published yet. Use riddim for now.