Skip to main content
Blog

Latest writings

Notes on AI agents, Salesforce, automation, micro-SaaS, and engineering.

Salesforce development from the field: Apex, Lightning Web Components, Flow, integrations and Agentforce, written by a developer who has worked on the platform since 2018.

Winter '27: Agentforce Agents as MCP Tools in ClaudeAgentforce
November 14, 2026

Winter '27: Agentforce Agents as MCP Tools in Claude

Salesforce MCP now works both ways: Winter '27 lets you expose an Agentforce agent as a tool that Claude, ChatGPT or Cursor can call. Setup path, schema behaviour and two catches.

Salesforce MCPAgentforceMCPAI Agents
Read Article
Apex Heap Limit Raised to 10 MB in Winter '27Apex
November 07, 2026

Apex Heap Limit Raised to 10 MB in Winter '27

Winter '27 raises the Apex heap limit from 6 MB to 10 MB synchronously and 12 MB to 25 MB asynchronously. Nothing to enable — here's what actually fits now.

apexGovernor LimitsHeap SizeWinter '27
Read Article
Calling an LLM From Apex: Where Python Still Wins
October 20, 2026

Calling an LLM From Apex: Where Python Still Wins

Apex makes the HTTP call to an LLM in about twenty lines. Everything that decides whether the feature survives — validation, retrieval, evals, cost — is the part Python still owns.

apexllmSalesforcepython
Read Article
Apex Governor Limits: Why Query 101 Kills Your TransactionApex
October 20, 2026

Apex Governor Limits: Why Query 101 Kills Your Transaction

Sync Apex gets 100 SOQL queries, 150 DML statements, 10 seconds of CPU and 6 MB of heap per transaction. Cross the line and the whole transaction rolls back.

apexGovernor LimitssoqlBulkification
Read Article
Day 15/15 — Build a Complete Headless Salesforce AI AssistantSalesforce
October 09, 2026

Day 15/15 — Build a Complete Headless Salesforce AI Assistant

The capstone: a Next.js assistant that signs in with PKCE, lets Claude call Salesforce hosted MCP servers as the user, and asks before every write.

SalesforceHeadless 360MCPClaude
Read Article
Day 14/15 — Production Architecture: Governance, Monitoring & Error HandlingSalesforce
October 09, 2026

Day 14/15 — Production Architecture: Governance, Monitoring & Error Handling

Take a Salesforce AI assistant to production: who approves tools, what Salesforce logs, how to classify and retry errors, and which limits and costs to plan for.

SalesforceHeadless 360MCPAI Agents
Read Article
Day 13/15 — Headless 360 + Agentic AI ArchitectureSalesforce
October 09, 2026

Day 13/15 — Headless 360 + Agentic AI Architecture

One assistant, a planner with tools, or several agents? Where Agentforce fits, what the beta Headless 360 MCP Server changes, and native React versus Next.js.

SalesforceHeadless 360MCPAI Agents
Read Article
Day 12/15 — Custom MCP Tools + Apex/Flow Business Logic
October 09, 2026

Day 12/15 — Custom MCP Tools + Apex/Flow Business Logic

Publish your own Apex and Flow logic as tools on a custom Salesforce hosted MCP server, so the model calls your business rules instead of inventing them.

SalesforceHeadless 360MCPapex
Read Article
Day 11/15 — Security Architecture: OAuth, Permissions & Least PrivilegeSalesforce
October 09, 2026

Day 11/15 — Security Architecture: OAuth, Permissions & Least Privilege

A threat model for AI clients on Salesforce, the layers that contain them, where tokens go, why there is no integration user, and a least-privilege permission set explained line by line.

SalesforceHeadless 360MCPSecurity
Read Article
Day 10/15 — Build Your First AI + Salesforce WorkflowSalesforce
October 09, 2026

Day 10/15 — Build Your First AI + Salesforce Workflow

Turn a chat into a workflow: a read-only meeting prep brief built with Next.js, the Claude API's MCP connector and Salesforce hosted MCP servers.

SalesforceHeadless 360MCPAI Agents
Read Article
Day 9/15 — Create & Update Salesforce Data SafelySalesforce
October 09, 2026

Day 9/15 — Create & Update Salesforce Data Safely

Let Claude write to Salesforce without losing control: what still runs on every write, the propose, confirm, execute, verify loop, and a confirm-before-write pattern for your own app.

SalesforceHeadless 360MCPAI Agents
Read Article
Day 8/15 — Read Salesforce Data Using Natural LanguageSalesforce
October 09, 2026

Day 8/15 — Read Salesforce Data Using Natural Language

Ask Salesforce questions in plain language and trust the answers: how Claude picks soqlQuery, find or getRelatedRecords, prompt patterns, verification and limits.

SalesforceHeadless 360MCPClaude
Read Article
Day 7/15 — Explore Salesforce MCP Tools & sobject-allSalesforce
October 09, 2026

Day 7/15 — Explore Salesforce MCP Tools & sobject-all

What Claude can actually call in your org: the 11 sobject-all tools, the smaller servers, how to read a tool definition, MCP Inspector, and the beta Headless 360 server.

SalesforceHeadless 360MCPAI Agents
Read Article
Day 6/15 — Connect an AI Client to Salesforce via MCPSalesforce
October 09, 2026

Day 6/15 — Connect an AI Client to Salesforce via MCP

Connect Claude to Salesforce's hosted MCP servers: a custom connector in claude.ai and Claude Desktop, a direct server in Claude Code, and your first read-only prompts.

SalesforceHeadless 360MCPClaude
Read Article
Day 5/15 — OAuth 2.0, PKCE & External Client App SetupSalesforce
October 09, 2026

Day 5/15 — OAuth 2.0, PKCE & External Client App Setup

Create the External Client App every MCP client needs: the mcp_api and refresh_token scopes, PKCE, JWT tokens, and a tested PKCE helper in TypeScript.

SalesforceHeadless 360MCPOAuth
Read Article
Day 4/15 — Enable & Configure the Salesforce MCP ServerSalesforce
October 09, 2026

Day 4/15 — Enable & Configure the Salesforce MCP Server

Switch on Salesforce's hosted MCP servers, part of Salesforce Headless 360 (AIforce): the exact Setup path, which server to start with, the right URL for your org, and a server inventory.

SalesforceHeadless 360MCPAI Agents
Read Article
Day 3/15 — MCP Fundamentals: Client, Server, Tools & Resources
October 09, 2026

Day 3/15 — MCP Fundamentals: Client, Server, Tools & Resources

The Model Context Protocol behind Salesforce Headless 360 (AIforce): hosts, clients, servers, tools, the stateless 2026-07-28 lifecycle, and a local MCP server you build and inspect.

SalesforceHeadless 360MCPAI Agents
Read Article
Day 2/15 — Headless 360 Architecture ExplainedSalesforce
October 09, 2026

Day 2/15 — Headless 360 Architecture Explained

Follow one request through Salesforce Headless 360 (AIforce): client, identity, MCP server or API, platform and back. Plus when to use MCP and when to call the APIs directly.

SalesforceHeadless 360MCPAI Agents
Read Article
Day 1/15 — What Is Salesforce Headless 360 and Why Does It Matter?Salesforce
October 09, 2026

Day 1/15 — What Is Salesforce Headless 360 and Why Does It Matter?

Salesforce Headless 360, now called AIforce, opens the platform to agents and code. What it is, what the rename changed, what is GA or beta, and how to get ready.

SalesforceHeadless 360MCPAI Agents
Read Article
Salesforce Agentforce Interview Questions: Prompt Builder, Data 360 and AISalesforce
August 08, 2026

Salesforce Agentforce Interview Questions: Prompt Builder, Data 360 and AI

Salesforce AI interview questions on Agentforce, Prompt Builder, Data 360 (formerly Data Cloud), grounding, guardrails and LLM callouts, with model answers.

Salesforce AIAgentforcePrompt BuilderSalesforce Data Cloud
Read Article
Salesforce Interview Preparation: Apex, LWC, Triggers & System DesignApex
May 19, 2026

Salesforce Interview Preparation: Apex, LWC, Triggers & System Design

A practical guide to Salesforce interview preparation covering Apex, triggers, SOQL, LWC, integration patterns, and system design for developers.

apexlwcInterview Prep
Read Article
Beyond Einstein: Building a Custom AI Sales Agent in SalesforceSalesforce
February 21, 2026

Beyond Einstein: Building a Custom AI Sales Agent in Salesforce

Call an LLM from a record-triggered Flow with one invocable Apex action: a Named Credential holds the key, an async path makes the callout, and a mock test proves it.

SalesforceAI AgentsLLM Integrationapex
Read Article
Salesforce Developer Interview Questions: Apex, SOQL and LWC AnsweredSalesforce
September 12, 2025

Salesforce Developer Interview Questions: Apex, SOQL and LWC Answered

Salesforce developer interview prep: Apex triggers and async Apex, secure SOQL with user mode, the LWC lifecycle, order of execution, and how to prepare.

Salesforce DevelopmentSalesforce PlatformDeveloper GuideQ&A
Read Article
Newsletter

The Automation Update

A newsletter on AI agents, developer tools, micro-SaaS, and systems thinking.

New issues when there's something worth sending. Unsubscribe anytime.