Understanding the Challenge
Teams running Agentforce often face a delay in viewing their consumption updates, making it difficult to track usage in real-time. While reports can provide historical data, they do not offer the immediate insights needed for effective monitoring.
Exploring the Solution
The Digital Wallet is a free tool that provides a more timely view of consumption, but it may still have a gap between the time of usage and when it is displayed. For example, using an action with Agentforce today may not be shown in the Digital Wallet until the next day.
To get instant information, querying the Data Cloud object, specifically the TenantBillingUsageEvent, is recommended. This can be done using the provided reference: https://help.salesforce.com/s/articleView?id=xcloud.wallet_tbue_reference.htm&type=5.
TenantBillingUsageEvent Query
SELECT * FROM TenantBillingUsageEvent WHERE EventType = 'Agentforce'
The delay in viewing consumption updates is due to the asynchronous nature of the reporting and data processing in Agentforce and Data 360.
Implementing the Solution
To implement the solution, follow these steps:
Checklist for Monitoring Agentforce Consumption
- Set up the Digital Wallet for a more timely view of consumption.
- Query the Data Cloud object, specifically the TenantBillingUsageEvent, for instant information.
- Use the provided reference to understand the TenantBillingUsageEvent object.
- Test the query to ensure it returns the expected results.
- Schedule regular checks to monitor consumption and adjust usage as needed.
What is the Digital Wallet?
The Digital Wallet is a free tool that provides a more timely view of consumption.
How do I query the Data Cloud object?
You can query the Data Cloud object using the provided reference and the TenantBillingUsageEvent object.
What is the TenantBillingUsageEvent object?
The TenantBillingUsageEvent object provides instant information about consumption, including the event type and usage details.
Can I use the Digital Wallet in Production?
Yes, the Digital Wallet is available for use in Production and is free.
Need help shipping this in production?
Genetrix builds and untangles Salesforce Marketing Cloud and Agentforce setups for teams that want it done right the first time. If anything in this post sounds familiar, talk to us before it ships.