Question

How do I create a Zap to check if a user role is assigned to a specific user in Discord?

  • 25 November 2022
  • 1 reply
  • 74 views

  • Anonymous
  • 0 replies

I am looking for a way to create a zap that will check if a user role is assigned to a specific user in DISCORD.


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 @SquawkTradeFX!

The Find User action for Discord does output the roles for that user:

In order to know what that number refers to, you can check out the Add Role action, then take note of the IDs for the Discord roles:

 

You can see that the role in my first screenshot is for the Awesome role. Then it’s a matter of adding a filter like this:

Or, if you want to do one thing if the role is assigned, and a different thing if the role is not assigned, you can use Paths instead.

Hope that helps!