Salesforce Admin Interview Questions and Answers

Find 100+ Salesforce Admin interview questions and answers to assess candidates' skills in configuration, automation, security, workflows, and Salesforce CRM management.
By
WeCP Team

As organizations increasingly depend on Salesforce to manage customer relationships and automate business processes, recruiters must identify Salesforce Admins who can configure, maintain, and optimize Salesforce environments. With expertise in user management, security controls, automation tools, and data management, Salesforce Admins ensure smooth CRM operations across teams.

This resource, "100+ Salesforce Admin Interview Questions and Answers," is tailored for recruiters to simplify the evaluation process. It covers a wide range of topics—from Salesforce fundamentals to advanced administration, including flows, security models, reports, dashboards, and org maintenance.

Whether you're hiring Salesforce Administrators, CRM Specialists, or Salesforce Operations Managers, this guide enables you to assess a candidate’s:

  • Core Salesforce Knowledge: Objects, fields, page layouts, record types, validation rules, formula fields, and data model relationships.
  • Advanced Skills: Flow automation, assignment rules, security administration (profiles, permission sets, sharing rules), data imports, and duplicate management.
  • Real-World Proficiency: Managing users and permissions, building reports and dashboards, maintaining data hygiene, troubleshooting issues, and supporting cross-functional Salesforce operations.

For a streamlined assessment process, consider platforms like WeCP, which allow you to:

  • Create customized Salesforce Admin assessments tailored to operational or enterprise environments.
  • Include hands-on tasks such as building flows, setting up permission models, or configuring page layouts.
  • Proctor exams remotely while ensuring integrity.
  • Evaluate results with AI-driven analysis for faster, more accurate decision-making.

Save time, enhance your hiring process, and confidently hire Salesforce Admins who can maintain, optimize, and scale your Salesforce org from day one.

Salesforce Admin Interview Questions

Salesforce Admin – Beginner (1–40)

  1. What is Salesforce?
  2. What is a Salesforce Admin?
  3. What is an object in Salesforce?
  4. What is a record in Salesforce?
  5. What are standard objects? Give examples.
  6. What are custom objects?
  7. What is a field in Salesforce?
  8. What is a formula field?
  9. What is a validation rule?
  10. What is a page layout?
  11. What is a profile?
  12. What are permission sets?
  13. What is a role in Salesforce?
  14. What is a role hierarchy?
  15. What is an app in Salesforce?
  16. What are tabs in Salesforce?
  17. What is a report?
  18. What is a dashboard?
  19. What is a list view?
  20. What is Data Import Wizard?
  21. What is Data Loader?
  22. What is the difference between Data Import Wizard and Data Loader?
  23. What are record types?
  24. What is a workflow rule?
  25. What actions can workflow rules perform?
  26. What is an email alert?
  27. What is a time-dependent workflow?
  28. What is Chatter?
  29. What is the recycle bin?
  30. What is a lookup relationship?
  31. What is a master-detail relationship?
  32. What is a junction object?
  33. What is schema builder?
  34. What is a sandbox in Salesforce?
  35. What is a custom app?
  36. What is a report type?
  37. What is a static resource?
  38. What are Salesforce editions?
  39. What is field-level security?
  40. What is organization-wide default (OWD)?

Salesforce Admin – Intermediate (1–40)

  1. Explain the difference between profiles and roles.
  2. What are sharing rules?
  3. What is manual sharing?
  4. What is field history tracking?
  5. What are dependent picklists?
  6. What are global picklists?
  7. What are record-level security methods?
  8. What is the difference between workflow and Process Builder?
  9. What is Process Builder?
  10. What is Flow (Lightning Flow)?
  11. What types of flows exist?
  12. What are approval processes?
  13. What are queues in Salesforce?
  14. What is assignment rule?
  15. What is auto-response rule?
  16. What is territory management?
  17. Explain the difference between standard and custom reports.
  18. What are bucket fields in reports?
  19. What are joined reports?
  20. What are dynamic dashboards?
  21. What is a permission set group?
  22. What is login IP range?
  23. What is login hours?
  24. What is a profile-based login restriction?
  25. What are external objects?
  26. What is Salesforce Connect?
  27. What is a big object?
  28. What is record locking?
  29. What is the difference between master-detail and lookup?
  30. What is schema relationship diagram?
  31. What are optimistic and pessimistic locking?
  32. What is Duplicate Management in Salesforce?
  33. What are matching rules?
  34. What are duplicate rules?
  35. What is the difference between full sandbox and partial sandbox?
  36. What is change set?
  37. What is the difference between inbound and outbound change set?
  38. What is a custom metadata type?
  39. What is a custom setting?
  40. What are publish–subscribe events in Salesforce?

Salesforce Admin – Experienced (1–40)

  1. Explain the full Salesforce security model end-to-end.
  2. How do you design scalable sharing rules?
  3. How do you troubleshoot performance issues in Salesforce?
  4. Explain the difference between Classic and Lightning architecture.
  5. How do you implement Lightning Experience migration?
  6. What is the Salesforce Data Architecture?
  7. What is the difference between Salesforce Shield Encryption and Platform Encryption?
  8. How do you design data archival in Salesforce?
  9. What is Salesforce Governor Limits?
  10. How do you avoid hitting governor limits in automation?
  11. How do you debug complex flows?
  12. How do you choose between Flow, Apex, and Process Builder?
  13. Explain the Transaction Order of Execution.
  14. How do you handle recursive triggers with automation?
  15. What is Salesforce API? What types exist?
  16. How do you integrate external systems without code?
  17. What are External Services?
  18. What is Event Monitoring?
  19. How do you optimize record types and page layouts for performance?
  20. How do you implement multi-currency?
  21. How do you implement multi-language?
  22. Explain the difference between person accounts and business accounts.
  23. What is Salesforce Identity?
  24. What is SSO in Salesforce?
  25. What is OAuth flow?
  26. What are Login Flows?
  27. What is an Enterprise Territory Management (ETM)?
  28. How do you do data deduplication at scale?
  29. How do you migrate metadata using ANT or SFDX?
  30. How do you troubleshoot deployment failures?
  31. What is Salesforce DevOps Center?
  32. What are sandboxes refresh strategies?
  33. Explain large-data-volume (LDV) strategies.
  34. How do you manage millions of records in Salesforce?
  35. How do you handle API rate limits?
  36. What is the difference between asynchronous and synchronous operations?
  37. Explain platform events vs. CDC events vs. streams.
  38. How do you plan a Salesforce org consolidation?
  39. How do you implement GDPR compliance?
  40. How do you design a scalable Salesforce architecture for enterprise clients?

Salesforce Admin Interview Questions and Answers

Beginner (Q&A)

1. What is Salesforce?

Salesforce is a cloud-based Customer Relationship Management (CRM) platform that helps organizations manage their sales, service, marketing, and business operations from a single centralized system. Unlike traditional on-premise CRM solutions, Salesforce is delivered entirely through the cloud, meaning companies don’t need to install hardware, maintain servers, or worry about system upkeep. This allows businesses of all sizes—from startups to global enterprises—to scale quickly and access their data anytime, anywhere, on any device.

The power of Salesforce lies in its ability to streamline customer interactions across multiple touchpoints. It provides features such as lead management, opportunity tracking, case resolution, workflow automation, analytics, and AI-driven insights through tools like Einstein. Additionally, Salesforce is highly customizable, offering declarative (point-and-click) and programmatic (code-based) customization options. Its AppExchange marketplace further expands capabilities with thousands of pre-built applications. Overall, Salesforce helps organizations increase productivity, improve customer experiences, and drive revenue growth efficiently.

2. What is a Salesforce Admin?

A Salesforce Admin is a professional responsible for managing, customizing, and maintaining an organization’s Salesforce environment. They act as the bridge between business needs and the Salesforce platform. Admins work closely with stakeholders to understand business processes and then configure Salesforce accordingly using tools like workflows, page layouts, record types, fields, flows, and security controls.

A Salesforce Admin ensures users have the right access, keeps data clean and secure, creates reports and dashboards, and implements automation to improve productivity. They also provide user support, troubleshoot issues, train new users, and continuously improve the CRM experience. While they typically do not write code, Admins use powerful declarative tools to build scalable solutions. In many companies, Salesforce Admins are essential for driving CRM adoption, optimizing business processes, and ensuring the success of the Salesforce system.

3. What is an object in Salesforce?

An object in Salesforce is a database table that stores specific types of information. Each object contains a set of fields and records that represent business data. Salesforce provides two types of objects: standard objects, which are predefined by Salesforce, and custom objects, created by administrators to support unique business needs.

Objects help structure data logically. For example, the Account object stores company information, while the Contact object stores customer or client details. Objects can also be linked to each other using relationships such as lookup and master-detail, allowing Salesforce to model complex business processes. In essence, objects are the core building blocks of Salesforce’s data model, and everything in Salesforce revolves around storing, retrieving, and managing data inside objects.

4. What is a record in Salesforce?

A record is a single instance or row of data stored within an object. If an object represents a table, then a record represents one entry in that table. For example, if the Account object stores companies, then each company—like “Google” or “Microsoft”—is a record. Similarly, each customer inside the Contact object is also a record.

Records contain values for each field defined in the object. Users can create, view, edit, delete, or update records based on their permissions. Records also support security features like sharing rules and field-level access, ensuring the right users see the right information. Additionally, records often have related lists that show connected data such as activities, notes, opportunities, or cases. In short, records represent real business data captured and maintained within Salesforce.

5. What are standard objects? Give examples.

Standard objects are pre-built objects provided out of the box by Salesforce. They come with predefined fields, layouts, and relationships designed to support common CRM processes. Standard objects are available in every Salesforce org and form the foundation of the platform’s data model.

