FM
FlowMarket
General Automation Beginner ⚡ 6 n8n Nodes

Send DingTalk message on new Azure DevOps pull request

This template automates sending a DingTalk message on new Azure Dev Ops Pull Request Created Events. It uses a MySQL database to store mappings between Azure...

🔌 Nodes & Integrations Used (1)

n8n Core Logic

📖 Implementation & Setup Guide

This template automates sending a DingTalk message on new Azure Dev Ops Pull Request Created Events. It uses a MySQL database to store mappings between Azure users and DingTalk users; so the right users get notified.

Set up instructions

  1. Define the path value of ReceiveTfsPullRequestCreatedMessage Webhook node of your own, copy the webhook url to create a Azure DevOps ServiceHook that call webhook with Pull Request Created event.
  2. In order to configure the LoadDingTalkAccountMap node, you need to create a MySQL table as below:
  3. |Name|Type|Length|Key|
  4. |-|-|-|-|
  5. |TfsAccount|varchar|255|
  6. |UserName|varchar|255|
  7. |DingTalkMobile|varchar|255|
  8. You can customize the Ding Talk message content by editing the BuildDingTalkWebHookData node.
  9. Define the URL of SendDingTalkMessageViaWebHook Http Request node as your Ding Talk group chat robot webhook URL.
  10. Send test of production message from Azure DevOps to test.

⚡ How to import this workflow into n8n:

  1. Click the Direct Download JSON button above to save Send DingTalk message on new Azure DevOps pull request.json.
  2. Log in to your n8n Cloud or self-hosted n8n instance.
  3. In your workflow canvas, click the menu in top-right and select Import from File (or paste the JSON directly).
  4. Configure your credentials (e.g. API keys, database URLs) in the corresponding node settings.
  5. Click Execute Workflow to test and switch to Active!

Related General Automation Workflows

View All in General Automation →