Alert FeiShu app notification
After the threshold is triggered send alarm information and notify the recipient by FeiShu app.
Operation steps
-
【FeiShu Open Platform】->【Create Custom App】->【Create】->【Add Features:Bot】
-
【Development Configuration】->【Permissions & Scopes】:Different types of notification objects require different API permissions, which can be opened as needed
Permission Name Permission code Designated User Designated Group Chat Designated Department All User Obtain user ID contact:user.employee_id:readonly ✓ ✓ Send messages as an app im:message:send_as_bot ✓ ✓ ✓ ✓ Obtain employee information in FeiShu CoreHR (Standard version) ehr:employee:readonly ✓ Send batch messages to members from one or more departments im:message:send_multi_depts ✓ Send batch messages to multiple users im: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": []
}
} -
【App Versions】->【Version Management & Release】->【Create a version】->【Save】->