Skip to main content
Version: v1.7.x

Alert FeiShu app notification

After the threshold is triggered send alarm information and notify the recipient by FeiShu app.

Operation steps

  1. FeiShu Open Platform】->【Create Custom App】->【Create】->【Add Features:Bot】

  2. 【Development Configuration】->【Permissions & Scopes】:Different types of notification objects require different API permissions, which can be opened as needed

    Permission NamePermission codeDesignated UserDesignated Group ChatDesignated DepartmentAll User
    Obtain user IDcontact:user.employee_id:readonly
    Send messages as an appim:message:send_as_bot
    Obtain employee information in FeiShu CoreHR (Standard version)ehr:employee:readonly
    Send batch messages to members from one or more departmentsim:message:send_multi_depts
    Send batch messages to multiple usersim:message:send_multi_users

    Attention⚠️:In the designated notification type of group chat,the application needs to be added as a robot to the group chat, to @someone, you need to enable the permission to 'obtain user ID'

    Batch import scopes

    {
    "scopes": {
    "tenant": [
    "contact:user.employee_id:readonly",
    "im:message:send_as_bot",
    "ehr:employee:readonly",
    "im:message:send_multi_depts",
    "im:message:send_multi_users"
    ],
    "user": []
    }
    }
  3. 【App Versions】->【Version Management & Release】->【Create a version】->【Save】->【Publish】

  4. 【Basic Info】->【Credentials & Basic Info】->【copy and save AppID and AppSecret】

  5. 【Notice Receiver】->【New Receiver】 ->【Choose FeiShu App method】->【Set AppID and AppSecret】-> 【Select Notice Object Type】-> 【Set the corresponding ID】

  6. Configure the associated alarm notification strategy⚠️ 【Add new notification strategy】-> 【Associate the recipient just set】-> 【Confirm】

    Note⚠️ Adding a new recipient does not mean that it is effective to receive alarm information. It is also necessary to configure the associated alarm notification strategy, that is, to specify which messages are sent to which recipients.

    email

FeiShu app notification common issues

  1. FeiShu app did not receive the robot alarm notification.

    Please check whether there is any triggered alarm information in the alarm center.
    Please check whether the AppID and AppSecret is configured correctly and whether the alarm strategy association is configured.
    Please check if the user was within the available range when the application was published.

  2. How to @someone in a designated group chat

    In the form for adding recipients, fill in the User ID. If you need to @everyone, you can enter all in the User ID field. Multiple user IDs are also supported, separated by commas ,. For detailed instructions on how to get the FeiShu user ID, please refer to: Get FeiShu user id

  3. How to obtain a chat ID

    Please refer to: Chat ID description

  4. How to obtain party ID

    Please refer to: Department resource introduction

Other issues can be fed back through the communication group ISSUE!