Zadig 文档
Zadig
教程
博客
论坛
关于
中文英文
Zadig
教程
博客
论坛
关于
Zadig v4.2
Loading...
     编辑文档
     反馈问题
     社区讨论

    本页导航

    IM

    This article introduces IM application integration in the Zadig system, using IM capabilities for notifications and approvals. Currently supports Feishu, DingTalk, and WeChat Work integration.

    # Feishu

    Used for "Manual Approval" and "Notification" tasks in workflows.

    Follow these steps to configure Feishu notifications and approvals:

    1. Create and publish an application on the Feishu Developer Platform
    2. Configure application credentials in Zadig

    # Step 1: Create a Feishu App

    1. Visit the Feishu Developer Platform(opens new window) and create an "enterprise self-built application" as shown below.

    approval

    1. In Permission Management - Data Permission, set the address book permission scope, and in API Permission, enable the permissions required for the approval application as shown below.

    Zadig workflows support Feishu approvals, and available approvers are related to the address book scope specified here.

    approval

    Approval requires these permissions:

    • approval:approval
    • approval:approval.list:readonly
    • approval:approval:readonly
    • contact:user.id:readonly
    • contact:contact.base:readonly
    • contact:user.employee_id:readonly
    • contact:user.base:readonly
    • contact:department.base:readonly
    • contact:group:readonly

    Notification requires these permissions:

    • im:chat
    • im:chat:read
    • im:chat:readonly
    • im:message
    • im:message:send_as_bot
    • im:message:send_multi_depts
    • contact:user.id:readonly
    • contact:contact.base:readonly
    • contact:user.employee_id:readonly
    • contact:user.base:readonly
    1. Add a robot. If "Feishu Group Notification" is configured in the "Notification Task," the robot needs to be added to the corresponding group.

    im_bot

    1. Create an application version and request publication.

    Please configure other required information for the application release process yourself.

    approval

    1. Obtain the App ID and App Secret.

    approval

    After the application release is approved, proceed to the next configuration step.

    # Step 2: Integrate IM Application

    Visit Zadig, click System Settings -> Integrations -> Approval System, and add the Feishu approval application as shown below.

    approval

    Parameter descriptions:

    • App Name: Customize for easy identification in the Zadig system
    • App ID: Obtained in Step 1
    • App Secret: Obtained in Step 1

    # Lark

    Used for "Manual Approval" and "Notification" tasks in workflows.

    Follow these steps to configure Lark notifications and approvals:

    1. Create and publish an application on the Lark Developer Platform
    2. Configure application credentials in Zadig

    # Step 1: Create a Lark App

    1. Visit the Lark Developer Platform(opens new window) and create an "enterprise self-built application" as shown below.

    approval

    1. In Permission Management - Data Permission, set the address book permission scope, and in API Permission, enable the permissions required for the approval application as shown below.

    Zadig workflows support Lark approvals, and available approvers are related to the address book scope specified here.

    approval

    Approval requires these permissions:

    • approval:approval
    • approval:approval.list:readonly
    • approval:approval:readonly
    • contact:user.id:readonly
    • contact:contact.base:readonly
    • contact:user.employee_id:readonly
    • contact:user.base:readonly
    • contact:department.base:readonly
    • contact:group:readonly

    Notification requires these permissions:

    • im:chat
    • im:chat:read
    • im:chat:readonly
    • im:message
    • im:message:send_as_bot
    • im:message:send_multi_depts
    • contact:user.id:readonly
    • contact:contact.base:readonly
    • contact:user.employee_id:readonly
    • contact:user.base:readonly
    1. Add a robot. If "Lark Group Notification" is configured in the "Notification Task," the robot needs to be added to the corresponding group.

    im_bot

    1. Create an application version and request publication.

    Please configure other required information for the application release process yourself.

    approval

    1. Obtain the App ID and App Secret.

    approval

    After the application release is approved, proceed to the next configuration step.

    # Step 2: Integrate IM Application

    Visit Zadig, click System Settings -> Integrations -> Approval System, and add the Lark approval application as shown below.

    approval

    Parameter descriptions:

    • App Name: Customize for easy identification in the Zadig system
    • App ID: Obtained in Step 1
    • App Secret: Obtained in Step 1

    # DingTalk

    Tip

    After users complete approval on DingTalk, the DingTalk platform needs to callback the approval status to Zadig. To ensure normal DingTalk approval functionality, please ensure the DingTalk platform can access the Zadig domain name.

    Follow these steps to configure DingTalk approvals:

    1. Create and publish an application on the DingTalk Developer Platform
    2. Configure application credentials in Zadig to obtain the Request URL for event message push
    3. Configure the Request URL on the DingTalk Developer Platform

    # Step 1: Create a DingTalk Application

    1. Visit the DingTalk Open Platform(opens new window) and create an application as shown below. common_workflow_config

    2. In permission management, configure the permission scope and enable the permissions required for the approval application as shown below.

    Zadig workflows support DingTalk approvals, and available approvers are related to the permission scope specified here.

    common_workflow_config

    Required permissions:

    • snsapi_base
    • qyapi_base
    • Contact.User.Read
    • qyapi_get_department_list
    • qyapi_get_member
    • qyapi_get_member_by_mobile
    • Workflow.Form.Write
    • Workflow.Form.Read
    • Workflow.Instance.Read
    • Workflow.Instance.Write
    1. Obtain the AppKey, AppSecret, aes_key, and token information.

    AppKey and AppSecret are obtained in App Information:

    common_workflow_config

    aes_key and token are obtained in Events and Callbacks:

    Tip: After saving the aes_key and other information, please do not close the current page. You will need to fill in the request URL here after completing the configuration in Zadig.

    common_workflow_config

    # Step 2: Integrate IM Application

    Visit Zadig, click System Settings -> Integrations -> IM, and add the DingTalk approval application as shown below.

    approval

    Parameter descriptions:

    • App Name: Customize for easy identification in the Zadig system
    • App Key: Obtained in Step 1
    • App Secret: Obtained in Step 1
    • Aes Key: Obtained in Step 1
    • Token: Obtained in Step 1

    After filling in the details, copy the "request URL" and save the configuration.

    # Step 3: Configure "Request URL" and "Events"

    1. Visit the DingTalk Open Platform - Application Functions - Events and Callbacks, fill in the request URL and save.

    common_workflow_config

    1. Enable the following events in the approval event:
    • Approval Task Start, End, Transfer
    • Approval Instance Start, End

    common_workflow_config

    # WeChat Work

    Tip

    After users complete approval on WeChat Work, the WeChat Work platform needs to callback the approval status to Zadig. To ensure normal WeChat Work approval functionality, please ensure the WeChat Work platform can access the Zadig domain name.

    # Step 1: Create an Application

    1. Visit the WeChat Work backend(opens new window) and create an application as shown below. approvalapproval

    2. Obtain the AgentID and Secret. approval

    3. Go to "My Enterprise" -> "Enterprise Information" and obtain the Enterprise ID.

    approval

    1. Configure trusted domain names

    approvalapproval

    1. Configure enterprise trusted IPs

    approvalapproval

    1. Go to the "Approval" application and configure the "Application with Callable Interface," checking the created application.

    approvalapproval

    # Step 2: Integrate IM Application

    1. Visit Zadig, click System Settings -> Integrations -> IM, and add the WeChat Work approval application, filling in the Corp ID, AgentID, and Secret, and obtain the callback address as shown below.

    approval

    1. Go to the WeChat Work backend, configure the "Receive Information" URL callback address in the created application, and obtain the Token and EncodingAESKey.

    approvalapproval

    1. In the Zadig approval integration, fill in the Token and EncodingAESKey and save.

    approval

    1. In the WeChat Work backend, save the "Receive Information."

    # Step 3: Enable the Callback Notification Template

    Go to the WeChat Work backend, "Approval" application, and enable the callback address template.

    approvalapproval

    # Extended Reading

    # Using Feishu Approval in Zadig

    Refer to Feishu approval

    # Using Lark Approval in Zadig

    Refer to Lark approval

    # Using DingTalk Approval in Zadig

    Refer to DingTalk Approval

    # Using WeChat Work Approval in Zadig

    Refer to WeChat Work Approval

    ← GatewayAI Services→

    资源
    教程
    论坛
    博客
    公司
    关于
    客户故事
    加入我们
    联系我们
    微信扫一扫
    hello@koderover.com

    © 2026 筑栈(上海)信息技术有限公司 沪 ICP 备 19000177 号 - 1

    •  跟随系统
    •  浅色模式
    •  深色模式
    •  阅读模式