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.
01/30/2023, 9:29 PM
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?
01/31/2023, 6:36 AM
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.
02/12/2023, 3:45 PM
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