AI in Salesforce · Architecture & Delivery

AI in Salesforce is an architecture problem before it is a model problem.

Salesforce's AI layer is genuinely capable: Agentforce 360 for autonomous agents, Einstein for prediction and generation, Data 360 for unified data. What decides whether any of it produces something worth acting on is the data model, commercial logic and governance underneath. Twopir Consulting builds that layer first, then activates the AI on top of it.

Salesforce AI Stack
SYSTEMS OF RECORD Salesforce CRM Sales Cloud · Service Cloud External Systems ERP · Billing · Support · Product MuleSoft Zero-copy sources Data warehouse TWOPIR AI ARCHITECTURE LAYER Data Foundation Data 360 · Model Harmonisation Commercial Logic Motion · Stages Handoff rules Governance Scope · Escalation Audit & logging DESIGNED BEFORE A SINGLE AGENT IS TURNED ON 2πr SALESFORCE AI IN PRODUCTION Agentforce 360 Agents that act inside real limits Einstein Scoring and content tuned to your motion CRM Analytics Whether any of it changed an outcome DATA · LOGIC · GOVERNANCE · THEN AI
12+
Years Salesforce & HubSpot delivery
500+
Clients served worldwide
250+
CRM deployments delivered
40+
Consultants and architects

Twopir Consulting is a Salesforce Gold Partner and HubSpot Gold Partner — delivering AI on Salesforce for 500+ organizations. Serving: US | Canada | UK | UAE | Australia | New Zealand

Ultra Consultant
Mitratech
LegalZoom
Spinify
Sotheby's International Realty
Ultra Consultant
Mitratech
LegalZoom
Spinify
Sotheby's International Realty

Capabilities We Architect and Deliver

  • Salesforce Partner
  • Agentforce 360
  • Einstein Predictive AI
  • Einstein Generative AI
  • Data 360
  • Einstein Trust Layer
  • CRM Analytics
  • Revenue Data Architecture
Where AI Stalls

Why Salesforce AI projects stall after the licences are bought

Activation is the easy part. These are the six structural gaps we find most often when an AI programme has been switched on but has not moved a commercial number. Every one of them sits below the AI, not inside it.

Agents act on data nobody trusts

Duplicate accounts, half-filled fields and three versions of the same customer. An autonomous agent does not hesitate over bad data the way a rep does — it acts on it, at speed, and the error reaches the customer.

Predictions are calibrated to a sale you no longer run

Einstein scoring learns from the stage definitions and closed history it is given. When those stages stopped matching the real buying process two reorganisations ago, the scores are precise and wrong.

"AI-ready" was never actually defined

Readiness gets treated as a mood rather than a specification. Without a written standard for data completeness, ownership and object structure, there is no way to say whether the org is ready — or what to fix first.

AI is live in five places and owned in none

A pilot in Service, a scoring model in Sales, a generative field in Marketing. Each works in isolation; none shares a data definition, so the same customer is scored three different ways.

Nobody has written down what the agent may do

Autonomous action without a defined operating model is a risk, not a capability. What it can act on, what forces a human handoff, how actions are logged and what happens at the edge cases all need deciding before go-live — not after an incident.

Nothing measures whether the AI changed an outcome

Adoption dashboards count usage, not effect. Without a baseline captured before activation, there is no honest way to tell a board whether the investment moved conversion, resolution time or forecast accuracy.

The Stack

Four AI layers, and what each one quietly depends on

Salesforce's AI capabilities span autonomous action, embedded intelligence, governed model access and unified data. Each layer depends on the one beneath it — which is why activating them out of order is the most common and most expensive mistake we are called in to unwind. Product names below follow Salesforce's own current naming; Data Cloud was renamed Data 360 and Agentforce became Agentforce 360 at Dreamforce in October 2025.

How the Salesforce AI layers relate — what Salesforce provides, and what has to exist underneath it before the layer is worth activating.
LayerWhat Salesforce providesWhat it depends on underneath
Agentforce 360 Autonomous agentsAgents that reason over a task and then act — qualifying a lead, updating a record, resolving a case, triggering downstream work — rather than only recommending.A written operating model: what the agent may act on, what forces human escalation, how every action is logged, and what happens at the edge cases.
Einstein Predictive & generativeEmbedded scoring, forecasting and generative content across the clouds — lead and opportunity scoring, next-best-action, drafted replies and summaries.Stage definitions and closed-won history that reflect how you actually sell today, plus enough clean volume for a model to learn a real signal.
Einstein Trust Layer Governed model accessThe governance boundary between your CRM data and the models — grounding, masking, and auditability around generative requests.A data classification your organisation agrees on: what is sensitive, who may see it, and which fields must never reach a prompt.
Data 360 Formerly Data CloudIngests and harmonises data from across your systems into unified profiles that the layers above can ground on, including zero-copy access to external stores.A commercial data model designed on purpose — identity resolution rules, a single customer definition, and clear ownership of every source feeding it.
CRM Analytics MeasurementReporting and revenue intelligence over the same CRM and unified data, so AI output can be measured next to the commercial result it was meant to change.A baseline captured before activation. Without it there is no honest answer to whether the AI changed anything.
How We Engage

