Skip to content
LogoLogo

Channels reference

This page lists the facts behind every Channels task, and the Channels overview links to the steps.

The Channels page

  • Channels in the sidebar shows one tile per type: Email, Slack, Telegram, Webhook and FTP / SFTP.
  • A tile counts its channels, such as "3 destinations", or says "No destinations yet".
  • The Slack tile names the connected Slack workspace. Without a connection it says "Not connected". When Slack refuses the connection it says Needs attention.
  • A tile opens the type's page. It lists the type's channels, each with Test and the ⋯ button (More actions). It ends with a button such as Add Email destination.
  • A muted channel's row is dimmed and shows Muted.
  • The Email page has two tabs: Delivery destinations, the email channels, and Addresses. See The Addresses tab.
  • A channel's name opens its own page with its delivery history.
  • When you ask in chat to add a channel, chat opens the same form beside the conversation.

Types

Every channel has one of five types. The type is set when the channel is made and cannot change.

TypeSends toNeedsWhat a report delivers
EmailUp to 10 addressesNothingAn email with the report file attached
SlackOne channel in your Slack workspaceSlack under ConnectorsA Slack message, then the report file
TelegramOne chat, group or channel in TelegramA Telegram bot under ConnectorsThe report file, with the message as its caption
WebhookOne https URL, as a Microsoft Teams card or as JSONNothingThe message with a link to the run, no file
FTP / SFTPOne folder on a serverThe server under ConnectorsThe report file only
  • Which file a report sends, PDF, Excel or CSV, is chosen per destination on its schedule. See Deliveries.
  • An agent sends to the channels you grant it in the Channels card of its access. See Decide what an agent may use.
  • Every type except FTP / SFTP can be on a Notify list. See Notifications.

Email

  • An email channel holds 1 to 10 addresses. The form takes them one by one, with Enter.
  • Every address gets the same email, with all addresses in its To line.
  • The emails come from Discontinue's own sender. The Delivery destinations card names its address.
  • A report email carries your workspace's branding, the key figures and the file. Its subject is the report's name and the time of the run.
  • A test email's subject starts with "Discontinue, test message", followed by the time.
  • A change of addresses applies from the next delivery.
  • An agent's emails count toward a workspace limit of 100 recipients per hour and 500 per day. Over it, the email fails with "Email sending limit reached". Reports and tests do not count.
  • An agent's email to an address that bounced for good or complained is refused, with "is suppressed after a permanent failure or complaint".

Slack

  • A Slack channel posts to one channel in the Slack workspace connected under Connectors, as that workspace's Discontinue app.
  • The form lists the public channels and the private channels the app is a member of. A private one shows "(private)".
  • The app posts messages to any public channel. To share a report file, it must be a member of the channel. In Slack, add it with /invite in the channel.
  • A report's message holds at most 50 Slack blocks. A longer one fails with an error. An agent's message or a test longer than 50 blocks is cut.
  • A channel in Slack that is no longer listed, because it was archived or the app left it, shows as "Current channel" with its id when you edit.
  • Disconnecting Slack deletes every Slack channel and takes them off their schedules. See Remove a connection.

Telegram

  • A Telegram channel sends to one chat through a Telegram connection under Connectors. The connection holds your bot's token. An admin adds it.
  • The form lists the chats the bot heard from in the last 24 hours: a person who wrote to it, or a group or channel it was added to. Refresh reads the list again.
  • Reading the list leaves the bot's updates as they were.
  • A chat that is not listed is typed under Chat id. The id of a group or a channel in Telegram is negative, such as -1001234567890.
  • A bot that sends its updates to a webhook has no list, and neither has a bot whose updates another program reads. Type the chat id.
  • With several Telegram connections, and whenever you edit a channel, the form asks for the Telegram connection.
  • A message holds at most 4,096 characters. A longer one fails with an error.
  • A file goes with the message as its caption when the message has at most 1,024 characters. A longer message goes first, then the file.
  • When Telegram refuses the bot token, deliveries fail with "Telegram refused the bot token". Replace the token under Connectors.
  • A Telegram connection that a channel uses cannot be removed. Delete the channel or move it to another connection first.

Webhook

  • A webhook channel posts each message to one URL. Its Format is Microsoft Teams or JSON.
  • Microsoft Teams posts a card to a Teams channel, through a Teams Workflows URL from the workflow "Post to a channel when a webhook request is received".
  • JSON posts the message as JSON, for Make, n8n, Zapier and your own systems.
  • A webhook gets no file. A report arrives as its message with a link to the run.
  • If the URL cannot be reached or answers with a 5xx server error, the message is sent once more after a second. A 4xx refusal is not retried.
  • A 3xx redirect is not followed. The delivery fails, and the error asks for the URL the receiver posts to.

