<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Rohit on Medium]]></title>
        <description><![CDATA[Stories by Rohit on Medium]]></description>
        <link>https://medium.com/@cloudyrohit?source=rss-be0e361f47d1------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*Vpow-2_DHS6uhiH3</url>
            <title>Stories by Rohit on Medium</title>
            <link>https://medium.com/@cloudyrohit?source=rss-be0e361f47d1------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 02 Dec 2026 04:09:35 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@cloudyrohit/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[How to Generate Flow Analysis with Agentforce in Salesforce Using Inspector Reloaded V2.0]]></title>
            <link>https://medium.com/@cloudyrohit/how-to-generate-flow-analysis-with-agentforce-in-salesforce-using-salesforce-inspector-reloaded-v2-0-0893245cfa53?source=rss-be0e361f47d1------2</link>
            <guid isPermaLink="false">https://medium.com/p/0893245cfa53</guid>
            <dc:creator><![CDATA[Rohit]]></dc:creator>
            <pubDate>Sat, 20 Dec 2025 13:58:47 GMT</pubDate>
            <atom:updated>2025-12-20T15:10:04.440Z</atom:updated>
            <content:encoded><![CDATA[<p>Flows are the backbone of automation in Salesforce, but understanding <em>what they do</em>, <em>when they run</em>, and <em>why they exist</em> can quickly become a challenge — especially as your org grows. Enter <strong>Agentforce Flow Analysis</strong>: an AI-powered way to generate clear, human-readable documentation about your flows right from the Flow Scanner.</p><p>In this walkthrough, we’ll show you how to <strong>enable Agentforce for Flow Analysis</strong>, configure it, and generate detailed flow descriptions in just a few clicks.</p><h3>First, Enable Agentforce in Your Org</h3><p>Before you can analyze flows with AI, you need to make sure Agentforce is switched on in your Salesforce org.</p><ol><li><strong>Go to Options -&gt; Flow Scanner</strong></li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*w2AlGBLEfJzOvgScawNr1g.png" /></figure><p><strong>2. Enable “Show Agentforce button”</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rD__oqysAodae0nJ914eUA.png" /></figure><p><strong>3. Optionally, you can customize the prompt template name that will be used for generating flow analysis</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Inylh47bMAxDRT77lzX3AQ.png" /></figure><h3><strong>How to Use Agentforce for Flow Analysis 🧠</strong></h3><p><strong>Using Agentforce is simple and intuitive:</strong></p><ol><li>Open Flow Scanner on any flow</li><li>Click the Agentforce (Einstein) button in the header</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rT_WUE_g4sYBJ02tv23GmQ.png" /></figure><p>The modal will open with a default prompt: “Based on the following Salesforce Flow metadata, explain in one paragraph what this flow does, what event triggers it, and the business purpose it serves.”</p><p>3. You can modify the prompt or use the default one</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3JGzPZ9KLG2_NJrx0UWghA.png" /></figure><p>4. Click <strong>Send</strong> to generate the analysis</p><p>5. The analysis result will appear below the instruction textarea in an SLDS box</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KxyvY4N5tdSh9glSxJzrxg.png" /></figure><h3><strong>What Does Agentforce Analyze?</strong></h3><p>Agentforce processes the <strong>Flow XML metadata</strong> and produces insights such as:<br>🔹 Overall flow behavior<br>🔹 Triggering events (record-triggered, scheduled, screen flow, etc.)<br>🔹 Business purpose<br>🔹 Key elements (Get Records, Decisions, Assignments, Updates<br>🔹 Relationships between components<br>🔹 Data movement and logic paths</p><h3>Behind the Scenes: DescribeFlow Prompt Template</h3><p>The magic happens through a <strong>GenAI Prompt Template</strong> named <strong>DescribeFlow</strong>.</p><blockquote><strong>DescribeFlow.genAiPromptTemplate meta content: and Steps below for creating the Prompt Template</strong></blockquote><pre>&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;<br>&lt;GenAiPromptTemplate xmlns=&quot;http://soap.sforce.com/2006/04/metadata&quot;&gt;<br>    &lt;activeVersionIdentifier&gt;kHV1dE2/3c+Ln69ej5g+TuywC22Qn/hIXhG7gDkb9JA=_1&lt;/activeVersionIdentifier&gt;<br>    &lt;description&gt;Based on a flow metadata, describe what the flow does, when it is executed and what are the metadata it interact with&lt;/description&gt;<br>    &lt;developerName&gt;DescribeFlow&lt;/developerName&gt;<br>    &lt;masterLabel&gt;Describe Flow&lt;/masterLabel&gt;<br>    &lt;templateVersions&gt;<br>        &lt;content&gt;As a Salesforce expert in Flow and based on those metadata: {!$Input:FlowMetadata}, perform an analysis as detailed in this description: {!$Input:Description}<br><br>Instructions:**<br>1. Output the generated analysis clearly enclosed within &amp;lt;flowAnalysis&amp;gt; tags.<br>&lt;/content&gt;<br>        &lt;inputs&gt;<br>            &lt;apiName&gt;Description&lt;/apiName&gt;<br>            &lt;definition&gt;primitive://String&lt;/definition&gt;<br>            &lt;masterLabel&gt;Description&lt;/masterLabel&gt;<br>            &lt;referenceName&gt;Input:Description&lt;/referenceName&gt;<br>            &lt;required&gt;true&lt;/required&gt;<br>        &lt;/inputs&gt;<br>        &lt;inputs&gt;<br>            &lt;apiName&gt;FlowMetadata&lt;/apiName&gt;<br>            &lt;definition&gt;primitive://String&lt;/definition&gt;<br>            &lt;masterLabel&gt;Flow Metadata&lt;/masterLabel&gt;<br>            &lt;referenceName&gt;Input:FlowMetadata&lt;/referenceName&gt;<br>            &lt;required&gt;true&lt;/required&gt;<br>        &lt;/inputs&gt;<br>        &lt;primaryModel&gt;sfdc_ai__DefaultOpenAIGPT4OmniMini&lt;/primaryModel&gt;<br>        &lt;status&gt;Published&lt;/status&gt;<br>        &lt;versionIdentifier&gt;kHV1dE2/3c+Ln69ej5g+TuywC22Qn/hIXhG7gDkb9JA=_1&lt;/versionIdentifier&gt;<br>    &lt;/templateVersions&gt;<br>    &lt;type&gt;einstein_gpt__flex&lt;/type&gt;<br>    &lt;visibility&gt;Global&lt;/visibility&gt;<br>&lt;/GenAiPromptTemplate&gt;<br></pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*EWZMYApEfKXNrokvDRYPQg.png" /><figcaption><strong>Step 1</strong></figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tyfFKAFXY1ZFv5PtSt1Jew.png" /><figcaption><strong>Step 2</strong></figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*IH01_fReJvaZs1g4vsGlrg.png" /><figcaption><strong>Step 3</strong></figcaption></figure><blockquote><em>Key Highlights</em></blockquote><ol><li>Accepts <strong>FlowMetadata</strong> as input (XML)</li><li>Accepts a <strong>custom description prompt</strong></li><li>Uses <strong>Einstein GPT (Omni Mini)</strong></li><li>Outputs structured content wrapped in &lt;flowAnalysis&gt; tags</li><li>Fully reusable and customizable</li></ol><h3>Why This Feature Is a Game-Changer 💡</h3><h3>🔥 Benefits for Salesforce Teams</h3><ul><li><strong>Zero manual documentation</strong></li><li><strong>Faster flow reviews</strong></li><li><strong>Easier onboarding for new developers</strong></li><li><strong>Better understanding of legacy automation</strong></li><li><strong>Consistent explanations across orgs</strong></li></ul><blockquote><strong>For All New Feature Salesforce Inspector Reloaded Here:</strong></blockquote><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2Fp3_k34qdfyk%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3Dp3_k34qdfyk&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2Fp3_k34qdfyk%2Fhqdefault.jpg&amp;type=text%2Fhtml&amp;schema=youtube" width="640" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/da7db499cc3aff3b951d213537d700bf/href">https://medium.com/media/da7db499cc3aff3b951d213537d700bf/href</a></iframe><p>This is especially powerful for <strong>architects, admins, and developers</strong> working in large or inherited Salesforce orgs.</p><p><a href="https://medium.com/u/f4fb2a348280">Salesforce</a> <a href="https://medium.com/u/7a94e3db013f">Salesforce Architects</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=0893245cfa53" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Navigate To the Record Relationship Page]]></title>
            <link>https://medium.com/@cloudyrohit/navigate-to-the-record-relationship-page-d400e674d479?source=rss-be0e361f47d1------2</link>
            <guid isPermaLink="false">https://medium.com/p/d400e674d479</guid>
            <dc:creator><![CDATA[Rohit]]></dc:creator>
            <pubDate>Mon, 15 Jul 2024 05:48:01 GMT</pubDate>
            <atom:updated>2024-07-15T05:49:57.846Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*CfNWp0URA9sQVWRd_4bdCw.png" /></figure><p><strong><em>LWC Component files</em></strong></p><pre>import { LightningElement } from &#39;lwc&#39;;<br>import { NavigationMixin } from &#39;lightning/navigation&#39;<br>export default class NavigateToRelatedRelationship extends NavigationMixin(LightningElement) {<br> navigateToRelatedList(){ <br> this[NavigationMixin.Navigate]({ <br> type:&#39;standard__recordRelationshipPage&#39;,<br> attributes:{ <br> recordId:&#39;001N000001ytCVOIA2&#39;,<br> objectApiName:&#39;Account&#39;,<br> relationshipApiName:&#39;Contacts&#39;,<br> actionName:&#39;view&#39;<br> }<br> })<br> }<br>}</pre><pre>&lt;template&gt;<br> &lt;lightning-card title=&quot;Navigate to related contacts of account&quot;&gt;<br> &lt;lightning-button variant=&quot;brand&quot; label=&quot;Navigate&quot;<br> onclick={navigateToRelatedList}&gt;<br> &lt;/lightning-button&gt;<br> &lt;/lightning-card&gt;<br>&lt;/template&gt;</pre><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d400e674d479" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Evaluate Dynamic Formulas in Apex (Beta)]]></title>
            <link>https://medium.com/@cloudyrohit/dynamic-formula-in-apex-d4e380c982f6?source=rss-be0e361f47d1------2</link>
            <guid isPermaLink="false">https://medium.com/p/d4e380c982f6</guid>
            <category><![CDATA[salesforce-apex]]></category>
            <category><![CDATA[salesforce]]></category>
            <dc:creator><![CDATA[Rohit]]></dc:creator>
            <pubDate>Sat, 11 May 2024 03:38:35 GMT</pubDate>
            <atom:updated>2024-05-11T07:00:59.736Z</atom:updated>
            <content:encoded><![CDATA[<p>This is the Summer’ 24 feature, With this feature, avoid unnecessary DML statements to recalculate formula field values or evaluate dynamic formula expressions.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/5ffe360582b4b1e355008c0923e276c1/href">https://medium.com/media/5ffe360582b4b1e355008c0923e276c1/href</a></iframe><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d4e380c982f6" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>