Skip to main content
Login
      • Discover
        • For App Developers
          • For Executives
            • For Startups
              • Lakehouse Architecture
                • Databricks AI Research
                • Customers
                  • Customer Stories
                  • Partners
                    • Partner Overview
                      Explore the Databricks partner ecosystem
                      • Partner Spotlight
                        Featured partner announcements
                        • Partner Program
                          Explore benefits, tiers and how to become a partner
                          • Cloud Providers
                            Databricks on AWS, Azure and GCP
                            • Find a Partner
                              Discover Databricks partners for your needs
                              • Partner Solutions
                                Find custom industry and migration solutions
                              • Databricks Platform
                                • Platform Overview
                                  A unified platform for data, analytics and AI
                                  • Data Management
                                    Data reliability, security and performance
                                    • Sharing
                                      Open, secure, zero-copy sharing for all data
                                      • Data Warehousing
                                        Serverless data warehouse for SQL analytics
                                        • Governance
                                          Unified governance for all data, analytics and AI assets
                                          • Data Engineering
                                            ETL and orchestration for batch and streaming data
                                            • Artificial Intelligence
                                              Build and deploy ML and GenAI applications
                                              • Business Productivity
                                                Unified search, chat, dashboards and apps
                                                • Business Intelligence
                                                  Intelligent analytics for real-world data
                                                  • Application Development
                                                    Quickly build secure data and AI apps
                                                    • Database
                                                      Postgres for data apps and AI agents
                                                      • Security
                                                        Open agentic SIEM built for the AI era
                                                      • Integrations and Data
                                                        • Marketplace
                                                          Open marketplace for data, analytics and AI
                                                          • IDE Integrations
                                                            Build on the Lakehouse in your favorite IDE
                                                            • Partner Connect
                                                              Discover and integrate with the Databricks ecosystem
                                                            • Pricing
                                                              • Databricks Pricing
                                                                Explore product pricing, DBUs and more
                                                                • Cost Calculator
                                                                  Estimate your compute costs on any cloud
                                                                • Open Source
                                                                  • Open Source Technologies
                                                                    Learn more about the innovations behind the platform
                                                                  • Databricks for Industries
                                                                    • Communications
                                                                      • Media and Entertainment
                                                                        • Financial Services
                                                                          • Public Sector
                                                                            • Healthcare & Life Sciences
                                                                              • Retail
                                                                                • Manufacturing
                                                                                  • See All Industries
                                                                                  • Cross Industry Solutions
                                                                                    • AI Agents
                                                                                      • AI Governance
                                                                                        • Cybersecurity
                                                                                          • Marketing
                                                                                          • Migration & Deployment
                                                                                            • Data Migration
                                                                                              • Professional Services
                                                                                              • Solution Accelerators
                                                                                                • Explore Accelerators
                                                                                                  Move faster toward outcomes that matter
                                                                                                • Learning
                                                                                                  • Training
                                                                                                    Discover curriculum tailored to your needs
                                                                                                    • Databricks Academy
                                                                                                      Sign in to the Databricks learning platform
                                                                                                      • Certification
                                                                                                        Gain recognition and differentiation
                                                                                                        • Free Edition
                                                                                                          Learn professional Data and AI tools for free
                                                                                                          • University Alliance
                                                                                                            Want to teach Databricks? See how.
                                                                                                          • Events
                                                                                                            • Data + AI Summit
                                                                                                              • Data + AI World Tour
                                                                                                                • AI Days
                                                                                                                  • Event Calendar
                                                                                                                  • Blog and Podcasts
                                                                                                                    • Databricks Blog
                                                                                                                      Explore news, product announcements, and more
                                                                                                                      • AI Blog
                                                                                                                        Explore our AI research and engineering work
                                                                                                                        • Data Brew Podcast
                                                                                                                          Let’s talk data!
                                                                                                                          • Champions of Data + AI Podcast
                                                                                                                            Insights from data leaders powering innovation
                                                                                                                          • Get Help
                                                                                                                            • Customer Support
                                                                                                                              • Documentation
                                                                                                                                • Community
                                                                                                                                • Dive Deep
                                                                                                                                  • Resource Center
                                                                                                                                    • Demo Center
                                                                                                                                      • Architecture Center
                                                                                                                                      • Company
                                                                                                                                        • Who We Are
                                                                                                                                          • Our Team
                                                                                                                                            • Databricks Ventures
                                                                                                                                              • Contact Us
                                                                                                                                              • Careers
                                                                                                                                                • Working at Databricks
                                                                                                                                                  • Open Jobs
                                                                                                                                                  • Press
                                                                                                                                                    • Awards and Recognition
                                                                                                                                                      • Newsroom
                                                                                                                                                      • Security and Trust
                                                                                                                                                        • Security and Trust
                                                                                                                                                    • Data+ai summit promo

                                                                                                                                                      JUNE 15–18|SAN FRANCISCO

                                                                                                                                                      Join us at the world’s largest data, apps and AI event.

                                                                                                                                                      Register
                                                                                                                                                    • Ready to get started?
                                                                                                                                                    • Get a Demo
                                                                                                                                                    Data+ai summit promo

                                                                                                                                                    JUNE 15–18|SAN FRANCISCO

                                                                                                                                                    Join us at the world’s largest data, apps and AI event.

                                                                                                                                                    Register
                                                                                                                                                    • Login
                                                                                                                                                    • Try Databricks
                                                                                                                                                    1. All blogs
                                                                                                                                                    2. /
                                                                                                                                                      Data Strategy
                                                                                                                                                    • 7-Eleven’s Data Documentation Dilemma
                                                                                                                                                    • Manual Migration’s Impossible Scale
                                                                                                                                                    • The Intelligent Document Processing Pipeline
                                                                                                                                                    • 7-Eleven’s Data Documentation Dilemma
                                                                                                                                                    • Manual Migration’s Impossible Scale
                                                                                                                                                    • The Intelligent Document Processing Pipeline
                                                                                                                                                    Insights
                                                                                                                                                    September 16, 2025

                                                                                                                                                    Automating Data Documentation with AI: How 7-Eleven Bridged the Metadata Gap

                                                                                                                                                    Using intelligent agents to streamline the migration of thousands of data definitions, unlocking more reliable and higher-quality insights for decision-making.

                                                                                                                                                    by Yash Mahendra Shingvi

                                                                                                                                                    • Unlock the potential of agents like AI/BI Genie: 7-Eleven bootstrapped their Databricks environment by ingesting Confluence documentation, providing more context for AI-agents such as Genie.
                                                                                                                                                    • Opportunity to scale with AI: A manual migration of thousands of tables was impractical due to high labor, error risks and maintenance burdens, diverting focus from strategic work.
                                                                                                                                                    • Automate Confluence-to-Databricks migration with agentic AI: 7-Eleven used an agentic AI workflow to build an intelligent multistage pipeline that automated the entire documentation migration process. This not only fast-tracked the process, completing the initial migration in days instead of months, but it also improved accuracy and unlocked AI/BI’s full potential with ongoing synchronization on the Databricks Data Intelligence Platform.

                                                                                                                                                    7-Eleven’s Data Documentation Dilemma

                                                                                                                                                    7-Eleven’s data ecosystem is massive and complex, housing thousands of tables with hundreds of columns across our Databricks environment. This data forms the backbone of our operations, analytics and decision-making processes. Traditionally, 7-Eleven’s data dictionary and documentation lived in Confluence pages, meticulously maintained by our data team members who would manually document table and column definitions.

                                                                                                                                                    We faced a critical roadblock as we began exploring the AI-powered features on the Databricks Data Intelligence Platform, including AI/BI Genie, intelligent dashboards and other applications. These advanced tools rely heavily on table metadata and comments embedded directly within Databricks to generate insights, answer questions about our data, and build automated visualizations. Without proper table and column comments in Databricks itself, we were essentially leaving powerful AI capabilities on the table. For example, when Genie lacks column definitions, it can misinterpret the meaning of bespoke columns, requiring end users to clarify. Once we enriched our metadata, Genie’s contextual understanding improved dramatically—accurately identifying column purposes, surfacing the right tables in response to natural language queries, and generating far more relevant and actionable insights. Simply put, Genie, like all AI agents, gets more thoughtful and more helpful when it has better metadata to work with.

                                                                                                                                                    The gap between our well-documented Confluence pages and our “metadata-light” Databricks environment was preventing us from realizing the full potential of our data platform investment.

                                                                                                                                                    Manual Migration’s Impossible Scale

                                                                                                                                                    When we initially considered migrating our documentation from Confluence to Databricks, the scale of the challenge became immediately apparent. With thousands of tables containing hundreds of columns each, a manual migration would require:

                                                                                                                                                    • Time-intensive labor: Hundreds of person-hours to copy and paste documentation
                                                                                                                                                    • Manual metadata updates: Crafting thousands of individual SQL statements to update metadata or going to each table UI
                                                                                                                                                    • Project oversight: Implementing a tracking system to ensure all tables were properly updated
                                                                                                                                                    • Quality assurance: Creating a validation process to catch inevitable human errors
                                                                                                                                                    • Ongoing upkeep: Establishing an ongoing maintenance protocol to keep both systems in sync

                                                                                                                                                    Human error would be unavoidable even if we dedicated significant resources to this effort. Some tables would be missed, comments would be incorrectly formatted, and the process would likely need to be repeated as documentation evolved. Moreover, the tedious nature of the work likely leads to inconsistent quality across the documentation.

                                                                                                                                                    Most concerning was the opportunity cost. While our data team focused on this migration, they couldn’t work on higher-value initiatives. Every day, we faced delays in strengthening our Databricks metadata, leaving untapped potential in the AI/BI capabilities already at our fingertips.

                                                                                                                                                    The Intelligent Document Processing Pipeline

                                                                                                                                                    To solve this challenge, 7-Eleven developed a sophisticated agentic AI workflow powered by Llama 4 Maverick, deployed through Databricks Model Serving, that automated the entire documentation migration process through an intelligent multistage pipeline:

                                                                                                                                                    1. Discovery phase: The agent uses Databricks APIs to get all tables, table names and column structures.
                                                                                                                                                    2. Document retrieval: The agent pulls all relevant data dictionary documents from Confluence, creating a corpus of potential documentation sources.
                                                                                                                                                    3. Reranking and filtering: Implementing advanced reranking algorithms, the system prioritizes the most relevant documentation for each table, filtering out noise and irrelevant content. This critical step ensures we match tables with their proper documentation even when naming conventions aren’t perfectly consistent.
                                                                                                                                                    4. Intelligent matching: For each Databricks table, the AI agent analyzes potential documentation matches, using contextual understanding to determine the correct Confluence page even when names don’t match exactly.
                                                                                                                                                    5. Targeted extraction: Once the correct documentation is identified, the agent intelligently extracts relevant descriptions for both tables and their columns, preserving the original meaning while formatting appropriately for Databricks metadata.
                                                                                                                                                    6. SQL generation: The system automatically generates properly formatted SQL statements to update the Databricks table and column comments, handling special characters and formatting requirements.
                                                                                                                                                    7. Execution and verification: The agent runs the SQL updates and, through MLflow tracking and evaluation, verifies that metadata was applied correctly, logs results, and surfaces any issues for human review.
                                                                                                                                                    8. Monitoring and insights: The team also uses the AI/BI Genie Dashboard to track project metrics in real time, ensuring transparency, quality control, and continuous improvement.

                                                                                                                                                    This intelligent pipeline transformed months of tedious, error-prone work into an automated process that completed the initial migration in days. The system’s ability to understand context and make intelligent matches between differently named or structured resources was key to achieving high accuracy.

                                                                                                                                                    Since implementing this solution, we plan to migrate documentation for over 90% of our tables, unlocking the full potential of Databricks’ AI/BI features. What began as a lightly used AI assistant has evolved into an everyday tool in our data workflows.. Genie’s ability to understand context now mirrors how a human would interpret the data, thanks to the column-level metadata we injected. Our data scientists and analysts can now use natural language queries through AI/BI Genie to explore data, and our dashboards leverage the rich metadata to provide more meaningful visualizations and insights.

                                                                                                                                                    The solution continues to provide value as an ongoing synchronization tool, ensuring that as our documentation evolves in Confluence, those changes are reflected in our Databricks environment. This project demonstrated how thoughtfully applied AI agents can solve complex data governance challenges at enterprise scale, turning what seemed like an insurmountable documentation task into an elegant automated solution.

                                                                                                                                                    Want to learn more about AI/BI and how it can help unlock value from your data? Learn more here.

                                                                                                                                                    Get the latest posts in your inbox

                                                                                                                                                    Subscribe to our blog and get the latest posts delivered to your inbox.

                                                                                                                                                    Sign up

                                                                                                                                                    View all blogs
                                                                                                                                                    databricks logo
                                                                                                                                                    Why Databricks
                                                                                                                                                    Discover
                                                                                                                                                    • For App Developers
                                                                                                                                                    • For Executives
                                                                                                                                                    • For Startups
                                                                                                                                                    • Lakehouse Architecture
                                                                                                                                                    • Databricks AI Research
                                                                                                                                                    Customers
                                                                                                                                                    • Customer Stories
                                                                                                                                                    Partners
                                                                                                                                                    • Partner Overview
                                                                                                                                                    • Partner Program
                                                                                                                                                    • Find a Partner
                                                                                                                                                    • Partner Spotlight
                                                                                                                                                    • Cloud Providers
                                                                                                                                                    • Partner Solutions
                                                                                                                                                    Discover
                                                                                                                                                    • For App Developers
                                                                                                                                                    • For Executives
                                                                                                                                                    • For Startups
                                                                                                                                                    • Lakehouse Architecture
                                                                                                                                                    • Databricks AI Research
                                                                                                                                                    Customers
                                                                                                                                                    • Customer Stories
                                                                                                                                                    Partners
                                                                                                                                                    • Partner Overview
                                                                                                                                                    • Partner Program
                                                                                                                                                    • Find a Partner
                                                                                                                                                    • Partner Spotlight
                                                                                                                                                    • Cloud Providers
                                                                                                                                                    • Partner Solutions
                                                                                                                                                    Product
                                                                                                                                                    Databricks Platform
                                                                                                                                                    • Platform Overview
                                                                                                                                                    • Sharing
                                                                                                                                                    • Governance
                                                                                                                                                    • Artificial Intelligence
                                                                                                                                                    • Business Intelligence
                                                                                                                                                    • Database
                                                                                                                                                    • Data Management
                                                                                                                                                    • Data Warehousing
                                                                                                                                                    • Data Engineering
                                                                                                                                                    • Business Productivity
                                                                                                                                                    • Application Development
                                                                                                                                                    • Security
                                                                                                                                                    Pricing
                                                                                                                                                    • Pricing Overview
                                                                                                                                                    • Pricing Calculator
                                                                                                                                                    Open Source
                                                                                                                                                    Integrations and Data
                                                                                                                                                    • Marketplace
                                                                                                                                                    • IDE Integrations
                                                                                                                                                    • Partner Connect
                                                                                                                                                    Databricks Platform
                                                                                                                                                    • Platform Overview
                                                                                                                                                    • Sharing
                                                                                                                                                    • Governance
                                                                                                                                                    • Artificial Intelligence
                                                                                                                                                    • Business Intelligence
                                                                                                                                                    • Database
                                                                                                                                                    • Data Management
                                                                                                                                                    • Data Warehousing
                                                                                                                                                    • Data Engineering
                                                                                                                                                    • Business Productivity
                                                                                                                                                    • Application Development
                                                                                                                                                    • Security
                                                                                                                                                    Pricing
                                                                                                                                                    • Pricing Overview
                                                                                                                                                    • Pricing Calculator
                                                                                                                                                    Integrations and Data
                                                                                                                                                    • Marketplace
                                                                                                                                                    • IDE Integrations
                                                                                                                                                    • Partner Connect
                                                                                                                                                    Solutions
                                                                                                                                                    Databricks For Industries
                                                                                                                                                    • Communications
                                                                                                                                                    • Financial Services
                                                                                                                                                    • Healthcare and Life Sciences
                                                                                                                                                    • Manufacturing
                                                                                                                                                    • Media and Entertainment
                                                                                                                                                    • Public Sector
                                                                                                                                                    • Retail
                                                                                                                                                    • View All
                                                                                                                                                    Cross Industry Solutions
                                                                                                                                                    • AI Agents
                                                                                                                                                    • AI Governance
                                                                                                                                                    • Cybersecurity
                                                                                                                                                    • Marketing
                                                                                                                                                    Data Migration
                                                                                                                                                    Professional Services
                                                                                                                                                    Solution Accelerators
                                                                                                                                                    Databricks For Industries
                                                                                                                                                    • Communications
                                                                                                                                                    • Financial Services
                                                                                                                                                    • Healthcare and Life Sciences
                                                                                                                                                    • Manufacturing
                                                                                                                                                    • Media and Entertainment
                                                                                                                                                    • Public Sector
                                                                                                                                                    • Retail
                                                                                                                                                    • View All
                                                                                                                                                    Cross Industry Solutions
                                                                                                                                                    • AI Agents
                                                                                                                                                    • AI Governance
                                                                                                                                                    • Cybersecurity
                                                                                                                                                    • Marketing
                                                                                                                                                    Resources
                                                                                                                                                    Documentation
                                                                                                                                                    Customer Support
                                                                                                                                                    Community
                                                                                                                                                    Learning
                                                                                                                                                    • Training
                                                                                                                                                    • Certification
                                                                                                                                                    • Free Edition
                                                                                                                                                    • University Alliance
                                                                                                                                                    • Databricks Academy Login
                                                                                                                                                    Events
                                                                                                                                                    • Data + AI Summit
                                                                                                                                                    • Data + AI World Tour
                                                                                                                                                    • AI Days
                                                                                                                                                    • Event Calendar
                                                                                                                                                    Blog and Podcasts
                                                                                                                                                    • Databricks Blog
                                                                                                                                                    • AI Blog
                                                                                                                                                    • Data Brew Podcast
                                                                                                                                                    • Champions of Data & AI Podcast
                                                                                                                                                    Learning
                                                                                                                                                    • Training
                                                                                                                                                    • Certification
                                                                                                                                                    • Free Edition
                                                                                                                                                    • University Alliance
                                                                                                                                                    • Databricks Academy Login
                                                                                                                                                    Events
                                                                                                                                                    • Data + AI Summit
                                                                                                                                                    • Data + AI World Tour
                                                                                                                                                    • AI Days
                                                                                                                                                    • Event Calendar
                                                                                                                                                    Blog and Podcasts
                                                                                                                                                    • Databricks Blog
                                                                                                                                                    • AI Blog
                                                                                                                                                    • Data Brew Podcast
                                                                                                                                                    • Champions of Data & AI Podcast
                                                                                                                                                    About
                                                                                                                                                    Company
                                                                                                                                                    • Who We Are
                                                                                                                                                    • Our Team
                                                                                                                                                    • Databricks Ventures
                                                                                                                                                    • Contact Us
                                                                                                                                                    Careers
                                                                                                                                                    • Open Jobs
                                                                                                                                                    • Working at Databricks
                                                                                                                                                    Press
                                                                                                                                                    • Awards and Recognition
                                                                                                                                                    • Newsroom
                                                                                                                                                    Security and Trust
                                                                                                                                                    Company
                                                                                                                                                    • Who We Are
                                                                                                                                                    • Our Team
                                                                                                                                                    • Databricks Ventures
                                                                                                                                                    • Contact Us
                                                                                                                                                    Careers
                                                                                                                                                    • Open Jobs
                                                                                                                                                    • Working at Databricks
                                                                                                                                                    Press
                                                                                                                                                    • Awards and Recognition
                                                                                                                                                    • Newsroom
                                                                                                                                                    databricks logo

                                                                                                                                                    Databricks Inc.
                                                                                                                                                    160 Spear Street, 15th Floor
                                                                                                                                                    San Francisco, CA 94105
                                                                                                                                                    1-866-330-0121

                                                                                                                                                    See Careers
                                                                                                                                                    at Databricks

                                                                                                                                                    © Databricks 2026. All rights reserved. Apache, Apache Spark, Spark, the Spark Logo, Apache Iceberg, Iceberg, and the Apache Iceberg logo are trademarks of the Apache Software Foundation.

                                                                                                                                                    • Privacy Notice
                                                                                                                                                    • |Terms of Use
                                                                                                                                                    • |Modern Slavery Statement
                                                                                                                                                    • |California Privacy
                                                                                                                                                    • |Your Privacy Choices