Team integrations
DingTalkBeta
Sign in with DingTalk, send alerts to DingTalk group robots with signing, and escalate conversations to colleagues with DingTalk work notifications.
The DingTalk integration is in beta and must be enabled for your organization by the platform first. Once it is enabled, Settings → DingTalk appears in the console. It covers three things:
- Sign in with DingTalk: agents who link their DingTalk account can sign in to the workspace by scanning a QR code.
- Group robot alerts: post conversation, ticket, lead and other events to a DingTalk group, with the robot's signing (加签) security setting.
- Work notifications & internal escalation: notify colleagues about events, or conversations that need help, through your own organization's DingTalk internal app.
Sign in with DingTalk
- Sign in to the console with your password, open Profile → DingTalk, click Link DingTalk and confirm by scanning the QR code in DingTalk.
- After that, the sign-in page shows a Sign in with DingTalk button.
- Each DingTalk account can be linked to only one agent. You can unlink it in your profile at any time.
If DingTalk is switched off for your organization, DingTalk sign-in is refused. Use your password instead.
Group robot alerts
- In the DingTalk group, open Group settings → Bots → Add bot → Custom.
- Under security settings choose Signing (加签), then copy the secret (starts with
SEC) and the webhook URL (https://oapi.dingtalk.com/robot/send?access_token=…). - In the console, open Settings → Webhooks → Add endpoint, choose the type DingTalk group robot, enter the webhook URL and secret, and pick the events to subscribe to.
- Click Send test and a test message appears in the group.
| Item | Behaviour |
|---|---|
| Signing | DingTalk's signing scheme: HmacSHA256 over timestamp + "\n" + secret, then Base64 |
| Content | Event type, conversation or ticket ID, title, status, time and an "Open in console" link. Never chat text or customer contact details |
| Retries | Same as webhooks. Rate limiting by DingTalk (20 messages per minute per robot) is retried later; signature errors are not retried |
Official docs: custom robots, security settings.
Work notifications & internal escalation
- On the DingTalk open platform, create an internal app and note its Client ID (AppKey), Client Secret (AppSecret) and AgentId. To match members by phone number automatically, also grant the contacts permission "get member by mobile".
- An organization admin enters these values under Settings → DingTalk and saves. The credentials are checked with DingTalk first and the secret is stored encrypted.
- In the member list, link each agent to their DingTalk userid. Enter it manually, or click Match by mobile (+86 numbers only).
- Then you can use it in two ways: - Event notifications: add a DingTalk work notification endpoint under Settings → Webhooks. Choose recipients, or tick "notify the assignee", for example to notify the agent a conversation was just assigned to. - Internal escalation: click Escalate via DingTalk in a conversation or ticket, pick colleagues and add a note. They receive a card that opens the workspace.
Official docs: work notifications.
Error codes
| Code | Meaning |
|---|---|
| 7102 | DingTalk is not enabled for your organization |
| 7201 | The DingTalk app is not configured or is disabled |
| 7202 | DingTalk authorization failed or expired, please try again |
| 7203 | This DingTalk account is not linked to an agent |
| 7204 | This DingTalk account is already linked to another agent |
| 7205 | The DingTalk API returned an error |
| 7206 | The selected members are not linked to DingTalk |
Found a mistake? Email [email protected]
