Channels & Messaging

Drive your CAD workstation from Telegram, WhatsApp or Microsoft Teams — from the shop floor, a customer meeting, or the train home.

This page explains how channels work and who has to do what. Each channel then has its own complete, illustrated setup guide:

What it looks like in use

Anything you can type in the CAD chat panel, you can send from a channel. The message runs on your workstation, in your CAD session, and the answer comes back in the same conversation.

Create a new part and make a 50 mm cube
What is the volume of the current part?
Add a 5 mm fillet to the top edges and send me a screenshot

If your CAD application is not running, CADCoPilot starts it for you before executing the request.

How a message reaches your CAD

Every channel follows the same six stages. Only the first two differ per channel — everything from the CADCoPilot server onward is shared.

How a channel message reaches your CAD workstation Six stages: you send a message from Telegram, WhatsApp or Microsoft Teams; the messaging provider hands it to the CADCoPilot server, either by Telegram long polling or by a signed webhook POST; the ChannelRouter maps the sender identity to your CADCoPilot account and checks your plan; the message is pushed over the SignalR relay hub to the tray Agent on your PC; the Agent passes it to the CAD add-in over a local named pipe and CAD executes it. The reply travels back along the same path. Inbound: your message travels down. Reply: back up the dashed line. You Telegram app, WhatsApp, or the Microsoft Teams client signed in as you, on any device your message The messaging provider Telegram Bot API · Twilio · Azure Bot Service your company's bot token / number / bot app id long poll (Telegram) or webhook POST (WhatsApp, Teams) CADCoPilot server — inbound works out which company the message belongs to, and verifies it is genuine /api/channels/whatsapp/inbound · /api/channels/teams/messages normalised message + sender id ChannelRouter — who are you? sender id → your CADCoPilot account, then the plan check ChannelIdentityLink (org + channel + sender id) pushed to your PC only SignalR relay hub → tray Agent on your PC the Agent holds an authenticated connection using your CADCoPilot sign-in wss://www.cadagent.plmcadutilities.com/hubs/relay local named pipe Your CAD application SOLIDWORKS, Inventor, NX or Solid Edge — launched if it is not running CADCoPilot_<CAD>_Chat Reply — the same path, reversed CAD → add-in → tray Agent → back over the relay hub → the server matches it to your    waiting message (10 min limit) → sent out the same channel,    using the company credential Long answers are split into parts. Screenshots come back as images on Telegram; as text elsewhere.
The message never travels to someone else's PC. The router looks up which CADCoPilot account the sender is linked to and pushes the message only to that user's own workstation. If nobody is linked to the sender, the bot replies with a linking prompt instead of running anything.

Who does what

Three different people are usually involved. The channel guides mark every step with the role that owns it.

Messaging Channels page in the org portal, with the Telegram, Microsoft Teams and WhatsApp panels
Org portal → Messaging Channels. One panel per channel, plus the user self-connect switch. Secrets are encrypted at rest and never shown again after saving.

Choosing a channel

  Telegram WhatsApp Microsoft Teams
Provider account None — a free bot from @BotFather Twilio (paid, per message) Microsoft Entra ID + Azure subscription
Setup effort Minutes An hour, plus business verification for a production number IT admin job; app registration and bot resource
How CADCoPilot receives Our server polls Telegram (nothing to open inbound) Twilio posts to our webhook Azure Bot Service posts to our webhook
How a user links One click — a deep link opens the bot and links automatically Send the one-time code to the company number Automatic when the account carries the same Microsoft identity; otherwise send the code to the bot
Screenshots in replies Yes, sent as photos No — text only No — text only
Reply length per part 4000 characters 1500 characters Single message

Most companies start with Telegram to prove the flow end to end, then add Teams for everyday internal use and WhatsApp for people who live in it already. There is no need to pick just one — all three can run at the same time, and a person can link more than one.

Before you start

  1. All three channels are enabled by default for every organization. A channel stays inert until its credentials are saved, so “enabled” on its own changes nothing.
  2. Your plan must include messaging channels. Trial, Pro, Team and Organization plans all include them. If it has been switched off for your organization, the bot replies “Messaging channels aren't enabled for your plan.”
  3. Each user must have signed in to CADCoPilot from the CAD add-in at least once on the PC they want to drive — the tray Agent reuses that sign-in to hold its connection to the server.

The tray Agent

The tray Agent is the piece on your workstation that keeps the connection to CADCoPilot open and hands messages to the CAD add-in. If it is not running, channel messages cannot reach your CAD — you will get “No active CADCoPilot agent found on your PC.” instead.

The CADCoPilot tray Agent status window showing the relay connection and per-channel link state
The tray Agent status window: server connection, which channels your company has enabled, whether you are linked to each, and which CAD applications are running.

Leave it running (it is happy to start with Windows). The status window also carries the Connect buttons for Telegram and WhatsApp, so you never have to go to the portal to link yourself.

Connecting yourself

You can link from either place — they do exactly the same thing:

The Messaging Channels section of the CAD add-in Settings dialog with Connect buttons for Telegram and WhatsApp
Settings → Messaging Channels in the CAD add-in. Each row shows whether the channel is enabled for your company and whether you are connected.

Pressing Connect asks the server for a one-time code that is valid for 30 minutes and can be used once. What you do with the code depends on the channel — see the channel guide. If the Connect buttons are greyed out, your org admin has turned off User self-connect.

If something does not work

Each channel guide has its own troubleshooting table. These apply to all three:

Symptom Cause Fix
“This account isn't linked to CADCoPilot.” The sender identity has no link to a CADCoPilot user in your organization. Press Connect in the add-in Settings or tray Agent and follow the channel's linking step.
“No active CADCoPilot agent found on your PC.” The tray Agent is not running, or lost its connection to the server. Open the tray Agent, press Start, and check it reports connected. Sign in from the CAD add-in if it complains about the session.
“Messaging channels aren't enabled for your plan.” The messaging-channels entitlement is off for your organization. Contact your reseller or CADCoPilot support to have it enabled on the subscription.
Message accepted, then silence — no reply at all. The request took longer than 10 minutes; the server no longer has anywhere to send the answer. Break the task into smaller steps. Long operations are better started from the CAD chat panel, where nothing times out.
The reply went to the wrong person's CAD. That phone or account was linked with someone else's one-time code. Have the correct person press Connect and send the new code from that same phone or account. The link is repointed to them.
Two PCs are signed in — the wrong one answers. When several of your workstations have the Agent running, the most recently connected one wins. Stop the Agent on the machine you do not want to drive, or restart the Agent on the one you do.
Everything stopped working after a server restart. The list of connected workstations lives in memory and is emptied on restart. Agents normally reconnect and re-register on their own, but an agent whose retries all failed stays disconnected. Open the tray Agent and press Stop then Start. Your channel links are stored in the database and are not lost.

Security

Next