Skip to main content

Feed

Connect with fellow Trailblazers. Ask and answer questions to build your skills and network.

お世話になっております。 

データセキュリティ単元の「組織へのアクセス制御」にて下記の指示がございます。 

下記のリンクからサインアップをしようと何度か試みたのですが、なかなかメールが届きません。 

迷惑メールボックスへの転送やメールアドレスの誤表記ではないかと確認したのですが、 

上記のような問題ではなさそうです。 

 

サインアップが出来ないとサンプルデータを得られず、次に進めないため、 

何か改善策や問題点などをご存じであればご教示していただけますと幸いです。 

 

リンク:https://trailhead.salesforce.com/ja/promo/orgs/data-security

 

 

☆指示内容 

------------------------------------------------------------ 

Developer Edition 組織にサインアップする

このモジュールを受講するためには、サンプルデータが含まれている特別な Developer Edition 組織が必要です。このモジュールの Challenge に取り組めるように、ここで無料の Developer Edition を入手して Trailhead に接続します。この Developer Edition は、このバッジの Challenge 用に設計されているため、他のバッジでは機能しないことがあります。使用している Trailhead Playground や特別な Developer Edition 組織が推奨されているものであることを必ず確認してください。

  1. サンプルデータを搭載した無料の Developer Edition 組織にサインアップします。
  2. フォームに入力します。
    • [メール] には、有効なメールアドレスを入力します。
    • [Username (ユーザー名)] に、メールアドレス形式の一意のユーザー名 (例: yourname@example.com) を入力しますが、有効なメールアカウントである必要はありません。
  3. フォームに入力したら [サインアップ] をクリックします。確認メッセージが表示されます。
  4. アクティベーションメールを受信したら (数分かかる場合があります)、そのメールを開いて [アカウントを確認] をクリックします。
  5. パスワードと確認用の質問を設定して、登録を完了します。後でアクセスしやすいように、ユーザー名、パスワード、ログイン URL を安全な場所 (パスワードマネージャーなど) に保存しておくことをお勧めします。
  6. Developer Edition にログインした状態になります。

------------------------------------------------------------ 

 

何卒宜しくお願いいたします。 

 

 

#Saleforce Administrator

0/9000
1 answer
0/9000

I am working on the Multiple joins. The instructions says to : Write, run, and save a query that joins individuals to their sales accounts and filters for individuals with annual revenue values greater than 500000000Copy:

  • Use the individual object (ssot__individual__dlmCopy, alias individualCopy)
  • Join the account object (ssot__Account__dlmCopy, alias accountCopy) to the individual object using the individual ID (individual.ssot__PrimaryAccountId__cCopy) and the account ID (account.ssot__Id__cCopy).
  • Select the individual's first name (ssot__FirstName__cCopy) to easily identify them.
  • Filter for accounts with revenue (ssot__AnnualRevenueAmount__c) values over 500000000Copy

My query is:   

SELECT ssot__FirstName__c AS FirstName, 

              ssot__AnnualRevenueAmount__c  

FROM ssot__individual__dlm" AS individual 

JOIN ssot__Account__dlm AS account 

ON individual.ssot__PrimaryAccountId__c = account.ssot__Id__c  

WHERE ssot__AnnualRevenueAmount__c >500000000 

 

When checked, I get the following error:   

 Challenge not yet complete in Data 360 

In the "High Value Customers' workspace, we can't find a query that joins individuals to their sales accounts and filters for individuals with annual 

revenue values greater than 500000000.  Make sure to use 'individual' as the alias for ssot__Individual__dlm, 'account' as the alias for ssot__Account__dlm, matching ssot__PrimaryAccountId__c to ssot__Id__c. 

 

What am I missing? Any help would be appreciated.

 

 

 

 

 

 

 

 

 

#Trailhead Challenges

9 answers
  1. Jul 12, 10:38 PM

    This is the correct way to solve for this.  

     

    SELECT individual.ssot__FirstName__c,  

        account.ssot__AnnualRevenueAmount__c  

    FROM ssot__Individual__dlm individual  

    INNER JOIN ssot__Account__dlm account  

        ON individual.ssot__PrimaryAccountId__c = account.ssot__Id__c  

    WHERE account.ssot__AnnualRevenueAmount__c > 500000000 

0/9000

Hi everyone! I'm currently diving deep into Agentforce Financial Services (FSC) and exploring the best architectural patterns for complex orchestrations (like multi-step client onboarding or custom KYC validation).

Coming from a development background, I wonder what the community considers the best threshold to switch from a Record-Triggered Flow to an Apex Trigger/Framework in FSC. Do you lean towards creating Invocable Actions within a Flow for reusability, or do you prefer keeping heavy financial calculations purely in Apex to handle governance limits?

Would love to hear your real-world feedback on maintaining a clean hybrid architecture (Declarative + Code)! Thanks! 

 

#Trailhead  #Salesforce Admin  #Agentforce

0/9000

Morning  I am beginning to prepare for the fact that Salesforce retiring SOAP API logins in 2027 and I am not 100% sure the best approach and wonder if there is further guidance available to ease the process.    1. Do I simply click on the Migrate to External Client App?  2. What changes happen?  3. What do I need to pass onto End Users?    Are there any youtube videos, trailhead modules?    We have so many integrated apps that I am concerned that if I blindly click on the migrate to External Client  App that I could break the integration 

 

@* Salesforce Developers * 

1 answer
  1. Jul 12, 9:57 PM

    The 'Migrate to External Connected App' is available/used to migrate a Connected App to an ECA.  Neither of these are SOAP-based/related, they are both for OAuth.  SOAP login uses a completely different authentication process (SOAP request to Enterprise/Partner endpoint).  For each application integration, the code in the integration will need to be updated to switch from SOAP to OAuth using an ECA defined for that integration (or set of integrations, if the requirements are consistent).  Ideally your vendor will be providing transition documentation with the particulars of migrating their integration from SOAP to OAuth.  If it is custom code that you own, then you have some development activity ahead of you.  In terms of end-users, they would only be impacted if they are using an application that does the login using SOAP (e.g. a dialog that takes username/password/secret), it would switch to an OAuth-based login (for an example, look at more recent versions of DataLoader where there is a choice between the two).  For back-office/server-side applications, they would also migrate to an OAuth authentication flow with associated configuration (again, depending on the application and OAuth requirements).  Clear as mud?

0/9000
3 answers
  1. Jul 12, 9:03 PM

    I encourage you to get help from the Trailhead support team.

0/9000
1 answer
  1. Jul 12, 8:58 PM

    Hi , 

     

    https://trailhead.salesforce.com/trailblazer-community/feed/0D5KX00000pO3j60AC

     

     

    To address the issue, I had to manually update the agent script and enter input and output data types for the Finalize Reservation action:  

     

    FinalizeReservation:

    description: "Books and finalizes a reservation for the time designated by the customer."

    label: "Finalize Reservation"

    require_user_confirmation: True

    include_in_progress_indicator: True

    source: "SvcCopilotTmpl__FinalizeReservation"

    target: "flow://SvcCopilotTmpl__FinalizeReservation"

    inputs:

    "contactRecord": object

    description: |

    The contact record associated with the identified customer.

    label: "Contact record"

    is_required: True

    is_user_input: False

    complex_data_type_name: "lightning__recordInfoType"

    "dateTime": datetime

    description: |

    Stores the date and time of the customer's reservation.

    label: "Date time"

    is_required: True

    is_user_input: False

    outputs:

    "outcomeMessage": string

    description: |

    Stores the message that lets the customer know whether the reservation was successfully finalized.

    label: "Outcome message"

    is_displayable: True

    filter_from_agent: False

0/9000
  • When I try to create a new agent with the name CC Service Agent, it says the name is already taken
  • I'm unable to edit/rename the existing agent
  • The agent is deactivated but I'm unable to delete it either

 

 

#Trailhead Challenges

1 answer
  1. Jul 12, 8:56 PM

    Hi , 

     

     

    1. From the App Launcher, find and select Agentforce Studio, then click Agents.
    2. In the All Agents list on the Agents page, find the row for the agent you want to delete. Open the dropdown menu and select Delete Agent. After an agent or agent version is deleted, it can’t be recovered.

    Agents from the legacy may appear in the agents list with the Delete

    button disabled. Legacy agents must be deleted from the legacy builder. 

     

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

0/9000
5 answers
  1. Jun 28, 4:06 AM

    @Marcos Gomes

     

    In my opinion, governance should come before autonomy. Agentforce is only as reliable as the data and permissions it is given.

    A practical approach is:

    • Clean legacy data first by removing duplicates, standardizing values, archiving obsolete records, and defining data quality rules.
    • Implement strong data governance with clear ownership, validation rules, monitoring, and regular data quality reviews.
    • Apply least-privilege access so AI agents only access the data they genuinely need. Sensitive fields should be protected with Field-Level Security, Permission Sets, Shield Platform Encryption, and Data Cloud data policies where applicable.
    • Establish trust boundaries. Don't allow autonomous agents to perform high-risk actions without human approval. Critical decisions (pricing, financial updates, customer record changes, etc.) should include approval workflows or human-in-the-loop checkpoints.
    • Continuously monitor and audit agent activity using logs, event monitoring, and feedback loops to identify incorrect decisions and improve prompts, policies, or data quality.

    Ultimately, successful Agentforce implementations depend less on the AI model itself and more on the organization's data quality, governance framework, and security controls. Clean, governed, and well-permissioned data is what enables AI agents to make trustworthy decisions.

