2

I'm trying to make a workflow for my slack team where I have this steps: (with workflow builder)

Starts when user clicks on the shortcut in a channel

Opens a form - we ask many questions, one question has multiple fixes choices

Select row from Google Sheets - depending on the answer, we select a row

Send a message to a slack channel - Use the value from another column of the same row that contains a slack memberID (or username) to mention the person on the message

What I expected:

The slack message on the channel to have @userHere as a mention (triggering the notifications)

What happens:

the message is sent on the channel with @userHere as a plan string. Not as mention i.e. not clickable and does not trigger notification.

Is it possible? What am I doing wrong?

What I tried:

what I put in the send message step what is saved in the sheet
@variable "user.name"
@variable "U123213"
variable "@user.name"
variable "@U123213"
{{variable}} @user.name

and many other.. but I never get the mention.

1 Answers1

0

when posting from the SLACK API I believe the correct code for an @ is to wrap it in angled brackets

<@user_id>

So in the case where you input was of the form

{{variable}}

Then it should translate the variable appropriately.

JTega
  • 23
  • 5