Salesforce architecture: a complete guide

Understand Salesforce’s building blocks and how its data, interfaces, business rules, automation, and products fit together to support different business needs.

Salesforce is best known for managing customer relationships, sales, and customer service. It is also a platform for building applications and business processes that can be adapted to very different business needs.

You can follow this guide alongside the interactive map below to explore how Salesforce fits together.

Everything starts with data

Objects, Fields, and Records

Salesforce organizes business information into objects, fields, and records.

  • An object defines a type of information, such as a customer or a sales opportunity.

  • Fields describe its attributes, such as a name, amount, or date.

  • A record is one instance: a particular customer or a particular deal.

Salesforce provides standard objects such as Account, Contact, and Opportunity. An Account commonly represents a company, a Contact represents a person, and an Opportunity represents a potential sale. Teams can add custom fields to these objects and create custom objects for information specific to their work.

Consider a hypothetical company that sells equipment and arranges its installation. It could add Delivery Location and Expected Installation Date fields to Opportunity, then create a custom Installation object to track each installation’s schedule and status. The data model now represents both the sale and the work needed to fulfil it.

Connecting data through relationships

Objects become more useful when their records are connected. An Account can have several Contacts and Opportunities associated with it. Opening the Account gives a user a route to the people involved and the deals being discussed.

The equipment company could also relate each Installation to the relevant Account and Opportunity. Someone planning the installation could then find the customer and original sale without copying that information into another disconnected record.

Salesforce supports different relationship types. A lookup links records, while a master-detail relationship creates a tighter dependency, including how ownership and deletion behave. Choosing a relationship means deciding what the connection should allow and what should happen when one of the records changes or is removed.

Turning data into applications

How users interact with data

An app brings together the navigation and tools people need for a business purpose. A sales app might give users access to Accounts, Contacts, and Opportunities. An installation app could bring together the same customers and the Installation records needed to plan the work.

Within an app, people open pages and views.

  • A record page presents one record, its fields, related information, and available actions.

  • A list view presents a filtered collection, such as installations waiting to be scheduled.

  • Reports analyze records.

  • Dashboards present results through charts and other components.

These are different ways of working with shared data. A salesperson might open an Opportunity to update its expected close date, while a manager sees that same Opportunity in a pipeline report. Creating another app or view does not require creating another copy of the deal.

Customizing the user experience

Administrators can adapt apps and pages to the teams using them. With Lightning App Builder and page layouts, they can arrange components, fields, related lists, and actions. Dynamic Forms adds control over the placement and conditional visibility of fields on supported record pages.

For the equipment company, the sales interface could emphasize commercial details, while the installation interface emphasizes dates, locations, and readiness. A screen Flow could guide a coordinator through scheduling an installation. Where standard components do not meet the need, developers can build custom interfaces using Lightning Web Components.

The interface helps people find information and perform actions. Data access still needs its own permissions: hiding a field on a page does not secure the information behind it.

Adding business logic and automation

Defining business rules

Business rules define which conditions a process must respect. A field can be required for every record, or a condition can make it required only at a particular stage. Salesforce’s validation rules evaluate conditions when a record is saved and can prevent the save with an explanatory error message.

The equipment company might require a Delivery Location before an Opportunity can become Closed Won. Another rule could prevent an installation’s completion date from preceding its start date. These checks turn agreed business conditions into behavior the system enforces, including on data submitted through integrations.

More involved logic can be implemented through Flow or Apex. The important starting point is the condition to enforce: what must be true, when it must be checked, and what should happen if it is not.

Automating business processes

Automation carries out actions when defined conditions are met. When an Opportunity first becomes Closed Won, the equipment company could automatically create an Installation record and assign a preparation task to the coordinator. The business event, the required information, and the resulting work are connected.

Flow and Apex provide complementary ways to implement this behavior.

  • Flow lets teams build processes visually, including automation triggered by record changes, scheduled work, and guided screens.

  • Apex is Salesforce’s programming language and supports custom logic where the requirements call for code.

A Flow can also invoke Apex for a particular operation.

The choice depends on the behavior, scale, and maintenance needs. In either approach, the team needs to account for exceptions. If someone reopens and closes the Opportunity again, should the process reuse the existing Installation? That decision belongs in the design before automation creates duplicate work.

Extending salesforce with products

From platform to business products

The platform supplies the shared foundation: data structures, interfaces, security, and tools for logic and automation. Products add capabilities organized around particular business needs. A product is therefore more than an app in the navigation menu; it brings a set of features that teams can use and adapt.

Sales Cloud supports sales work such as managing leads, Opportunities, and the pipeline. Service Cloud supports customer service through capabilities such as Case management and service workspaces. Both use shared platform components. In an org using both, sales Opportunities and support Cases can refer to the same Account, connecting the commercial relationship with the customer’s support history. Salesforce’s product overview explains the distinction between sales and service capabilities; availability depends on the products and licenses purchased.

Combining standard features and custom solutions

Each product provides prebuilt capabilities that a business can configure, extend, or combine with its own solutions. The equipment company might use standard sales and service features alongside its custom Installation object, scheduling interface, and handoff automation. Another company using the same products might organize everything around subscriptions and renewals, with different fields, pages, rules, and integrations. The product provides a starting point; the company’s configuration determines how that starting point supports its work. Two businesses with the same Salesforce products can therefore have very different orgs.

Connecting and managing your salesforce org

A Salesforce org is a particular Salesforce environment containing its configuration, records, and users. Its processes can also extend into other systems.

Integrations

  • Salesforce APIs allow authorized applications to read and write records. For example, an integration could send the equipment company’s completed sale to an accounting system and return an invoice reference.

  • The integration needs agreed identifiers, field mappings, timing, and failure handling so both systems interpret the exchange consistently.

Access

Access determines who can use each part of the solution.

  • Licenses establish which capabilities can be available to a user.

  • Permissions, managed through profiles and permission sets, govern actions and access to objects and fields.

  • Sharing controls access to individual records.

An installation coordinator may need customer and installation details without access to every commercial field. These controls work across apps; an app’s navigation alone does not define access.

Environments

Teams also need somewhere to build and test changes before releasing them.

  • Production is the org used for live business work.

  • Sandboxes provide separate environments copied from production’s configuration, with different amounts of business data depending on the sandbox type.

Teams can test the installation automation there, using representative records and permissions, before deploying it to production. Deployment moves the selected configuration or code changes; it does not automatically merge the sandbox’s business records into the live org.

Salesforce provides standard components that businesses can assemble and customize. In the equipment example, customer and sales data support an installation process, pages make the work accessible, rules check its conditions, and automation moves it forward. Products supply ready-made capabilities, while integrations and access controls connect the wider solution.

Before changing a component, trace what depends on it. A field may appear on several pages, feed an integration, and determine whether a Flow runs. Understanding those relationships makes it easier to assess the effect of a change and test the business process it supports.