Skip to main content

#Mvp-agentforce-prompt-builder-team5 utenti parlano di questo argomento

In Production, Flex Consumption is visible under Digital Wallets. In my Sandbox, it does not appear. The Sandbox only shows the list view of “All Digital Wallets” and “Recently Viewed.”

Does Flex Consumption show only in Production? Or is it available in a Sandbox as well, but requires some configuration or setup to become visible?

Any guidance on what needs to be enabled or configured to see Flex Consumption under Digital Wallets in a Sandbox would be appreciated. 

 

#Agentforce  #AgentforceWorldTour  #AgentforceBuilder  #Mvp-agentforce-prompt-builder-team  #Prompt Builder

1 risposta
  1. 14 ott, 14:05

    Hi @Sourabh Dondekar Yes, this is expected. Flex Credit consumption is viewed through Digital Wallet in Production, even for Sandbox usage.

    A few key points:

    1. Digital Wallet consumption details are available in Production.
    2. Sandbox usage can be tracked from the Production Digital Wallet.
    3. Make sure you have the required permissions to view consumption details.

    Check Digital Wallet in your Production org. You don't need to enable any separate setting in Sandbox.

    Hope this helps!

0/9000
  • We have limited Flex Credits and want to make them available for all users in our Salesforce org.
  • We have created a Prompt Template and are invoking it from a Record-Triggered Flow.
  • We want to execute the prompt under a specific user context instead of allowing every user to execute it independently.
  • If we assign the Prompt Template User permission to a specific user and configure the flow to run in that user's context, will the prompt execute successfully?
  • Will this approach help us control or reduce Flex Credit consumption when multiple users trigger the flow?
  • Are there any licensing or permission requirements, such as the AI unmetered user license or Prompt Template User permission, that could prevent the prompt from executing?
  • Is there a recommended Salesforce-supported approach to allow all users to benefit from the prompt while managing limited Flex Credits?
  • Are there alternative solutions, such as a dedicated integration user, asynchronous Flow execution, or another automation design, to achieve this?

We would appreciate guidance on the recommended approach, including any limitations or best practices for managing Flex Credits when Prompt Templates are invoked through Record-Triggered Flows.

 

 

#Agentforce  #Prompt Builder  #Mvp-agentforce-prompt-builder-team

1 risposta
  1. 12 ott, 11:02

    Hi @Sourabh Dondekar Good question! Using a dedicated user for Prompt Template execution can help manage access, but it won't directly reduce Flex Credit consumption.

    A few suggestions:

    1. Flex Credits: Usage depends on billable AI executions, not the number of users.
    2. Running User: Record-Triggered Flows don't allow you to directly select a specific running user.
    3. Permissions: Make sure the execution context has the required Prompt Template permissions and access.
    4. Flow Optimization: Trigger the prompt only when necessary, using entry conditions and field-change checks.
    5. Asynchronous Flow: Helps manage processing but doesn't reduce credit consumption by itself.
    6. Monitoring: Use Digital Wallet to monitor usage and identify unnecessary executions.

    My suggestion: Focus on reducing unnecessary prompt calls rather than restricting users. You can also consider a centralized automation approach for better control.

    Hope this helps!

0/9000

I have a Prompt Template that is invoked from a Record-Triggered Flow.

The user who triggers the record-triggered Flow does not have:

  • Prompt Template User permission 

I would like to understand the expected Salesforce behavior:

  1. Is the Prompt Template User permission required when a Prompt Template is invoked through a Record-Triggered Flow?
  2. If the triggering user does not have this permission, will the Prompt Template still execute?
  3. If the Prompt Template executes successfully, will it consume Flex Credits?
  4. Which user's permissions are evaluated when the Flow invokes the Prompt Template—the Flow-running user or the automation/system context?
  5. What is the purpose of the Prompt Template User permission if Prompt Templates can be invoked through Flow?

 

Looking for clarification based on the current Salesforce behavior/documentation for Record-Triggered Flow → Prompt Template

. 

 

#Agentforce  #Prompt Builder  #Mvp-agentforce-prompt-builder-team  #AgentforceTesting

8 risposte
0/9000