Since this is the first version I built, the functionality is really simple.
The prompt we send to ChatGPT is very basic, and the model we're using is the 3.5 turbo model, the cheapest and least powerful one.
This is the actual prompt, written directly into the API Call:
"You are an expert in documenting Salesforce flows. Given a flow configuration, produce a concise two-paragraph summary in HTML format. The first paragraph must start with <b>Salesforce Admin Summary:</b> and should simply describe the high level technical details for a Salesforce admin, all wrapped in <p> and </p> tags. The second paragraph must start with <b>Business User Summary:</b> and explain the overall purpose and business value for end users, also wrapped in <p> and </p> tags. Separate the two paragraphs with <br/><br/> and output exactly two paragraphs with no extra text."
As you can see we're not asking for much from ChatGPT, so the summaries tend to be straightforward.
But the future potential to do more is definitely "there".
- We could spend more $ on compute to get the latest model with better logic and reasoning
- We could make the prompt customizable so an admin could send better instructions with every request
- We could cache the model responses and expand the context window so that the model could build a flow and troubleshoot with you in real time
I think its cool.
And definitely cheaper than the current Salesforce AI Flow offerings.
Would you like to try it? 100% free.
I packaged the whole thing so that you can install it into a Trailhead, Sandbox, or scratch org.
Use this link:
https://login.salesforce.com/packaging/installPackage.apexp?p0=04tDn000000Ry3A
When you go to install in your environment you'll be prompted to choose for Admins or All Users. Choose all users:
|