# What is Einstein Activity Capture, and how does it automate activity logging for sales teams?

**Topic:** Sales Cloud · **Difficulty:** Medium · **Tags:** Sales Cloud, Einstein Activity Capture, Automation

Read it on the site: https://www.forcechallenges.com/interview-questions/what-is-einstein-activity-capture-and-how-does-it-automate-activity-logging-for-sales-teams

## Answer

**Basics:** Reps forget to log emails and meetings, so CRM activity data is incomplete. EAC reads each connected user's mailbox and calendar through OAuth, matches email addresses to Salesforce Contacts, Leads, Accounts and Opportunities, and shows the matched activity on those records. It also feeds engagement data to Pipeline Inspection, Opportunity scoring and Sales Engagement. Contacts and events can sync in both directions; emails sync from the mailbox into Salesforce.

**How it works:**
1. Setup > Einstein Activity Capture > Settings: enable it and create a Configuration (one per user group).
2. In the Configuration choose what syncs (Email, Events, Contacts) and the direction for each, and which email-matched records are in scope.
3. Assign users through the configuration and the EAC permission set; each user then authorizes their Google or Microsoft account.
4. The sync service matches participants to CRM records and stores the activity in a separate Salesforce-managed store, then surfaces it in the timeline and related Activity components.

**Advanced / deep dive:** The key architectural fact: by default, captured emails and events are NOT stored as standard Task/Event records in your org's database. They live in an external store (retention is configurable up to a documented maximum; verify the current figure). Consequences: they do not count against data storage, but they are not reportable with standard activity report types, not visible to SOQL/Apex, triggers or Flow, and not usable in list views. Reporting is done with the Activity Metrics/EAC dashboards. Visibility follows the user's sharing: each user's captured data is only visible to others according to the configuration's sharing settings (shared with everyone who can see the related record, or only the owner). Exclusions (domains, internal email, private events) are configured per Configuration. Admins who need real Task/Event rows have to use a different integration (Outlook/Gmail integration with manual "Add Email", or a third party). Lightning Sync and Salesforce for Outlook are legacy products superseded by EAC and the Outlook/Gmail integrations; verify retirement dates in release notes.

**Code / config example:** Setup path and a quick check that captured activity is not in SOQL.
```
Setup > Einstein Activity Capture > Configurations > New
  Email sync: Salesforce-bound only
  Event sync: Both directions
  Contact sync: Off (avoid overwriting CRM contacts)
  Excluded domains: yourcompany.com
```
```sql
-- Returns only manually logged / standard activities, not EAC-captured ones
SELECT Id, Subject, WhoId FROM Task WHERE WhatId = :oppId
```

**Hidden gotchas & must-remember points:**
- EAC data is not in Task/Event objects by default, so reports, triggers and Flows cannot see it.
- Two-way contact sync can overwrite CRM contacts; many teams turn it off.
- Each user must connect their own account; no connection means no sync.
- EAC is included with several Sales Cloud editions; Inbox and Sales Engagement capabilities depend on extra licenses. Verify in current docs.
- Sync is not instantaneous and historical email sync depth is limited.
- Activities with unmatched addresses are not shown on any record.

**Best practice:** Decide early whether you need reportable Task/Event records; if you do, EAC alone will not satisfy that. Pilot with one user group and set exclusions before rollout.

---
Source: ForceChallenges · last updated 2026-11-02
