Jae Wilson @DataCrew

Domo Automation with an LLM - Chatbot Part 5

February 9, 2025

The hard part of AI automation isn't the AI — it's knowing what to do with the output. Generating a dataflow description with an LLM is the easy part. Getting that description to actually appear in Domo's ETL field, consistently, across every dataflow in your datacenter? That requires you to write the plumbing yourself.

Why It Matters

LLMs are good at text generation. They are not good at knowing where that text needs to go in your data platform. Most AI automation tutorials stop at "look, it generated something cool" — but production automation requires a repeatable, deterministic handoff layer between the LLM output and the system you're writing back to. Without that layer, you end up running a script by hand every time someone asks "can we update the descriptions?" This tutorial closes that gap by showing exactly how to wire the two halves together for Domo Magic ETL dataflows.

What You'll Learn

  • Distinguish which parts of an automation pipeline are LLM-driven vs. manually defined — and why that distinction matters for reliability
  • Authenticate against the Domo API and retrieve the full dataflow definition (name, existing description, and transform actions)
  • Extract only the fields that are actually useful for prompt construction, rather than dumping raw API responses into the LLM
  • Write the generated description back to the dataflow's description field programmatically
  • Structure automation scripts in a format closer to production code — synchronous but organized around a clear extract → generate → write pattern