When a user clicks on the button, the script runs which gets the ID of that user. This ID in the form of a variable
{user_id} can be inserted into the trigger, for example, to change the responsible manager for the lead.
Specifics of settings for incoming messages (messengers)After receiving a message in a messenger from a client, for notifications to work correctly, for the
«Apply» parameter
«In contact» must be selected in the trigger action.
So when you run this script, the trigger will execute and send a notification to the right employees.
For more information, see the
Triggers manual.