Skip to main content

#AI63 diskutieren mit

Hello all! Has anyone managed to set up the Salesforce MCP with Claude so that it can read documents, such as PDFs and Word docs, stored in Salesforce? 

 

Example usecase - I have docs stored in opportunties (notes & attachments) I'd like to query in Claude. 

 

I don't believe this is available out of the box, so any tips / workarounds are appreciated! 

 

Many thanks. 

 

 

#AI  #Salesforce Admin

3 Antworten
  1. 20. Okt., 10:30

    Hi @Dan Humphries,

    This is not available out of the box. The Salesforce hosted MCP tools work on records (SOQL and sObject reads). Files are stored in ContentVersion, and the actual content sits in the binary field VersionData. Claude can find the file, but it cannot read the text inside a PDF or Word doc.

    Practical workaround:

    1. Download the file with the REST API (/sobjects/ContentVersion/<id>/VersionData).
    2. Extract the text with an external script or service (for example Python).
    3. Save the text in a Long Text Area field on the Opportunity, or in a custom object.
    4. Claude can then read that field through MCP like any normal field.

    You can also build a Flow or Apex action that returns this text, and expose it as an MCP tool.

    Official docs:

0/9000

The loop that hit me hard:Web Agent types wrong value in field. 

I manually correct it. 

Web Agent continues: "Great, I typed it correctly" → moves to next step. 

Everything after that fails because it thinks it made my edit. It had no idea I touched the browser at all. Built ActionTrace to fix this exact blind spot: 

[AI] typed "ABC" → wrong 

[HUMAN] typed "XYZ" → this is the real value now 

Now the Web Agent knows that an error didn't happen magically, human made the change - without human needing to explicitly say it. 

🔗 GitHub:

https://github.com/nvaishnavisriyaa/ActionTrace

 

🎥 45-sec demo:

https://youtu.be/WKw3Eqf8n_E

 

Question: When human edits a field mid-flow in Service Cloud, does Agentforce get live context that "human made this change"? Or does it assume it made the change itself? Anyone seen this? 

 

#Agentforce  #AI  #AgenticAI  #AgentforceBuilder  #Mvp-agentforce-prompt-builder-team

1 Antwort
  1. Gestern 11:19

    Nice find. From what I've seen, you shouldn't assume Agentforce tracks who changed a field between steps. Agents reason over what their actions return and what's in the conversation, so if nothing re-reads the record, the agent's view is whatever it last saw or did. 

    Patterns I'd use in Service Cloud: 

     

    1. Re-read before acting. Design actions (Flow or Apex) to query the current record state at the start of each step rather than relying on what the agent did earlier. 

     

     

    2. Make "who changed it" data. Turn on Field History Tracking for the key fields, and/or return LastModifiedById in your action, so the agent can see that a human edited the field. Then tell it in the instructions to treat a human edit as the source of truth. 

     

    3. Add a verification step. After the agent writes a value, have an action confirm the saved value matches what it intended before it moves on. 

     

    Your ActionTrace idea basically does #2 at the browser level. In the platform, the reliable version is to expose the change history through an action the agent can call.

0/9000

Hi Trailblazers,

I missed  the event code of today’s AI Force workshop. My org has since closed, and to reopen it and try the hands-on exercises, I need that code.

If you attended the event today, could you please share the event code with me?

Thanks in advance for your help! 

 

#Salesforce Developer  #Agentforce  #Trailhead  #AI  #Hands On Workshop

1 Antwort
  1. Gestern 15:41

    For events or workshops that require active orgs, the best approach is to reach out directly to the event host or register for the next available session on the Salesforce Events page to receive a fresh, active environment and the correct code.

0/9000

Builder Central (Beta) shows "Failed to fetch" on the welcome screen in my Agentforce Developer Edition org. 

Console: CORS preflight to

https://api.salesforce.com/platform/dx-workspaces-proxy/v1/api/workspaces-proxy/<workspaceId>/project-service/v1/projects

 

is blocked. The OPTIONS response is HTTP 204 with no Access-Control-Allow-Origin header. 

Reproducible with curl from outside the browser for any Origin, so it is not a client-side issue. 

"Connect an org" logs in successfully but never returns to the app. 

Org: nexustrade-portal-dev-ed, Home Org ID 00DgK00000WFVD2. Workspace ID: b6f6c7b9-dd87-4ca5-99e9-0d74efb79d36. 

 

Builder Central (Beta) shows

 

 

image.png

 

 

 

