Hey everyone, I am using Slack block to send messa...
# ask-community
a
Hey everyone, I am using Slack block to send messages. For certain critical alerts which will be going from prefect, I wanted to tag respective person using their slack user id. I used to do that with slack Webclient earlier but can't figure out how to do this with blocks. Would appreciate any help. Thanks.
c
Hi Ankit, Just to make sure I’m following you, you want to tag specific users using slack webhooks? How do you intend to identify what user to target (in slack)? Do you have a map of those users, and some way to select them?
a
Hi Christopher, I intend to send messages to slack channels using the webhook. How it works with slack client is that we can pass the unique user id in the message like this
'<U03FKQX1TH9>' please check this error
, slack client converts it into a
@user please check this error
Hi @Christopher Boyd just check if this is something which can be done. Thanks.
c
Hi Ankit, Prefect is just delivering your notifications to a slack webhook . Any configuration you want to do beyond that would need to be either through slack api or custom