Create Custom Reports to Monitor Generative AI Requests for Service Replies
Create a custom report type and custom report to monitor the number of generative AI requests made for a specific case and its current status.
Required Editions
| Available in: Enterprise, Performance, and Unlimited Editions with an Einstein for Sales, Einstein for Platform, Einstein for Service, Einstein 1 Service, or Einstein GPT Service add-on. To purchase add-ons, contact your Salesforce account executive. |
| User Permissions Needed | |
|---|---|
| To create custom reports: | Create and Customize Reports |
| AND | |
| Manage Custom Report Types | |
| To turn on data collection: | View Setup |
| AND | |
| Customize Application | |
To collect generative AI audit and feedback data, Set Up Einstein Generative AI Audit and Feedback. Before you create the custom report types make sure you've created the relationships for the Case and Messaging objects. See Link Case and Messaging DMOs to Generative AI Data.
- From Setup, in the Quick Find box, enter Report Types, and then select Continue.
-
Click New Custom Report Type.
- For the primary object, select GenAIGatewayRequest.
- Enter a label name, API name, and an optional description.
- For the category, select Data Cloud, and then click Next.
-
Define the relationship between the related objects.
- For GenAIGtwyObjRecord, create an A to B relationship, which means that each A record must have at least one related B record.
- For Messaging Session or Live Chat Transcript (or both if you’re using bothMesseging for In-app and Salesforce Chat ), create a B to C relationship, which means that each B record must have at least one related C record.
- For Case, create a C to D relationship, which means that each C record must have at
least one related D record.

- Save your changes.
- Now, from the App Launcher, find, and select Reports.
- Click New Report and for the category select Data Cloud.
- Choose the report type that you created, then click Start Report.
- Add or remove fields, group by rows and columns, filter report data, or add a chart. Customize your report until it shows exactly the data that you need.
- Click Save, and give your report a name and description. With access and sharing in mind, save the report in an appropriate folder. Now you and your users can use this report to analyze and monitor the number of generative AI requests made for a specific case and its current status.
Example 
The case duration report shows the case duration with the number of Generative AI requests made and its current status.

Did this article solve your issue?
Let us know so we can improve!

