Ticker Docs
Tools

create_destination

Create Alert Destination

Changes something you own. Reaches beyond Ticker's own data.

Use this to add a Slack or Discord channel as an alert destination. Use set_view_target instead to attach a destination that exists to a View. Create an alert destination so an alert can deliver its Matches into a Slack or Discord channel, on top of email. You provide the channel's message URL, the https posting URL that Slack or Discord generates for a channel in that app's channel settings. Ticker sends a live test message to it and only saves the destination if that succeeds, so a wrong or dead URL is rejected right away with a clear reason (nothing fails silently at 3am). Creating one delivers nothing on its own. Attach it to a View with set_view_target, which also sets how often THAT View delivers to THAT destination; read back what a View already delivers to with list_view_targets; detach with remove_view_target. (To post into a Discord channel using Ticker's own bot, with no URL to copy, set that up in the Ticker web app under Settings instead.)

Parameters

NameTypeRequiredDefaultNotes
urlstringyesThe channel's message URL from Slack or Discord (the https posting URL that app generates for a channel). Ticker test-pings it before saving.
labelstringA friendly name for this destination (e.g. '#alerts in my Discord'). Omit to auto-name it from the URL host. Up to 120 characters.

On this page