Skip to main content

Hi Everyone,

  • Are Flex Credits consumed by Agentforce agents and Prompt Templates reflected in Digital Wallet in real time?
  • If there is a delay, what is the usual update frequency?
  • Does the consumption data update immediately when a Prompt Template is invoked through a Record-Triggered Flow or Autolaunched Flow?
  • How can we verify actual credit consumption if Digital Wallet doesn't update immediately?

Could anyone share their experience or official Salesforce documentation regarding this?

Thanks!  

 

#Agentforce  #Agentblazer_Legend  #Prompt Builder  #TrailblazerCommunity  #AgentforceBuilder

1 réponse
  1. 13 oct., 11:31

    Short answer: it's near real-time, not instant.

     

    From Salesforce Help (Monitor Usage for Consumption-Based Products in Digital Wallet): "Consumption information is updated multiple times a day but can take longer in some situations." Each consumption card shows a Last Processed date and time. Anything that ran after that timestamp isn't in the numbers yet.

     

    Taking your questions in order:

    1. Real time? No. Usage is collected and processed through Data Cloud data lake objects, so expect a lag of hours, not seconds.
    2. Update frequency: "multiple times a day". The Last Processed time on the card tells you exactly how fresh the data is. Underneath, usage is stored at hourly and daily level (the TenantHourlyEntitlementConsumption and TenantDailyEntitlementConsumption DLOs).
    3. Prompt templates called from record-triggered or autolaunched flows: no difference. They show up after the next processing run, not the moment the flow runs.
    4. Verifying actual consumption:
      • Digital Wallet > Consumption Insights shows usage by type for a specific day or time period.
      • Build a Data Cloud report on the TenantEnrichedUsageEvent DLO. Salesforce built it for consumption reporting, and reports on it don't cost credits. Group by Usage Type Developer Name and Resource ID or API Name to see which agent, action or template used credits, and add Units Consumed. See the Help articles "Report On Usage by Feature With Digital Wallet" and "Create a Report on Usage by User ID".
      • If Digital Wallet and your invoice ever differ, the monthly statement is the source of truth.

     

    Tip for testing: run your flow a known number of times, note the time, and check again after the next Last Processed timestamp. That gives you a clean per-run credit figure.

     

    If you found this answer helpful, please mark it as helpful.

0/9000