Table of contents
Watch Maia Build It
See the full medallion build, from Jira ticket to gold layer, step by step.
Dark green abstract background with subtle gradient shapes and rounded corners.
Written by

Medallion Architecture: Automate Bronze, Silver and Gold

December 4, 2026
Blog
8 mins
Summarize with AI

The medallion pattern is easy to draw and slow to build. The design fits on a whiteboard. The work is the boilerplate that moves data from bronze to silver, the manual aggregation behind gold and the orchestration that ties the layers together. That is where a clean design turns into a sprint backlog.

This guide follows one build from a Jira ticket to a reusable skill. In the first demo, Maia builds four pipelines that load SQL Server into Snowflake and promote the data through bronze, silver and gold. In the second, it turns that build into a skill. In the third, it applies the skill to a Postgres source without going back to plan mode.

What a Medallion Architecture Does

Bronze holds raw data as it arrives from source. Silver standardizes, deduplicates and validates it. Gold shapes it into aggregated tables that BI tools and executive dashboards can read. Because bronze stays untouched, a team using a medallion architecture can change its transformation logic and rerun it without extracting from the source again.

The pattern isn't the problem. Each layer needs its own pipelines, validation rules and orchestration, and every new source repeats that work. The three demos below go after that repetition.

Start with a Ticket, Not a Blank Canvas

The input to the first demo is a markdown file: Jira ticket SEC-007. It sits in the project in Maia Foundation and describes the SQL Server source, the target gold layer, the bronze tables with example incremental keys and the acceptance criteria. The data is a fictitious cybersecurity dataset: threats, vulnerabilities, incidents and users, with 1,000 rows in each table.

The prompt is one instruction: build a medallion architecture to load this data from SQL Server, and reference SEC-007. Maia reads the ticket, explores the project for existing patterns and asks to switch into plan mode.

Plan Mode Comes First

In plan mode, Maia works out the connection requirements and the scope, then presents a plan for sign-off before it builds anything. Here the plan is four YAML-based pipelines: a SQL Server load orchestration, two transformation pipelines for silver and gold, and a master orchestration that runs the whole flow.

Maia also searches the Data Pipeline Language to pick the right components, including a join component that pushes the join down into Snowflake. This demo targets Snowflake. Maia also supports Redshift and Databricks. Reviewing the plan is the cheapest place to catch a scope problem, and the presenter checks the pipeline list before approving it.

Bronze: Load SQL Server into Snowflake

The bronze load is one orchestration pipeline. It uses the SQL Server component inside a grid iterator that loops over table configurations held in variables, mapping each source table to a target table in the bronze layer of Snowflake.

The first run fails. Maia reads the execution logs at runtime, sees that the source columns don't match the ticket's descriptions and switches to a SELECT * so it can see the real columns. It loads a full copy first, then checks that all four tables landed in Snowflake. This habit of reading its own failures is covered in more depth in the self-healing and log analysis demo.

Silver: Validate as It Builds

For silver, the ticket asks for normalization, email validation, null handling, an is_valid flag and a validation errors column. Maia validates as it builds, sampling the data and updating the SQL as it goes.

Two catches show why that matters. First, every threat came back is_valid = N. The source data had mixed-case severity values and the ticket specified capitalized ones. Maia spotted the mismatch and corrected the check without being asked. Second, it added a standardized priority column to incidents to meet the business requirement. Both were fixed before the silver pipeline was rerun.

Gold: Join, Deduplicate, Aggregate

Gold joins the silver threats and incidents tables on the right IDs. Maia notices overlapping columns, deduplicates them and edits the file until the join works. It then calculates aggregates and metrics for two output tables: a security summary and threat analytics. The output keeps the severity casing the ticket asked for and includes a threat status summary suited to an executive dashboard in the downstream BI layer.

Orchestration, Alerts and Incremental Loads

Maia builds the master orchestration that connects bronze, silver and gold and adds failure notifications. Depending on account setup, alerts go to a webhook, a Slack channel or email.

It then adds incremental loading. The SQL Server component switches to incremental with high-water marks, and a variable lets the schedule choose between a full and an incremental load. In the demo this change is still being applied when the video ends, so treat it as configured, not benchmarked. Once the pipelines are published to a Git repository, lineage is visible in the platform.

Turn the Build into a Skill

A working build is a pattern, and the second demo captures it. Maia reads the finished pipelines and the full conversation, including the change requests made along the way, such as using native high-water-mark incremental loading in the SQL Server component. The prompt asks for a reusable skill named medallion-architecture for building pipelines from new source systems and servers.

The first version covers use cases, layer purposes and flow, incremental loading with high watermarks, naming conventions, implementation and troubleshooting. The presenter notices that documentation is missing, so he asks Maia to include the documentation and error-message handling from the existing master pipelines, update the skill, commit and push to production. Review a skill before you rely on it. Here the review caught a real gap.

Maia then commits the change and pushes it to an external Git repository. Skills live in the project's .matillion folder. If the folder isn't there, choose Add context to create the rules and skills structure.

You don't need a finished build to start. Maia can also build a skill from material you already have: Confluence pages, other unstructured documentation, or existing pipelines in Python, Matillion ETL or Maia Foundation. Point it at a pipeline and name the pattern to copy, such as naming conventions, iterators or slowly changing dimension type 2. Skills work alongside the context files that give Maia your business logic. National Safety Apparel used the same idea at the mapping level: it brought field-level mapping into Maia as context, which generated the pipelines and transformations across its Snowflake medallion architecture.

Apply the Skill to a New Source

In the third demo the source is Postgres. The prompt asks Maia to find the Postgres database in the project's sources and use the medallion skill to build a pipeline for its tables. The presenter also tags a data landscape markdown file. It lists tables across Postgres, SQL Server and S3, their relationships, and connection details such as host, schema and secret reference.

Maia reads the project structure, creates a medallion-postgres folder and builds the bronze load orchestration, then silver, gold and the master orchestration. The result follows the same architecture as the SQL Server build, down to the colors on the canvas notes. Maia doesn't need plan mode, because the skill already carries the pattern. It isn't copying earlier pipelines; the skill drives the build.

The presenter says the first build took around fifteen minutes from a clean slate with no skills, and that the skill-driven build ran faster and closer to the team's standards. The video gives no timing for the second run, so test it on your own sources before quoting a number.

It isn't perfect first time. The gold layer's compliance analytics aggregation had an issue. Maia found it, updated the aggregation to include the relevant assets, reran the pipeline and returned a sample of the results. Documentation and alerting arrive built in, as in the first build, and the same validation habit is covered in the documenting pipelines demo and the automated pipeline testing demo. Maia then commits and pushes the changes to production.

What You Still Decide

Maia does the repetitive build. You still own the ticket, the business rules and the review. In these demos the engineer approves the plan, notices when the skill leaves out documentation and checks samples at each layer. Build the skill once, review it carefully, and the next source starts from your standard instead of a blank canvas. That is the working model behind autonomous data engineering: the agent builds, the engineer sets direction and signs off.

No items found.

See Maia Build Your Medallion Pipeline

Book a demo and watch Maia plan, build and validate bronze, silver and gold layers on your data.
Soft yellow abstract background with smooth gradients and rounded edges.
Last updated
December 4, 2026
Smiling man in a purple shirt standing on a balcony with city buildings in the background.
Arun Anand
Senior Product Marketing Manager, Matillion
Arun Anand is a Senior Product Marketing Manager at Matillion, working across the Maia product, sales and strategy. He's spent his career in the data integration space, partnering closely with data & AI executives and data engineers to develop an end-to-end understanding of how organizations get value out of their data estate. He's particularly interested in studying how agentic AI can enable data teams to drive outsized, quantifiable impact for their organizations at pace.
View Profile

Data management
made effortless

Enjoy the freedom to do more with Maia on your side.
Abstract dark teal geometric shapes background with diagonal lines and subtle gradients.