Skip to main content
グループ

Agentblazer Community Group

Welcome, Agentblazer! Are you ready to connect with AI leaders and enthusiasts from around the world? You've come to the right place. The Agentblazer Community is the premier destination to skill up on AI, discuss best practices, gain access to Agentforce product experts, showcase your expertise, and supercharge your career.

I have updated my SDR agent to the new agent script and they are active--- the rules are so straightforward- but when the lead gets created- It is not triggering the agent to send emails. When I manually "assign" the agent on the lead they enter the Cadence. Has anyone had this before? 

Internal work flow is a third party form is filled out and enters into the system- We have a flow that looks at that form- and then looks for a lead OR creates a lead if one is not found based on the email.  We dont need it to run if a lead is found- but if a lead is created then we need the SDR agent to pick it up and send emails. Any thoughts on why the SDR is not picking up the lead when created? I changed the rules to created or updated and it is still not firing.  

Is anyone else having issues with the assignment of SDR agent?

0/9000

1. Trailhead modules with an overview of how Agentforce works for each industry  

2. Trailhead modules with hands on exercises on how Agentforce can be setup and used in your industry 

3. Certification courses with exams on Agentforce for Industries, detailing out the use cases in each industry

 

#Salesforce Admin

3 件の回答
  1. 今日、12:27

    Honestly, industry-specific enablement wins. Generic modules teach mechanics, not judgement. Pick the track matching your sector and daily pain points. Hands-on trials beat passive videos. Choose relevance over volume. That approach pays off quickly.

0/9000

Is it possible to ask an agent to draft an email using a specific email template? I would like to be able to ask my agent something like, "Draft an email response for this case using this "My Template Name" email template. We have several hundred email templates used across our org by the many different Teams.

3 件の回答
  1. 今日、5:21

    Hi @James Waltz

     

    Yes, but I couldn't confirm it works out of the box. The reliable route is a small custom agent action. 

    What I verified 

    • Employee-facing agents have a standard Draft or Revise Email action, which the reasoning engine picks automatically for drafting emails. It generates text with the LLM. I couldn't confirm it can take a template name and merge that template's content. The Help page for that action didn't load for me, so check it in your org.
    • The Agentforce Service Agent on Email feature does use a Lightning email template, but only as a single wrapper structure for autonomous replies. It isn't a "pick any template on request" mechanism, so it doesn't fit your use case.

     

    What I'd recommend (my design, not a documented feature)

     

      

    Build a custom agent action, a Flow first, with Apex only if needed: 

     

    1. Inputs: template name and Case ID, collected from the rep's prompt.
    2. Lookup: query EmailTemplate by name. With hundreds of templates, return the top few matches when the name is ambiguous, and let the agent ask the rep to pick one.
    3. Render: merge the template against the Case, using Apex Messaging.renderStoredEmailTemplate or an equivalent Flow approach.
    4. Return: hand the rendered body back to the agent. Optionally pass it through Draft or Revise Email to tailor the tone to the case.
    5. Draft only: never send from this action. Have the rep review and send.

     

    Things to check before building

     

     

    • Access: confirm the action respects template folder sharing, so reps only get templates they can already see. This matters with many teams' templates in one org. I haven't verified how the agent's running user affects this, so test it.
    • Template type: Lightning and Classic templates use different merge syntax ({{{Case.Subject}}} vs {!Case.Subject}), so confirm which types you have.
    • Naming: with this many templates, exact-name matching will be brittle. A naming convention or a metadata field such as team or use case will help.

    I hope you find the above information helpful. If it does, please mark it as Best Answer to help others too.

0/9000

Your Step-by-Step Guide to Becoming an Agentic Enterprise ✨ 

  

This practical guide distills Salesforce's journey into a clear roadmap for successful human-AI agent collaboration, covering everything from Vision to Data. It's the playbook you need to prepare your team for a transformation in your organization.  

 

Read the full guide 🤓

3 件のコメント
0/9000
1 件の回答
  1. 昨日、12:29

    Hi Ashish!

    Yes, Agentforce Contact Center (ACC) can be explored for a quick POC, but the standard Trailhead Playground may not have all the Contact Center/voice features provisioned by default. 

     

    I’d suggest checking the latest Salesforce trial or a specially provisioned Agentforce/Contact Center org rather than a regular Developer Edition. If you’re looking specifically to test voice, routing, telephony, or service-agent integration, the available features can also depend on the org provisioning. 

     

    If you share what part of ACC you want to POC (voice, routing, Agentforce Service Agent, etc.), I can point you toward the most suitable org/trial setup.

0/9000
1 件の回答
  1. 9月27日 15:48

    Hi Shalini, 

     

    For Step 4, @actions.Get_Customer_Details needs to be available as an action before you can reference it in the Agent Script variable. 

     

    I’d first check that the Get Customer Details action was created/configured in the same Agent and that the action’s API name is exactly Get_Customer_Details. Then save/activate the action and refresh the Agent Script Builder before trying to reference it.

    Also make sure you’re working in the same Playground/org associated with the challenge, as actions created in another org won’t appear in the script. 

     

    If the action already exists and you still can’t find it under @actions, share a screenshot of the action configuration and the Step 4 variable/script. That should help identify what is missing.

0/9000

Feet on strike? Brain loaded with 4,000 session slides? Coffee-to-water ratio severely out of balance? ☕️⚡️ 

 

Congratulations—you survived #Dreamforce

! Seeing your lightbulb moments and key takeaways flooding the feeds has been absolute gold. 

 

As chaotic and back-to-back as the week was, every single sore step was worth it. But now comes the real magic: keeping that momentum alive before the post-conference brain fog sets in. 

 