Examples of standard objects include:

  • Account: Represents a company or organization.
  • Contact: Stores information about individuals associated with Accounts.
  • Lead: Represents potential customers.
  • Opportunity: Tracks deals and revenue.
  • Case: Used for customer support and issue management.
  • User: Represents system users.
  • Product, Pricebook, Campaign, Contract, and many more.

Standard objects save time because organizations don’t need to build common data structures from scratch. They can be customized extensively to fit business requirements.

6. What are custom objects?

Custom objects are objects created by Salesforce Admins to store data that is unique to a company’s business processes. When standard objects don’t meet requirements, custom objects allow teams to model new data types. For example, a training company may create a custom object called Course or Student Enrollment.

Custom objects can include:

  • Custom fields
  • Page layouts
  • Validation rules
  • Record types
  • Custom relationships
  • Workflows, flows, and automation

They can also appear in reports, dashboards, and apps. Custom objects provide a high level of flexibility and are essential for tailoring Salesforce to specific organizational needs. Each custom object also includes the special “__c” suffix (for example: Course__c).

7. What is a field in Salesforce?

A field in Salesforce is a specific piece of data stored within an object. If an object is a table and a record is a row, then a field is a column. Fields define the type of information stored inside a record. For example, an Account might have fields like Account Name, Phone, Industry, or Annual Revenue.

Salesforce supports many field types, such as:

  • Text
  • Number
  • Date
  • Checkbox
  • Picklist
  • Lookup relationship
  • Formula
  • Currency
  • Email
  • Geolocation

Fields can be standard or custom, and their visibility is controlled through profiles and field-level security. Fields are crucial for structuring information and enabling reporting, automation, and validation across Salesforce.

8. What is a formula field?

A formula field is a read-only field that dynamically calculates value based on other fields, expressions, or business logic. Formula fields update automatically whenever the referenced data changes, ensuring accuracy and reducing manual data entry.

Formula fields can perform:

  • Mathematical calculations (e.g., Total Price = Quantity × Unit Price)
  • Text manipulations
  • Logical evaluations
  • Date calculations
  • Cross-object references

For example, a formula field can display the number of days since a case was opened or concatenate a contact’s first and last name. Formula fields ensure consistency and automate calculations without writing code.

9. What is a validation rule?

A validation rule enforces data quality by preventing users from saving invalid or incomplete information. It uses a logical formula that evaluates to true or false. If the formula returns true, Salesforce stops the record from being saved and displays a custom error message.

Validation rules are useful for ensuring business standards such as:

  • Phone number must contain 10 digits
  • Opportunity amount cannot be negative
  • Close date cannot be in the past
  • Email must be in correct format

For example, a validation rule that enforces required fields only when a record reaches a specific stage prevents bad data from entering the system. This improves reporting accuracy, automation reliability, and overall data integrity.

10. What is a page layout?

A page layout controls the structure and arrangement of fields, buttons, related lists, and sections displayed on a record’s detail page. It determines what users see and how they interact with records.

Page layouts help Admins:

  • Organize fields logically
  • Show or hide fields based on profile
  • Add custom buttons or actions
  • Arrange sections for readability
  • Include related lists like activities, files, or tasks

Using profiles, Admins can assign different page layouts to different teams. For example, the Sales team may see Opportunity fields like Probability and Forecast Category, while the Support team may see Case Details and Case Owner. Page layouts improve user experience by providing a clean, role-specific interface.

11. What is a profile?

A profile in Salesforce is a fundamental security component that determines what a user can do within the system. Profiles control a user’s permissions, access to objects and fields, app access, tab visibility, and administrative capabilities. Every user must be assigned exactly one profile, making it the baseline of Salesforce security.

Profiles define:

  • Object permissions (Create, Read, Edit, Delete)
  • Field-level security (visible or read-only)
  • Tab settings (Default On, Off, or Hidden)
  • App access
  • Record type access
  • Login hours and IP restrictions
  • Page layout assignments

For example, a Sales Profile may allow users to create and edit Opportunities, whereas a Support Profile may only allow working with Cases. Profiles help ensure users access only what they need, maintaining data protection, compliance, and efficient workflow across the organization.

12. What are permission sets?

Permission Sets are additional security tools used to extend user permissions without changing their profiles. Unlike profiles, which assign a baseline level of access, permission sets offer flexible, incremental permissions on top of that.

Use cases for permission sets include:

  • Granting temporary access to a feature (e.g., a new app)
  • Providing special access to specific users (e.g., “Can Edit Campaigns”)
  • Assigning permissions during pilot testing
  • Reducing the need for creating too many profiles

Key features of permission sets:

  • A user can have multiple permission sets.
  • They can assign access to objects, fields, apps, Apex classes, page layouts, and system permissions.
  • They follow a “least privilege” model, ensuring no unnecessary access is given.

Permission sets make security scalable and reduce administrative complexity, especially in large organizations.

13. What is a role in Salesforce?

A role in Salesforce determines what records a user can see within the organization’s data hierarchy. While profiles control what actions users can take (CRUD permissions), roles control data visibility.

Roles are used to:

  • Define the Record-Level Security
  • Grant access to records using role hierarchy
  • Enable managers to view subordinates’ data
  • Support enterprise-wide sharing models

For example, if a Sales Manager has a role above Sales Representatives, the manager can automatically see all opportunities owned by their team members. Roles do not control what actions can be taken—only what records are visible.

Roles help organizations structure access according to job functions while maintaining data confidentiality.

14. What is a role hierarchy?

A role hierarchy is an ordered structure that defines how record access rolls up through the organization. It mimics a company’s reporting structure and ensures that users at higher levels can access the same records as those below them.

Key principles:

  • Higher roles inherit access from lower roles.
  • Hierarchy is used for record visibility, not permissions.
  • It works with sharing rules and org-wide defaults (OWD).
  • It helps managers monitor team activity and performance.

Example structure:

  • VP of Sales
    ↳ Regional Manager
    ↳ Sales Manager
    ↳ Sales Rep

If OWD is set to Private, a Sales Manager can still see all records of Sales Reps reporting under them. Role hierarchy supports transparency and collaboration while maintaining controlled visibility.

15. What is an app in Salesforce?

An app in Salesforce is a collection of tabs, objects, and functionalities bundled together to support a specific business process. Apps create a focused workspace so users access only the tools they need.

Salesforce supports two types of apps:

  1. Standard Apps (e.g., Sales, Service, Marketing)
  2. Custom Apps (created by admins to support unique workflows)

An app can contain:

  • Standard or custom objects
  • Tabs
  • Dashboards and reports
  • Branding (name, logo, color)
  • Navigation items

For example, a “Recruitment App” may include objects like Candidates, Job Postings, and Interviews. Apps improve usability by providing a tailored interface for different teams or departments.

16. What are tabs in Salesforce?

Tabs in Salesforce act as navigation buttons that allow users to access objects, Visualforce pages, Lightning pages, or external content. They serve as entry points to the primary features within an app.

Types of tabs:

  • Object Tabs (standard and custom objects)
  • Web Tabs (URLs displayed inside Salesforce)
  • Visualforce Tabs (custom Visualforce applications)
  • Lightning Page Tabs (custom Lightning app pages)

Tabs allow users to easily explore and manage records, such as Accounts, Opportunities, Leads, Cases, or any custom object. Admins can control tab visibility through profiles and permission sets, ensuring users see only relevant tabs.

17. What is a report?

A report in Salesforce is a formatted, structured way of retrieving and analyzing data from Salesforce objects. Reports help users make data-driven decisions by presenting meaningful insights through filters, grouping, and summary information.

Key characteristics:

  • Built on report types
  • Use filters to refine data
  • Allow grouping and summarization
  • Support charts for visualization
  • Can be scheduled for automated delivery

Report formats include:

  • Tabular
  • Summary
  • Matrix
  • Joined

Reports help answer questions like:

  • “How many leads were created this month?”
  • “What is the pipeline revenue for this quarter?”
  • “Which cases are still open?”

Reports are essential for monitoring performance across sales, service, and operations teams.

18. What is a dashboard?

A dashboard is a visual representation of one or more Salesforce reports, displayed using charts, gauges, tables, and graphs. Dashboards help users quickly understand key metrics, trends, and performance indicators.

Dashboard features:

  • Can contain up to 20 components
  • Components are powered by underlying reports
  • Can show KPIs using charts, gauges, metrics
  • Support different views for different roles (Dynamic dashboards)
  • Refresh can be scheduled or manual

Dashboards are used for:

  • Tracking sales pipeline
  • Monitoring service performance (e.g., open cases)
  • Viewing marketing campaign results
  • Showing business KPIs in real time

Dashboards turn raw data into clear insights that help leaders make informed decisions.

19. What is a list view?

A list view is a customizable, filterable display of records belonging to a specific object, such as Accounts or Opportunities. It allows users to quickly view, search, and manage records that match specific criteria.

List view capabilities:

  • Filter records using multiple conditions
  • Edit records directly using inline editing
  • Show or hide selected fields
  • Use charts for visual representation
  • Share list views with users, roles, or the entire org

Example list views:

  • “My Opportunities Closing This Month”
  • “High-Priority Open Cases”
  • “Leads Owned by Me”

List views improve productivity by enabling users to focus on the records most relevant to their work.

20. What is Data Import Wizard?

Data Import Wizard is a user-friendly Salesforce tool that allows non-technical users to import small to medium amounts of data (up to 50,000 records) into Salesforce without using external tools.

It supports both standard and custom objects such as:

  • Accounts
  • Contacts
  • Leads
  • Solutions
  • Campaign Members
  • Custom objects

