Skip to content

Commit 9a35205

Browse files
committed
Merge remote-tracking branch 'origin/main' into shared/rewards-center-integration
2 parents 97eec5d + b2d565d commit 9a35205

51 files changed

Lines changed: 933 additions & 0 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

docs/.vitepress/config.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,8 +113,11 @@ const enSidebar = [
113113
text: "Channel Configuration",
114114
link: "/guide/channels",
115115
items: [
116+
{ text: "WeCom", link: "/guide/channels/wecom" },
116117
{ text: "WeChat", link: "/guide/channels/wechat" },
117118
{ text: "Feishu", link: "/guide/channels/feishu" },
119+
{ text: "QQ", link: "/guide/channels/qq" },
120+
{ text: "DingTalk", link: "/guide/channels/dingtalk" },
118121
{ text: "Slack", link: "/guide/channels/slack" },
119122
{ text: "Discord", link: "/guide/channels/discord" },
120123
{ text: "Telegram", link: "/guide/channels/telegram" },
@@ -161,7 +164,10 @@ const jaSidebar = [
161164
text: "チャンネル設定",
162165
link: "/ja/guide/channels",
163166
items: [
167+
{ text: "WeCom", link: "/ja/guide/channels/wecom" },
164168
{ text: "Feishu", link: "/ja/guide/channels/feishu" },
169+
{ text: "QQ", link: "/ja/guide/channels/qq" },
170+
{ text: "DingTalk", link: "/ja/guide/channels/dingtalk" },
165171
{ text: "Slack", link: "/ja/guide/channels/slack" },
166172
{ text: "Discord", link: "/ja/guide/channels/discord" },
167173
{ text: "Telegram", link: "/ja/guide/channels/telegram" },
@@ -209,7 +215,10 @@ const zhSidebar = [
209215
link: "/zh/guide/channels",
210216
items: [
211217
{ text: "微信", link: "/zh/guide/channels/wechat" },
218+
{ text: "企业微信", link: "/zh/guide/channels/wecom" },
212219
{ text: "飞书", link: "/zh/guide/channels/feishu" },
220+
{ text: "QQ", link: "/zh/guide/channels/qq" },
221+
{ text: "钉钉", link: "/zh/guide/channels/dingtalk" },
213222
{ text: "Slack", link: "/zh/guide/channels/slack" },
214223
{ text: "Discord", link: "/zh/guide/channels/discord" },
215224
{ text: "Telegram", link: "/zh/guide/channels/telegram" },

docs/en/guide/channels.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,10 @@ nexu supports connecting multiple chat channels at the same time. Just enter the
44

55
Click one of the links below for a detailed setup guide:
66

7+
- [WeCom](/guide/channels/wecom) 🆕
78
- [Feishu](/guide/channels/feishu)
9+
- [QQ](/guide/channels/qq) 🆕
10+
- [DingTalk](/guide/channels/dingtalk) 🆕
811
- [Slack](/guide/channels/slack)
912
- [Discord](/guide/channels/discord)
1013
- [WeChat](/guide/channels/wechat)

docs/en/guide/channels/dingtalk.md

Lines changed: 116 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,116 @@
1+
# DingTalk
2+
3+
All you need is a Client ID and Client Secret to connect your DingTalk bot to nexu.
4+
5+
## Step 1: Open the DingTalk channel in nexu
6+
7+
1. Open the nexu client and click **DingTalk** in the Channels section.
8+
9+
![Choose DingTalk in nexu](/assets/dingtalk/step7-choose-dingtalk-channel.webp)
10+
11+
2. Open the DingTalk developer platform: https://open.dingtalk.com/
12+
13+
![Open the DingTalk platform from nexu](/assets/dingtalk/step7-open-platform-link.webp)
14+
15+
## Step 2: Sign in to the DingTalk developer platform
16+
17+
1. Use the DingTalk app to scan the login QR code.
18+
19+
![DingTalk developer platform login QR](/assets/dingtalk/step1-login-qr.webp)
20+
21+
## Step 3: Create a DingTalk app
22+
23+
1. After signing in, go to the app development guide page and click "Create App".
24+
25+
![Create app entry on the home page](/assets/dingtalk/step2-home-create-entry.webp)
26+
27+
2. On the app development page, click "Create App" in the upper-right corner.
28+
29+
![Create DingTalk app entry](/assets/dingtalk/step2-create-app.webp)
30+
31+
3. Fill in the app name, description, and icon, then click "Save".
32+
33+
![Fill in app name and description](/assets/dingtalk/step2-fill-app-info.webp)
34+
35+
## Step 4: Add bot capability to the app
36+
37+
1. Open the app details page, go to "Add App Capability", and click "Add" on the Bot card.
38+
39+
![Add bot capability](/assets/dingtalk/step3-add-bot-capability.webp)
40+
41+
2. Open the "Bot" page on the left and turn on bot configuration.
42+
43+
![Enable bot configuration](/assets/dingtalk/step3-enable-bot.webp)
44+
45+
3. Complete the bot name, profile, avatar, language settings, and receive mode, then click "Publish" at the bottom.
46+
47+
![Fill in the bot configuration and publish](/assets/dingtalk/step3-bot-config-form.webp)
48+
49+
## Step 5: Grant the required permissions
50+
51+
Open "Permission Management" on the left and apply for the permissions nexu needs.
52+
53+
For a smoother AI chat experience, we recommend enabling these AI Card permissions:
54+
55+
- **Card.Instance.Write** - AI Card write permission
56+
- **Card.Streaming.Write** - AI Card streaming output permission
57+
58+
Tips:
59+
60+
- With AI Card enabled, replies appear progressively like ChatGPT
61+
- Without it, the bot still works, but replies are sent as normal text messages
62+
63+
The screenshot below shows the page for enabling `Card.Instance.Write`.
64+
65+
![Grant card-related permissions](/assets/dingtalk/step4-permission-card-write.webp)
66+
67+
## Step 6: Copy the Client ID and Client Secret
68+
69+
Go back to the credentials page and copy these two values:
70+
71+
- **Client ID**
72+
- **Client Secret**
73+
74+
![Copy Client ID and Client Secret](/assets/dingtalk/step5-copy-credentials.webp)
75+
76+
## Step 7: Create and publish a version
77+
78+
1. Open "Version Management & Release" on the left, then click "Create New Version" in the empty version list.
79+
80+
![Open the version management page](/assets/dingtalk/step6-version-list.webp)
81+
82+
2. Fill in the version number, release notes, and visibility scope, then save.
83+
84+
![Create a new version](/assets/dingtalk/step6-create-version.webp)
85+
86+
3. Complete the DingTalk publishing flow so the bot can go live.
87+
88+
## Step 8: Connect DingTalk in nexu
89+
90+
1. Paste the Client ID and Client Secret into the DingTalk channel dialog in nexu, then click "Connect DingTalk".
91+
92+
![Connect DingTalk in nexu](/assets/dingtalk/step7-nexu-connect.webp)
93+
94+
2. Once connected, open DingTalk and start chatting with the bot.
95+
96+
![Bot chat working in DingTalk](/assets/dingtalk/step8-chat-success.webp)
97+
98+
---
99+
100+
## FAQ
101+
102+
**Q: Why isn't it enough to only create the app?**
103+
104+
A DingTalk bot usually also needs bot capability enabled, permissions granted, and a published version. Missing any of these can stop the bot from working.
105+
106+
**Q: Do I need a public server?**
107+
108+
No. With nexu's current DingTalk integration, you usually do not need to host your own public callback service.
109+
110+
**Q: Why can't my teammates see the app after publishing?**
111+
112+
Check the visibility scope you configured during version publishing and make sure the correct users or departments are included.
113+
114+
**Q: Why is the bot not replying?**
115+
116+
Check the Client ID and Client Secret first, then confirm the bot capability is enabled, permissions are granted, the version is published, and the nexu client is still running.

docs/en/guide/channels/qq.md

Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,80 @@
1+
# QQ
2+
3+
All you need is an App ID and App Secret to connect your QQ bot to nexu.
4+
5+
## Step 1: Open the QQ channel in nexu
6+
7+
1. Open the nexu client and click **QQ** in the Channels section.
8+
9+
![Choose QQ in nexu](/assets/qq/step3-choose-qq-channel.webp)
10+
11+
2. Open the QQ Open Platform: https://q.qq.com/qqbot/openclaw/login.html
12+
13+
![Open the QQ platform from nexu](/assets/qq/step3-open-platform-link.webp)
14+
15+
## Step 2: Sign in to the QQ Open Platform
16+
17+
1. Use mobile QQ to scan the login QR code.
18+
19+
![QQ Open Platform login QR](/assets/qq/step1-login-qr.webp)
20+
21+
2. Tap "Agree" in mobile QQ to finish signing in.
22+
23+
![Confirm login in mobile QQ](/assets/qq/step1-login-confirm.webp)
24+
25+
## Step 3: Create a QQ bot
26+
27+
1. After signing in, click "Create Bot" in the bot list.
28+
29+
![Create a QQ bot](/assets/qq/step1-create-bot.webp)
30+
31+
## Step 4: Copy the App ID and App Secret
32+
33+
![Bot detail entry](/assets/qq/step2-create-bot.webp)
34+
35+
Copy and save these two values from the bot details page:
36+
37+
- **App ID**
38+
- **App Secret**
39+
40+
The full App Secret may only be shown once, so save it right away.
41+
42+
## Step 5: Connect QQ in nexu
43+
44+
Paste the App ID and App Secret into the QQ channel dialog in nexu, then click "Connect QQ".
45+
46+
![Connect QQ in nexu](/assets/qq/step3-nexu-connect.webp)
47+
48+
## Step 6: Start chatting in QQ
49+
50+
Once connected, open desktop QQ or mobile QQ, find the bot conversation you just created, and send a message to start chatting with your Agent.
51+
52+
![Chat with the Agent in QQ](/assets/qq/step4-chat.webp)
53+
54+
---
55+
56+
## FAQ
57+
58+
**Q: Do I need my own server or a public callback URL?**
59+
60+
No. With nexu's current QQ integration, you only need to enter the App ID and App Secret in the client.
61+
62+
**Q: Where do I find the QQ bot after it's connected?**
63+
64+
Open desktop QQ or mobile QQ and search for the bot name you used when creating it, or look for it in your recent conversations.
65+
66+
**Q: Why is the bot not replying even though the connection succeeded?**
67+
68+
Check these first:
69+
70+
- The App ID and App Secret are entered correctly
71+
- The nexu client is still running
72+
- You are messaging the exact bot you just created
73+
74+
**Q: Will the bot keep replying if my computer is turned off?**
75+
76+
The nexu client needs to stay running. As long as nexu is running in the background and your computer is not asleep, the bot can keep replying.
77+
78+
**Q: Can I add the bot to a QQ group?**
79+
80+
Yes. You can add the bot to a QQ group and use it there. It is still a good idea to test the bot in a private chat first.

docs/en/guide/channels/wecom.md

Lines changed: 109 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,109 @@
1+
# WeCom
2+
3+
Using the Intelligent Bot feature inside the WeCom client, you only need to copy the `Bot ID` and `Secret` to connect WeCom to nexu.
4+
5+
## Prerequisites
6+
7+
- If you are already part of a WeCom organization, you need enterprise admin permission in that organization to create and use an intelligent bot.
8+
- If you are an individual user, you can register your own WeCom account first. Personal registration is free and does not require business credentials.
9+
10+
## Step 1: Open Intelligent Bot and start creating
11+
12+
1. Open the nexu client and click **WeCom** in the Channels section.
13+
14+
![Choose WeCom in nexu](/assets/wecom/step0-choose-wecom-channel.webp)
15+
16+
2. In the WeCom client, click "Workbench" in the left sidebar, switch to "Smart Office" at the top, then open "Intelligent Bot".
17+
18+
![Open the Intelligent Bot page](/assets/wecom/step1-open-workbench.webp)
19+
20+
3. On the Intelligent Bot page, click "Create Bot".
21+
22+
![Click Create Bot](/assets/wecom/step2-create-bot-entry.webp)
23+
24+
4. In the creation dialog, click "Manual Create" in the lower-left corner.
25+
26+
![Choose Manual Create](/assets/wecom/step3-manual-create.webp)
27+
28+
## Step 2: Switch to API mode and copy credentials
29+
30+
1. On the creation page, click "Create in API Mode" on the right.
31+
32+
![Switch to API mode](/assets/wecom/step4-api-mode.webp)
33+
34+
2. In API settings, choose "Use Long Connection".
35+
36+
3. Copy and save these two values:
37+
- **Bot ID**
38+
- **Secret**
39+
40+
You will need them when connecting WeCom in nexu.
41+
42+
![Choose long connection and copy Bot ID and Secret](/assets/wecom/step5-copy-botid-secret.webp)
43+
44+
## Step 3: Grant permissions
45+
46+
1. On the same page, scroll down to "Available Permissions" and click the expand button on the right.
47+
48+
![Open the permissions panel](/assets/wecom/step6-open-permissions.webp)
49+
50+
2. In the permissions dialog, click "Authorize All".
51+
52+
![Authorize all permissions](/assets/wecom/step7-authorize-all.webp)
53+
54+
## Step 4: Finish the bot configuration and save
55+
56+
1. Back on the bot settings page, confirm or adjust the visibility scope so you or the intended members can see and use the bot.
57+
58+
![Set the visibility scope](/assets/wecom/step8-visible-range.webp)
59+
60+
2. If needed, edit the bot avatar, name, and description, then click "Confirm".
61+
62+
![Edit bot information](/assets/wecom/step9-edit-bot-info.webp)
63+
64+
3. After confirming the settings, click "Save" at the bottom.
65+
66+
![Save the bot configuration](/assets/wecom/step10-save-bot.webp)
67+
68+
## Step 5: Open the bot and start using it
69+
70+
1. After saving, click "Use Now" on the bot details page.
71+
72+
![Open the bot details page](/assets/wecom/step11-use-bot.webp)
73+
74+
2. Go back to nexu, paste the `Bot ID` and `Secret` into the WeCom channel dialog, then click "Connect WeCom".
75+
76+
![Enter Bot ID and Secret in nexu](/assets/wecom/step12-nexu-connect.webp)
77+
78+
3. In Contacts or in the bot list, find the bot you just created and click "Send Message".
79+
80+
![Open the bot conversation](/assets/wecom/step12-send-message.webp)
81+
82+
4. Once connected, you can chat with your Agent in WeCom like this.
83+
84+
![Chat with the bot in WeCom](/assets/wecom/step13-chat.webp)
85+
86+
---
87+
88+
## FAQ
89+
90+
**Q: Can I use this if I am not an enterprise admin?**
91+
92+
Yes. If you are not an admin in an existing organization, you can register your own WeCom account first and create the intelligent bot yourself.
93+
94+
**Q: Do I need my own server or public callback URL?**
95+
96+
No. If you choose "Use Long Connection" in this flow, you do not need to configure your own public callback address.
97+
98+
**Q: Why is the bot not replying after I connected it?**
99+
100+
Check these first:
101+
102+
- The `Bot ID` and `Secret` in nexu are correct
103+
- Permissions in WeCom have been granted
104+
- The visibility scope includes you
105+
- The nexu client is still running
106+
107+
**Q: Can I add this bot to a group chat?**
108+
109+
Yes. It is best to confirm that the bot works in a 1:1 chat first, then add it to a WeCom group chat.

docs/ja/guide/channels.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,10 @@ nexu は複数のチャットチャンネルを同時にサポートします。
44

55
以下のリンクから詳細なセットアップガイドをご覧ください:
66

7+
- [WeCom](/ja/guide/channels/wecom) 🆕
78
- [Feishu](/ja/guide/channels/feishu)
9+
- [QQ](/ja/guide/channels/qq) 🆕
10+
- [DingTalk](/ja/guide/channels/dingtalk) 🆕
811
- [Slack](/ja/guide/channels/slack)
912
- [Discord](/ja/guide/channels/discord)
1013
- [Telegram](/ja/guide/channels/telegram) 🆕

0 commit comments

Comments
 (0)