Question

Tag all assignees of a ClickUp task in a Slack channel

  • 14 July 2023
  • 1 reply
  • 21 views

Hi everyone,

I'm currently trying to set up an automation that tags all assignees of a ClickUp task in a Slack channel. I use Formatter to assign each ClickUp assignee the correct Slack ID (solution found here). Now the issue is that if there is more than one assignee, the output looks like this in Slack:


<@U02JEFCJZ4P,@U02G5169TNX> please review the following...


With the colon in between the tags, Slack does not implement it as a tag. I would need a space between the outputs, but adding a space to the output in the Formatter table breaks the tag altogether.

Any idea on how to solve this?

Thanks a lot for helping out here.


This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

1 reply

Userlevel 7
Badge +11

Hi@d231d, welcome to the Community!

If you’re using a lookup table, as per the solution mentioned on that other topic you referenced, then to output the list of Slack user IDs correctly I think you might need to update it to include the angle brackets <> around the user IDs. For example:
8e7229fe462bb392be079af442fb7356.png

Would then output the two users like so: 
e799ee2a34b6836b3192315bb2bf1da2.png

Then to have a space after the commas you’d need to convert the line items that are supplied by the Formatter (Utilities > Lookup Table) action into text and set the separator to be ,[:space:] 

For example:
05b309e043c08fea87567bcf81a11324.png

That would output a field that contains the combined line items as text separated by a comma and a space:

3a001c8e6397401f25945421294d65de.png
Then you’d select the Output Text field in the Slack action:
313ba28aaddd6f63f8f90762fe0dd874.png

And for cases where there’s only one assignee, no comma or space would be added to the Slack message:
c7e6d053f08aa6378616f405a120abde.png

Hope that helps. Please do give that a try and if I’ve misunderstood what you’re looking to do here or you run into any issues on that, just let me know! 🙂