Jae Wilson @DataCrew
Domo

Domo Governance with Python | Delete duplicate Accouns

December 18, 2023

Hook

Domo groups accumulate duplicates silently — Domo appends (3) to the name and moves on, leaving you with a growing list of near-identical groups that someone has to clean up by hand.

Why It Matters

Without automation, deduplicating groups is a click-by-click slog through the Domo UI — unscalable the moment you have dozens of offenders and completely pointless to repeat manually on a schedule. Automating this with Python and DomoLibrary turns a recurring maintenance burden into a single script that runs every day without you touching it. It's also a clean entry point for teams exploring what Domo Jupyter is actually useful for beyond data science.

What You'll Learn

  • Identify duplicate Domo groups programmatically by filtering on naming patterns (e.g., groups ending in (2), (3))
  • Use the DomoGroup class from DataCrew's DomoLibrary to call get_all_groups and delete
  • Structure automation logic as discrete, testable chunks rather than monolithic scripts
  • Schedule a Domo Jupyter notebook to run on a daily cadence for hands-off governance