Message Channels
PilotDeck Agent Series
1. Overview
PilotDeck supports remote control of PilotDeck on the computer to perform tasks through instant messaging software on the mobile phone (WeChat, WeChat Enterprise, Feishu).
Message channels only provide new interaction entrances. After receiving the message, the task is still executed by the computer or server running PilotDeck, and the models and skills also use the configuration in that running environment.
2. Use
2.1 Preparation Before Access
Before configuring message channels, please confirm the following:
- The PilotDeck service is running normally, the model configuration is completed, and normal conversations can be restored normally.
- Go to "Settings → External Integration → Message Channels" and turn on "Enable Gateway" at the top of the page.
- Have the permission to create, install or use Agent in the corresponding instant messaging software.
The message gateway is uniformly responsible for the reception, routing and reply of external messages. Ordinary users usually do not need to modify the "Gateway Home Directory" and can keep the default value.
2.2 Send Messages Via Feishu/Lark
PilotDeck supports two methods of accessing Feishu by scanning QR codes to create and connecting existing applications.
2.2.1 Scan QR Code to create
-
Go to "Settings → External Integration → Message Channels", click "Feishu/Lark", and select "Scan QR code to create". According to the actual communication software used, set the domain name to
feishu.cnorlarksuite.com, click**"Generate QR code"**。
-
Use the corresponding Feishu or Lark App to scan the QR code and follow the page prompts to complete the authorization.
-
Return to PilotDeck and wait for the page to display "Application created successfully - configuration saved and enabled."
-
Confirm that the Feishu channel status is displayed as "Enabled".
If your organization restricts members from creating or installing applications, the administrator needs to complete the approval or use an already created application instead.
2.2.2 Connect to Existing Applications
-
Go to "Settings → External Integration → Message Channels", click "Feishu/Lark", select "Manual Input", and fill in the domain name, connection method, App ID, App Secret and other information in sequence.
Generally it is recommended to chooseStream(WebSocket). Select Webhook only when the public network callback service is ready.
Connection method Description Stream(WebSocket) PilotDeck actively establishes a long connection without requiring a public network callback address. It is suitable for desktop and ordinary server deployment. Webhook For Feishu to send events to the callback address, Feishu needs to be able to access PilotDeck's public network service. 
-
Click "Test Connection" to test the app's usability, then click "Save."
2.2.3 Send Messages on Feishu
Find the bot you just created or connected to on Feishu and send a message directly using natural language.

2.3 Send Messages Via WeChat
-
Go to "Settings → External Integration → Message Channels", click "WeChat", and click**"Scan QR code to log in"**。
-
Use WeChat to scan the QR code and confirm login on your phone.
-
Return to PilotDeck and wait for the page to display "Login successful - Credentials saved."
-
Confirm that the WeChat channel status is displayed as**"Enabled"or"Connected"**。
-
Open the private chat with the robot bound after scanning the QR code in WeChat, and send messages directly using natural language.
2.4 Send Messages Through Corporate WeChat
PilotDeck supports two methods of accessing Enterprise WeChat: scanning QR code to configure and connecting to existing applications.
2.4.1 Scan Code Configuration
-
Go to "Settings → External Integration → Message Channels", click "Enterprise WeChat WeCom" and select**"Scan code configuration", click"Generate enterprise WeChat QR code"**。

-
Use Enterprise WeChat to scan the QR code and follow the page prompts to complete authorization.
-
Return to PilotDeck and wait for the page to display "Enterprise WeChat configuration successful—Bot credentials saved and enabled."
-
After scanning the QR code to configure, private chat is allowed by default, and group chat is closed by default. If you need to use it in group chat, please click "Manual input" to modify it. After the configuration has been completed by scanning the QR code, the Bot ID, Secret, and WebSocket URL can be left blank, and the allowed users or group chat whitelist can be filled in as needed.
If your organization restricts members from creating or installing applications, the administrator needs to complete the approval or use an already created application instead.
2.4.2 Connect to Existing Applications
Go to "Settings → External Integration → Message Channels", click "Enterprise WeChat WeCom", select "Manual Input", and fill in the Bot ID, Secret, WebSocket URL (usually keep the default value), private chat policy, group chat policy and other information.
For enterprise projects, it is recommended to use whitelists to control access scope. Fill in the corporate WeChat user ID for the private chat whitelist, and fill in the group chat ID for the group chat whitelist. Use commas to separate multiple values.
2.4.3 Send Messages in Corporate WeChat
Find the robot you just created or connected to in WeChat Enterprise and send a message directly using natural language.
