Discord, Slack, Google Chat and webhooks
Post pool events to your league's channel, or send them as signed JSON to Zapier, Make or your own bot.
The commissioner connects the pool to the league's chat tool in Discord, Slack and webhooks, under the gear icon. Puckera posts the events you choose: completed trades, roster moves, team of the night, new records, draft picks, auction sales, polls and side bets, chronicle, champion, players on the block, trophies, NHL contracts, commissioner announcements. Never members' messages or email addresses.
Add a webhook
Up to 5 webhooks per pool. For each one: a name, the address and the events posted. The type is chosen when adding it:
- Discord, Slack or Google Chat: a message in a channel. The platform is recognized from the address. The page explains where to copy the address in each tool.
- Generic webhook (signed JSON): a signed JSON delivery to your https address (port 443, with a domain name). For Zapier, Make or a home-made bot.
The address is encrypted and never shown again: to change it, paste the new one. "Send a test" checks that everything is connected. Texts are posted in the pool's language.
When a delivery fails
A failed delivery is retried after 1, 5 and then 30 minutes, then marked as failed. After 10 failures in a row, or if the tool answers that the address no longer exists or is no longer allowed, the webhook is disabled and the commissioners are notified. Fix the address, then "Enable".
The signed JSON webhook
- When you create it, Puckera shows the signing secret only once: copy it right away. "Regenerate secret" creates a new one; the old one stays valid for 24 hours, giving you time to update your bot.
- "Send a test" sends a signed test event and shows the response and how long it took (at most 10 tests per hour).
- "Latest deliveries" lists the last 20 deliveries with their response code; "Resend" puts a failed delivery back in the queue with the same identifier, so your bot can recognize a duplicate.
The message format and how to verify the signature are described on the site's Developers page, outgoing webhooks section, which the "Message format and signature verification" link leads to.
Updated Sun, Nov 29