Auto-remove Discord Role on Quest Completion

Automatically revoke a Discord role from users when they complete a quest.

Remove a Discord role the moment a user completes a Domino/Zealy quest — perfect for rotating temporary roles, cleaning up raid roles, or updating access after reward claims.

Here's how it works:

1️⃣ Trigger: The workflow starts when the "Quest Completed" trigger fires (a user successfully claims/completes a quest).

2️⃣ Identify the User: The trigger returns the completing user's Discord ID (outputs.e7ab24cd-3a35-4fc2-a5db-e2708968e796.user.discordId).

3️⃣ Remove the Role: Domino calls the Discord "Remove Role" action with your connected Discord account and the selected roleId to remove that role from the user automatically.

Setup steps:

1️⃣ Connect Discord: Add a Discord connection in Domino and provide it as the discordConnection input.

2️⃣ Select Role to Remove: Choose the roleId using the dynamic role selector (this uses the Discord connection to list roles).

3️⃣ Enable the Workflow: Turn on the template so it listens for quest completion events and performs the role removal.

Permissions & notes:

  • The Discord bot must have Manage Roles permission and its highest role must be above the role you want to remove.
  • The workflow pulls the userId from the quest completion payload, so ensure your quest integration returns the Discord ID for claimants.
  • This template is lightweight and can be extended — e.g., add logging, Discord notifications, or conditional checks before removing roles.

Use cases:

  • Revoke temporary raid/holding roles after users complete a quest.
  • Remove onboarding roles once a user finishes required tasks.
  • Clean up roles after limited-time events or promotions.

Get started by connecting Discord, selecting the role to remove, and enabling the automation to keep your community roles tidy and up to date.

Automations for every community

Domino Lets Anyone
Build Easy Web3 Automations

Do more with your dApps without technical skills or a coding know-how. Domino makes it easy to build and share new functionality for protocols, no matter if you're part of the team or the community!

App screenshot

Level Up Your dApps

Start using Domino in minutes. Use automations created by the others or build your own.

App screenshot