Skip to main content

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.
Create a Telegram link, activate it, and review the linked account in SysCraft.
  1. Open the AI generator in SysCraft.
  2. Select Telegram link.
  3. Review the warning: the Telegram account will be linked to your user and the current landscape.
  4. Open the QR code on your phone or follow the Telegram link.
  5. Send /start to the bot.
  6. 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 /start will be linked to your SysCraft user.

Loading image...
The one-time link belongs to the current organization, landscape, and diagram until /start activates it.

How model changes are applied​

Send a Telegram request, review the generated plan, and confirm the resulting model change.

A typical scenario has four steps:

  1. Send a text command or a voice message.
  2. AI prepares a change plan and preview.
  3. Review the result and click Apply or send /apply.
  4. 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.

Loading image...
The log keeps the original request separate from the plan and execution result.
Loading image...
Review new systems, relationships, and diagram visibility before applying the plan.

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​

CommandPurpose
/whereShow the current landscape, domain, diagram, and pending plan
/diagramSelect the active diagram
/flowSelect a data flow
/stepSelect a step in the active flow
/playOpen and start the active flow
/next, /prevMove to the next or previous step
/stopStop flow playback
/previewShow the preview of the pending plan again
/applyApply the pending plan
/cancelCancel the pending plan
/historyShow the latest events in the Telegram session
/undoUndo the latest Telegram plan if the operation supports undo
/unlinkUnlink the Telegram account
/helpShow 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.
Loading image...
The browser refreshes the model and shows the newly created systems and relationships.

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.
Loading image...
The table shows Telegram identifiers, last activity, and current status.
Loading image...
Inbound commands and outbound confirmations are stored separately.

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.