I have followed the steps - 

  1. enable data cloud - https://help.salesforce.com/s/articleView?id=data.c360_a_setup_provision.htm&type=5
  2. enable einstein AI from einstein setup - https://help.salesforce.com/s/articleView?id=ai.generative_ai_enable.htm&type=5
  3. enable agentforce - 
  4. enable builder central
  5. assign permission set - Access Builder Central
  6. launch the builder central(beta) from setup

 

 

 

#Agentforce  #Salesforce Developer  #Data Cloud  #AI

5 Antworten
0/9000

🤖 Build real expertise for the Agentic AI era. 

 

Trailhead Journeys are now available across 10 Salesforce products empowering you to move from fundamentals to advanced expertise with a progressive, step-by-step curriculum. 

 

Newly added journeys:

 

Skip the search. Start the journey 👉 trailhead.com/trailhead-journeys

 

🤖 Build real expertise for the Agentic AI era.

 

 

14 Kommentare
0/9000
4 Kommentare
  1. 10. Okt., 07:18

    Hi Chromer, This error usually happens when Salesforce doesn't allow changes to the current agent version. 

     

    Try these steps:

    1. Check if the agent is active. Deactivate it before making changes.
    2. Refresh Agent Builder and try publishing again.
    3. Check if any deployment or publishing process is still running.
    4. If possible, try creating the agent again in a fresh Trailhead org.
    5. If the issue continues, raise a Trailhead support case with the error and request ID.

    It could also be a temporary Salesforce platform issue.

    Hope this helps!

0/9000

Hi Trailblazers,

I’m working on a Data 360 implementation where customer data is coming from multiple source systems.

The records are being ingested correctly, but some profiles that should represent the same customer are not getting unified as expected.

In this situation, what do you normally check first — match rules, reconciliation rules, source data quality, normalization, or identity resolution configuration?

Also, what are the common mistakes you’ve seen in real projects that prevent profiles from being unified correctly?

Would appreciate insights from anyone who has handled Identity Resolution issues in production.

#Data360 #Agentforce #Salesforce #AI

2 Antworten
  1. 8. Okt., 09:04

    Hi @Santhosh Gorantala

    This is a common challenge when customer data comes from multiple systems.

    I would normally start by checking the match rules and source data quality.

    A few things I would suggest:

    1. Match Rules: Check whether the rules are too strict. Sometimes small differences in names, emails, or phone numbers prevent matching.
    2. Data Quality: Look for missing values, duplicate records, extra spaces, and inconsistent formats.
    3. Normalization: Try normalized email and phone matching where applicable.
    4. Data Mapping: Make sure Individual, Contact Point Email, and Contact Point Phone are mapped correctly, including their relationships.
    5. Ruleset Execution: Check whether the Identity Resolution ruleset completed successfully and review the processing results.
    6. Reconciliation Rules: If records are unified but the expected field values aren't showing, check which source is given priority.

    Simple Example:

    One system has "Santhosh Kumar" and another has "Santosh Kumar". An exact name match may fail, but fuzzy matching could help identify them as the same person. 

     

    My suggestion is to take 2–3 customer records that should match, compare their source values, and test the matching rules step by step. 

     

    One important point: Match rules decide which records get unified, while reconciliation rules decide which field values appear in the unified profile.

    Hope this helps! 

     

    Thank you, 

    Venkat Yadav.

0/9000

Hi Trailblazers,

I’m exploring Data Graphs in Data 360 for real-time Agentforce use cases.

Since a Data Graph can bring related customer information together for faster access, I’m interested in understanding how teams decide what data should be included.

Do you mainly consider relationship depth, response time, business relevance, data volume, or how frequently the data is accessed by Agentforce?

Also, have you seen performance issues when too many related objects or attributes are included in a Data Graph?

Would love to hear some real implementation experiences.

#Data360 #Agentforce #Salesforce #AI 

3 Antworten
  1. 8. Okt., 09:00

    Hi @Santhosh Gorantala

     

    Good question! I think the main thing is to include only the data that Agentforce actually needs, rather than bringing everything into one Data Graph. 

     

    A few things I would consider:

    1. Business Use Case: First, understand what questions the agent needs to answer and what data is required.
    2. Relevant Data: Include only necessary objects and fields. Avoid adding unnecessary information.
    3. Relationships: Keep relationships simple. Too many related objects can make things complex.
    4. Data Volume: Be careful with large datasets and historical records.
    5. Performance: Test how quickly Agentforce can retrieve the required information.

    For example, if we're building a customer support agent, I would start with Account, Contact, recent Cases, and Orders instead of bringing in the entire customer history.

     

    And yes, adding too many related objects or attributes can increase graph size and potentially impact performance. 

     

    My suggestion would be to start small, test with real-world scenarios, and add more data only when it's actually needed. 

     

    At the end of the day, Agentforce needs the right information at the right time, not every piece of data available. 

     

    Hope this helps! 

     

    Thank you, 

    Venkat Yadav.

