Skip to content

feat(providers): add WeCom notification provider#6448

Open
LZG3530606141 wants to merge 1 commit into
keephq:mainfrom
LZG3530606141:feat/wecom-provider
Open

feat(providers): add WeCom notification provider#6448
LZG3530606141 wants to merge 1 commit into
keephq:mainfrom
LZG3530606141:feat/wecom-provider

Conversation

@LZG3530606141
Copy link
Copy Markdown

Summary

Implements WeCom (企业微信) notification provider for Keep, as requested in #6396.

What

  • New WecomProvider that sends alert notifications to WeCom group chats via Webhook Bot
  • Follows the standard Keep notification provider pattern (similar to Slack/Discord/Feishu)

Features

  • Text messages: Simple text notifications with @mention support (by user ID or phone number)
  • Markdown messages (default): Markdown formatted notifications
  • News messages: Article-style messages with title, description, and URL
  • @mention support: mentioned_list (WeCom user IDs) and mentioned_mobile_list (phone numbers)

Implementation Details

  • Auth config: webhook_url (required)
  • Provider category: Collaboration
  • Provider tags: messaging
  • Auto-discovered via Keep importlib provider factory

Testing

Example workflow:

- provider:
    type: wecom
    config:
      authentication:
        webhook_url: HOOK_URL_HERE
  notify:
    message: "### Keep Alert\n**High CPU usage detected**"
    title: "Keep Alert"

References

Closes #6396

- Implement WecomProvider for sending alert notifications via Webhook Bot
- Support text, markdown, and news message types
- Support @mention by user ID and phone number
- Follow Keep standard notification provider pattern (similar to Slack/Discord)

Closes keephq#6396
@dosubot dosubot Bot added the size:L This PR changes 100-499 lines, ignoring generated files. label May 11, 2026
@CLAassistant
Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

@dosubot dosubot Bot added Feature A new feature Provider Providers related issues labels May 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Feature A new feature Provider Providers related issues size:L This PR changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[🔌 Provider]: WeCom (企业微信) notification provider

2 participants