# Configure WeCom Approval Integration

Canonical: https://www.nsecsoft.com/en/docs/ping64-platform/platform/integrations/wecom-integration/

Language: en-US

Updated: 2026-11-15T03:15:21.144131Z

WeCom integration can let bound administrators access the approval page and receive pending-approval reminders when configured. Application creation, capability switches, user binding, approval workflow, and actual delivery are separate stages. A saved application or successful connection test does not prove a user is bound or a notification was delivered.

## Preparation

-   Use an administrator account with platform-integration viewing, configuration, and operation permissions. Coordinate with the WeCom and approval-page administrators. Confirm that the approval page is deployed under the delivery plan and accessible to pilot users.
-   Prepare the WeCom custom application’s enterprise ID, AgentID, and corresponding Secret. Confirm application status and pilot-user visibility. The Secret is sensitive: enter it only in the authorized configuration, not in documents, tickets, or chat.
-   Follow current WeCom administration requirements for the application home page, trusted domain, and server’s public egress IP. Saving in Ping64 does not change WeCom settings automatically; verify both sides and organizational security requirements.

## Create and Configure the Application

1.  Open **Platform Integrations** in system settings and enter **WeCom**. Under basic information select **Add Application**, enter the application name, enterprise ID, AgentID, and matching Secret, review, and save. When editing an existing application, leaving the Secret blank retains it; entering and saving a new value replaces it. The enterprise ID and AgentID cannot be changed after creation. Create a new application configuration when changing the actual enterprise or application.
2.  Return to the application list, review the application, and enable it as needed. Save an application before enabling, disabling, deleting, or managing bindings. Assess effects on users and approval workflows before changing or disabling it. Disabling the application invalidates approval sessions signed in through it and stops its approval notifications; existing user bindings remain.
3.  In approval capability configuration select the application. Enable **Allow Sign-in** and **Send Approval Notifications** as needed; they are separate capabilities. If notifications are enabled, enter the deployed approval web entry as **Notification Base URL** and select the notification language. Do not enter a specific page or query parameters; use an organization-approved HTTPS address in production.
4.  Save the capability settings. Use the provided application-home reference and configuration guidance to complete the required settings in WeCom administration. Check application visibility, trusted domain, and actual public egress IP separately. Ping64 does not make these changes automatically.
5.  Use **Test Connection** and review the result. Testing does not save unsaved edits or enable the application. Save relevant settings first and separately verify sign-in, binding, and actual notifications.

The notification language can be Simplified Chinese or English. It controls fixed notification text such as titles and buttons, not the management console language. A connection test may use a newly entered Secret that has not yet been saved; success does not mean that Secret was saved. When changing credentials, save them, test again, and verify an actual notification.

## Bind and Verify

1.  Have an authorized pilot administrator open the approval page from the WeCom application and verify their Ping64 account as prompted to establish a binding. Users can handle only approvals for which they have business permission.
2.  In **Bound Users**, review valid bindings for the application. Before unbinding, assess the effect: the user’s existing sign-in for this application becomes invalid and reminders through it stop; reuse requires account verification again. Bindings in other applications are unaffected.
3.  Submit a test request through a controlled approval workflow. Verify that the bound user can sign in, receive a reminder, and view or handle authorized items. Check approval submission, notification delivery, and the final business result separately before expanding the pilot.

## Troubleshooting

-   **Cannot create, enable, or test:** Check integration permissions, saved status, enterprise ID, AgentID, credentials, application status, and server egress connectivity. Do not put credentials in incident records.
-   **Cannot sign in or bind:** Check visibility, approval-page access, the sign-in switch, trusted domain, and Ping64 account permissions. WeCom administration settings must be completed separately.
-   **Connection test passes but no notification:** Check the notification switch, base URL, application status, user binding, and pending approval, then verify with a pilot request. A connection test is not proof of delivery.