The URL

Anyone who has a webhook URL can post to it, so Discontinue treats the URL as a secret.

  • It must start with https:// and point to a public address. Private, loopback and link-local addresses are refused, when you save and before every send.
  • It is stored encrypted and shown once, right after saving. After that, the channel shows only the URL's host.
  • Edit shows "Currently sends to" and the host. A new URL under Replace URL replaces it. Left blank, the URL stays.
  • A message to the URL carries no extra key or header. Only forwarded events are signed. See Forwarding events.

The JSON message

Every message to a JSON webhook has the same fields.

FieldContent
version1, the version of this message shape
kindreport for a report, agent_message for a message from an agent, notification for a message from Discontinue, such as a test or a Notify list message
titleFor a report, the report's name. For a test, "Test message"
textThe message, at most 4,000 characters. For a report: the properties and the time the data was read, a notice when the data may be incomplete, then one label: value line per key figure
urlA link into Discontinue, such as the report run, or null
sourceWhat sent the message: its type, which is report, agent or platform, with its id and name. Each of the two can be null
sent_atWhen the message was sent, as an ISO 8601 time
ai_generatedtrue for reports and agent messages, false for tests and Notify list messages
  • A message over 4,000 characters is not cut. It fails with an error.
  • A person needs a Discontinue account to open the url.

The Teams card

  • The card shows the title, the text and a link line, such as "View the full report online" for a report or "Open in Discontinue", with "(sign-in required)".
  • An AI-generated message ends with a note that it was generated using AI.
  • A card larger than 28 KB is not sent, since Teams refuses it. The delivery fails with an error.

FTP / SFTP

  • An FTP / SFTP channel names a server connected under Connectors, a Remote path and an optional Filename template.
  • A server is connected over SFTP, FTPS or FTP, with a password. An SFTP server can use a private key instead. It is saved only when Discontinue can sign in to it.
  • The folder must exist. Discontinue does not create it.
  • The filename template takes {{tenant_slug}}, {{report_slug}}, {{date}}, {{run_id}} and {{timestamp}}. {{date}} is the day in the workspace's time zone, such as 2026-11-09. {{timestamp}} is the time in UTC.
  • Without a template, a file is named after the workspace, the report and the day, with the extension of its format.
  • A file with the same name in the folder is replaced.
  • A report schedule sends Excel to an FTP / SFTP channel unless you choose PDF or CSV.
  • A message, such as an agent's, arrives as a .txt file. Test drops a text file whose name starts with connection-test- and the time.
  • The server of an existing channel cannot be changed. The remote path and the template can.
  • A server that a channel uses cannot be removed under Connectors. Delete the channel first.

Testing, muting and deleting

  • Test sends a real message through the channel, also when it is muted. The app says "Test message sent successfully." or shows the receiving side's error.
  • Tests do not show in the delivery history.
  • Mute in the row's menu stops everything the channel sends, except tests. Unmute turns it back on.
  • A report delivery to a muted channel is recorded as skipped, and the run's page says "Skipped — channel disabled". The run does not fail.
  • An agent's message to a muted channel is skipped too. So is a Notify list message.
  • Edit opens the same form as adding, filled in. Save changes applies the change from the next delivery.
  • Delete asks "Delete this destination?" first. Deleting takes the channel off every schedule and every Notify list, and its delivery history goes with it. Schedules, reports and agents stay, and an agent run still shows what it sent.

Delivery history

  • A channel's page shows its name, then its type, Active or Muted, and how many deliveries the list holds, such as "Webhook · JSON channel · Active · 3 messages sent". The number counts failed and skipped deliveries too, and follows the filters.
  • The list holds every delivery from a report schedule or an agent, newest first, 20 per page.
  • All, Reports and Agents filter by what sent it. Any status, Sent and Failed filter by its status.
  • A row names the report or agent. A report's row also names the schedule and how the run started, such as manual. An agent's row shows the start of its message.
  • A row's status is Sent, Failed, Skipped, Pending or Running. A failed row shows its error.
  • The row's name opens the report run or agent run that sent it.
  • The history holds the newest 500 deliveries from reports and the newest 500 from agents.
  • Tests, Notify list messages and forwarded events are not in it.

Problems on the Channels page

  • When a receiver refuses a webhook channel's URL with 401, 403 or 404, a card at the top of Channels says the channel "is not receiving deliveries". Channels in the sidebar shows how many such cards there are.
  • Update channel on the card opens the channel's page, which has no Edit. The URL is changed with Edit on the channel's row, on the Webhook page.
  • The card goes away with the next delivery to that channel that works, or when the channel is deleted.
  • A refused Slack connection shows on the Slack tile and under Connectors. A refused Telegram token shows under Connectors.

Forwarding events

