Jae Wilson @DataCrew
Domo

Build a DomoStats connector with Python + DomoLibrary and Jupyter

December 4, 2023

Hook

A Domo user asked: how do you build a dataset that surfaces the action types inside a Magic ETL dataflow — the kind of metadata Domo doesn't expose out of the box? This tutorial answers that question with DomoLibrary, Python, and a Jupyter notebook.

Why It Matters

DomoStats gives you observability into your Domo environment, but it doesn't cover everything — dataflow action-type metadata being one notable gap. Without a custom connector, answering "what transformations are running inside our ETLs?" requires manual digging. This pattern shows how to hit Domo's undocumented internal APIs safely and repeatably, and how DomoLibrary abstracts away the authentication boilerplate so you can focus on the data shape you actually need.

What You'll Learn

  • Build a custom DomoStats-style dataset that returns dataflow IDs, names, and action types
  • Authenticate against Domo's undocumented APIs using username/password via python-dotenv or Domo Jupyter account objects
  • Use DomoLibrary to reduce credential handling and API wiring to a few lines
  • Structure a Jupyter notebook workflow that produces a clean, queryable dataset in Domo
  • Avoid the credential anti-patterns that get people in trouble (yes, .env files and .gitignore matter here)