Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.flashcat.cloud/llms.txt

Use this file to discover all available pages before exploring further.

Why @ mention

In busy WeCom group chats, responders can easily miss alert notifications. By enabling @ mention, the bot automatically @ mentions the corresponding responders when pushing incident notifications, ensuring they are alerted immediately. Flashduty supports two approaches for WeCom bot @ mention. Here’s how they compare:
ComparisonDefault (phone number matching)Mapping table (user_id matching)
Matching logicMatches WeCom members by the phone number bound to their Flashduty accountMatches via email-to-WeCom user_id mapping table
@ mention positionDisplayed separately at the bottom of the notificationDisplayed inline within the notification content
Maintenance effortNo extra maintenance — just keep phone numbers consistentRequires maintaining the email-to-user_id mapping table
Best forPhone numbers are consistent between Flashduty and WeComPhone numbers differ, or you prefer inline @ mentions within the notification

Approach 1: Default (phone number matching)

This is the simplest approach with no extra configuration required. The system automatically matches WeCom members using the phone number bound to their Flashduty account.

Prerequisites

  • The phone number bound in Flashduty must exactly match the phone number on the WeCom account

Configuration steps

1

Verify phone number consistency

Ensure Flashduty member phone numbers match their WeCom account phone numbers. You can view and edit member phone numbers in Platform Management → Member Management.
2

Enable @ mention

Go to the target channel’s Escalation Rules, find the WeCom bot notification channel, expand Advanced Configuration, and enable the @ Mention toggle.
With this approach, if a member’s phone number differs between the two platforms, the @ mention will not work. Always verify phone number consistency first.

Approach 2: Mapping table (user_id matching)

If member phone numbers differ between the two platforms, or you prefer @ mentions to appear inline within the notification content, use the mapping table approach. This approach requires you to maintain a mapping table between Flashduty member emails and WeCom user_ids.

Prerequisites

  • You have obtained the WeCom user_ids for your members (available from the WeCom admin console or API)

Configuration steps

1

Obtain WeCom user_ids

Log in to the WeCom admin console, go to Contacts, click on a member to view their details, and find the Account field — this is their user_id.You can also obtain user_ids in bulk via the WeCom API.
2

Create a mapping table

  1. Go to Flashduty Platform Management → Mapping Table Management.
  2. Click Create Mapping Table, and select the WeCom type.
  3. Enter the Flashduty member emails and their corresponding WeCom user_ids:
emailwecom_userid
bob@corp.combob_wecom
alice@corp.comalice_wecom
3

Configure escalation rule and link the mapping table

Go to the target channel’s Escalation Rules, find the WeCom bot notification channel:
  1. Expand Advanced Configuration and enable the @ Mention toggle.
  2. In the User Info Mapping Table dropdown, select the mapping table created in the previous step.
You are responsible for maintaining the mapping table. When team members change, update the mapping table promptly — otherwise new members will not be @ mentioned.

Verify the result

After completing the configuration, trigger a test alert to verify that @ mention works:
  1. Confirm the target channel has a WeCom bot configured as a group chat notification channel.
  2. Trigger a test alert and check the notification message in the WeCom group chat.
  3. Verify that the responders are correctly @ mentioned.
If @ mention is not working, refer to the following troubleshooting checklist:
  • Confirm the @ Mention toggle is enabled
  • Confirm the member’s phone number in Flashduty exactly matches their WeCom account phone number (including country code)
  • Confirm the member is in the group chat where the bot is configured
  • Confirm the @ Mention toggle is enabled and the correct User Info Mapping Table is selected
  • Confirm the email-to-user_id mappings in the table are correct
  • Confirm the WeCom user_ids are accurate (verify in the WeCom admin console under Contacts)
  • Confirm the member is in the group chat where the bot is configured

Further reading

Notification channel configuration

Learn about all bot types, configuration methods, and advanced options

Escalation rules

Learn about notification methods and group chat configuration in escalation rules