Architect, activate, extend — three different engagements

Most organisations need one of these, not all three, and knowing which one you need is usually the first thing to establish. The boundary between configuration and custom development is stated explicitly below — it is where budgets and timelines actually diverge.

Scope 01

Architect the foundation

For: orgs not yet AI-ready

The data model, identity resolution, Data 360 design, commercial logic and governance that AI needs before it is switched on. This is design and remediation work, and it is the phase most programmes skip.

  • Revenue data model and object architecture
  • Data quality remediation and de-duplication
  • Data 360 source mapping and identity resolution
  • Data classification for the Einstein Trust Layer
  • Agent operating model and escalation rules
Scope 02

Activate and configure

For: orgs with a sound foundation

Standing up the AI layers using Salesforce's own configuration surface — topics, actions, instructions, scoring setup, prompt templates. Declarative work, no custom code, and the fastest route to a measurable result.

  • Agentforce 360 topics, actions and instructions
  • Einstein scoring and forecasting configuration
  • Prompt templates grounded on your records
  • CRM Analytics baselines and effect reporting
  • Pilot design, guardrail testing and rollout
Scope 03

Extend with custom development

For: needs config cannot reach

Where configuration stops, engineering starts. The boundary is concrete: if the behaviour cannot be expressed as a standard action, an invocable flow or a prompt template, it becomes Apex, Lightning Web Components or an API integration — and it needs a developer, tests and a release process.

  • Custom Apex actions invoked by agents
  • Lightning Web Components for agent surfaces
  • External API and MuleSoft integration for agent actions
  • Custom grounding over systems outside Salesforce
  • Automated test coverage and deployment pipeline
What We Deliver

The work that makes Salesforce AI worth switching on

Six delivery areas. Salesforce provides the platform capability in each one; what we build is the architecture, configuration and governance that makes it perform against your commercial model.

Agentforce Agent Design

We design the agent before we build it: the job it owns, the records it may touch, the moment it must hand to a human, and how every action is recorded for audit.

  • Use-case selection and value sizing
  • Topic, action and instruction design
  • Escalation and human-in-the-loop rules
  • Guardrail and edge-case testing
  • Action logging and audit trail

Data 360 Architecture

The unified data layer every other AI capability grounds on — designed around your commercial data model rather than assembled source by source.

  • Source mapping and ingestion design
  • Identity resolution and unified profiles
  • Zero-copy connections to existing stores
  • Data quality rules and monitoring
  • Ownership model for every feeding system

Einstein Calibration

Scoring and forecasting tuned against your actual buying process — not the out-of-the-box configuration that assumes a sales motion you do not run.

  • Stage definition and exit-criteria review
  • Lead and opportunity scoring setup
  • Forecast model configuration
  • Prompt templates grounded on records
  • Score-to-outcome validation cycles

AI Governance & Trust

The controls that let a regulated or risk-aware business put AI into production — data classification, access boundaries, and a record of what the AI did and why.

  • Data classification and masking policy
  • Einstein Trust Layer configuration
  • Role-based access to AI capabilities
  • Audit logging and review cadence
  • Internal AI usage policy support

Integration & Custom Extension

Connecting agents to the systems where the work actually happens, and building the custom actions that Salesforce's configuration surface cannot express on its own.

  • Custom Apex actions for agent use
  • MuleSoft and REST API integration
  • Lightning Web Component agent surfaces
  • Grounding on systems outside Salesforce
  • Test coverage and release pipeline

Measurement & Readiness Audit

A written verdict on whether the org is ready, what to fix first, and the baseline against which the AI will later be judged — captured before anything is switched on.

  • AI readiness assessment and scoring
  • Data quality and completeness benchmark
  • Pre-activation commercial baseline
  • CRM Analytics effect dashboards
  • Prioritised remediation roadmap
Integration Architecture

AI is only as good as the systems feeding it

An agent that cannot see billing status, support history or product usage is guessing. These are the connections that most often decide whether a Salesforce AI programme has enough context to be useful.

Salesforce Data 360 + your data warehouse

Grounds agents and Einstein on the full customer picture instead of the CRM slice, so an agent answering a renewal question can see what the customer actually bought and used.

Warehouse → Data 360 (zero-copy, read) → unified profile consumed by Agentforce and Einstein

Salesforce + your billing system

Puts payment status, invoice history and subscription changes on the account record, so a rep — or an agent drafting a renewal — sees a failed payment before the conversation, not after the churn.

Billing → Salesforce (invoice, payment, subscription state); Salesforce → Billing (account and contract changes)

Salesforce + your support and telephony stack

Brings case history and conversation data into the same record the AI reasons over, so service agents deflect with real context and sales sees the support reality before a renewal call.

Support and call platform → Salesforce (cases, transcripts, intent signals) → grounding for Agentforce 360

Salesforce + ERP via MuleSoft

Lets an agent act on commercial truth — order status, fulfilment, credit position — rather than a stale copy of it, and gives finance one reconciled view of what sales committed to.

ERP ↔ MuleSoft ↔ Salesforce (orders and fulfilment inbound; accounts and contracts outbound)

We build these as part of a wider Salesforce integration practice. If the integration you need is not listed, it is almost certainly still in scope — the pattern matters more than the vendor.

Delivery Model

Architecture first. AI second. Outcomes always.

Five stages, one continuous engagement. The durations below are typical ranges for a mid-market to enterprise org and move with data condition and scope — we confirm them in scoping rather than quoting them blind.

Step 01

Readiness Audit

We assess data quality, CRM architecture, process logic, automation integrity and AI readiness across the clouds you run — and write down the baseline the programme will later be judged against.

Typically 2–4 weeks
Step 02

Commercial Motion Mapping

We document how you actually sell and serve — buyer journey, stage definitions, handoffs and ownership. This becomes the design spec every AI component is anchored to.

Typically 2–3 weeks
Step 03

Data Foundation

We remediate and restructure the data layer, design the Data 360 model and identity resolution, and agree the data classification the Trust Layer will enforce. This is the phase most programmes skip.

Typically 4–10 weeks
Step 04

AI Activation

With the foundation validated we activate in deliberate sequence — one agent or model at a time, each with guardrails tested and an effect measure attached before the next one starts.

Typically 4–8 weeks per capability
Step 05

Governance & Optimisation

We hand over technical documentation, role-based enablement and a governance model — then keep tuning against the baseline, because model behaviour and your business both keep moving.

Ongoing
Proof

What AI changes when the data underneath it is right

A worked example. AI conversation analysis was the visible part of this engagement — but it only produced anything because the attribution and lead architecture beneath it was rebuilt first. That order is the whole point.

What Actually Changed
  • Every inbound call became a tracked lead. Marketing had been losing every prospect who arrived by phone. An inbound call now gets the same attribution, the same Lead record and the same revenue trail as a form fill — automatically, with no manual reconciliation.
  • Qualification stopped depending on a rep's notes. AI conversation analysis scores caller intent and conversion signals on every call, so qualification happens on the call itself rather than whenever someone gets round to writing it up.
  • The loop from spend to revenue closed. Lead outcomes are connected back to the campaign that produced them, giving Marketing and Revenue Operations one shared view of what is actually working instead of two partial ones.
Case Study

Legal Services — Enterprise Salesforce

Invoca and Salesforce integration: AI call analysis on a rebuilt attribution and lead architecture.

100% Call attribution
Automated Lead creation from calls
Closed Loop, campaign to revenue
Read Full Case Study

More of the same foundational work, in other shapes: sales operations and lead management, Salesforce CPQ and multi-tool integration, or the full Twopir Consulting case study library.

Who This Is For

Complex commercial models are where Salesforce AI gets genuinely difficult

We work best with revenue teams where the commercial model is not simple — multi-stakeholder buying, long cycles, mixed revenue streams, or a Salesforce estate assembled across several acquired companies.

SaaS & Software

Product-led and enterprise motions running side by side. Expansion signals live in product usage data that has to reach Data 360 before any agent or score can use it.

FinTech & Financial Services

Where data classification, consent and audit requirements shape every architecture decision, and the Trust Layer configuration matters as much as the agent itself.

Manufacturing & Distribution

Partner-led revenue and CPQ complexity, where an agent is only useful once it can see ERP order and fulfilment truth rather than a stale copy of it.

IT Services & MSP

Contract and renewal intelligence across managed services, where upsell signal lives in ticket history and utilisation rather than in the opportunity record.

Real Estate & PropTech

High-volume inbound qualification, where the value of an agent depends entirely on whether listing, enquiry and buyer data resolve to one profile.

Why Twopir

Not an AI vendor. An architectural partner.

Organisations rarely struggle because they lack AI capability. They struggle because the data model, commercial logic and governance beneath it were never designed to carry it.

We will tell you when you are not ready

If the data foundation cannot support an agent yet, that is the finding we deliver — with a remediation plan and a cost. It is a less comfortable conversation than a pilot, and a considerably cheaper one.

We separate the platform's job from ours

Salesforce builds the AI. We build the architecture it runs on and the configuration that points it at your commercial model. We are explicit about which is which, on this page and in delivery.

We work across the whole revenue lifecycle

Marketing, sales, service and finance data are not separate projects. AI grounded on only one of them produces confident answers about a third of the picture.

We do the unglamorous half

De-duplication, identity resolution, stage redefinition and data classification are where AI programmes are actually won. They are also the work most partners quietly leave to the client.

We measure against a baseline we captured first

The baseline is taken before activation, so the question "did this change anything" has an honest answer instead of an adoption chart.

Common Questions

Answers before the first call

Readiness is a specification, not a feeling. We assess four things: whether records resolve to one customer, whether the fields the AI would reason over are actually populated, whether stage and process definitions match how you sell today, and whether someone owns each system feeding the data. Our readiness audit produces a written verdict on each, a prioritised list of what to fix first, and the pre-activation baseline the programme will later be measured against. If the answer is that you are not ready yet, that is the finding we deliver — with a remediation plan and a cost.

They are three different layers, not three competing products. Data 360 — which Salesforce renamed from Data Cloud in October 2025 — is the data foundation: it ingests and harmonises data from across your systems into unified profiles. Einstein is the embedded intelligence layer that scores, forecasts and generates content using that data. Agentforce 360 is the autonomous layer: agents that take action rather than only recommending it. Agentforce and Einstein both depend on the quality of what Data 360 gives them, which is why we design the data layer first. We cover the individual products in more depth on our Agentforce and Einstein pages.

The boundary is concrete. If the behaviour can be expressed through Salesforce's own configuration surface — agent topics, standard actions, instructions, prompt templates, scoring setup, flows — it is configuration: declarative, faster, and maintainable by an administrator. The moment the agent needs to do something that surface cannot express, it becomes custom development: Apex actions, Lightning Web Components, or an API integration to a system outside Salesforce. That crossing changes the engagement, because custom code needs a developer, automated test coverage and a release process. We name which side of the line a requirement falls on during scoping, not after the invoice.

Not always, and this is worth getting right before you buy anything. An agent whose job is contained entirely within Salesforce records — answering from knowledge articles, updating a case, qualifying against CRM fields — can often be grounded on your existing CRM data. Data 360 becomes necessary when the agent needs context that lives outside Salesforce: product usage, billing status, support history from another platform. The honest test is to write down what the agent must know to do its job, then check where that data currently lives. We do that mapping in the readiness audit so the licensing decision follows the architecture rather than leading it.

It depends almost entirely on the condition of the data, which is why we audit before quoting. A readiness audit typically runs two to four weeks. Where the foundation is already sound, a first configured capability with guardrails tested and an effect measure attached typically follows in four to eight weeks. Where the data layer needs remediation first, that phase typically takes four to ten weeks and has to happen before activation is worth starting. These are typical ranges for a mid-market to enterprise org, and we confirm them in scoping against your actual environment rather than quoting them blind.

That is where a large share of our AI engagements start. Capability can be live and still be commercially inert, and the cause is usually one of a small set: the agent is grounded on data nobody trusts, the scoring is calibrated against stage definitions that no longer describe the sale, or no baseline was captured so nobody can tell whether anything moved. We diagnose which of those is true, fix the layer underneath, and re-activate in sequence — usually without starting the org over. This sits inside our wider Salesforce consulting practice.

Next Step

Start with what the AI would be standing on, not with the AI

An AI readiness review is a focused diagnostic of your Salesforce environment — data quality and identity resolution, CRM architecture, agent operating model, Trust Layer classification, and the gaps between them. You get a written verdict, a prioritised roadmap and a baseline. No pitch deck, no obligation.

Speak with architects who build the layer underneath the AI