Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Slack: Add ability to mention user by username/email #230

Open
mkantzer opened this issue Oct 12, 2023 · 5 comments
Open

Slack: Add ability to mention user by username/email #230

mkantzer opened this issue Oct 12, 2023 · 5 comments

Comments

@mkantzer
Copy link

The slack API allows mentioning users via their userID like so:

Hey <@U024BE7LH>, thanks for submitting your report.

However, almost any use-case for Notifications won't include the actul slack userID; Instead, it will have things like an email associated with a git commit.

The slack documentation (linked below) recommends using the users.list api to retrieve the ID via some other unique piece of information (such as an email).

Can we expand the engine to parse for things formatted as something like {{.slack.userEmail}}, and do a lookup?

It would be equally helpful if we could do the same for:

  • channels: Why not join <#C123ABC456>?
  • groups: Hey <!subteam^SAZ94GDB8>, there's a new task in your queue.

Reference:

@trv-bmpage
Copy link

Is there an ETA on this?

@evgenymo
Copy link

+1

@aburan28
Copy link

I can work on trying to implement this functionality

@nodablock
Copy link

@aburan28 wondering if you were progressing on it?

@conrity
Copy link

conrity commented Dec 12, 2024

@aburan28 any news?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants