The sales data model
Lead, Account, Contact, Opportunity and Campaign: what each represents, how lead conversion joins them, and the B2B vs B2C (person account) choice that shapes everything after.
Simple explanation
Sales Cloud rests on five standard objects. Most design mistakes come from using one of them for another's job.
- Lead: an unqualified person or company that showed interest. It is deliberately standalone, with no account and no contact, so junk never pollutes your customer records.
- Account: an organisation you sell to (B2B) or, with person accounts, an individual (B2C). Accounts form hierarchies through
ParentId, for example group β subsidiary β site. - Contact: a person at an account. With Contacts to Multiple Accounts, one contact can relate to several accounts (
AccountContactRelation) while keeping one primary account. - Opportunity: a potential deal with an amount, a close date and a stage. It belongs to one account. People on the buying side are linked through Opportunity Contact Roles.
- Campaign: a marketing initiative. Campaign members (leads or contacts) and the opportunity's primary campaign give campaign influence: which marketing contributed to which revenue.
Lead conversion is where the model joins up. One click turns a qualified lead into an account + contact and, optionally, an opportunity. It matches existing records instead of creating duplicates, copies mapped custom fields, and leaves the lead read-only as history.
Real-world analogy
A wedding planner's business.
- A lead is an enquiry form: "we might get married next summer". You don't open a client file for every enquiry.
- When the couple books a consultation, you convert: you create the client file (account), the people in it (contacts) and a proposal for this wedding (opportunity).
- The couple may book again for an anniversary party: same account, new opportunity.
- The wedding fair where they first heard of you is the campaign.
Worked example
A B2B software company with a partner-led and direct motion.
- A visitor downloads a whitepaper. A Lead is created with
LeadSource = Weband added to the Q3 whitepaper campaign. - Marketing nurtures and scores it. An SDR qualifies it in a call and converts it.
- Conversion finds that Acme Ltd already exists, so it links to that account, creates a contact, and creates an opportunity Acme β Analytics expansion, with the whitepaper campaign as the primary campaign source.
- The AE adds two more buyers as contact roles (economic buyer, technical evaluator) and works the deal through the stages.
- At quarter end, campaign influence reports show the whitepaper campaign touched this closed-won deal.
Diagram
Key points
- Leads are standalone and unqualified by design. Accounts, contacts and opportunities are the qualified customer model.
- Lead conversion creates or matches account and contact, optionally creates an opportunity, maps custom fields, and makes the lead read-only.
- Person accounts model individuals (B2C) as an account and contact in one. Enabling them is permanent and affects integrations, reports and code.
- Account hierarchies (
ParentId) model groups and subsidiaries. Contacts to Multiple Accounts models people who work with several accounts. - Opportunity Contact Roles say who is involved in a deal and how. They feed campaign influence, buying-committee analysis and AI agents.
- Some businesses skip leads and create contacts directly (account-based selling). Choose deliberately and document the funnel definitions.
Limits and gotchas
- Person accounts can't be switched off once enabled. Each person account behaves as an account and a contact, which affects storage, reports and code that assumes
Contact.AccountIdpoints at a business account β verify current storage behaviour. - Lead field mapping must be maintained. A new custom field on Lead that isn't mapped is silently lost at conversion.
- Converted leads are read-only and hidden from most views, but they still count towards storage and duplicates. Plan an archive policy for old leads.
- Opportunity without contact roles is common and damaging: campaign influence, buying-committee analysis and AI deal insights all depend on them. Consider requiring a primary contact role at a certain stage.
- Account hierarchies used for roll-ups need care: standard roll-up summaries don't traverse
ParentId, so totals across a group need Flow, Apex, data processing or analytics.
π€ How to say this in an interview
"I start with funnel definitions: what is a lead, when does it become an opportunity, and do we sell to companies, people or both. That decides whether leads are used at all, whether we need person accounts, and how conversion maps. I keep leads standalone so unqualified data never touches the customer model, I insist on contact roles on opportunities because forecasting, attribution and AI all need them, and I model groups with account hierarchies plus a clear roll-up approach."
Common follow-ups
When would you not use the Lead object at all?
In account-based selling where the target accounts are known and most new contacts are added to existing accounts by sellers. Creating leads there just adds a conversion step and duplicates. Contacts are created directly and campaigns still track engagement. You still need a home for genuinely unknown inbound interest, so many orgs use leads for inbound only.
A client sells to both businesses and consumers. How do you model accounts?
Enable person accounts for consumers and keep business accounts with contacts for companies, with record types to separate them. Before enabling, check every integration, AppExchange package and piece of code that assumes Contact.AccountId is a business account, because enabling is permanent. If B2C is small and simple, a single 'household' or individual business account pattern can avoid person accounts, at the cost of a less natural model.