View our exclusive Form and Email Preference Centre package here.

3 Ways to Extract Data from Salesforce

There are numerous ways to extract data from Salesforce, and the tool you use will largely depend on the scenario and your budget.

3 Ways to Extract Data from Salesforce

There are numerous ways to extract data from Salesforce, and the tool you use will largely depend on the scenario and your budget. From a marketing perspective, when implementing Pardot (now called Marketing Cloud Account Engagement), being able to effectively export your data is vital for that all-important first-sync.

Why extract data from Salesforce?

  • To backup your data.
  • To integrate with a third-party system.
  • You need the data in spreadsheet format for reporting purposes.

An introduction to extracting data 

Getting data out of Salesforce can happen in two main ways: you can do it manually, by hand picking each piece, or let it happen automatically, kind of like magic. And no matter what, it'll mostly end up in those familiar CSV or XLS files.

Now, when it comes to getting your data out the right way, you've got a trio of options to play around with. Each one has its own pros and cons, and it's a bit like strolling into a hardware store and checking out tools – sometimes you're reaching for a regular hammer, and other times you're going all-in with a heavy-duty sledgehammer.

Pardot Training Banner

So, here are the three different routes you can take when you're ready to export your Salesforce data:

  1. Go the free route: You can stick with what Salesforce offers or grab some free tools for the job. It's like getting the basics without spending a dime.
  2. Level up with paid tools: If you're looking for some extra oomph and efficiency, you can invest in paid tools. 
  3. Do it your way, DIY style: Feeling adventurous? You can roll up your sleeves and build your very own tools. This is like creating a custom solution tailored just for you.

Now we’ve discussed the reasons for extracting your data, and the tools at your disposal, let’s take a look at some scenarios for each, and how to use them.

Option 1 - Using Salesforce functionality and free tools

When looking to export data using free tools, there is actually a huge variety of options available to you, largely thanks to the AppExchange, which contains many open source’ tools. If the marketing budget is tight and the volume of data you’re extracting isn’t huge, this could certainly be a way forward.

Use cases for using free tools could include exporting reports, or running an automated weekly data export for backup purposes. Let’s take a look at the main tools here:

Extract reports using Salesforce built-in functionality

If you have a valuable report that you would like to export, then this is the simplest option to get the data out of Salesforce. 

Start by viewing the report you would like to export:

  1. Click the dropdown next to the “Edit” button on the top-right.
  2. Click “Export”.
  3. Choose between a Formatted Report or Details Only report.

Screenshot of the built in extract data from Salesforce

A Formatted Report’ will contain all your report header, groupings, and filter settings, whereas a Details Only’ report will only contain the detail rows. Use the latter for uploading to other systems (including Marketing Cloud Account Engagement).

Mass export using the Salesforce Data Export tool

The other way to mass export data to CSV is to use the Salesforce Data Export tool. Mainly used as a data backup service, here you can schedule to have some or all of your objects exported to individual CSV files to download in a ZIP file. The user who schedules the export will get an email with the link to that file which is downloadable.

  1. Click on Setup’
  2. Enter Data Export’ in the Quick Find box, then select Data Export’ and Export Now’ or Schedule Export’.
  3. The Export Now’ option prepares your files for export immediately. This option is only available if enough time has passed since your last export.
  4. The Schedule Export’ option allows you to schedule the export process for weekly or monthly intervals.
  5. Select the proper encoding for your export file.
  6. Select options for images, documents, and attachments, so that these will be included in your data.
  7. Select Replace carriage returns with spaces’ to have spaces instead of carriage returns or line breaks in your export files. This is useful if you plan to use your export files for importing or other integrations.
  8. If you’re scheduling your export, select the frequency (only available for organizations with monthly exports), start and end dates, and time of day for your scheduled export.
  9. Under Exported Data’, select the types of data to include in your export. We recommend that you select Include all data’ if you’re not familiar with the terminology used for some of the types of data.
  10. Click Start Export’ or Save’.

Screenshot of the data export settings in Salesforce

Salesforce will generate a zip archive of CSV files and will email you when they are ready. Exports will complete as soon as possible, however, Salesforce doesn’t give the exact date and time the export will complete.

Tools you can download to extract data from Salesforce

Salesforce Data Loader

Salesforce Data Loader is a good tool for someone needing to import or export data to/from Salesforce in CSV file format. This tool is developed and supported by Salesforce.

To download the tool, in Salesforce navigate to Setup’ > Data Management’ > Data Loader’.

Salesforce Data Loader provides the user with a nice interface to pick the object, fields and criteria for the data you want to export, or write your own SQL query.

Screenshot of Salesforce Data Loader interface

Dataloader.io

This tool has a user interface for selecting the object, fields and criteria, or you can write your own SOQL query.

Workbench

This is another web-based suite of tools designed for administrators and developers to interact with Salesforce via the Force.com APIs. It is not an official Salesforce product.

Salesforce Workbench Step 1

Salesforce Workbench Step 2

Salesforce Workbench Step 3

Option 2: Paid tools

There are two paid tools we recommend if you find the free options are too limiting. These can be more efficient for mass data export and import and each comes with unique features.

Option 3: Build your own tool 

Using Apex and Visualforce code, you can build your own tool so you can extract and use Salesforce data exactly how you need to. Of course, this requires a developer guru so consider your IT and web resources before taking this route.

The correct’ way to extract data from Salesforce is dependent on your business; your budget, your reporting requirements, and the volume of data you need to extract, but with this array of options, you should find the right method for your business.

If you need support with your Sales Cloud, Marketing Cloud, or Account Engagements accounts, feel free to get in touch about our support and consulting services.

Ollie Dodd

Ollie Dodd

Ollie has a strong background in digital marketing. He worked in various roles before discovering marketing automation and the world of Salesforce, becoming certified in Pardot and Salesforce alike. Ollie loves learning new skills and experimenting with new marketing automation tools. As a marketer, he can see things from both perspectives and deliver solutions to businesses to reach their goals.

Featured resource

eBook cover with the text A Guide to Salesforce Marketing Tools

Salesforce Marketing Tools

With the eBook ‘A Guide to Salesforce Marketing Tools’ in your arsenal, you’ll have a go-to, comprehensive, expert guide to understanding and selecting your perfect Salesforce marketing platform(s), be it Marketing Cloud Account Engagement (Pardot) or Engagement, and the products available to each.

Download A Guide to Salesforce Marketing Tools

More recent posts

Desk Character Image

Need a hand getting the most out of your Pardot or Marketing Cloud account?

MarCloud is a team of certified Pardot, Marketing Cloud, and Salesforce specialists. We help businesses to unlock the potential of marketing automation. Ready to save time, deliver more quality leads, and generate more revenue? Here's how we help.

View support services