Loading
Prepare for Email to Become the Default Login ExperienceRead More
Set Up and Maintain Your Salesforce Organization
Events in Setup with Agentforce

Events in Setup with Agentforce

Use Agentforce to get usage metrics for platform event usage in your org.

Required Editions

Available in: Lightning Experience
Available in: Enterprise, Performance, Unlimited, and Developer Editions with Foundations or Agentforce 1 Editions
User Permissions Needed
To use Setup with Agentforce:

The required permissions for Setup with Agentforce. See Grant Permissions to Use Setup with Agentforce.

AND

The required permissions for the task listed in the table.

Agentforce can help you with these tasks and requests related to event usage. For more information about the usage data you can query, see PlatformEventUsageMetric.

Supported Task Example Utterances Required User Permissions
Get information on supported tasks for event usage
  • “What can you do related to platform event usage?”
  • “How can you help me with event usage?”
None
Query event usage
  • “What’s my event usage for the past 30 days?”
  • “How many events were published in the last 24 hours?”
  • “How many events have I subscribed to in the past 7 days?”
  • “List all clients that received events in the last 24 hours.”
  • “Show me publish and delivery activity for the YOUR_EVENT_NAME event.”
View All Data
Query event usage trends
  • “How has my event usage changed compared to last week?”
  • “What percentage of my deliveries were to CometD clients?”
  • “Which events have seen the largest increase in usage?”
View All Data

Event Considerations

  • To query event usage, you must have Enhanced Usage Metrics turned on in your org. You turn on Enhanced Usage Metrics via a metadata deployment. See Enhanced Usage Metrics.
  • The maximum time frame for which you can query event usage is 30 days.
  • If you query event usage without specifying a time frame, the agent will ask you for one.
 
Loading
Salesforce Help | Article