When a user leaves a group in BuddyPress, revoke all badges in myCred
When a member leaves a BuddyPress group, this workflow removes every myCred badge that member holds, so leaving a group also clears their badges on your WordPress community site.
BuddyPress
myCred2 steps Setup ~5 min Used on 1.5k sites Free to import

What this workflow does
Some communities tie badges to group membership. When a member walks away from the group, the badges they earned there may no longer make sense. This workflow strips a member's myCred badges as soon as they leave a BuddyPress group.
The BuddyPress trigger fires when a user leaves a group. That event carries the WordPress user, which FlowMattic passes to myCred. The Revoke All Badges action then removes all badges from that user.
Be clear about the scope before you turn it on. The action removes all of the user's badges, not only ones linked to the group they left. As imported, leaving any group runs the workflow, since there is no Filter. Both plugins run on your own site, and Task History shows each run and which user it acted on.
Single-group membership site
Your community has one main BuddyPress group and badges only make sense inside it. Leaving that group resets the member's myCred badges.
Course cohort groups
Each cohort has a group, and badges mark progress in it. Add a Filter for the cohort's group so leaving it clears that member's badges.
Clean slate when a member leaves
A member who quits your community group loses the badges shown on their profile, so badges only appear on people still taking part.
How this workflow runs
What happens at each step once the workflow is on, and what you need before you import it.
BuddyPress User Leaves GroupFires when a user leaves a BuddyPress group on your site. The user and group details are passed on, so the myCred step knows whose badges to remove.
myCred Revoke All BadgesRemoves every myCred badge from the user who left the group. Map the user from the BuddyPress trigger into this step, then test with a member who holds a badge.
What you need
- FlowMatticCore
- BuddyPress PluginPlugin
- myCred PluginPlugin
After importing, map your own data. To keep the template universal, not every step is pre-filled. Open each step in the builder and connect your accounts and fields (channels, lists, sheets, recipients) before you switch the workflow on.
Make it yours
Changes worth making after you import it.
- Add a Filter after the trigger on the group ID, so only leaving your chosen group removes badges.
- If you only want to remove one badge, swap this step for myCred Revoke Badge and choose the badge linked to the group.
- Leave a test group with a test account that holds a badge, then check Task History and the account's profile to confirm the badges were removed.
Questions about this workflow
Does myCred remove only badges from the BuddyPress group the member left?
No. Revoke All Badges removes every badge the user holds. Use Revoke Badge instead if you want to remove a single badge.
Are myCred points affected when someone leaves a group?
No. This workflow only revokes badges. Points stay as they are unless you add a Deduct Points step.
Does it run when an admin removes someone from a BuddyPress group?
The trigger listens for a user leaving a group. Test an admin removal on a staging site to see whether BuddyPress reports it the same way.
Do BuddyPress and myCred need to be on the same site?
Yes. Both plugins must be active on the WordPress site where FlowMattic runs, since the workflow uses the same WordPress user in both.
More Marketing workflows
Other ready-to-import templates from the same category.
Import this workflow into your WordPress site
Download the JSON, import it from the Workflows screen and connect your accounts. Every run stays on your server, with no per-task fees.
30-day money-back guarantee Unlimited workflows and runs Self-hosted





