To embed/include/insert User details in Slack Message from Salesforce, we have to use {!User.FieldAPIName}.
Example:
{!$Record.CaseNumber} is Closed by {!$User.FirstName} {!$User.LastName}. User Id is {!$User.Id}.
Output:
To embed/include/insert User details in Slack Message from Salesforce, we have to use {!User.FieldAPIName}.
Example:
{!$Record.CaseNumber} is Closed by {!$User.FirstName} {!$User.LastName}. User Id is {!$User.Id}.
Output: