Skip to main content

#Agentforce297 discussing

Agentforce is an umbrella term of the set of tools to create and customize agents as well as the collection of agents Salesforce provides across the Customer 360. Agents can either be autonomous or assistive.

Hi All,  

I'm working on an employee agent that is being built through agentforce script. 

Our org bought the Agentforce Sales Add on product from salesforce that doesn't consume flex credits as this is per user per license type based. Once a user is tagged with this license and system permission the user-context employee agent actions doesn't consume any flex credits. 

https://help.salesforce.com/s/articleView?id=ai.generative_ai_usage_unmetered_considerations.htm&type=5

 

 

Now when I try to build sub agents and actions in agentforce script and test them in preview mode, this testing is consuming flex credit. Ideally it should not since the testing is being done in user-context and not system context. 

 

Here is my analysis so far: 

For an employee agent built through traditional agent method: 

-No credits are being consumed when using it in UI and testing mode. 

For an employee agent built through new agent script method: 

-No credits are being consumed when using it in UI but credits are being consumed when using it in preview mode. 

 

As agent force developers, we cannot pause or limit the usage of agent script testing preview mode as this is key tool to debug agent plan while building agents. 

 

I'm looking if anyone has experienced this issue of flex credits consumption when using agent script preview mode or have any insights on how to resolve this or any documentation/known issue around this? 

 

Thank you in advance! 

 

 

#Agentforce  #Salesforce Developer  #Salesforcecommunity

2 answers
  1. Today, 4:36 PM

    Hi @Gowtham V

     

    Great analysis - what you’re seeing is expected.

    The unmetered (per-user) benefit in Agentforce applies to UI/runtime usage, but Agent Script preview mode is treated as a dev/debug execution, which still consumes flex credits.

    So: 

    • UI usage -> no credits 

    • Preview mode -> credits consumed

    It’s not well documented, but this behavior is known. I'd suggest minimizing preview runs and raising a support case - this is a valid gap, especially since preview is essential for development. 

     

    If you find this helpful feel free to mark it as Best Answer !!!! 😊 

    Thanks and Regards.

0/9000

I have created and connected developer org specially for agentforce . But still after completing the challenge I get this error after I click on Check Challenge 

Make sure you have created and connected to the Developer Edition org for Agentforce Builder.

 

#Trailhead Challenges  #Agentforce

1 answer
  1. Today, 11:47 AM

    Hi Avi, this is a common issue with the Agentforce Trailhead challenge. Here are the most common causes and fixes: 

     

     

    1. Sign up for the correct Developer Edition org - You need a specific Agentforce-enabled Developer Edition org, not just a standard DE org. Go to the challenge instructions and use the sign-up link provided in the Trailhead module (usually linked as "sign up for a free Developer Edition org with Agentforce"). Standard orgs do not have Agentforce Builder enabled. 

     

     

    2. Confirm the org is linked in Trailhead - In Trailhead, go to your profile and check under "Hands-On Orgs". Make sure the Agentforce DE org is set as the active org for this challenge. If it shows a different org, click "Connect Org" and authenticate with the Agentforce DE org credentials. 

     

     

     

    3. Verify Agentforce is set up in that org - Log into your DE org and go to Setup, search for "Agents". If the Agents menu is missing, your org may not have the Agentforce feature enabled. In that case, sign up for a new org using the specific challenge sign-up link. 

     

     

    4. Allow a few minutes after connecting - Sometimes the Trailhead checker takes 2-3 minutes to validate. Try clicking "Check Challenge" again after waiting. 

     

     

    5. Hard refresh the Trailhead page - Press Cmd+Shift+R (Mac) or Ctrl+Shift+R (Windows) to force reload, then click Check Challenge again. 

     

    If none of these work, open a Trailhead Help case at

    help.salesforce.com

    using the Trailhead support option. 

     

     

    Mani G | Principal/Founder |

    https://Keneland.com

0/9000

Hi all,  

 

I am investigating if we can be using Agentforce to support/replace the BAT done by our business on minor releases.  

 

From what I can see it should be possible with Prompts or similar?  

 

Whenever I google and search they say "yes it is possible" and then guide me towards "how to test Agent AI".  

 

#Agentforce  #Software Testing

1 answer
  1. Today, 11:45 AM

    Great question, Chris! Yes, Agentforce can absolutely be used to support or augment Business Acceptance Testing (BAT) on minor releases, though it works differently from traditional automated test frameworks. 

     

     

    Here is how Agentforce can help with BAT: 

     

     

    . Agentforce Testing Center - Salesforce provides a dedicated Testing Center within Agent Builder where you can define test scenarios using natural language. You can create test cases that simulate user conversations and validate that your agent responds correctly to expected inputs and edge cases. 

     

     

     

    2. Prompt Templates for Regression Scenarios - You can use Prompt Builder to define structured prompt templates that represent your BAT scenarios. These can be versioned and re-run after each release to confirm agent behavior has not regressed. 

     

     

    3. Einstein Copilot / Agent Actions Testing - If your agents invoke custom Apex actions or flows, you can combine standard Salesforce testing (Apex tests, Flow testing) with Agentforce conversation-level testing to get end-to-end coverage. 

     

     

     

    4. Bot Preview and Evaluation - During releases, use the agent Preview panel in Agent Builder to manually walk through critical user journeys before promoting to production. 

     

     

     

    Current Limitations to Keep in Mind: 

     

     Agentforce Testing Center does not yet support fully automated CI/CD pipeline integration out of the box (as of Spring 25). 

    - For complex multi-step BAT scenarios, you may still need to complement with manual testing or third-party tools. 

     

     

     

    ecommended Steps: 

     

    1. Go to Setup, search for Agents, open your agent in Agent Builder. 

    2. Click the Testing tab and create test cases for your key release scenarios. 

    3. After each minor release deployment, re-run those test cases to validate behavior. 

     

     

    This gives you a repeatable, documented BAT process that leverages the AI agent natively. 

     

     

    Mani G | Principal/Founder |

    https://Keneland.com

0/9000
2 answers
  1. Today, 10:59 AM

    Check for "Topics" Instead of Subagents. In the new Agentforce Builder interface, "subagents" are often labeled as Topics. Navigate to the Explorer view and look for a Topics folder to create or manage subagent behaviors.

0/9000

Despite following the instructions: "If the New button doesn’t appear, return to the agent setup page and toggle Agentforce off and back on.", I cannot seem to get the "Click New > + New Subagent" as described in the lesson.  Any advice is appreciated.  

3 answers
  1. Apr 10, 7:12 PM

    I resolved this issue, it was a veriage problem.  The lesson instructions use the term "subagent" but the application uses no such term.

0/9000

OK I am hoping this is possible but need some insight on those of you who are smarter than myself :)     I have a use case that a client wants to have two agents that sit on their website. One agent that is active during business hours- and One agent that is active after hours.     The purpose is to have the agent during business hours to be able to route chats to team members who are avaliable to chat with- and after hours only creating cases for the team to handle the next day.     I know that service channels can have Business hours associated with the chats- however I am not sure if I need to make two separate channels and do they need to expose two chat windows on their website? OR can the once chat window handle both codes usually?     Overall- has anyone done this before or handled a use case this way?    

2 answers
  1. Yesterday, 5:44 PM

    Thank you Manimaran Gunasekaran (Keneland)

    !This is so helpful-  

     

    I think I am following- So I could use just the one agent- IF I have the "escalation" topic- Just adding instructions to check business hours? Please see attached reference to escalation and the flow- 

     

    Or do I need to add an action before routing to check the hours- 

    Thank you Manimaran Gunasekaran (Keneland)!This is so helpful- I think I am following- So I could use just the one agent- IF I have the

     

     

    Screenshot 2026-04-10 133715.png

     

     

    Screenshot 2026-04-10 133851.png

     

     

0/9000

Question: Is it possible that Agentforce In-Person Meeting Assistant can actually answer Salesforce product questions (or any product details in Data 360) in real-time, as a screen prompt or end of an in-person meeting summary, if the Sales Rep needs help in the meeting? 

 

When in face-face-meetings with B2B customers, you want to answer every product detail and specification in the meeting that a customer may ask.  It's still great that there is a follow up email summary and answers to questions sent post meeting.

  

Post-Meeting (Analysis & CRM Sync)

  • Automated Summaries: The tool generates call summaries and highlights key action items, including mentions of products, pricing, or customer objections.
  • Actionable Data: The structured notes are synced directly to Conversation Intelligence (formerly Einstein Conversation Insights), ensuring the conversation is captured within the relevant Salesforce CRM records.

 

 

1 answer
  1. Yesterday, 1:16 PM

    Great question, Laura! The Agentforce In-Person Meeting Assistant is primarily designed for post-meeting analysis and CRM sync, not real-time Q&A during a live meeting.

    Current capabilities include: automated post-meeting summaries, identification of product/pricing mentions, and syncing structured notes to Salesforce CRM via Conversation Intelligence (formerly Einstein Conversation Insights).

    For real-time product Q&A during face-to-face meetings, the recommended approach is to configure a custom Agentforce Sales Agent grounded in your product catalog (via Data Cloud or a connected Knowledge Base) and enable it on the Salesforce Mobile App. This way, a rep can query the agent mid-meeting to surface specs, pricing, or competitive details on demand.

    Recommended setup: (1) Build a custom Agentforce Agent with product catalog actions grounded in Data Cloud. (2) Enable it on the Salesforce Mobile App for live queries. (3) Use the Conversation Intelligence post-meeting flow to capture and sync the discussion to the Opportunity record.

    This gives you both real-time lookup and automated post-meeting CRM sync.

    -- Mani G | Principal/Founder | https://Keneland.com

0/9000

I want to do one research in salesforce agent

 

How can we get details of the

audit stuff and admin activities .. not the data part but details like-

  • how many users we have 
  •  Active/disabled users 
  •  Login location 
  •  And there are other logs as well ?
  •  Apex log as well

What else we can get in apis .. 

 

#Salesforce Developer  #Agentforce  #Salesforce Admin  #Salesforce  #Salesforcecommunity

3 answers
  1. Divya Chauhan (Kcloud Technologies) Forum Ambassador
    Yesterday, 8:45 AM
0/9000
1 answer
  1. Yesterday, 7:24 AM

    Hi @Amanda Meneghini

     

    Yes, store Testing Center results in a custom object -> create a report -> build a dashboard with charts. 

    This is the standard Salesforce-recommended way to visualize any data. 

     

    If you find this helpful, feel free to mark it as best answer !!!! 😊 

    Thanks

0/9000
1 answer
0/9000