Panel: Channels
On this page
Where your users talk to the assistant. Each API key, website widget, Telegram bot and mailbox is its own channel with its own conversations; one person talking on two channels is still one identity, with a thread on each. A reply always goes out on the channel the message came in on.
Every channel has:
- A summary: what its messages are likely about, such as "orders and deliveries from the shop app". The AI reads it as a hint, never as a rule.
- A restriction (optional), under Reaches: limits the channel to chosen resources and everything under them. Enforced by code: on a restricted channel the assistant cannot find or use anything else. None means every resource the rules allow. A user's personal notes, and the fallback resource, are always reachable.
People are told they are talking to an AI (EU AI Act, Article 50). On an API key, website widget or Telegram bot, the first reply a person ever gets on that channel starts with "(You are chatting with
Your plan includes some bots, mailboxes and API keys (see Billing); a website widget counts as an API key. Those held at the end of a monthly period beyond the plan's are charged for that month; what came and went during the month is not counted.
API: Channels section (/telegram, /email, /channels) and API keys section (/api-keys, /webhook, /widgets), see the API reference.
API keys
For your own app, website or backend, and for AI agents acting for you. A key signs requests to the API; see the Developer API for how.
Issuing a key
Issue a key with:
- Label: a name for you, such as "shop backend".
- Summary: what its messages are likely about.
- Sections and folders: what the key may do. Chat sends users' messages and reads threads; the other sections do through the API what the same pages of this panel do, on the folders given (Read only or Manage, each folder reaching everything under it). A new key starts with Chat only. A key gets only what you hold yourself.
- Webhook (optional): the URL where this key's events are delivered, signed. Copy from another key reuses its URL and events (never its secret).
On Issue key you see, once, the key (dmk_...), its signing secret (dms_...) and, with a webhook, the webhook signing secret (dmw_...). Copy them then: they are never shown again. A key's access is fixed once issued: for different access, issue a new key and revoke the old one.
The keys table
Each key shows its label and summary, what it reaches (sections, folders, and any restriction), its webhook, status and when it was last used.
- Label and summary can be edited.
- Webhook: set or change the URL and the events, New secret to rotate the webhook signing secret (shown once), or Remove.
- Reaches: the channel restriction.
- Revoke stops a key at once. Revoke all stops every key (for example after a leak).
Any number of keys can be active at once, so you can rotate one without downtime.
Webhook events
| Event | When |
|---|---|
message.created |
A reply or progress update for a user on this key's conversations, including files handed over. |
email.sent, email.failed, email.bounced |
An email a resource or the API asked for was sent, failed, or bounced. |
upload.processing, upload.ready |
Documents uploaded are still being read, or are all read (with any that could not be read and why). |
A reply goes to the key its conversation is on; company events (emails, uploads) go to every key subscribed to them. Each payload names the key, so several keys can share one URL. See Developer API for payloads, signatures and retries.
Webhook deliveries
The list of every delivery: event, key, status, attempts and the last answer from your server. Deliveries are sent oldest first per key and retried for up to 15 days.
Website widgets
A chat box for your own website: see Website widget for the snippet, the token your server signs, and safety.
- Add a widget: a label, the sites it may run on (one per line, such as
https://shop.example.com, orhttps://*.example.comfor its subdomains), a summary, and an optional messages a minute per user (0 for no limit). Then its look: title, logo address, colour, greeting, bottom right or left, and light, dark or following the visitor. A preview shows it as you set it. - Its signing secret is shown once, with the snippet to put on your pages. Keep the secret on your server: it signs each visitor's token. Lost it? Add a new widget and revoke the old one.
- Edit changes the sites, look, limit, label and summary, shows the snippet again, and sets the restriction. Revoke stops it on your sites at once.
- Inside, a widget is an API key limited to chat. It is listed here, not under API keys, and counts toward the plan's API keys.
Telegram bots
Connecting a bot
- In Telegram, talk to @BotFather, send
/newbot, and follow the steps. It gives you a token. - Paste the token under Connect a bot, with a summary such as "attendance for employees" or "public support", and Connect bot.
Determesh checks the token and tells Telegram to send the bot's messages here. A bot can be connected to only one company. The token is stored encrypted and never shown again.
How the bot behaves
- Private chats: answers every message.
- Groups: answers only messages that mention the bot or reply to it. Before sharing private data in a group it asks "here or in private?", and sends it privately if asked. A user who has never opened a private chat with the bot gets a link to start one; the answer waits until they do.
- Photos, voice and other non-text messages are noted ("the user sent a photo") but not read yet.
- Files are sent as documents (up to 50 MB each; larger ones as download links).
- Long answers are split into several messages.
Settings per bot
- Summary.
- Allowed user IDs: only these Telegram users may talk to it. Empty allows anyone.
- Allowed group IDs: only these groups. Empty allows any group.
- Disconnect bot removes it.
A Telegram user ID is a number. People can find theirs with bots such as @userinfobot.
Temporary entries
Let a user in for a while or for a few messages, on top of the allowed list: User ID, From (optional), Until, Messages, Note. When one of your resources asks someone not on the list for a reply, an entry is added for that request automatically and lapses once the reply arrives.
Mailboxes
Your own mailbox (such as support@yourcompany.com): new mail is read over IMAP and answered through your SMTP, from your address. Nothing is sent from Determesh's servers, and no domain of ours is involved.
Connecting a mailbox
| Field | Example |
|---|---|
| Address | support@yourcompany.com |
| IMAP host and port | imap.gmail.com or imap.purelymail.com, 993 |
| IMAP username and password | Usually the full address; a mailbox or app password |
| SMTP host and port | smtp.gmail.com or smtp.purelymail.com; 587 for STARTTLS, 465 for SSL |
| SMTP security | STARTTLS or SSL |
| SMTP username and password | Only if not the IMAP ones |
| Only senders from these domains | Such as example.com, partner.org. Empty allows any sender. |
| Summary | What people write to this mailbox about |
Both logins are checked before saving, so a wrong password is refused. For Gmail and Microsoft 365 use an app password (two-step verification must be on in the account).
How the mailbox behaves
- Only new mail from the moment it is connected is read. Each is marked read and answered once.
- Mail is accepted only if the provider says it is genuine (SPF, DKIM or the provider's own authentication pass, and DMARC does not fail). Automatic mail (out-of-office, newsletters, delivery reports, no-reply senders) and mail from the mailbox itself are ignored, so two robots never mail each other forever.
- One conversation per sender address. Only the new part of each email is read: quoted history and signatures are cut. HTML mail is read as text; attachments are noted but not read yet.
- Replies are reply-all with the right threading headers, so they appear in the same email conversation.
- A blocked sender gets the block text once per block, then nothing until it ends.
- The mailbox's status shows listening or the connection error.
Disconnect mailbox removes it.