Drop a comment (or share it with the world using #DF26LearningQuest):

How are you planning to put all that fresh knowledge into action to level up your orgs, solve real problems, and elevate the people around you throughout the year? 👇 

 

Remember, the true spirit of the Trailblazer community isn't just hoarding cool insights—it's using them to lift up everyone in your orbit. Share what you learned, mentor someone new, and let’s turn that Dreamforce inspiration into real impact! 🚀✨ 

 

@Salesforce Developer Group, Dubai, UAE @Agentblazer Community Group @WFD Partner Cohort: TDX2630DaysChallenge @* Salesforce Developers * @Architect Trailblazers

7 件のコメント
  1. 9月27日 8:29

    Excited to take everything I've learned at #DF26LearningQuest back to the team! My main goal is to tighten up our automated processes—streamlining how we route external leads using features like Form Handlers and optimizing our Agentforce/DevOps pipelines. Can’t wait to save the team hours of manual work and help everyone move faster! 🚀 #DF26LearningQuest 

0/9000
1 件のコメント
0/9000

I'm using Run Agent from an EmailMessage record-triggered Flow:

Incoming EmailMessage → Async Path → Run Agent

The agent works correctly in Agentforce Builder and when I debug the Flow as an admin.

When a real EmailMessage triggers the Flow, however, Run Agent fails with:

“Looks like you don't have access to this feature.”

The Flow error shows Current User: System.

My Default Workflow User is already set to an Integration User, but the async path still runs as System.

Is there a supported way to have Run Agent execute as a dedicated user with the required Agentforce permissions? Or is there another recommended pattern for this use case? 

3 件の回答
  1. 9月25日 11:11

    Hi @Bríet Konráðsdóttir

     

    This isn't really an async-vs-sync issue - it's that the

    whole transaction (sync and async) is executing without a real, licensed user identity, because the EmailMessage is being inserted by an automated process (Email-to-Case / inbound email handling), not a logged-in user. Default Workflow User won't fix this - that setting only governs the running user for legacy Workflow Rule field updates and email alerts; it has no effect on Flow execution context or on Agentforce actions at all. That's a common misconception worth ruling out explicitly. 

    Salesforce's own guidance backs this up: agents should always use the permissions of the logged-in user, which means an integration invoking an agent should implement OAuth 2.0 Web-Server or User-Agent flow to force real user authentication. The native low code Run Agent flow action inherits whatever running-user context the Flow transaction has it has no "run as" override. When that context is the System/Automated Process user (no license, no permission set assignments possible), you get exactly the "doesn't have access to this feature" error, regardless of what the Default Workflow User is set to. Salesforce Developers 

    Two supported patterns, in order of recommendation: 

    1. Call the Agent via REST (Agent API) from Apex, authenticated as a dedicated integration user - not the low-code Run Agent action. Set up a Connected App using OAuth 2.0 Client Credentials Flow mapped to a specific integration user that has the Agentforce permission set assigned, and have your async path invoke a small Apex class that makes the HTTP callout (Named Credential for the auth). This is exactly the pattern third-party connectors use to solve this same problem for example, one integration's setup docs have you configure a "Run as user" field under Client Credentials Flow, so the connector impersonates that user when invoking the Agent APIs. This decouples the agent call's identity from your Flow's internal running-user context entirely, which is the actual constraint you're hitting. UiPath
    2. Move the trigger point earlier, before the record enters system/automated context, if that's feasible for your Email-to-Case setup  i.e., have a real user's context be part of the transaction that ultimately calls Run Agent. This is usually harder to guarantee reliably for inbound email and I wouldn't recommend architecting around it.

    I'd go with option 1: build a thin Apex wrapper around the Agent REST API, called from your async path, authenticated via Named Credential tied to a dedicated Agentforce licensed integration user. It's more moving parts than the native action, but it's the only pattern that actually gives you a stable, permissioned identity independent of whatever triggered the Flow. Confirm you have an available Agentforce license to assign to that integration user before committing to this worth checking with your Salesforce AE if you're not sure of current allocation. 

     

    I hope you find the above information helpful. If it does, Please mark it as Best Answer to help others too.

0/9000

Hi everyone,

I'm trying to better understand how Agentforce Coworker is supposed to work in organizations that have significant business-specific configurations.

For example, we're using the Nonprofit Cloud (AFNP) data model and some of our fundraising metrics are calculated differently than a standard implementation. When discussing donations, we often need to consider both Gift Transactions and Gift Commitments, not just Gift Transactions alone.

My question is: how can we provide organization-specific instructions, context, or guidance to Agentforce Coworker so that its answers reflect our actual business rules and configurations?

I've been trying to find documentation on this, both through Coworker itself and through Claude, but I keep getting pointed toward Agentforce Studio. However, my understanding is that Agentforce Coworker itself is not directly customizable (or perhaps I'm missing permissions or a setup step?).

So I'm wondering:

  • Is there a supported way to provide custom instructions to Agentforce Coworker?
  • Should this be done through Prompt Builder?
  • Should it be done through Agentforce Studio?
  • If so, how does Coworker know when to apply those instructions versus its default behavior?
  • Is there a way to define organization-wide business context that Coworker can consistently use?

Conceptually, I'm trying to understand whether Agentforce Coworker is intended to be a generic Salesforce assistant, or whether Salesforce envisions it becoming an organization-aware coworker that can reason using company-specific business rules and data models. If not, I suppose that specific agents are the solution, right? 

 

I'd love to hear how others are approaching this.

Thanks! :)

5 件の回答
  1. 9月21日 14:14

    Hi @Karl Abellera

    , 

    Short Answer:  There are few things you can do with AI (without knowing Apex and Flows). However, you need to have at least basic understanding of Apex and Flows to know what is going on. 

    In case you wish to check (very quickly, within 1 hour or less), you can try this module:

    https://trailhead.salesforce.com/content/learn/modules/trick-or-trailhead-tell-us-smore-campfire-stories

    . 

    A pre-configured and easy to understand - you will get an idea what is possible to edit via AI. 

     

    If this is useful, please mark appropriate responses as helpful/solution, so that other people may reach to the solution quickly. 

0/9000