Skip to content
Elements.cloud Colour LogoElements.cloud Colour Logo
  • Why Elements?
  • Capabilities
        • Metadata analysis

          Org model, analytics, reports, field population

          Impact assessment

          Dependency trees & grid, impact assessment from story

          Change tracking

          Change governance; change log alerts, reporting, stories

          Access and compliance

          Permission explorer, metafields

          Agent designer

          One smart place to design, deploy and iterate AI Agents. Completely free.

          Salesforce Configuration Mining

          Generate process.maps with insights in context & Data models on demand from your current Org metadata

          Process-led design

          Capture requirements, visually map business processes and generate user stories

          Lifecycle governance

          Regulatory compliance, audit trail and version control

          Change Intelligence Platform Overview

          Enables organizations to know where they are today and realize where they want to be tomorrow. Elements.cloud gives you back control.

          Find out more
  • Solutions
        • By project

          Agentforce

          Tech debt removal

          Navigating complexity

          Salesforce documentation

          Org merge / split

          Compliance & auditing

          Salesforce Implementation

          Org healthcheck

          By cloud

          Agentforce

          Revenue Cloud / CPQ

          Data Cloud

          Sales Cloud

          Service Cloud

          Education Cloud

          Manufacturing Cloud

          Automotive Cloud

          Energy and Utilities Cloud

          Consumer Goods Cloud

          Financial Services Cloud

          Gov Cloud

          Health Cloud

          By role

          Executive

          Management

          Architecture

          Operational/Product Owner

          Consultants

  • Pricing
        • Elements for Agentforce

          Accelerate time to Agentic value, govern Agentforce at scale, and unlock AI readiness.

          • Design and deliver reliable Agents 10x faster
          • Iterate with confidence and full audit trails
          • Accelerate identification of agentic opportunities
          See pricing

          Change Intelligence Platform

          Understand and trust your metadata, your processes, your changes in Salesforce

          • Turn your blackbox of Org complexity into blueprint clarity
          • Leverage deep insights to build the right things at pace
          • Visualize and mitigate the impacts of change
          See pricing

          Consultants & ISVs

          Elements are focused on providing the approach and access to robust, elegant, affordable software, delivered in the cloud at scale.

          Purchase now
  • Resources
        • Resources from elements

          Success stories

          Whitepapers & eBooks

          Blog

          Resource hubs

          Center of Excellence Data cloud

          Events

          Webinars & Videos

          Academy

          Featured content

          New

          eBook

          Ultimate guide to creating Agents

          New

          Webinar

          The #1 Way to Build Complex Agentforce Agents with Confidence

          10 minute read

          News

          Building a Unified AI Agent Strategy: Beyond the Single Platform (and Beyond Just Technology)

  • Company
        • Elements.cloud team

          We are Elements

          We’re a dedicated team at Elements.cloud, driven by a passion for innovation and a commitment to excellence in the Salesforce ecosystem.

          Read more about us

          Meet the team

          See the people that make up Elements and talk to us to shape your dream career.

          Meet the team

          Contact us

          It is easy to schedule a call with one of our experts.

          Contact us
  • Login
        • Login

        • Login to Elements
        • Support
        • Managed Package (Prod)
        • Managed Package (Sandbox)
        • Chrome extension
        • Elements.cloud status
