CRM · Export guide

How to Export Salesforce CRM Records and Outcomes

Export Salesforce object data, connect opportunities to activities and outcomes, and distinguish backup CSV files from a prepared CRM dataset for AI licensing.

Before you begin: scope and permissions

  • Confirm Data Export permission, edition-dependent export frequency, and the object scope with your Salesforce administrator.
  • For API or Data Loader jobs, verify API availability and object and field access; file export permissions need separate review.
  • Approve the intended scope and use with the business owner; export access alone does not establish licensing rights.
  • Use an approved encrypted working environment with restricted access and a retention deadline.

Choose records around a business question

Salesforce data can connect accounts, contacts, opportunities, cases, tasks and events. A sales-stage snapshot answers a different question from a timeline of how a deal progressed. Exports for reporting or backup often omit the time-dependent evidence needed for an AI evaluation. Begin with a specific permitted cohort, such as closed opportunities from a defined period, and list the related objects needed to explain it.

Use Data Export for an administrative archive

In Setup, find Data Export, then use the available immediate or scheduled export option. Choose approved objects and supported file options, request the job and download the generated archives. Salesforce documents CSV backup exports with edition-dependent scheduling and a powerful Weekly Data Export permission. Confirm current availability in Salesforce Help, including download availability, before planning a large job.

Do not give a preparation contractor blanket access simply to obtain one object. The administrative export can expose substantially more than an ordinary report viewer can see.

Treat bulk and API extraction as a scoped alternative

For a selective job, ask the administrator to configure an approved Data Loader or supported API extraction using explicit object and field lists. Test the object set and access in your org before scaling; this guide does not assume every edition has API access. Attachments and Salesforce Files require separate inventory and documented file permissions. A file reference in a record is not proof of an included binary.

Export the object schema and a field dictionary with the data. Include picklist meanings, custom-field definitions and timezone conventions. Avoid an indiscriminate “all fields” dataset when only a few approved fields are relevant.

Reconstruct objects and relationships

Keep IDs as opaque strings. Relate an opportunity’s AccountId to its account and inspect activity relationship fields such as WhoId and WhatId according to their actual target types. Do not assume every task belongs to an opportunity or that a contact association means the person participated in a particular event.

A synthetic prepared observation could be:

{"opportunity_key":"opp-42","stage_at_cutoff":"Proposal","observed_outcome":"Closed Lost","outcome_observed_at":"2026-08-20","activity_keys":["task-9"],"history_complete":false}

This is an analytical schema, not a standard Salesforce export row. If historical stages were not retained or exported, do not infer their dates from the current stage. Store unknown values explicitly.

Prevent leakage and protect commercial information

For prediction tasks, separate fields available at the prediction cutoff from later outcomes. A loss reason entered after close should not appear as an input to a pre-close model. Deduplicate repeated exports by object and record ID and handle updates as versions. Preserve monetary currency and units instead of mixing amounts from different currencies.

CRM records combine personal contact details, negotiated terms, internal notes and sometimes purchased enrichment data. Remove unneeded identity fields, inspect free text and establish whether third-party enrichment permits the proposed reuse. Possession of a customer database does not establish permission to license its contents.

Troubleshoot and evaluate usefulness

Why are activities missing? Check the object list and relationship scope before blaming the CSV parser. Reporting views and backup jobs are different extraction methods.

Can a current export reconstruct all past pipeline states? Only retained and included history can support that claim. Report the missing periods.

Possible tasks include outcome-linked workflow evaluation or domain-specific extraction. Assess label reliability, date coverage, field consistency and rights clearance before discussing buyer fit. Count well-defined observations rather than advertising a raw contact count as training quality.

Release checklist

  • Retain record IDs as strings and validate relationship keys across exported objects.
  • Separate current opportunity state from historical stage events and genuinely observed outcomes.
  • Reconcile source counts and date coverage; record excluded or unavailable records.
  • Validate identifiers, relationships, timestamps and field types after transformation.
  • Document provenance, privacy review, third-party restrictions and the authorized release approver.
  • Scan the release files for personal information, secrets and confidential material; test a reviewed sample before transfer.

Have a proprietary dataset?

Find out whether it may be suitable for AI licensing. Start with a high-level description of the source, date range, volume, rights status, and preparation work still needed.

Assess dataset readiness

Use the existing buyer application when ready. Share only authorized information. Do not submit raw confidential records, credentials, or personal data in the initial assessment.

Sources & verification

Official documentation reviewed 2026-10-15. Procedures and access rules can change. These are documentation-based instructions, not a live export from your account. Verify your product version, permissions and retention settings before running a job.