Configure DingTalk Approval Integration
Ping64 DingTalk integration lets bound administrators open the approval page through DingTalk and receive pending-approval notifications when configured. Application setup, DingTalk publication, user binding and approval permissions are separate; a successful connection test does not prove that a user is bound or that a notification was delivered.
Use the following sections for your task; read the relevant prerequisites and safety guidance before proceeding: Before You Begin, Configure the Application, Bind and Verify, Troubleshooting.
Before You Begin
- Use an administrator account with appropriate platform integration permissions. Prepare a deployed approval page accessible to pilot users and confirm that the server can reach DingTalk.
- Changing application configuration requires configuration permission. Enabling or disabling an existing application requires operation permission and the page may also require configuration permission; unbinding requires operation permission. Connection testing can use configuration or operation permission, subject to page access and other applicable conditions.
- Work with the DingTalk administrator to prepare a custom enterprise application's CorpID, AppKey, AgentID, AppSecret and visibility for pilot users. Treat the secret as sensitive: enter it only in the authorized configuration screen, not in tickets, screenshots or chat.
- Create and publish an internal H5 application according to DingTalk’s current requirements. Complete the permissions and visibility settings needed for the approval page and notifications. Saving in Ping64 does not approve permissions, publish the app or set its visibility in DingTalk.
Configure the Application
First check for an existing suitable integration application, including its identity, enabled status, required login and notification capabilities, and visibility to pilot users. If the existing configuration meets requirements, reuse it without creating another application or saving again solely for verification. Only when necessary should authorized personnel make changes, after assessing effects on bindings, sessions and operations. Even when reusing a configuration, separately verify user binding, login and actual notifications for the capabilities in use, as described below.
Initial status of a new application: The new application editor initially has the application enabled. If it should not yet be enabled, turn off the switch before confirming the draft and saving in the outer window, then check the saved status. Application status is separate from the login and approval-notification settings; enabling the application does not mean those capabilities are enabled or available.
Open Platform Integrations in system settings and select DingTalk. If it is unavailable or fails to load, ask an administrator to check service capability, permissions and connectivity; do not assume the integration is enabled.
Under basic information, select Add Application, enter its name, CorpID, AppKey, AgentID and AppSecret, check them and save. When editing, leave the secret empty to retain the existing credential; enter and save a new value to replace it. Assess login and notification impact before changing an existing application. To change an existing application, choose Edit from its row’s actions menu; after changing and confirming it, save in the outer Basic Information window.
Confirming the basic-information edit window only updates the pending draft. Select Save in the outer window and check its result before configuring approval capabilities.
Saving a change to the DingTalk CorpID, AppKey or AgentID removes the application’s existing user bindings and invalidates existing approval sign-ins; affected users must sign in and bind again. Assess impact and recovery before changing these identifiers. Rotating AppSecret alone is not the same as changing an application identifier.
Enable the saved application as needed. In approval integration select it, then check Allow Sign-in and Send Approval Notifications separately; these switches are independent of the application status. For notifications, enter the deployed approval page's Notification Base URL, choose Notification Language and save. This language affects fixed notification text, not the console language.
Enter the actual absolute address where the approval page is deployed as the notification base URL. It can include a port and deployment subpath, for example
https://approval.example.com/portal; this is not a default and applies only if the page is deployed at that subpath. Do not include credentials, query parameters or a#fragment, and do not use a specific approval-detail link as the base URL. Use an organization-approved HTTPS address in production, then verify a pilot notification opens the intended page.Configure the application home page in DingTalk using the home link provided on the page. Complete permission approval, publication and pilot-user visibility there. If the link is unavailable, check the approval deployment and address configuration. Production addresses must meet the organization's HTTPS and access-security requirements.
In the basic-information window, first handle any unsaved changes as appropriate, then open the target application row’s action menu. Run Test Connection for the saved application and check credential validation. A test does not save pending edits or enable the application; successful validation still requires actual login and notification checks.
Uncertain save result: When editing existing applications and changing their enabled states together, basic information may be saved even if a subsequent enable or disable action fails. A network interruption or timeout does not prove that changes were not submitted. Do not retry blindly; reload and check each application’s information, enabled state and binding impact before deciding whether to retry. Contact an administrator or support if the result cannot be confirmed.
Identifier and credential format: CorpID must contain 1 to 64 English letters or digits, and AgentID must be a positive integer. Enter the real provider-issued Secret, not an asterisk mask, and avoid adding spaces. For an existing application, follow the instructions above on leaving it blank to retain the current value. Valid format does not prove valid credentials; perform a controlled test after saving.
Turning off sign-in: Saving the disabled sign-in setting for an application invalidates existing approval sign-in sessions established through that application. After sign-in is enabled again, affected users still need to sign in again. Turning off sign-in is not the same as disabling the application or approval notifications; do not assume notifications have stopped. Assess the impact on users and approval workflows before the change, then verify sign-in and notifications separately.
Basic information window limit: The current platform’s window counts loaded existing applications and new drafts together. At 50 entries, another application cannot be added; above 50, the window cannot save. This is a limit of this window, not a capacity guarantee for every deployment. Do not delete an active configuration merely to make room. Assess the impact on sign-in, notifications and bindings, and contact an administrator or support if the situation cannot be resolved.
Notification language: This version offers Simplified Chinese, English, Vietnamese, Thai, Korean, German, Indonesian, Latin American Spanish, Brazilian Portuguese, French, Italian and Turkish; check the options in your deployment. The notification language controls fixed text such as titles and buttons. It does not translate original content such as the requester or request title, and does not change the management console language. When a language other than Simplified Chinese is selected, some request type names may still appear in English; check them against the request.
Turkish notification limitation: In this version, choosing Turkish may prevent DingTalk approval notifications from being sent. Saving the configuration or passing a connection test does not prove delivery. If notifications are needed, ask technical support to confirm the deployed version, pilot another available language within the approved scope, and verify delivery and approval access separately. If no notification arrives, check pending items directly under organizational procedures; do not repeatedly submit real requests for testing.
Information in approval notifications: Eligible notifications may include the requester, request type and request title; some copy notifications may also include the approval status. This information is sent to the configured third-party platform. Notification content may be truncated and is not a complete approval record. Before enabling notifications, assess disclosure and recipients under your organization’s requirements, avoid putting information unsuitable for that platform in request titles, and check actual notifications during the pilot. If the approval status in a copy notification is -, do not interpret it as pending, approved or rejected. Check the actual result on the approval page.
Bind and Verify
An authorized pilot administrator opens the approval home page from the DingTalk application and completes DingTalk authorization, Ping64 account verification and any required multi-factor authentication. The user creates the first binding in the approval page; an administrator does not manually enter a platform user identifier. Check the application's bindings under Bound Users. Business approval permissions are still required separately.
Review the binding list: Open the platform’s Approval Integration, select the target application, and use the management button beside Bound Users to open the list. Search by keyword and browse pages as needed; confirm the selected application before checking people and bindings. The summary may collapse some names, so do not treat it as the complete list. If loading fails, retry when the option is offered; otherwise check permissions or contact an administrator. A failure or blank view does not prove there are no bindings.
Check before unbinding: After entering a keyword or changing pages, the list may temporarily retain previous results. Wait for it to update, then check the application, Ping64 account and platform user identifier in the unbinding confirmation. Cancel if any item is incorrect or cannot be verified. Do not identify the binding by search text or name alone.
Submit a controlled test request and separately verify access to the approval page, receipt of the notification, and viewing or processing of authorized items. Disabling the application stops its notifications and invalidates existing approval sign-ins; users must sign in again after re-enabling it. Assess the impact before unbinding: it invalidates sign-in for this application but does not remove bindings to other applications.
Troubleshooting binding conflicts: If a binding conflict is reported, an authorized administrator should first review the Ping64 account and third-party account’s existing bindings for the application. Disabling an application or turning off sign-in does not automatically remove its bindings. To change the bound identity, first follow organizational procedures to identify affected applications and services, then handle the relevant bindings and have the user verify again. Unbinding affects sign-in and notifications for the corresponding application; do not unbind blindly just to troubleshoot. For the same platform and enterprise, bindings of one Ping64 account across multiple applications must correspond to the same third-party user. Existing bindings in other applications can still be checked even when those applications are disabled or their sign-in is turned off.
Approval types and interrupted notifications: Third-party integration reminders cover eligible administrator pending approvals and copies, but exclude AD domain operations and risk-review tasks. Personnel with the appropriate permissions should review and handle those tasks in their respective Ping64 console areas. After a sending failure or service interruption, do not assume missed reminders will be resent automatically. Check pending work under organizational procedures even when no notification arrives. For troubleshooting, contact an administrator or support and check the time, application and approval item; verify with a new controlled request rather than repeatedly submitting real business requests to generate notifications.
Troubleshooting
- Cannot configure or test: Check integration permissions, application status, CorpID, AppKey, AgentID, secret and server connectivity to DingTalk. Do not expose credentials in incident records.
- Cannot sign in or bind: Check the sign-in switch, application publication and visibility, home-page access, DingTalk authorization, Ping64 account and multi-factor requirements.
- Test succeeds but no notification arrives: Check the notification switch, base address, application status, DingTalk application permissions, user binding and pending approval, then test with a pilot request. Saving or testing successfully does not guarantee delivery.
Updated