We are using the “Phone SlackID” field in Airtable and passing its value into the body of a message using the “Slack Send a message” action in an Automation to send mentions.
In the “Phone SlackID” field, we’ve set each user’s display name in the format @last.first, and it has been working correctly for almost all users.
However, after one staff member changed their display name, they no longer receive mentions. Specifically, @last.first now appears as plain text.
Could you please advise us on how to resolve this issue?
Best answer by ScottWorld
You will need to use the user’s Slack ID instead of the user’s username.
The username may have worked in the past — and might still work under some circumstances — but it has been deprecated by Slack and is no longer officially supported by Slack’s API.
Note that the “display name” has never worked. The “username” is different than the “display name”.
Also, on a related note, if you need more advanced Slack automations than what Airtable offers, you’ll want to check out Make’s Slack integrations & automations.
You will need to use the user’s Slack ID instead of the user’s username.
The username may have worked in the past — and might still work under some circumstances — but it has been deprecated by Slack and is no longer officially supported by Slack’s API.
Note that the “display name” has never worked. The “username” is different than the “display name”.
Also, on a related note, if you need more advanced Slack automations than what Airtable offers, you’ll want to check out Make’s Slack integrations & automations.