A JSON webhook channel can forward what your workspace does, as it happens.

  • The channel's page shows Events, with the five events it forwards:
EventType sent
An agent run succeededdiscontinue.agent.run.succeeded
An agent run faileddiscontinue.agent.run.failed
An agent run was cancelleddiscontinue.agent.run.cancelled
A report run succeededdiscontinue.report.run.succeeded
A report run faileddiscontinue.report.run.failed
  • Only admins see Forward events and Stop forwarding. Everyone sees whether the channel forwards: Off, Forwarding or Paused.
  • A channel forwards all five events or none.
  • Events from connected systems, such as a new reservation or an email, are not forwarded.
  • Each event is a POST with the fields type, timestamp and data. data holds the run's ids, names, status, what started it and its times. For a failed agent run it adds a short failure category, never an error text.
  • Each event carries the headers webhook-id, webhook-timestamp and webhook-signature, as in the Standard Webhooks scheme. A retry keeps the same webhook-id, so the receiver can drop a repeat.
  • webhook-signature is v1, and an HMAC-SHA256 in base64 over the id, the timestamp and the body, joined by dots. The key is the part of the channel's Signing secret after whsec_, decoded from base64, as Standard Webhooks libraries expect.
  • A webhook channel gets its Signing secret, starting with whsec_, when it is made. It shows once, right after saving, and cannot be read again.
  • A channel made before signing existed has no signing secret. Its events go out without webhook-signature.
  • An event that fails is tried again, up to 8 tries in all over about 15 hours. A 408, a 429, a 5xx or no answer is retried. Any other refusal is not.
  • Muting the channel pauses forwarding. Events of that time are sent once it is unmuted.
  • Forwarded events are not kept. The receiver's own log is the only record.
  • While a channel forwards, its format stays JSON, and only admins mute it, replace its URL or delete it.

The Addresses tab

The Addresses tab on the Email page is about your agents' own email addresses, not about channels.

  • It lists the workspace's addresses on its own domains and the agent each one belongs to. Admins add addresses and assign them.
  • A domain is connected under Settings, then Workspace. Manage domains leads there.
  • Admins see how many recipients the workspace's agents emailed in the last hour and the last 24 hours, out of 100 and 500.
  • An agent's own address is how people email it. See Choose when an agent runs.

Who can do what

Everyone in the workspace can add, test, edit, mute and delete every channel and read every delivery history. Admins connect Telegram under Connectors, start and stop forwarding events, and mute, re-point and delete a channel that forwards events.

Limits

WhatLimit
Text of a webhook message4,000 characters
Microsoft Teams card28 KB
Recipients of an agent's emails, for the whole workspace100 an hour, 500 a day
Telegram message4,096 characters
Telegram caption with a file1,024 characters
Slack message of a report50 blocks
Retries of a message to a webhook1
Tries of a forwarded event8
Deliveries in a channel's historyThe newest 500 from reports and 500 from agents

The monthly deliveries of reports and agents and the other fixed ceilings are on Limits and cost controls.

What is not possible yet

  • A webhook gets no file. Use an email, Slack, Telegram or FTP / SFTP channel for the file.
  • A channel's type cannot be changed, nor an FTP / SFTP channel's server. Set up a new channel.
  • A webhook URL and a signing secret cannot be read again after saving. Replace the URL with Edit.
  • The app offers no way to renew a signing secret, or to add one to a channel that has none.
  • A channel cannot forward a chosen part of the events, or events from connected systems.
  • Discontinue keeps no record of forwarded events and cannot send one again.
  • Discontinue does not create folders on an FTP / SFTP server.
  • Microsoft Teams is reached only through a Teams Workflows webhook. There is no Teams connection.
  • An email channel cannot send to more than 10 addresses. Set up a second channel.

Terms

  • Channel: a place Discontinue sends results to, such as email addresses, a channel in Slack or a folder on a server. The Channels screens also say destination.
  • Type: what kind of place a channel sends to: Email, Slack, Telegram, Webhook or FTP / SFTP.
  • Format: how a webhook channel shapes its message: Microsoft Teams or JSON.
  • Channel in Slack, channel in Telegram: a channel inside Slack or Telegram. A Slack channel or a Telegram channel is a channel in Discontinue that sends to one.
  • Connection: the account under Connectors that a Slack, Telegram or FTP / SFTP channel sends through.
  • Test message: what Test sends to check a channel.
  • Muted: set up, but sending nothing except tests.
  • Delivery: one message or file that a report or an agent sent through a channel, with its status.
  • Delivery history: the list of a channel's deliveries, on its page.
  • Forwarding events: posting the workspace's own events to a JSON webhook channel as they happen.
  • Signing secret: the key a receiver uses to check that a forwarded event came from Discontinue.