Documenting pipelines automatically with Maia
Stop the "guessing game" of undocumented data pipelines by using Maia to explain complex data flows. In minutes, you can generate detailed canvas notes and color-coded steps that simplify maintenance and codify your business logic for future builds.
Hi everyone, this is Susana Cardoso. I'm a data engineer at Matillion, and today I want to talk about an issue that's close to my heart, which is inheriting a black box pipeline and how to deal with it. Now, oftentimes when you get handed down a black box pipeline, there's a lack of documentation to explain how we've reached this output. On top of that, it makes it a lot harder to maintain this pipeline, and it ultimately becomes a guessing game.
The issue for us, data engineers, often comes with the fact that documenting a pipeline is a multi-day process. So how can we speed this up? Using Maia is the answer. So here we can see a pipeline that has no explanation whatsoever to what is happening at each stage. Now, I know that the end goal of this pipeline is to respond to IT service desk queries, but I don't know how we've gotten to that.
And if there's ever any maintenance that I need to do on my end, I wouldn't even know where to begin. I would always have to reverse engineer the pipeline in order to determine what to do with it. The reason this pipeline is so complex is because there's a bunch of embedded pipelines within it. So at each stage, there's more pipelines. And it becomes hard to understand what is happening.
So going back to the main pipeline, I'm gonna ask Maia to tell us what is going on at each step. Now, Maia can do this with notes within the canvas directly, or later on we can explore a context file. So let's start by asking Maia to document our pipeline with notes directly on the canvas.
What's interesting is that as it's analyzing the pipeline, Maia can identify the underlying joins and business logic and then can write a note directly onto the canvas as we're seeing here. It's not just a summary, it's an explanation of the hows and the whys for every step of the data flow. As you can see, Maia has outputted the notes now, but I also wanted to write notes within the other pipelines. So I'm just gonna tell Maia to do that.
What's quite nice to see is that it's also used colors to color code the steps of the flow. Now we can go through each child node and see that we have notes explaining each step of the process. We can see that Maia has now added notes and followed the color coding pattern throughout child pipelines. And I'm gonna further iterate on this in order to add notes to every single child pipeline of those child pipelines so that we have a full documented pipeline.
I'm happy with all the notes that Maia has added to each step of my data flow, but now I want to go a step above that and create a context file in order to help codify this gold standard that we've created. This means that Maia can reference this file for any future builds that you might have in order to maintain our pipeline standards and understand any specific logic. So let's ask Maia to do this now.
This context file will allow us to enforce governance, give Maia domain expertise, Looking at this context file, we have all the names of the pipelines that are involved. We have a little step by step explanation of what is happening at each point. And we also have our pipeline standards, which explain the file naming convention, the folder organization, all the component naming, variable naming, etc., etc.
So now that the knowledge is codified and searchable, we've taken away that overhead of documenting a pipeline, and now you're free to just scale as you please without having the fear that you're creating another black box item that will just be hard to maintain. Thank you for watching.
You might also like
Our latest resources


Matillion, the company behind Maia, has been named a Visionary in the 2026 Gartner® Magic Quadrant™ for Data Integration Tools.
Data management
