AI through Telegram
The Telegram channel lets you work with a selected SysCraft landscape using text or voice. The bot uses the same AI boundary, access rules, selected branch, command validation, and action history as the web interface.
Through Telegram, you can:
- ask questions about the architectural model;
- add elements, relationships, and diagrams;
- create data flows and steps;
- rename and move flow steps;
- open a flow in the web interface and control its playback;
- get a plan preview before applying it;
- confirm, cancel, and, with undo support, roll back an executed plan;
- receive compact notifications about landscape changes.
Link Telegram
- Open the AI generator in SysCraft.
- Select Telegram link.
- Review the warning: the Telegram account will be linked to your user and the current landscape.
- Open the QR code on your phone or follow the Telegram link.
- Send
/startto the bot. - Wait for the message "Telegram session established".
The link saves the working context from which the QR code was created: organization, landscape, branch, domain, and diagram. If the link was created while working with a data flow, the flow and selected step are also saved.
Do not share the QR code with another person. The account that first opens the link and runs
/startwill be linked to your SysCraft user.
How model changes are applied
A typical scenario has four steps:
- Send a text command or a voice message.
- AI prepares a change plan and preview.
- Review the result and click Apply or send
/apply. - After execution, the open model or diagram updates in the web interface.
The plan is not written into the model immediately. First, it is normalized, checked by SysCraft rules, and validated. If the command is ambiguous, the bot asks a clarifying question and offers answer options. You do not need to repeat the entire request after answering.
Changes are applied in the branch saved in the Telegram session. User permissions, command history, model events, and undo availability remain the same as when working through the web interface.
Command examples
Model and diagrams:
add a DWH system to the current diagram;add Payment API and Order Service, and connect them with order exchange;create a C1 diagram and show DWH, Data Lake, and AntiFraud on it;show what will change;cancel the plan.
Data flows:
create a data flow Authorization: the user sends a login to Auth API, the API validates the token and returns the result;add a step to the current flow: UI calls Auth API;open the Authorization flow;play the flow;next;back;stop the flow.
Working with steps:
go to step 8-3;rename the current step to JWT verification;move step 8-3 before step 8-2;choose option 2.
Service commands
| Command | Purpose |
|---|---|
/where | Show the current landscape, domain, diagram, and pending plan |
/diagram | Select the active diagram |
/flow | Select a data flow |
/step | Select a step in the active flow |
/play | Open and start the active flow |
/next, /prev | Move to the next or previous step |
/stop | Stop flow playback |
/preview | Show the preview of the pending plan again |
/apply | Apply the pending plan |
/cancel | Cancel the pending plan |
/history | Show the latest events in the Telegram session |
/undo | Undo the latest Telegram plan if the operation supports undo |
/unlink | Unlink the Telegram account |
/help | Show help |
Coordination with the open web interface
After a Telegram command, the instruction to update is passed to the open SysCraft tab. The web interface can:
- open the required diagram;
- open the selected data flow;
- go to a specific step;
- start, stop, or continue playback;
- reload the model after an applied plan.
The same instruction is not executed again within a browser tab. If the user manually moved to another section after a Telegram command, the old command should not switch the screen again.
Managing linked accounts
In the "Telegram accounts" section, you can:
- see linked accounts and their status;
- check the date of last activity;
- open interaction history;
- unlink an account from the landscape.
The /unlink command performs unlinking directly from Telegram.
Limitations and security
- Telegram does not expand user permissions and does not allow reading another user's private branches.
- Dangerous or bulk changes require explicit confirmation.
- Do not apply the plan if the preview contains unexpected deletions, relationships, or diagrams.
- If the branch was deleted, became unavailable, or was blocked, create a new link from the current context.
- If the Telegram channel is disabled, the web and mobile AI continue to work independently.