0/9000

#Trailhead Challenges #Trailhead #AI

 

Trailhead gives good hands-on practice, but how can a student create experience that is closer to working on a real Salesforce project? 

3 Antworten
  1. 8. Okt., 09:59

    Hi @Chandra Shekar

     

    Good question! Trailhead is a great place to learn Salesforce, but working on complete projects will help you understand how things work in real companies. 

     

    Here are a few things I would suggest:

    1. Build Real-Time Projects: Start with projects like Student Management, Recruitment Management, or Customer Support Management.
    2. Understand Requirements: Don't just create objects and fields. Think about the actual business problem you're trying to solve.
    3. Practice Admin & Development: Work with security, Flows, validation rules, Apex, SOQL, and LWC based on project requirements.
    4. Work on Real Scenarios: Practice bulk data uploads, error handling, record sharing, and approval processes.
    5. Use GitHub: Upload your project code, requirements, screenshots, and documentation.
    6. Join the Community: Participate in Salesforce community discussions, developer groups, and hackathons.
    7. Practice Team Work: Learn how Jira, Agile, Scrum, Git, and deployment processes work.

    My suggestion:

     Pick one project and complete it from requirement gathering to development, testing, and deployment. 

     

    For example, build a Recruitment Management application where recruiters can manage candidates, schedule interviews, and track hiring status. 

     

    Most importantly, during interviews, you should be able to explain what you built, why you built it, and how you solved the challenges. 

     

    A complete hands-on project can give you much better practical understanding than completing multiple Trailhead modules alone.

    Hope this helps!

0/9000

Could Agentforce help improve a duplicate review process, particularly for the scenarios where existing Salesforce matching logic does not identify potential duplicates? Could Agentforce flag likely duplicates for a user to review? 

 

#Agentforce  #Salesforce Developer  #Salesforce Admin  #Salesforce  #AI

3 Antworten
  1. 7. Okt., 06:48

    Hi @Beth Marshall

    , 

    Yes, Agentforce can help here as a secondary review layer on top of your existing duplicate management. It shouldn't replace it. 

     

    1. Keep Matching Rules and Duplicate Rules as the first layer

     

    Matching rules identify potential duplicates, and duplicate rules decide what happens with them. Before adding AI, check whether the missed cases can be fixed with custom matching rules, since each duplicate rule can include up to three matching rules, with up to five active matching rules per object. Also confirm that records created through Data Loader, integrations or the API are covered, because those often bypass duplicate checks.

    salesforce salesforce 

     

    2. Why the existing rules can miss duplicates

     

    Community discussions note that simple fuzzy matching rules work for many cases but produce both false positives and false negatives. A duplicate job also runs only for the object defined in the matching rule. That is the gap an AI review layer can help with.

    salesforce 

     

    3. Recommended design 

    1. Candidate generation. A scheduled Flow or Batch Apex job finds possible matches using looser criteria than your matching rules, such as name variations, phone or email variations, address similarity, and shared parent account or contact details.
    2. AI assessment. A Prompt Builder template, called from Flow or Apex, rates each pair as High, Medium or Low likelihood. It also lists matching and conflicting fields and gives a short rationale.
    3. Flagging. Likely duplicates are saved to a review object (for example Duplicate_Candidate__c) with Record A, Record B, confidence, rationale and status.
    4. User review. Users review the flagged pairs and decide to merge or keep them separate.
    5. Optional agent. An Agentforce agent with an action like "Find possible duplicates for this record" can run the check on demand from the record page.

    The overall flow is: Matching/Duplicate Rules → candidate check → AI scoring → user review → merge or keep. 

      

    4. Why human review matters

     

    The AI should flag and explain, but never auto-merge. Merges are hard to undo, and AI rationale can be wrong. 

     

    5. Things to confirm before building

     

     

    • Cost: Agentforce and prompt usage is metered, so limit how many pairs go to the AI.
    • Data privacy: Review Einstein Trust Layer and data masking, because record data is sent to the LLM.
    • Security: Sharing rules and field-level security must apply to reviewers.
    • Native feature: I haven't found Salesforce documentation of a built-in Agentforce duplicate-detection feature, so this would be a custom build or an AppExchange product.
    • Scoping: Which object (Account, Contact or Lead), roughly how many records, and is Agentforce with Prompt Builder licensed?

    References

     

     

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

0/9000