Creator Center
/Trigger/DingTalk
app icon

DingTalk

Verified by Dify
No ratings yet
0
S
sjr666666/dingtalk_trigger

DingTalk (钉钉) is a workplace communication and collaboration platform by Alibaba. This plugin subscribes to DingTalk Open Platform events so Dify workflows can react to approval changes and organization updates.

Utilities

DingTalk Trigger

DingTalk trigger plugin for Dify. It subscribes to DingTalk Open Platform events over the HTTP callback protocol and fires Dify workflows when events occur.

Source repository: https://github.com/sjr666666/dify-dingtalk-trigger

Events

EventDingTalk event typeDescription
Approval Instance ChangedAn OA approval instance is created, completed, or terminated
Approval Task ChangedA task inside an approval flow is created, completed, or redirected
User Joined OrganizationOne or more users join the organization
User Left OrganizationOne or more users leave the organization
User Profile UpdatedOne or more user profiles are updated

Prerequisites

  • A DingTalk organization with developer console access.
  • A self-built org app in the DingTalk developer console.
  • Your Dify instance must be reachable from DingTalk servers over HTTPS (a public URL or a tunnel). DingTalk requires a public callback address.

Setup

  1. Create a self-built app in the DingTalk developer console and note the .

  2. Configure event subscription: in the app, open Events & Callbacks → Subscription mode, select HTTP push, and set:

    • — any random string (you can generate one yourself);
    • — 43 characters (DingTalk can generate one for you).

    Copy these two values, you will need them in Dify.

  3. Create a subscription in Dify: install the plugin, then add a trigger subscription. Fill in:

    • — from step 1;
    • — from step 2;
    • — from step 2.

    Dify generates a webhook endpoint URL for the subscription.

  4. Point DingTalk at the Dify endpoint: set the message callback URL in the DingTalk event subscription page to the endpoint URL from step 3, then enable the events you want (approval events / organization events).

  5. DingTalk sends a handshake; the plugin answers it automatically. Once the console shows the callback as verified, events will start flowing.

Security

  • Every callback request is verified with the DingTalk scheme (SHA-1 over the sorted /// tuple) before any processing.
  • The encrypted payload is decrypted with AES-256-CBC using your , and the receiver id embedded in the plaintext is checked against your .
  • Invalid signatures or malformed payloads are rejected without dispatching any workflow.

Limitations

  • Only the HTTP push subscription mode is supported. DingTalk's Stream mode (websocket) and robot chat messages are not part of this plugin.
  • The approval form payload is forwarded as-is; its structure depends on your approval template.

Privacy

See PRIVACY.md.

CATEGORY
Trigger
VERSION
0.0.1
sjr666666·Updated 16 days ago
REPOSITORY
https://github.com/sjr666666/dify-dingtalk-trigger
REQUIREMENTS
Maximum memory
1MB
Access domain

No outbound calls found

Security
Security Rating

Last checked 10/07/2026 12:09 PM · version 0.0.1

Give a rate
SHARE WITH