Key features:

  • Runs completely through a browser
  • Provides step-by-step import guidance
  • Supports CSV file uploads
  • Automatically maps fields, with options to adjust mappings
  • Offers options to prevent duplicate records
  • Does not require installation

Data Import Wizard is ideal for smaller imports, one-time data loads, and users who want an easy, guided import process.

21. What is Data Loader?

Data Loader is a powerful client-based tool provided by Salesforce that allows administrators and advanced users to insert, update, upsert, delete, and export large volumes of data. Unlike Data Import Wizard, Data Loader is designed for high-volume data operations and supports up to 5 million records in a single load (depending on the org’s limits).

Key features of Data Loader:

  • Works with CSV files for all import/export operations
  • Allows bulk operations like insert, update, delete, upsert, and hard delete
  • Offers a GUI interface as well as a command-line interface for automation
  • Provides error files for failed records with detailed messages
  • Supports all Salesforce objects, including custom objects
  • Offers robust field mapping control
  • Enables scheduled jobs via command-line

Data Loader is typically used by admins, data analysts, or developers during migrations, integrations, cleanups, or large-scale record operations. It is ideal for scenarios where data accuracy, volume, and control are top priorities.

22. What is the difference between Data Import Wizard and Data Loader?

FeatureData Import WizardData LoaderData VolumeUp to 50,000 recordsUp to 5 million+ recordsInstallationNo installation (browser-based)Requires installationEase of UseEasy, user-friendlyMore advanced; technical usersObjects SupportedLimited standard + all custom objectsAll objects (standard + custom)OperationsInsert & UpdateInsert, Update, Upsert, Delete, Hard Delete, ExportAutomationNo schedulingSupports command-line automationError HandlingBasicDetailed logs & error files

In summary:

  • Use Data Import Wizard for smaller, simpler imports.
  • Use Data Loader for large-scale, complex, or automated data operations.

23. What are record types?

Record types in Salesforce allow organizations to offer different business processes, page layouts, and picklist values to different users based on their profiles.

Record types are used when:

  • Different teams follow different processes
  • Need different picklist values for different users
  • Want separate page layouts for job functions
  • Need to categorize records more accurately

Example use cases:

  • Sales Team A uses "Online Sales Process"
  • Sales Team B uses "Direct Sales Process"
  • Support team uses a “Case Escalation” process
  • Leads may have different picklist values for industries or sources

Record types enhance flexibility and ensure users interact with Salesforce in a way that best fits their role and workflow.

24. What is a workflow rule?

A workflow rule is an automation tool in Salesforce that triggers immediate or time-based actions when certain conditions are met. Workflow rules help streamline routine tasks, reduce manual work, and enforce consistent business processes.

Every workflow rule consists of:

  1. Criteria — Conditions to check (e.g., “Opportunity Stage = Closed Won”)
  2. Actions — What Salesforce should do if the criteria is met

Workflow rules support automation such as sending notifications, updating fields, or creating tasks. Although Salesforce encourages the use of Flows for modern automation, workflow rules remain widely used in many orgs.

25. What actions can workflow rules perform?

Workflow rules can perform four types of actions:

1. Field Update

Automatically update a field value.
Example: Update Opportunity “Probability” when Stage changes.

2. Email Alert

Send an automated email to users, contacts, or any email address.

3. Task Creation

Automatically create a task for a user or queue.
Example: Create a follow-up task when a new lead is created.

4. Outbound Message

Send a message to an external system’s API endpoint.
Example: Notify an external billing system when a case is closed.

Workflow rules support immediate actions and time-dependent actions, allowing tasks to be triggered instantly or in the future.

26. What is an email alert?

An email alert is an automated email sent by Salesforce as part of a workflow rule, process builder, or flow. It uses predefined email templates and can be sent to users, roles, public groups, contact emails, or any external email address.

Components of an email alert:

  • Email template (HTML, text, or custom)
  • Recipient list (users, roles, contacts, etc.)
  • Trigger (workflow, approval process, flow)

Typical uses:

  • Notify managers when deals close
  • Send customers updates when cases change status
  • Send onboarding messages to new employees
  • Alert sales reps when leads are assigned

Email alerts ensure communication happens automatically and consistently across business processes.

27. What is a time-dependent workflow?

A time-dependent workflow is a workflow action that executes at a scheduled time relative to a date field. Instead of firing immediately, Salesforce waits for the specified time and then performs the action.

Example scenarios:

  • Send follow-up email 5 days after a lead is created
  • Close case automatically if no activity within 48 hours
  • Send renewal reminder 30 days before contract end date

Conditions for time-dependent workflows:

  • Must include a date field
  • Time triggers are stored in a time-based workflow queue
  • Still pending actions get cancelled if workflow criteria no longer match

Time-dependent workflows help automate reminders, follow-ups, escalations, and deadline-based processes.

28. What is Chatter?

Chatter is Salesforce’s enterprise social networking and collaboration platform. It allows employees to communicate, share updates, collaborate on records, and work together in real-time.

Key capabilities of Chatter:

  • Post updates, comments, and announcements
  • Follow people, records, and groups
  • Share files, links, and documents
  • Collaborate within groups (public or private)
  • Receive notifications for important updates

Chatter helps improve team communication by reducing email dependency and centralizing information. It promotes transparency, improves collaboration, and aligns teams across sales, service, HR, and operations.

29. What is the recycle bin?

The recycle bin in Salesforce temporarily stores deleted records so they can be restored if needed. It acts as a safeguard against accidental deletions.

Key details:

  • Deleted records remain for 15 days (default)
  • Users can restore personal deleted records
  • Admins can restore any deleted record
  • Storage limits apply:
    • Up to 25× storage of org
  • Supports undeleting:
    • Accounts, Contacts, Leads, Opportunities
    • Custom object records
    • Many standard objects

If the related parent record is deleted, restoring may also restore children depending on relationships. Recycle bin ensures data safety and supports easy recovery without needing backups.

30. What is a lookup relationship?

A lookup relationship in Salesforce creates a loose, flexible association between two objects. It is similar to a “foreign key” relationship in databases but without strict dependency.

Key characteristics:

  • Child record may or may not require a parent
  • Deleting the parent does not delete the child
  • Can link one object to another object (standard or custom)
  • Supports one-to-one and one-to-many relationships
  • Offers optional features like lookup filters

Examples:

  • A Contact lookup to Account
  • A custom object “Invoice” may look up to “Customer”
  • A “Project Task” lookup to “Project”

Lookup relationships are used when objects are related but do not depend on each other for existence.

31. What is a master-detail relationship?

A master-detail relationship is a tightly coupled, parent–child relationship between two Salesforce objects. In this relationship, the master (parent) controls certain behaviors of the detail (child). This model is used when dependent data must not exist without a parent record.

Key characteristics:

  • Ownership & Access:
    The detail record inherits the security and sharing settings of the master. Users who can access the master can automatically access its detail records.
  • Cascade Delete:
    If the master record is deleted, all related detail records are automatically deleted. This ensures complete data consistency.
  • Roll-Up Summary Fields:
    Available only for master-detail relationships. A roll-up summary field on the master can calculate:
    • COUNT of detail records
    • SUM of values
    • MIN/MAX of a field
      These are powerful for reporting and automation.
  • Mandatory Relationship:
    A detail record must have a master record to exist. The lookup field is required on the detail object.

Use cases:

  • Invoice (master) → Invoice Line Items (detail)
  • Course (master) → Student Enrollments (detail)
  • Account (master) → Account Assets (detail)

Master-detail relationships enforce stronger data integrity and are used when records are tightly connected.

32. What is a junction object?

A junction object is a custom object used to model a many-to-many relationship between two objects in Salesforce. Since Salesforce does not allow many-to-many relationships directly, admins create a junction object with two master-detail relationships.

How it works:

  • Object A ← Master-Detail → Junction Object ← Master-Detail → Object B
  • Each record in the junction object represents an association between Object A and Object B.

Example:

  • Object A: Students
  • Object B: Courses
  • Junction Object: Course Enrollments
    • One student can enroll in multiple courses
    • Each course can have multiple students

Junction objects are essential when data needs to be related in a flexible, interconnected way.

33. What is schema builder?

Schema Builder is a visual tool in Salesforce that allows admins to view, create, and modify objects and relationships using a drag-and-drop interface. It provides a graphical representation of the Salesforce data model.

Key capabilities:

  • Create custom objects
  • Add fields to objects
  • Define lookup and master-detail relationships
  • Visualize existing object relationships
  • Quickly understand the data architecture

Schema Builder simplifies database design and improves understanding of object interconnections, making it especially helpful during discovery, documentation, and development phases.

34. What is a sandbox in Salesforce?

A sandbox is a separate copy of your Salesforce environment used for development, testing, and training without affecting your live (production) data and configuration. Sandboxes help maintain system stability by isolating changes before deployment.

Types of Sandboxes:

  1. Developer Sandbox
    • Configuration-only
    • Used for coding and small tests
  2. Developer Pro Sandbox
    • More storage than Developer
    • Suitable for advanced testing
  3. Partial Copy Sandbox
    • Includes a subset of production data
    • Useful for testing with sample records
  4. Full Sandbox
    • Complete copy of production (data + metadata)
    • Used for performance testing, UAT, and staging

Benefits:

  • Safe testing environment
  • Experimentation without risk
  • Training environment for new users
  • Ability to validate deployments and integrations

Sandboxes ensure smooth development cycles and reduce the risk of breaking production.

35. What is a custom app?

A custom app in Salesforce is a tailored collection of objects, tabs, reports, dashboards, and utilities created to support specific business processes. Custom apps provide a focused, efficient workspace for users in different departments.

Custom apps include:

  • Navigation items
  • Logos and custom branding
  • Business-specific objects
  • Custom tabs, Lightning pages, or utilities

Examples:

  • Recruitment App (Applicants, Interviews, Job Posting)
  • Inventory Management App (Products, Stock Levels, Shipments)
  • Training App (Courses, Trainers, Scheduling)

Custom apps increase user productivity by providing only the features relevant to their role.

36. What is a report type?

A report type in Salesforce defines which objects and fields are available when building a report. It acts as the “data model” or “blueprint” for a report.

Types:

  1. Standard Report Types
    • Automatically created for standard objects and common relationships.
  2. Custom Report Types (CRT)
    • Created by admins to combine custom or complex object relationships.
    • Allows up to 4 levels of related objects.

Key features of Custom Report Types:

  • Define primary and secondary objects
  • Control which fields are available
  • Add special custom fields using report type formula

Example:

  • “Accounts with Opportunities”
  • “Students with or without Enrollments"
  • “Invoices with Line Items”

Report types give precise control over what data can be analyzed.

37. What is a static resource?

A static resource is a stored file in Salesforce that developers and admins can use in applications, pages, or custom components. It allows uploading files like images, JavaScript, CSS, ZIP files, and more.

Static resources are commonly used in:

  • Visualforce pages
  • Lightning components
  • Custom branding
  • Client-side scripts
  • Packaging apps for AppExchange

Benefits:

  • Supports versioning
  • Delivers optimized file access
  • Bundles multiple files in a single ZIP
  • Reduces dependence on external URLs

Static resources help maintain secure, efficient, and self-contained Salesforce applications.

38. What are Salesforce editions?

Salesforce editions are packaged versions of the platform offering different sets of features, capabilities, and pricing. Each edition provides varying levels of functionality based on business size and needs.

Common Salesforce Editions:

  1. Essentials
    • For small businesses
    • Basic sales and support features
  2. Professional
    • Larger teams
    • More customization but limited automation
  3. Enterprise
    • Most widely used
    • Advanced customization, automation, APIs
  4. Unlimited
    • Highest storage
    • 24/7 support
    • Full power for large enterprises
  5. Developer Edition
    • Free environment for developers
    • Full access for testing and learning

Different editions help organizations scale Salesforce capabilities based on budget and requirements.

39. What is field-level security?

Field-level security (FLS) controls which users can view or edit specific fields on objects. It is a critical component of Salesforce’s security model, protecting sensitive data like salary, social security numbers, or confidential information.

With FLS, admins can:

  • Hide fields from specific profiles
  • Make fields read-only
  • Restrict sensitive data visibility
  • Ensure compliance and data privacy

FLS works alongside:

  • Profiles
  • Permission sets
  • Page layouts

Even if a field appears on the page layout, FLS can still hide it completely. This ensures fine-grained control and maximum security.

40. What is organization-wide default (OWD)?

Organization-Wide Defaults (OWD) define the baseline level of access users have to records they do not own. It is the foundation of Salesforce’s record-level security model.

OWD settings include:

  • Private
    Only record owner and higher roles can see records
  • Public Read Only
    All users can view but not edit
  • Public Read/Write
    All users can view and edit
  • Controlled by Parent
    Child record access depends on the parent’s access
  • Public Full Access (certain objects like Campaigns)

OWD ensures data visibility is secure and consistent across the organization. Additional tools like roles, sharing rules, and manual sharing build on top of OWD.

Intermediate (Q&A)

1. Explain the difference between profiles and roles.

Profiles and roles are two fundamental components of Salesforce security, but they serve completely different purposes.

Profiles determine what a user can do in Salesforce.
They control permissions, such as:

  • Object permissions (Create, Read, Edit, Delete)
  • Field-level security
  • App and tab visibility
  • Record type access
  • Login IP ranges and hours
  • System permissions (e.g., “Modify All Data”)

Every user must have one profile. It defines what a user is allowed to do across the entire org.

Roles, on the other hand, determine what a user can see.
Roles control data visibility, allowing users higher in the hierarchy to view or access the records of users below them (if OWD is restrictive).

Key difference summary:

  • Profiles = Permissions (CRUD, FLS, apps)
  • Roles = Record Visibility (who sees whose data)

For example:
A Sales Rep and Sales Manager may have the same profile, but the manager has a higher role to see all team records.

2. What are sharing rules?

Sharing rules are automated rules that open up access to records beyond what OWD (organization-wide defaults) allow. They give additional access to specific groups of users based on:

  • Criteria (e.g., “Status = Approved”)
  • Ownership (e.g., “Records owned by Sales should be shared with Support”)

Sharing rules allow access in two ways:

  • Read-only access
  • Read/Write access

Sharing rules are used when:

  • Teams need access across departments
  • Certain records must be shared automatically
  • OWD is too restrictive (e.g., set to Private)

Sharing rules help balance security and collaboration across the organization.

3. What is manual sharing?

Manual sharing is a feature that allows users to share individual records with specific users, roles, or groups. This is helpful when an exception is needed that cannot be defined using roles or sharing rules.

Key points:

  • Available only if OWD is not “Public Read/Write”
  • Used for one-off, case-by-case sharing
  • Only the record owner, users above them in role hierarchy, or admins can manually share
  • Provides temporary or exception-based access

Manual sharing is commonly used when:

  • A user goes on leave and needs to share records temporarily
  • Sensitive records need access only by selected individuals
  • Ownership transfer is not desired

Manual sharing gives very granular control over record sharing.

4. What is field history tracking?

Field History Tracking allows Salesforce to automatically track changes made to specific fields on an object. Salesforce then stores a historical log showing:

  • Old value
  • New value
  • Who changed it
  • When it changed

You can track up to:

  • 20 fields per object (standard edition)
  • 60 fields per object (with Field Audit Trail add-on)

Common use cases:

  • Tracking pipeline changes on Opportunities
  • Monitoring status changes on Cases
  • Tracking updates to critical fields like email or phone numbers
  • Compliance and auditing requirements (SOX, GDPR, HIPAA)

Field history data appears in the “History” related list and is essential for transparency, debugging, and security auditing.

5. What are dependent picklists?

Dependent picklists allow the value selected in one picklist (the controlling field) to determine the available values in another picklist (the dependent field).

For example:

  • Controlling Field: Country
  • Dependent Field: State

If the country is “USA,” only U.S. states appear.
If the country is “India,” only Indian states appear.

Benefits:

  • Cleaner data entry
  • Reduced user input errors
  • More intuitive user experience

Controlling fields can be:

  • Standard picklists
  • Custom picklists
  • Checkboxes

Dependent picklists improve data quality by preventing invalid combinations.

6. What are global picklists?

Global picklists (also known as Global Value Sets) are master picklist value sets that can be shared across multiple picklist fields and objects in Salesforce.

Benefits:

  • Consistency: Same picklist values across objects
  • Central Management: Update values once; all fields inherit changes
  • Standardization: Prevents mismatched or duplicate picklist values
  • Ease of maintenance: No need to update individual picklist fields
  • Compliance: Ensures uniform reporting across objects

Example use case:

A company wants to use the same “Industry” picklist in:

  • Leads
  • Accounts
  • Opportunities
  • Custom objects

Using a global picklist ensures values remain synchronized and accurate across the org.

7. What are record-level security methods?

Record-level security in Salesforce determines which individual records a user can see and edit. Salesforce provides multiple layers of security that build on each other:

1. Organization-Wide Defaults (OWD)

Sets baseline access for all objects (Private, Read-Only, Read/Write).

2. Role Hierarchy

Gives managers access to records owned by subordinates.

3. Sharing Rules

Automatically share records based on ownership or criteria.

4. Manual Sharing

One-off sharing of a specific record.

5. Teams (Account Teams, Opportunity Teams, Case Teams)

Used for collaborating on specific records.

6. Apex Sharing (Programmatic Sharing)

Developers share records dynamically using code.

These combined methods ensure secure, controlled access to business data.

8. What is the difference between workflow and Process Builder?

Workflow Rules and Process Builder are both automation tools, but Process Builder is more advanced and flexible.

FeatureWorkflow RulesProcess BuilderActionsField Update, Email Alert, Task, Outbound MessageAll workflow actions + creating records, updating related records, launching flows, moreComplexitySimple automationMulti-step, multi-condition automationBranching LogicNoYes (If/Else branches)Related RecordsCannot update related recordsCan update any related recordFuture ProofLegacy toolPreferred until Flow replaced itSalesforce RecommendationUse only for simple needsWas recommended until Flow became primary

Today, Salesforce recommends using Flow instead of Workflow and Process Builder, as both are being phased out.

9. What is Process Builder?

Process Builder is an advanced point-and-click automation tool used to automate business processes through a graphical interface. It allows admins to build if-then workflows with multiple conditions and actions.

Process Builder can:

  • Create records
  • Update related records
  • Launch flows
  • Call Apex classes
  • Submit records for approval
  • Trigger email alerts
  • Post to Chatter

The graphical UI allows building complex automation with branching logic (multiple decision nodes).
However, Salesforce is moving toward Flow, which replaces Process Builder and Workflow Rules. No new enhancements are being made to Process Builder.

Process Builder is still widely used, but is now considered legacy automation.

10. What is Flow (Lightning Flow)?

Flow is Salesforce’s most powerful and modern automation tool. It is designed to replace Workflow Rules and Process Builder entirely. With Flow, admins can automate anything without writing code.

Flow supports two main tools:

1. Flow Builder

A visual tool to create flows.

2. Process Automation tools (runtime)

Where flows execute.

Types of Flows:

  • Record-Triggered Flow (most commonly used)
  • Scheduled Flow
  • Screen Flow (used in UI for wizards, forms, etc.)
  • Autolaunched Flow
  • Platform Event Flow

Flow allows:

  • Updating related records
  • Looping through lists of records
  • Calling Apex actions
  • Creating complex logic and branching
  • Integrating data from external systems
  • Building UI screens for user input

Flow is now the single recommended automation tool in Salesforce. It provides the power of Apex without requiring code and supports extremely complex business logic.

11. What types of flows exist?

Salesforce supports several types of flows that allow admins to automate processes without writing code. Each flow type is designed for specific use cases, from UI interactions to background automation.

Here are the main types of flows:

1. Record-Triggered Flow

Runs automatically when a record is created, updated, or deleted.

  • Most commonly used automation tool
  • Replaces Workflow and Process Builder
  • Used for updating related records, validation, auto-calculation, and more

2. Screen Flow

Interactive flow that presents screens to users.
Used for:

  • Guided wizards
  • Multi-step data entry forms
  • Customer interaction flows
  • Configurators (product selection, service requests)

Screen flows can be embedded in Lightning pages or utility bars.

3. Autolaunched Flow (No Trigger)

Runs in the background and must be invoked by:

  • Apex
  • Process Builder
  • Another flow
  • Buttons

Used for complex logic or reusable automation modules.

4. Scheduled Flow

Runs at a specific time or interval.
Used for:

  • Daily or weekly jobs
  • Scheduled updates
  • Task reminders
  • Batch-like automation

5. Platform Event-Triggered Flow

Triggered when a platform event message is received.
Used for:

  • Real-time integrations
  • External system triggers

6. Record-Triggered Orchestration

Used in Flow Orchestrator to handle multi-user, multi-step approval or collaboration processes.

7. Login Flow

Runs during user login to collect data or enforce requirements.
Used for:

  • MFA policies
  • Terms & Conditions
  • Security questions

Flows make Salesforce automation extremely powerful and flexible, serving both front-end and back-end automation needs.

12. What are approval processes?

An approval process in Salesforce is a structured workflow that automates the submission, review, and decision-making steps required for record approvals. It ensures consistent, controlled handling of requests that require authorization.

Key features of approval processes:

  • Multi-step, sequential approvals
  • Parallel or team approvals
  • Automatic assignment of approvers based on roles, queues, or managers
  • Email notifications at each step
  • Locking records during approval
  • Auto-actions like field updates, email alerts, and tasks

Common use cases:

  • Opportunity discount approval
  • Leave requests
  • Case escalation approval
  • Contract approval
  • Expense approvals

The approval process ensures accurate, compliant, and efficient approval flows across the organization while reducing manual communication.

13. What are queues in Salesforce?

Queues in Salesforce are used to prioritize, assign, and manage records waiting to be processed. They help distribute workload among teams. Users assigned to a queue can take ownership of records from the queue.

Queues are typically used for:

  • Leads
  • Cases
  • Custom objects

Key features:

  • Multiple users or roles may be added to a queue
  • Records remain unassigned until a user accepts them
  • Supports business processes where work needs to be picked up by the next available agent

Example:

A Sales Inquiry Queue can hold new Leads until a sales rep assigns one to themselves.

Queues improve collaboration, workload distribution, and ensure no records fall through the cracks.

14. What is assignment rule?

Assignment rules automatically assign records to the correct user or queue based on specific criteria. They are most commonly used in Lead and Case management.

Two types:

1. Lead Assignment Rule

Assigns leads to sales reps or queues based on:

  • Geography
  • Lead source
  • Product interest
  • Company size

2. Case Assignment Rule

Assigns cases to support reps or queues based on:

  • Issue type
  • Priority
  • Region
  • Customer tier

Benefits:

  • Reduces manual work
  • Ensures fair workload distribution
  • Ensures records go to the right person/team

Assignment rules streamline record routing, especially in large organizations.

15. What is auto-response rule?

Auto-response rules automatically send email responses to leads or cases based on predefined conditions.

Two main types:

1. Lead Auto-Response Rule

Example:
“Thank you for contacting us. A representative will reach out shortly.”

2. Case Auto-Response Rule

Example:
“We have received your support request. Your case number is #12345.”

Use cases:

  • Customer support acknowledgment
  • Lead confirmation emails
  • SLA communication
  • Personalized responses based on region or issue type

Auto-response rules improve customer experience by ensuring immediate communication.

16. What is territory management?

Territory Management in Salesforce helps organizations manage data access and assignment based on geography, product lines, account size, or industry instead of traditional role hierarchy.

It allows:

  • Assigning accounts to territories
  • Assigning users to territories
  • Multiple territories per account
  • Flexible sharing and visibility models

Enhanced Territory Management features:

  • Territory-based forecast
  • TerritoryHierarchies
  • Rules for account assignment
  • Reporting based on territories

Use cases:

  • Large enterprises managing sales by region
  • Product-specific sales teams
  • Multi-dimensional sales structures

Territory Management helps complex organizations align sales operations with business strategies.

17. Explain the difference between standard and custom reports.

Salesforce offers two types of reports:

Standard Reports

  • Pre-built by Salesforce
  • Based on standard objects like Leads, Accounts, Opportunities, Cases
  • Quick to use but limited in customization
  • Good for common CRM needs

Examples:

  • Accounts with Contacts
  • Opportunities with Products
  • Cases by Priority

Custom Reports

  • Built using Custom Report Types (CRT)
  • Allow linking of up to four related objects
  • Provide complete customization of fields and relationships
  • Tailored to complex business processes

Example:

  • Custom object “Projects” with related “Tasks” and “Expenses”
  • Leads with Campaign History filtered by industry

Custom reports are essential for advanced analytics and unique reporting requirements.

18. What are bucket fields in reports?

Bucket fields allow users to categorize report records without creating a new field on the object. This is done directly inside the report builder.

Example:
Bucket Opportunity Amount into categories:

  • Small: < $10,000
  • Medium: $10,000–$50,000
  • Large: > $50,000

Benefits:

  • No need to create formula or custom fields
  • Simplifies complex data categorization
  • Useful for grouping values like regions, stages, discounts, or priorities

Bucket fields improve reporting flexibility, especially during analysis or data exploration.

19. What are joined reports?

A joined report allows users to combine data from multiple report blocks using different report types into a single view. Each block can have its own filters, fields, and data sets.

Key features:

  • Up to 5 report blocks
  • Each block uses a different report type
  • Display combined data for deeper insights

Example use cases:

  • Compare “Leads vs Opportunities”
  • Show “Cases by Product and by Region”
  • Combine “Revenue Forecast” and “Actual Sales”

Joined reports enable cross-object or cross-department analysis that standard reports cannot provide.

20. What are dynamic dashboards?

Dynamic dashboards display data according to the logged-in user’s security and access levels. They are not tied to a single “running user,” making them ideal for role-based visibility.

Key features:

  • Each user sees data they have permission to view
  • Reduces need for multiple dashboards
  • Supports security-sensitive organizations
  • Can refresh manually or on schedule (if allowed)

Use cases:

  • Sales reps see only their opportunities
  • Managers see team-wide pipeline
  • Regional leaders see region-specific metrics

Dynamic dashboards improve data visibility while maintaining security and simplifying dashboard management.

21. What is a permission set group?

A Permission Set Group is a Salesforce feature that allows you to combine multiple permission sets into a single bundle. Instead of assigning multiple permission sets individually to a user, admins can assign one permission set group, simplifying user access management.

Key benefits:

  • Simplifies permission management – especially when users need a combination of capabilities that span multiple permission sets.
  • Avoids profile proliferation – instead of creating multiple profiles, admins can use a single profile and assign Permission Set Groups for specific access.
  • Muting Permissions – Permission Set Groups allow admins to “mute” specific permissions from included permission sets, giving even finer control over access.

Use cases:

  • A “Sales Power User” group that includes permissions from Lead Management, Opportunity Management, and Reporting.
  • A “Service Supervisor” group combining agent permissions + managerial privileges.

Permission Set Groups make permission administration scalable, modular, and easier to control in large or complex Salesforce orgs.

22. What is login IP range?

Login IP ranges are security restrictions set at the profile level that determine which IP addresses users can log in from. If a user attempts to access Salesforce from an unapproved IP address, Salesforce denies the login.

Key features:

  • Defined within Profiles.
  • Enforces strong network-level security.
  • Ensures users log in only from trusted locations (e.g., company office network).

Use cases:

  • Restricting access to corporate offices or VPNs.
  • Blocking access from risky or unknown locations.
  • Enforcing compliance or security policies.

If mobile or remote workers need access, admins can add their IP addresses to the allowed list.

23. What is login hours?

Login Hours are profile-level security settings that restrict when users can log into Salesforce. Outside of assigned hours, users cannot log in, and if they are already logged in, they are automatically logged out when the allowed period ends.

Typical use cases:

  • Restricting login to business hours (e.g., 9 AM–6 PM).
  • Enforcing security policies in support teams or call centers.
  • Preventing unauthorized access during non-working hours.

Login hours ensure controlled, time-based access to Salesforce and reduce security risk.

24. What is a profile-based login restriction?

Profile-based login restrictions refer to Login IP Ranges and Login Hours, both configured at the profile level to control:

  • Where users can log in (IP ranges)
  • When users can log in (Login hours)

These restrictions ensure that users:

  • Access Salesforce only from trusted networks
  • Log in only during permitted times
  • Are automatically logged out outside permitted hours

Profile-based restrictions enforce strong, centralized security across all users assigned to that profile.

25. What are external objects?

External objects in Salesforce are objects that represent data stored outside Salesforce, typically in external systems such as databases, ERP systems, or middleware platforms.

Key features:

  • They behave like regular Salesforce objects but do not store data inside Salesforce.
  • They use Lightning Connect (OData) or other external data connectors.
  • Support relationships with standard and custom objects.
  • Ideal when data is too large to store in Salesforce or needs real-time access.

Use cases:

  • Displaying order history stored in an external ERP system.
  • Showing inventory levels from a warehouse database.
  • Accessing customer transactions without importing them into Salesforce.

External objects reduce storage costs and enable real-time integration.

26. What is Salesforce Connect?

Salesforce Connect is a powerful integration tool that enables Salesforce to access external system data in real time without importing it. It uses External Objects to represent external data sources within Salesforce.

Key features:

  • Supports OData 2.0/4.0, Apex connectors, and custom adapters.
  • Provides real-time access — no data duplication.
  • No need to schedule imports or handle storage limitations.
  • Supports read and some write capabilities (depending on connector).

Benefits:

  • Reduces Salesforce storage usage.
  • Ensures data is always current.
  • Allows seamless use of external data in layouts, relationships, and reports.

Example:

A company using SAP ERP can view SAP order data inside Salesforce without syncing or replication.

27. What is a big object?

Big objects are Salesforce objects designed to store and manage massive volumes of data, typically billions of records. Their primary purpose is to store historical or archival data efficiently without affecting system performance.

Key features:

  • Optimized for scale and performance.
  • Support asynchronous processing.
  • Have only one special index defined at creation time.
  • Do not support all standard object features (e.g., triggers, workflows are limited).

Use cases:

  • Storing event logs (Event Monitoring).
  • Archiving old leads or records.
  • Keeping IoT device data.
  • Tracking historical records for compliance.

Big objects are ideal for data that needs long-term retention without impacting performance.

28. What is record locking?

Record locking occurs when a transaction (such as a save operation or automated process) prevents other users or processes from editing the same record simultaneously.

Why it happens:

  • Salesforce uses optimistic concurrency control.
  • When two users try to modify the same record at the same time, one is blocked to maintain data integrity.

Common causes:

  • Multiple workflows or flows updating the same record.
  • Bulk operations via Data Loader.
  • Approval processes.
  • Long-running automations.

When a lock conflict happens, Salesforce throws an error such as:

"UNABLE_TO_LOCK_ROW"

Admin best practices:

  • Reduce automation complexity.
  • Move updates to asynchronous flows.
  • Avoid multiple updates to the same record in one transaction.

Record locking ensures database accuracy and prevents data corruption.

29. What is the difference between master-detail and lookup?

Master-detail and lookup relationships define how objects relate, but they work very differently.

FeatureMaster-DetailLookupDependencyChild must have a parentChild may exist without parentOwnershipChild inherits parent's ownershipChild has its own ownerAccess ControlInherits parent’s sharingIndependent accessCascade DeleteYes (automatic)Optional (not default)Roll-up SummaryAvailableNot availableRequired FieldMandatoryOptionalUse CaseStrong relationshipLoose relationship

Master-detail is used when child records are tightly linked to a parent.
Lookup is used for flexible, optional relationships.

Example:

  • Master-detail: Invoice → Invoice Line Items
  • Lookup: Contact → Account (can exist independently)

30. What is schema relationship diagram?

A Schema Relationship Diagram is a visual representation of the Salesforce data model, showing all objects and their relationships. It helps understand how objects are connected and how the system stores data.

Salesforce tools to view diagrams:

  • Schema Builder (native tool)
  • Object Manager relationship trees
  • ERD tools (Lucidchart, ERD Generator, AppExchange apps)

What it shows:

  • Standard and custom objects
  • Fields
  • Lookup and master-detail relationships
  • Junction objects
  • Cardinality (one-to-many, many-to-many)

Benefits:

  • Helps admins and developers understand data architecture
  • Useful in project planning and system design
  • Supports debugging and troubleshooting data issues

Schema diagrams are critical for designing scalable, maintainable Salesforce solutions.

31. What are optimistic and pessimistic locking?

Salesforce uses locking mechanisms to maintain data integrity when multiple users or processes attempt to access or modify the same record.

Optimistic Locking

Optimistic locking assumes that conflicts are rare.
It allows multiple users to access a record simultaneously but checks for conflicts only at the time of saving.

How it works:

  • User A opens a record.
  • User B opens the same record.
  • User A edits and saves the record.
  • When User B tries to save, Salesforce checks if the record has changed.
  • If changed, Salesforce throws a conflict error such as:
    "Record has been modified by another user. Please reload and try again."

Benefits:

  • Higher performance
  • Less locking contention
  • Ideal for applications with low conflict probability

Pessimistic Locking

Pessimistic locking prevents conflicts by locking the record as soon as one user accesses it, so others cannot edit it until unlocked.

Salesforce uses pessimistic locking in:

  • Approval processes
  • Long-running transactions
  • Certain DML operations in Apex
  • Record lock during workflow/flow updates

Benefits:

  • Prevents concurrency issues
  • Ensures high data consistency

Optimistic locking prioritizes performance, while pessimistic locking prioritizes data accuracy and conflict prevention.

32. What is Duplicate Management in Salesforce?

Duplicate Management in Salesforce helps prevent users from creating duplicate records, ensuring cleaner, more reliable data.

It works through:

  • Matching Rules (detect duplicates)
  • Duplicate Rules (block or allow duplicates)

Features:

  • Alerts users about potential duplicates
  • Blocks duplicate data creation during:
    • Manual data entry
    • API integrations
    • Data imports
  • Reports duplicate data for auditing
  • Helps maintain clean CRM data for accurate reporting

Duplicate Management enhances data quality, prevents confusion and inconsistencies, and ensures reliable reports and analytics.

33. What are matching rules?

Matching rules define how Salesforce identifies duplicate records. These rules determine which fields to compare and how closely they should match.

Components of a matching rule:

  • Fields to match (Name, Email, Phone, Website, etc.)
  • Matching method (Exact, Fuzzy, or Custom Logic)
  • Sensitivity settings

Examples:

  • Match leads with the same Email
  • Match accounts using fuzzy logic on Company Name
  • Match contacts using Phone OR Email

Matching rules do not take action — they only identify potential duplicates.
They work together with Duplicate Rules to enforce any real-world effect.

34. What are duplicate rules?

Duplicate rules determine what Salesforce should do when a matching rule identifies a duplicate.

Duplicate rules can:

1. Block

Stop users from saving a duplicate record.

2. Allow with Warning

Show a duplicate warning but still allow the user to save.

3. Automatically report duplicates

Send duplicates to reporting dashboards for cleanup.

Duplicate rules are used to enforce data hygiene across:

  • Lead creation
  • Contact creation
  • Account creation
  • API imports
  • Marketing form submissions

Together, matching rules + duplicate rules offer strong, flexible duplicate prevention.

35. What is the difference between full sandbox and partial sandbox?

FeatureFull SandboxPartial SandboxData CopyFull copy of production dataPartial subset of dataStorageAs large as production5 GB or 10,000 records per object (template-based)Refresh Interval29 days5 daysUse CaseUAT, performance testing, stagingIntegration testing, QA testingSpeedSlower refreshFaster refreshData OptionsAll data + metadataMetadata + selected sample data

Full Sandbox Use Cases

  • End-to-end testing
  • Training environment
  • Load testing
  • Staging for deployment

Partial Sandbox Use Cases

  • QA testing
  • Integration testing
  • Limited data replicas

Full is for comprehensive testing; Partial is for controlled, representative data testing.

36. What is change set?

A Change Set is a deployment tool in Salesforce used to migrate metadata (not data) between related Salesforce orgs, such as Sandbox → Production.

You can deploy:

  • Objects
  • Fields
  • Workflows
  • Flows
  • Validation Rules
  • Profiles & Permission Sets
  • Apex classes/pages

Change sets do not support:

  • All metadata types (e.g., report data, standard picklists, some Lightning components)
  • Unrelated orgs (only connected orgs)

Change sets simplify deployments for admins who prefer point-and-click over command-line tools like SFDX or ANT.

37. What is the difference between inbound and outbound change set?

TypeDescriptionOutbound Change SetCreated in Sandbox; sent to Production or another SandboxInbound Change SetReceived in target org (e.g., Production) awaiting validation/deployment

Outbound = Sending changes
Inbound = Receiving changes

Outbound change sets are created and uploaded.
Inbound change sets must be validated and deployed in the destination environment.

38. What is a custom metadata type?

Custom Metadata Types are developer/admin tools used to store configurable application metadata that behaves like object data but is deployable like metadata.

Benefits:

  • Deployable via change sets
  • Supports versioning
  • Cached for performance
  • Accessible via Apex without SOQL limits
  • Used for application configurations

Examples:

  • Business rules
  • Mapping tables
  • Integration endpoints
  • Validation configurations

Custom Metadata Types are preferred over Custom Settings when configuration needs to be deployable and version-controlled.

39. What is a custom setting?

Custom Settings store configuration data that can be accessed without using governor-limited SOQL queries.

Two types:

1. List Custom Settings

Acts like a custom object shared globally.
Example: Store tax rates or conversion factors.

2. Hierarchy Custom Settings

Allows personalized configuration based on:

  • User
  • Profile
  • Organization

Example:
Enabling or disabling features for certain profiles.

However, Custom Settings cannot be deployed like metadata changes — unlike Custom Metadata Types, which are now the preferred method for configuration.

40. What are publish–subscribe events in Salesforce?

Publish–Subscribe (Pub/Sub) events are part of Salesforce’s event-driven architecture. They allow systems or components to communicate asynchronously using event messages.

Types include:

1. Platform Events

Used for integration and decoupled communication.
Systems publish events; subscribers process them in real time.

2. Change Data Capture (CDC)

Publishes events when records change (create/update/delete/undelete).
Useful for syncing external systems.

3. Real-Time Event Bus

Handles high-volume event processing.

Pub/Sub benefits:

  • Loose coupling between systems
  • Real-time processing
  • Scalable event-driven workflows
  • Simplifies integration with external systems

Use cases:

  • Real-time data synchronization
  • Notifications and alerts
  • IoT integrations
  • Multi-system event orchestration

Pub/Sub turns Salesforce into a highly scalable, reactive platform.

Experienced (Q&A)

1. Explain the full Salesforce security model end-to-end.

Salesforce uses a multi-layered, defense-in-depth security model that ensures data protection at every level—org, object, field, and record. Understanding these layers is crucial for designing secure and scalable enterprise solutions.

1. Organization-Level Security

Controls who can access the system.

  • Login IP ranges (restrict logins to trusted networks)
  • Login hours
  • Session security settings
  • MFA enforcement
  • Password policies
  • Network Access (trusted IPs bypass login challenges)

2. User Authentication & Identity

Includes:

  • Single Sign-On (SSO)
  • OAuth
  • SAML
  • Salesforce Identity
  • Authentication Providers (Google, Azure AD, etc.)

3. Object-Level Security (CRUD)

Controls what actions a user can perform on objects.

  • Profiles
  • Permission Sets
  • Permission Set Groups

CRUD defines the capability, not the data visibility.

4. Field-Level Security (FLS)

Controls whether a user can view or edit specific fields.

Even if a field is on the page layout, FLS will hide it.

5. Record-Level Security

Controls visibility to individual records using a hierarchical model:

  1. Organization-Wide Defaults (OWD) — baseline access (Private, Read-Only, Read/Write)
  2. Role Hierarchy — managers see subordinates’ records
  3. Sharing Rules — automated record sharing
  4. Manual Sharing — individual one-off sharing
  5. Team Sharing — Account, Opportunity, Case teams
  6. Apex Managed Sharing — programmatic, fine-grained control

6. Platform Encryption & Shield

Protects data at rest and in transit.

  • Classic = Masking at field level
  • Shield = Deterministic/Probabilistic encryption with search support

7. Monitoring & Event Security

  • Event Monitoring (Shield)
  • Audit Trail
  • Login History
  • Setup Audit Trail
  • Transaction Security Policies

Together, these layers create a secure, compliant, and scalable environment suitable for enterprises with strict regulatory needs.

2. How do you design scalable sharing rules?

To design scalable sharing rules, the focus must be on performance, maintainability, and minimizing sharing recalculation overhead.

Best Practices:

1. Minimize Role Hierarchy Depth

Large orgs with deep hierarchies lead to:

  • High sharing calculations
  • Slow performance during record ownership changes

Flatten hierarchies where possible.

2. Use Criteria-Based Sharing Over Owner-Based

Criteria-based rules are more flexible and reduce maintenance.

Example:
Share all “High-Value Accounts” with Strategic Sales Team.

3. Use Public Groups Instead of Individual Roles

Sharing to individuals = bad
Sharing to groups = scalable

Public groups can be reused across multiple sharing rules.

4. Avoid Overlapping Rules

Overlapping rules cause excessive recalculations.

5. Use Apex Managed Sharing for Complex Logic

Only when necessary:

  • Territory-based rules
  • Custom access logic
  • Multi-level criteria

6. Minimize Record Ownership Changes

Ownership changes trigger a full re-sharing, which is expensive.

7. Use Territory Management for Salesforce Enterprise Sales Models

Better for large, multi-dimensional sharing needs than roles.

A well-designed sharing model balances security, flexibility, and performance without creating admin or computational overhead.

3. How do you troubleshoot performance issues in Salesforce?

Performance issues can occur at multiple layers, so troubleshooting requires a systematic approach.

1. Identify Performance Type

  • UI Performance (Lightning slow?)
  • SOQL/DML performance
  • Apex CPU timeout
  • Flow Automation slowdown
  • Report/dashboard slowness

2. Use Salesforce Tools

  • Lightning Performance Analyzer
  • Debug Logs (CPU time, heap size, DML rows)
  • Apex Replay Debugger
  • Event Monitoring (Page Load, API calls)
  • Query Plan Tool (SOQL optimization)
  • Health Check
  • Optimizer Reports

3. Common Causes & Fixes

Problem: Too many SOQL/DML operations
Fix: Bulkify code, reduce loops, use maps/sets

Problem: Large data volumes affecting queries
Fix: Add selective indexes, use skinny tables, apply filters

Problem: Page load slowness
Fix:

  • Reduce Lightning components
  • Remove unnecessary related lists
  • Optimize layout

Problem: Slow flows
Fix:

  • Remove unnecessary loops
  • Use Get Records once
  • Use asynchronous paths

Problem: Inefficient reports/dashboards
Fix:

  • Use filters
  • Use report division
  • Avoid excessive row-level formulas

Performance tuning is continuous and must consider automation, data models, and user experience.

4. Explain the difference between Classic and Lightning architecture.

Salesforce Classic and Lightning differ structurally, technically, and visually.

Salesforce Classic Architecture

  • Based on Aura legacy framework
  • Page reloads for every interaction
  • Limited component-based architecture
  • Uses Visualforce for UI
  • Old UI, not mobile-optimized

Classic is server-driven.

Salesforce Lightning Architecture

  • Based on Lightning Component Framework (Aura + LWC)
  • Component-driven, client-side rendering
  • Optimized for SPA (Single Page Application)
  • Modular, reusable components
  • LWC (Lightning Web Components) uses modern web standards
  • Much faster due to client caching and event-driven architecture
  • Mobile-first, responsive UI

Lightning is client-driven.

Technical Differences:

  • LWC uses Web Components, Shadow DOM, modern JS
  • Better state-management, caching
  • Uses Locker Service for security isolation
  • Better integration with Einstein and modern APIs

Lightning delivers a rich, fast, dynamic user experience unmatched by Classic.

5. How do you implement Lightning Experience migration?

Lightning migration involves structured phases ensuring readiness, compatibility, and user adoption.

1. Phase 1 – Discovery & Readiness

  • Run Lightning Experience Readiness Report
  • Evaluate Classic customizations (buttons, JS, Visualforce pages)
  • Identify incompatible components
  • Evaluate browser performance and org limits

2. Phase 2 – Planning

  • Identify Lightning business value
  • Prioritize features:
    • Path
    • Kanban
    • Lightning App Builder
    • Reports/Dashboards
  • Define rollout strategy (Pilot → Phase Rollout → Org-wide)

3. Phase 3 – Remediation

  • Convert JavaScript buttons
  • Rewrite Visualforce pages to LWC where needed
  • Update page layouts for Lightning
  • Modify flows/processes
  • Fix performance issues

4. Phase 4 – Development & Testing

  • Build Lightning Record Pages
  • Test Lightning components
  • Train key users
  • Run UAT

5. Phase 5 – Enablement & Deployment

  • Enable Lightning Experience
  • Migrate user groups
  • Monitor adoption dashboards

6. Phase 6 – Post-Go-Live Support

  • Provide training
  • Use Change Management
  • Support tickets
  • Iterate based on feedback

Lightning migration is successful when it focuses not only on technical conversion but also user adoption and enhanced experience.

6. What is the Salesforce Data Architecture?

Salesforce Data Architecture defines how data is structured, stored, related, accessed, and optimized across the platform.

Key Components:

1. Data Model

  • Standard objects
  • Custom objects
  • External objects
  • Big objects
  • Junction objects for M:N relationships

2. Object Relationships

  • Lookup
  • Master-detail
  • Hierarchical
  • Many-to-many (junction)

3. Record Storage Layers

  • Application Database (Oracle)
  • Big Objects (high-volume data)
  • External Objects (Salesforce Connect)

4. Indexing & Query Optimization

  • Standard indexes
  • Custom indexes
  • Selective queries
  • Skinny tables
  • SOSL vs SOQL

5. Data Integrity

  • Validation rules
  • Required fields
  • Duplication prevention

6. Data Lifecycle

  • Creation
  • Storage
  • Modification
  • Archival
  • Purge

Enterprise architecture includes high-volume strategies, which ensure performance at scale.

7. What is the difference between Salesforce Shield Encryption and Platform Encryption?

FeatureShield EncryptionStandard/Platform EncryptionTypeAdvanced encryption suite (paid)Basic field-level encryptionEncryption LevelDeterministic & probabilisticBasic encryptionSearchabilitySupports search, filtering, indexingLimited or no searchEvent MonitoringIncludedNot includedField Audit TrailIncludedNot includedComplianceGDPR, HIPAA, FINRA-gradeBasic complianceUse CasesHighly regulated industriesBasic field protection

Shield Encryption is for enterprises requiring full compliance, high performance, and secure encryption-at-rest.

8. How do you design data archival in Salesforce?

Archiving is essential for orgs with Large Data Volumes (LDV).

Steps to design archival:

1. Identify Data Candidates

  • Old cases
  • Closed opportunities
  • Task/activity history
  • Logs
  • Large custom object data

2. Choose Archival Storage

  • Big Objects
  • External Objects (Salesforce Connect)
  • External Database (AWS, Azure, GCP)
  • Heroku Postgres

3. Define Retention Rules

  • e.g., Keep last 3 years active; archive older

4. Build Archival Jobs

  • Batch Apex
  • Scheduled Flows
  • ETL tools (Informatica, MuleSoft)

5. Remove Archived Data from Production

  • Hard delete or soft delete

6. Provide Easy Access to Archived Data

  • Build UI pages to surface archived records
  • Use External Objects for real-time access

Good archival design keeps the org fast, reduces storage cost, and maintains compliance.

9. What is Salesforce Governor Limits?

Governor Limits are Salesforce’s way of enforcing multi-tenant architecture fairness by limiting resource usage for each org.

Limits include:

Apex Limits

  • SOQL queries per transaction (100 synchronous)
  • DML statements (150)
  • CPU time (10,000 ms)
  • Heap size
  • Callouts (100)

Data Limits

  • Daily API calls
  • Email limits
  • Storage limits

Platform Limits

  • Flow interviews
  • Batch Apex concurrency
  • Platform events limits

Governor limits prevent a single org from affecting system stability.

10. How do you avoid hitting governor limits in automation?

Strategies to avoid governor limits:

1. Bulkify Automation

  • Process lists, not single records
  • Avoid SOQL/DML inside loops

2. Move Complex Work to Asynchronous Apex

  • Queueable
  • Batch Apex
  • Scheduled Apex
  • Platform Events

3. Optimize SOQL Queries

  • Use Selective filters
  • Use indexed fields
  • Use Query Plan tool

4. Consolidate Automation

  • Replace multiple workflows/processes with a single Flow
  • Use subflows to reduce duplicated logic

5. Use Caching Techniques

  • Custom settings
  • Custom metadata
  • Static variables (Apex)

6. Avoid Too Many Trigger Executions

  • One trigger per object
  • Framework approach

7. Use Best Practices in Flows

  • Avoid “Get Records” inside loops
  • Use fault paths
  • Avoid unnecessary updates

8. Prevent Recursive Updates

  • Use flags or conditions to stop repeated updates

By following these patterns, automation remains scalable and governor-limit-safe.

11. How do you debug complex flows?

Debugging complex flows requires a structured approach that combines Salesforce’s built-in debugging tools, best practices in flow design, and detailed system monitoring.

1. Use the Flow Debugger

The Flow Debugger allows real-time execution with:

  • Step-by-step path tracing
  • Variable inspection
  • Fault path detection
  • Run-as functionality

It helps pinpoint errors in decision elements, loops, or data operations.

2. Add Fault Paths Everywhere

Every “Get Records,” “Update,” “Create,” “Delete,” or “Apex Action” must have a fault path to:

  • Capture errors
  • Send debug emails
  • Log messages to custom objects or debug tables

This ensures reliability and traceability.

3. Use Debug Logs

Flow errors appear in debug logs under:

  • FLOW_INTERVIEW_FINISHED
  • FLOW_BULK_PROCESS
  • FLOW_ACTION_CALL

Debug logs reveal:

  • SOQL queries triggered
  • Governor limits usage
  • Flow exceptions
  • Apex exceptions triggered by flow

4. Break Large Flows into Subflows

Complex flows become unreadable, unmaintainable, and slow.

Subflows improve:

  • Reusability
  • Isolation of logic
  • Easier debugging
  • Modular architecture

5. Use Logging Frameworks

Create a custom “Flow Log” object or use a Logging Apex class via @Invocable method.

6. Use Test Mode for Record-Triggered Flows

Allows simulating record changes without saving actual data.

7. Check for Performance Issues

Optimize:

  • “Get Records” calls
  • Loops (avoid DML/SOQL inside loops)
  • Redundant queries

Proper debugging ensures flows execute efficiently, avoid governor limits, and remain maintainable at enterprise scale.

12. How do you choose between Flow, Apex, and Process Builder?

Choosing the right automation tool depends on complexity, performance needs, governor limits, and future scalability.

1. Use Flow (Recommended Default Tool)

Flow is Salesforce’s primary automation tool and replaces Process Builder/Workflow.

Use Flow when:

  • You need complex conditional logic
  • You need loops, fast field updates, or multi-object automation
  • You need UI interactions (Screen Flows)
  • You need orchestration between multiple users
  • You want maintainability without code

2. Use Apex (When Flow is Not Enough)

Use Apex when:

  • You need extremely large data volume processing
  • You need synchronous/asynchronous complex logic
  • You need custom integrations
  • You need fine-grained error handling and bulk control
  • You need complex calculations beyond Flow limit

Apex is mandatory for:

  • Batch processing
  • Queueable Jobs
  • Complex integrations
  • High-performance logic

3. Use Process Builder (Legacy Only)

Process Builder is deprecated and should not be used for new automation.

PB should only be used:

  • To maintain legacy processes until replaced
  • When rewriting is costly

Summary:

  • Flow for most automation
  • Apex for scalable, complex, high-volume logic
  • Avoid Process Builder except maintaining old processes

13. Explain the Transaction Order of Execution.

Transaction Order of Execution is Salesforce’s internal sequence controlling how data, automation, and triggers run during DML events.

Key Steps in Order:

  1. Load original record
  2. Apply system validation
  3. Execute before triggers
  4. Custom validation rules
  5. Duplicate rules
  6. Save record (but not committed yet)
  7. Execute after triggers
  8. Assignment rules (lead/case)
  9. Auto-response rules
  10. Workflow rules
    • Field updates may cause recursive triggers
  11. Processes (Process Builder)
  12. Flows (Record-Triggered Flow)
  13. Escalation rules
  14. Entitlement rules
  15. Roll-up summary recalculation
  16. Parent record updates
  17. Commit to database
  18. Post-commit logic:
    • Email sending
    • Platform events
    • Future methods
    • Queueable jobs
    • Async Apex

Understanding this order is critical for avoiding recursion, automation conflicts, and performance bottlenecks.

14. How do you handle recursive triggers with automation?

To prevent infinite loops in automation:

1. Use Static Variables in Apex

Example:

public class TriggerControl {
    public static Boolean isFirstRun = true;
}

Then in trigger:

if(TriggerControl.isFirstRun) {
    TriggerControl.isFirstRun = false;
    // trigger logic
}

2. Use Recursive Control in Flows

Flow best practices:

  • Use “Optimized for Fast Field Updates” when possible
  • Use “Was value changed?” conditions
  • Use custom fields to track update cycles
  • Use entry criteria to avoid repeat firing

3. Consolidate Automation

Having Flows + PB + workflow on same object causes unexpected recursion.

Move everything into:

  • One trigger
  • One record-triggered flow

4. Avoid DML in Loops

Loop-induced DML increases recursion and limits consumption.

5. Use “Trigger Frameworks”

Such as:

  • TDTM
  • SObject Domain pattern
  • Handler classes

Proper recursion control ensures reliable automation and prevents governor-limit failures.

15. What is Salesforce API? What types exist?

Salesforce API allows external systems to interact with Salesforce for data integration, automation, and system interoperability.

Main Salesforce APIs:

1. REST API

  • Lightweight
  • JSON-based
  • Ideal for mobile/web apps

2. SOAP API

  • XML-based
  • Used for enterprise integrations requiring strict contract

3. Bulk API 1.0 and 2.0

  • For large data loads (millions of records)
  • Asynchronous processing

4. Streaming API

  • Push-based notifications
  • Uses Pub/Sub
  • Real-time event-driven architecture

5. Platform Events API

  • Enterprise-grade pub/sub messaging

6. Metadata API

  • Deploy metadata: objects, fields, flows, etc.
  • Used by CI/CD tools (SFDX, ANT, Copado)

7. Tooling API

  • For IDEs, development tools

8. GraphQL API (New)

  • Aggregates multiple related queries in one call

Salesforce APIs empower deep integrations across systems like ERP, websites, ETL tools, and mobile apps.

16. How do you integrate external systems without code?

Salesforce allows powerful no-code integrations:

1. Salesforce Connect (External Objects)

  • Real-time access to external databases
  • No data replication

2. External Services

  • Import API schemas
  • Auto-generate Flow actions
  • No Apex needed

3. Named Credentials

  • Secure authentication storage
  • Works with Flows + Connect + Apex

4. Platform Events

  • Publish/subscribe patterns
  • Real-time messaging with middleware

5. MuleSoft Composer

  • Drag-and-drop enterprise integration
  • Connects Salesforce with:
    • NetSuite
    • SAP
    • ServiceNow
    • Slack
    • AWS

6. Zapier / Workato / Make

  • Trigger-based automation
  • Works for marketing, sales, forms, payments

These tools enable integrations without writing Apex, reducing technical cost and speeding up deployment.

17. What are External Services?

External Services allow Salesforce to consume external REST APIs without writing code, making API integrations accessible to admins.

How it works:

  1. Admin imports OpenAPI/Swagger definition.
  2. Salesforce auto-generates actions in Flow.
  3. These actions call the external system.

Example Use Cases:

  • Fetching shipping rates from FedEx API
  • Sending invoice data to ERP system
  • Submitting KYC data to third-party verification

Benefits:

  • No Apex required
  • Secure via Named Credentials
  • Standardized, reusable actions
  • Fast integration lifecycle

External Services empower low-code API integration that previously required developers.

18. What is Event Monitoring?

Event Monitoring (part of Salesforce Shield) provides deep visibility into user behavior, system performance, and security risks.

It logs:

  • Logins
  • API requests
  • Report exports
  • Apex execution
  • Flow executions
  • Lightning page performance
  • Setup changes

Exports up to 50+ event types.

Use Cases:

  • Detect security threats
  • Identify suspicious report exports
  • Audit compliance
  • Diagnose performance bottlenecks
  • Measure user adoption
  • Monitor API consumption

Event Monitoring is essential for enterprise governance, security, and compliance.

WeCP Team
Team @WeCP
WeCP is a leading talent assessment platform that helps companies streamline their recruitment and L&D process by evaluating candidates' skills through tailored assessments