0/9000

Salesforce Agent API returns 404 when creating a session (OAuth succeeds)

Hi everyone,

I'm integrating a Salesforce Agentforce Knowledge Agent with an external application (Open WebUI) using the Agent API and External Client App (ECA).

Authentication is working correctly, but session creation always returns HTTP 404.

Environment

  •  Salesforce Developer Edition 
  •  Agentforce Knowledge Agent 
  •  Agent is Active
  •  External Client App (ECA) 
  •  OAuth Client Credentials Flow
  •  API scopes: 
    • api
    • chatbot_api
    • sfap_api
    • id

OAuth

Token request:

POST https://<my-domain>/services/oauth2/token

Response:

HTTP 200 OK

Returned fields include:

access_token

instance_url

api_instance_url = https://api.salesforce.com

Authentication appears to be working correctly.

Agent

Agent ID:

0Xx......

Version ID:

0X9dL0000.....

The agent is active.

External Client App

The generated connection details are:

Runtime Base URL

https://bot-runtime-api.sfdc-vwfla6.svc.sfdcfc.net

ForceConfig Endpoint

https://orgfarm-92.......-dev-ed.develop.my.salesforce.com

Session Request

Request:

POST https://api.salesforce.com/einstein/ai-agent/v1/agents/0XxdL00000......../sessions

Headers

Authorization: Bearer <access_token>

Content-Type: application/json

Accept: application/json

Body

{

"externalSessionKey": "<uuid>",

"instanceConfig": {

"endpoint": "https://orgfarm-..........-dev-ed.develop.my.salesforce.com"

},

"streamingCapabilities": {

"chunkTypes": ["Text"]

},

"bypassUser": true

}

Response

HTTP 404

Content-Length: 0

No JSON error body is returned.

Runtime Base URL Test

As an experiment I also sent the exact same request to:

https://bot-runtime-api.sfdc-vwfla6.svc.sfdcfc.net

Response:

HTTP 404

Body:

fault filter abort

Questions

  1.  Is 
POST /einstein/ai-agent/v1/agents/{agentId}/sessions

still the correct endpoint for the current Agent API?

  1.  Should the request use the Agent ID, Version ID, or another deployment identifier? 
  2.  Is the Runtime Base URL intended for customer applications, or is it only used internally by Salesforce? 
  3.  Does the current Agent API require additional headers or configuration beyond OAuth Client Credentials? 
  4.  Is there an updated Postman collection or OpenAPI specification for the current Agent API? 

Any guidance would be greatly appreciated.

Thank you. 

 

#Agentforce  #Salesforce Developer

1 answer
  1. Jul 12, 7:53 PM

    A 404 on session creation is a known Agent API issue. Per Salesforce's troubleshooting guide, the likely causes are: 

    1. Agent ID mismatch — if the agent was built in the newer Agentforce Builder (not legacy Bot Builder), the ID shown in the builder URL often isn't the ID the API expects. You may need to query BotDefinition via SOQL (SELECT Id, DeveloperName FROM BotDefinition) to get the right Id — see Salesforce's guide: developer.salesforce.com/docs/ai/agentforce/guide/agent-api-agent-id.html. Assumption: since it's called a "Knowledge Agent" and is Active, I'm assuming it was built in the newer builder — if so, this is the most likely culprit.
    2. The default "Agentforce (Default)" agent type isn't reliably supported by the Agent API — only custom agents built for API access tend to work.
    3. If the org is on Government Cloud, the host must be api.gov.salesforce.com, not api.salesforce.com.
    4. The endpoint path (/einstein/ai-agent/v1/agents/{agentId}/sessions) matches Salesforce's documented endpoint at developer.salesforce.com/docs/ai/agentforce/guide/agent-api-get-started.html, so it's most likely the agentId value that's wrong.

     

    Also: the "Runtime Base URL" on the ECA detail page is internal, not meant to be called directly. 

      

    To isolate this quickly, Salesforce's official Postman collection for the Agent API is here:

    https://www.postman.com/salesforce-developers/salesforce-developers/collection/gwv9bjy/agent-api

    — import it, plug in your consumer key/secret and domain, and test session creation directly to confirm whether it's the Agent ID or something else. 

     

0/9000