Last month I wrote about how to connect AI directly to Salesforce. Since then, I’ve actually followed the instructions in that email. The results were better than I expected.

Using this approach, your AI understands your entire project. So you can ask it questions and have it perform tasks for you.

My use case is a managed package. The package has fields, objects, flows, and apex.

I noticed that some of my apex API versions were older. So I asked the AI to build a report to count the number of apex classes and their versions. Then I asked it to upgrade all versions older than 63 to version 63. It took only a few sections.

Keep in mind the prompt was something simple like, “Update all apex classes with versions < 63 to version 63”. And boom, it was done.

The master copy of the managed package is in Bitbucket, which is a source code repository. Before working, I need to make sure my local files have the latest version from Bitbucket. With the prompt, “Get the latest version of the app from Bitbucket”, it was done.

The takeaway
I’m now using AI on a daily basis for Salesforce projects and related activities. Not for these emails though 🙂

Category:
Salesforce
Tags: