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.
How do I create a Zap to check if a user role is assigned to a specific user in Discord?
A
This post has been closed for comments. Please create a new post if you need help or have a question about this topic.
Hi
The Find User action for Discord does output the roles for that user:
![](https://uploads-us-west-2.insided.com/zapier-ca/attachment/b1c6a059-ff41-401d-8b4c-2e7ff9d1ae07.png)
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:
![](https://uploads-us-west-2.insided.com/zapier-ca/attachment/3fa8d355-8616-4ef5-a2ff-a5dfbe85ad8f.png)
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:
![](https://uploads-us-west-2.insided.com/zapier-ca/attachment/371ef75b-c8e5-4716-9b1e-f0ba44b0f7be.png)
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!
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.