Today4 stories · 4 briefs

The Daily Org

Spring '27Sandboxes 6 Feb 2027

Curated by Abhinav (opens in a new tab)

Vol. I · No. 52The independent daily for Salesforce admins, developers and architects4 stories · 4 briefs

Must-readIntegration

Loading central bank exchange rates into Salesforce with Apex batch Jobs (opens in a new tab)

You will learn why DatedConversionRate cannot be written with Apex DML, how to convert a bank's rate table into your corporate currency, and how to schedule a callout-based sync with the right credentials.

Why read this

The post also lists setup errors that waste time.

  1. Scheduled Apex starts a batch job
  2. One GET to the rates API
  3. One REST write per currency
  4. Failures make the job fail
The batch sync runs one table per execute, with a single rates GET and then one REST write per currency

Salesforce multi-currency uses whatever rates are maintained under Manage Currencies, and it does not fill them in. Orgs often update rates by hand, so they drift from the figures finance books in the ERP. When a specific institution’s rate is required, such as the ECB or the Fed, a scheduled job can load the table and date each rate with the day the bank published it.

The post explains that DatedConversionRate cannot be written with plain DML and must be written through the REST API, which means an in-org job calls its own REST endpoint from Apex using a Named Credential. Salesforce closes the previous date range automatically, so the job must query for an existing row with the same StartDate and update it rather than insert a duplicate. Rates are stored as units of the currency per one unit of the corporate currency, and the post gives a formula for converting any bank’s table from its home currency into the corporate currency’s basis.

The post also covers the credential setup for both the rates API and the org’s own REST API, including External Client App steps, and lists pitfalls such as an empty Scope value and redacted tokens. For scheduling, Scheduled Apex cannot make callouts, so the schedulable starts a batch job with scope 1, and write failures should be made to fail the job so they appear under Apex Jobs. The author reports test results from a Developer Edition org and offers a Python alternative for teams that already run cron or CI jobs.

Read the original at dev.to (opens in a new tab)

Worth reading?

RecommendedAgentforce and AI

Sending a Pre-Chat Answer as the First Message to an Agentforce Service Agent (opens in a new tab)

You will learn how to capture a customer's Pre-Chat question with a custom LWC and pass it automatically to the Agentforce Service Agent as the opening message.

Why read this

The post also lists security and reliability points to check before go-live.

  1. Customer fills in the custom Pre-Chat LWC
  2. LWC posts the value to the host website
  3. Website stores the value in sessionStorage
  4. First bot message sent event fires
  5. sendTextMessage() sends the stored value
How the Pre-Chat answer reaches the agent as the first message

The article addresses a common friction point: customers type their question into a Pre-Chat form, then have to type it again once the Agentforce Service Agent joins. By default, the Pre-Chat value is stored on the Messaging Session and never reaches the agent as a message. The author shows how a custom Pre-Chat Lightning Web Component can capture that answer and send it on as the first message, so the agent can respond straight away and route to the right subagent with context.

The setup runs in five stages. The Agentforce Service Agent and its subagents are configured first, since the quality of the reply depends on their instructions. An Enhanced Chat Embedded Service Deployment is then created with Pre-Chat enabled and a field for the question. In the Messaging Channel, a Custom Parameter is mapped to a Flow Input Variable, and an Omni-Channel Flow routes the session and updates it with Update Records. The custom LWC renders the form and posts the value to the host website with window.postMessage, targeting a specific origin.

On the website, listeners store the value in sessionStorage with an in-memory fallback, then call utilAPI.sendTextMessage() when onEmbeddedMessagingFirstBotMessageSent fires. The stored value is cleared when the conversation or window closes. The article closes with a best-practice list covering strict origin checks, treating the text as untrusted input against prompt injection, avoiding logs of customer text, handling empty prompts, clearing the value after sending, and keeping configuration out of code.

Read the original at InfallibleTechie (opens in a new tab)

Worth reading?

Agentforce and AI

What Agentforce costs per action, and why agent design sets the bill (opens in a new tab)

You will learn how Flex Credits and per-conversation pricing compare, the break-even point of about 20 actions per conversation, and how grounding quality and action design drive consumption.

Why read this

You will also see the budget traps around Data 360, testing and month-three invoices.

Flex Credits

  • 20 credits per standard action
  • GBP 0.08 per action in production
  • Three to five actions per conversation typical

Conversations

  • Flat GBP 1.60 per conversation
  • Cheaper only above 20 actions
  • Fixed, forecastable unit cost
Flex Credits and Conversations break even at 20 actions per conversation

Agentforce is priced by consumption rather than per seat, so the cost depends on how many actions the agent takes. The article explains the two options: Flex Credits at USD 500 or GBP 400 per 100,000 credits, with a standard action consuming 20 credits, and Conversations at a flat USD 2 or GBP 1.60 each. At GBP 0.08 per standard action, the two models break even at 20 actions per conversation, so Flex Credits are cheaper for almost any well-designed agent that needs three to five actions.

The author describes the reasoning loop behind an agent, which classifies a message against subagents, runs actions, checks results and may loop up to seven times. Because the path is chosen at runtime, weak grounding and narrow actions raise the number of actions and therefore the bill. A worked UK retail example shows the same work costing GBP 288 a month on Flex Credits against GBP 1,920 on Conversations, and roughly doubling when the design averages six actions instead of three.

The piece also flags costs outside the agent: Data 360 processing, speech metering for voice, and testing runs that consume credits in a sandbox. It covers guardrails, escalation design and common failures such as deflection measured by session end and surprise bills after pilot credits run out. It closes with the Agentforce versus custom build decision, compliance points under the EU AI Act and UK GDPR, and indicative implementation costs.

Read the original at dev.to (opens in a new tab)

Worth reading?

Releases

CPQ moves to End of Sale as its Admin certification retires (opens in a new tab)

You will learn the timeline that led CPQ from the SteelBrick acquisition to end of sale and certification retirement, and what those milestones mean for existing customers and CPQ specialists.

Why read this

The piece is a retrospective and gives limited practical guidance.

  1. Dec 2015: Salesforce announces $360M SteelBrick deal
  2. March 2025: CPQ enters End of Sale
  3. June 2026: 24 certifications announced as retiring
  4. Aug 31, 2026: Last day to sit CPQ Admin exam
  5. Feb 1, 2027: CPQ Admin exam officially retires
Key dates in CPQ's path from acquisition to certification retirement

The article looks back at Salesforce CPQ, a quote-to-cash product that Salesforce bought as SteelBrick. It sets out the key dates: the bootstrapped startup, the $360M acquisition announced in December 2015, the rebrand to Salesforce CPQ, the March 2025 End of Sale announcement, and the June 2026 certification retirements. The Salesforce CPQ Admin exam closed on August 31, 2026 and officially retires on February 1, 2027.

The author notes that CPQ is a managed package with an SBQQ data model that the ecosystem has long considered complex, with pricing rule stacks, degrading quote line performance and fragile customizations. End of Sale means no new customers, while existing customers keep support and renewals. Salesforce’s investment has moved to Revenue Cloud, so CPQ is no longer the direction of the platform, though it is not yet end of life.

The piece is largely reflective, drawing on Reddit reactions that mourn the loss of the CPQ specialism rather than the product itself. The author uses the episode to argue that specialist skills tend to fold into what follows when Salesforce reinvents a product, citing Classic and Workflow Rules and Process Builder as earlier examples. The closing advice is to expect the ground to shift rather than to avoid specializing.

Read the original at Salesforce Ben (opens in a new tab)

Worth reading?

In brief