Hello.
You can use various macros in message text (e.g. %n — object name) when configuring action, check this link for complete list.
You can use various macros in message text (e.g. %n — object name) when configuring action, check this link for complete list.