Talk to us
Get started free

    Using AI to evaluate metadata descriptions

    6 min read

    24th May 2024

    Share

    Home » Blog » Using AI to evaluate metadata descriptions
    Home » Blog » Using AI to evaluate metadata descriptions

    Salesforce needs/reads your descriptions

    With the launch of Einstein1 and its powerful AI capabilities, there is suddenly a more pressing reason for filling out metadata descriptions. Einstein1 Copilot uses descriptions for the core platform and Data Cloud metadata so that it can perform its magic. In the compelling demos at TDX and World Tours, you can see that just a few sentences are prompting Copilot, and it is making sense of the request. It is going out and looking for fields with the data it needs. You are now telling it where to look. It is also looking for the Flows or Apex that it can run to take action and chain those actions together.

    If you are going to start documenting, don’t limit yourself to just what Einstein needs. Good documentation accelerates time to value for future changes. It reduces the time needed for impact analysis and helps you identify metadata to remove, thereby cleaning up technical debt. AI like ElementsGPT can read it, helping you architect and design better solutions.

    For all of those of you who have been fastidiously documenting…. You are done. And for the slackers out there, you have another reason to add descriptions. You give a description to an action, just like you would introduce it to a colleague. That teaches Einstein. Let’s give it up for documentation. I love it.

    John Kucera, SVP Product Management, Salesforce
    @TDX Keynote

    Why, not What

    In a recent article “Metadata descriptions. Can AI write them for you” I argued that it can’t. This is because the description for metadata needs to explain “Why” it was created: the background and the decisions that were made. “What” the metadata does is less useful when determining how and when to use it.

    Also, you need to write the descriptions so that AI can understand them. AI doesn’t understand your organization-specific acronyms and abbreviations. It is not good at making assumptions. It was not there when you made architectural or design decisions. So it doesn’t understand why. We wrote a standard called MDD (Metadata Description Definition) to help you understand how to structure your descriptions.

    Evaluating current descriptions

    Maybe someone has been diligent and has been adding descriptions. And if they have, how useful are the descriptions? Are they “What” or “Why”?  Before you start a huge amount of work documenting metadata, it would be good to understand the current state: “metadata description discovery”. 

    What you need is a view of how many metadata items have descriptions. And if they do, are they “What’’ and therefore of questionable value, vs “Why”. Just doing this sounds like a huge analysis job. So why not get AI to help us? If it can’t write the descriptions, it could at least help us estimate the work.

    It can.

    BTW Certain metadata types – standard object, standard field, page layout, list view, apex – do not have description fields in Salesforce. But if you have an Elements.cloud metadata dictionary EVERY metadata item can have a description, including all the picklist values for picklist field.

    Approach

    This prompt looks at metadata descriptions and, if there is one, evaluates if the description is “What” or “Why.” In the prompt below is the scope of the evaluation. The scope in the prompt is XXX and needs to be replaced – for example ‘all custom fields in opportunity object.‘

    BTW There is no point in evaluating standard fields because you cannot update the description. We can ignore certain metadata types that do not have description fields and all metadata for the managed packages because you cannot update them.

    Below is the prompt for evaluating the quality of your descriptions.  You can use it inside Elements.cloud in the metadata dictionary org copilot. If you don’t have Elements.cloud you are going to have to work out how to export all metadata descriptions into a XLS and then use this prompt in ChatGPT.

    Prompt

    ‘The scope of the evaluation is XXX.

    You are an AI trained to evaluate text descriptions. Your task is to determine whether the metadata description explains “what the metadata is” or “why the metadata was created”.

    What the field is: This refers to the content or data type of the field. For example, it describes the kind of information the field holds or its properties.

    Why the field was created: This refers to the purpose or reason behind the creation of the field. It explains the motivation or need that led to the field’s inclusion in the application. It often has the following words, and how they appear in the sentence

    1. Why: The reason why this field is important
    2. Shows: Field shows the Date the Licences have been issued to the customer
    3. Used to: This is used on a renewal opportunity to show if a discount has been applied
    4. For: This feature is for tracking user activity.
    5. Allows: This option allows users to customize their settings.
    6. Enables: This function enables the processing of large datasets.
    7. Helps: This software helps in managing project timelines.
    8. Designed to: This application is designed to streamline workflow.
    9. Serves to: This feature serves to enhance security.
    10. Aims to: This module aims to improve user experience.
    11. Facilitates: This platform facilitates communication between team members.
    12. Provides: This tool provides a way to automate tasks.
    13. Intended for: This program is intended for data analysis.
    14. Function: The function of this feature is to organize files.
    15. Purpose: The purpose of this tool is to simplify scheduling.
    16. Utilized for: This system is utilized for real-time monitoring.
    17. Allows for: This mechanism allows for quick adjustments.

    Here are the steps to follow:

    • For each metadata item read the description. Ignore the following metadata types because they do not have a description: Standard Object, Standard Field, Page Layout, List View, Apex. Ignore all metadata for the managed packages.
    • Determine if the description focuses on the nature and content of the field or on the purpose and rationale for its creation.
    • Clearly state whether the description explains “what the field is” or “why the field was created”.
    • The status of the field is one of the 3 following: Why, What, No description. Export a csv with each field. The columns are Field name, API name, Standard/Custom, Status, Description.
    • Give the distribution of statuses for the evaluated descriptions, by metadata type, split by standard and custom. Distribution % should be to 2 decimal places.‘

    Results

    The output is a CSV file and also a distribution. You can now take this for your own detailed evaluation

    Here is a chart based on the distribution data by taking the CSV of the distribution and putting it into a spreadsheet, eliminating the metadata type with no descriptions, i.e. ‘No description’ = 100%.

    Final word

    Descriptions have always been important. But, now they help AI make better decisions. It is critical now, that descriptions outline why a field was created. AI cannot help you write the descriptions, but it can help you evaluate the current state of your org descriptions. This should help you document the critical metadata and estimate the effort required.

    But, you may need more than descriptions. A metadata dictionary is the heart of your org documentation. AI can make it beat a little faster.

    With a Change Intelligence Platform, updating your descriptions becomes significantly easier and quicker. Plus you can add descriptions for every metadata item. Elements.cloud is the single platform to create all documentation. Connect with our team today, to discover how Elements can help you architect and design better solutions.

    Talk to us

    Post navigation

    Previous postMetadata descriptions. Can AI write them for you?
    Next postUsing AI to analyze field complexity
    Back to blog
    Share
    Picture of Ian Gotts

    Ian Gotts

    Founder & CEO
    Table of contentsSalesforce needs/reads your descriptionsWhy, not WhatEvaluating current descriptionsApproachPromptResultsFinal word

    Continue reading

    Read more news and updates from Elements.

    Configuration Mining
    13 mins

    Months to Minutes. Documentation on demand

    Community
    4 mins

    TDX25 Wrapped: Elements.cloud, Process Configuration Mining, and Agentforce

    Metadata management
    7 mins

    Why regularly audit your Salesforce Org using MetaFields?

    Metadata management
    9 mins

    Identify and mitigate performance risks due to high record counts in Salesforce

    Join Our Newsletter for the Latest News, Updates & More

    Using Elements is like having a Swiss Army knife for Salesforce. It’s become an integral part of our Salesforce-focused methodologies.
    Daniel Keith - Tenger Ways

    Accelerate your future with Elements, a change intelligence platform that helps you continuously innovate your business

    Talk to us
    Footer logo

    Elements Headquarters

    San Francisco, USA

    Elements Offices

    USA, UK, Canada, Switzerland, The Netherlands & Ukraine

    Contact us
    • Change Intelligence Platform
      • Salesforce Metadata analysis
      • Metadata impact assessment
      • Change tracking
      • Access and compliance
      • Agent Designer
      • Salesforce Configuration Mining
      • Process-led design
      • Lifecycle governance
    • Resources
      • Success stories
      • Integrations
      • Blog
      • Events
      • Webinars
      • Academy
      • Whitepapers & eBooks
      • Support
      • Elements.cloud status
      • Brand Resources
    • Company
      • Team
      • Contact us
      • Pricing
    Salesforce logo

    Available on
    AppExchange

    © 2025  Elements.cloud
    • Trust Center
    • Data Privacy & GDPR
    • Terms of Service (Website)
    • Terms of Service (App)
    • Open Facebook in a new tab
    • Open Twitter in a new tab
    • Open LinkedIn in a new tab
    • Open YouTube in a new tab
    Tech web agency
    We use cookies on our website to give you the most relevant experience by remembering your preferences and repeat visits. By clicking “Accept All”, you consent to the use of ALL the cookies. However, you may visit "Cookie Settings" to provide a controlled consent.We use cookies on our website to give you the most relevant experience by remembering your preferences and repeat visits.
    Cookie SettingsAccept All
    Manage consent

    Privacy Overview

    This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
    Necessary
    Always Enabled
    Necessary cookies are absolutely essential for the website to function properly. These cookies ensure basic functionalities and security features of the website, anonymously.
    CookieDurationDescription
    cookielawinfo-checkbox-analytics11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics".
    cookielawinfo-checkbox-functional11 monthsThe cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional".
    cookielawinfo-checkbox-necessary11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary".
    cookielawinfo-checkbox-others11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other.
    cookielawinfo-checkbox-performance11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance".
    viewed_cookie_policy11 monthsThe cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data.
    Functional
    Functional cookies help to perform certain functionalities like sharing the content of the website on social media platforms, collect feedbacks, and other third-party features.
    Performance
    Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.
    Analytics
    Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics the number of visitors, bounce rate, traffic source, etc.
    Advertisement
    Advertisement cookies are used to provide visitors with relevant ads and marketing campaigns. These cookies track visitors across websites and collect information to provide customized ads.
    Others
    Other uncategorized cookies are those that are being analyzed and have not been classified into a category as yet.
    SAVE & ACCEPT