Assign and remove Discord roles from Attio workflows

Add Conncord's Assign and Remove Discord role steps to Attio workflows to give or take away Discord roles for a person, like when a deal is won.

The Assign Discord role and Remove Discord role steps give a Discord role to the Discord member linked to an Attio person, or take it away. Use them to unlock customer channels when a deal is won, and remove access when a plan ends. They work on every Conncord plan.

Assign Discord role and Remove Discord role steps in an Attio workflow

Before you begin

Typing a Discord ID into a person's Conncord Discord ID attribute doesn't link them. The role steps use the members Conncord linked itself.

Create or open a workflow

In Attio, go to Workflows and click New workflow, or open an existing one. Choose a trigger that gives you a person, for example a record action on People, or a deal changing stage.

Add the Conncord step

Click Add block, search for "Discord", and choose Assign Discord role or Remove Discord role under Conncord.

Pick the person and the role

  • Person: the person whose linked Discord member gets the change. Usually the workflow's trigger record, or a person from an earlier block, such as a deal's contact.
  • Discord role: the role to assign or remove. The list shows only roles below the Conncord bot's role in your server.

Handle failures (optional)

The step has two paths: Assigned (or Removed) and Failed. Connect a block to Failed to handle people who aren't linked yet, for example to email them your invite link. The Failed path outputs error_code and error_message.

The Remove Discord role step

Publish the workflow

Publish the workflow and make sure it's Live.

Don't see the role you need?

Conncord can only manage roles below its own role in your server's role list, so roles above it are hidden. In Discord, go to Server Settings → Roles and drag Conncord above the role. Roles managed by Discord or another app (bot roles, Server Booster) can't be assigned by anyone.

Examples

TriggerStep
Deal moves to WonAssign Customer to the deal's person
Person added to a VIP listAssign VIP
Subscription attribute changes to CanceledRemove Pro Member
Assign Trial, then a 14-day delayRemove Trial

If the step fails

The step takes the Failed path with a message that says how to fix it. The most common causes:

After you fix the problem, run the workflow again for that person. If Conncord or Discord is briefly unavailable, Attio retries the step automatically, and each run changes the role only once.

Each role change uses one action from your plan. If the member already had the role (or didn't have it, for a removal), the step still succeeds but doesn't use one. See Plans and billing.

Last updated on