top of page

How to Bulk Download your Account Engagement (Pardot) Files

Those of you with long-lived Account Engagement instances (from back when it was called Pardot ๐Ÿ˜) may have file repositories with a lot of stuff in it, and it's time to do some cleanout. That "stuff" doesn't always have the easiest to understand names. Or you might be getting to your limits and REALLY need to clean it up. But there's no easy way to see what these things are because the library doesn't show us a preview of the items in the list view, you have to click the item and see what it is. Wouldn't it be nice if there were an easy way to just bulk download everything so you could see what it was in one folder? Fortunately, there is. But first, let's look at one often overlooked "newish" feature of files.


The 'Last Viewed' field
Pardot files last viewed

In the Files section, the second to last column says "last viewed". This is the last time the file was accessed by anyone. A prospect, or you in the back end. This "accessed" includes you looking a the file to see what it is as a preview. So if it matters to you at all to preserve the state of "last viewed" for your cleanup- to see files that haven't been accessed since this feature became generally available around August 2022, then don't go clicking into files. Use this method and you'll preserve a history of that field that you can use at the end of this process.


Download a CSV of all your Account Engagement Files
pardot files CSV export

Like most list views in Account Engagement, you have the option to download the contents as a CSV. No need to select anything, just Go to Tools | CSV Export and request the file.


The CSV gives you 6 Columns

  • The Filename

  • The size in bytes

  • The URL Location

  • Date Created

  • Date Last Viewed

  • The Record Location. This the "backend" page and includes the file's numeric ID

Since we have the date last viewed, we can now see when all our files were last viewed, and which ones haven't been touched since August 2022.


What we need for our next step is the list of URLs in Column C- the location. Copy all those fields.

Use a bulk file downloader

The easiest way to grab all these files at once is a bulk download program, like WFDownloader. It's free, has Windows and Mac versions, and is very easy to use.

WF Downloader Settings

When we have downloaded and installed WFDownloader, we need to change a general default setting because we want all the downloaded files to go into the same folder. So go to General Settings | Values and select the child folder save options for All download items in same folder. Otherwise it will make a folder for every item, which is not what you want.


Then, we want to select the task for batch downloading from clipboard or file. You can copy-paste your links from your CSV file that you downloaded from Account Engagement, or just use the file itself to tell WPDownloader what you want do download. Run the batch job, and now you have a folder of all your files.

WPDownloader Job Selection

Now, the action of doing this will cause ALL the files in your history to show a last viewed date of today. That's why that history you have in your CSV file of when files were last viewed is important.


Now that you can access everything, is there an easy way to clean up or replace files? Not as easy as downloading them, but read on for some more tips.

Clean Up or Replace Files so they Open in Browser

Now that you have that CSV we can easily get back to files we want to remove or replace/update. The first column with the file name can be used to search for a file from the list view.

Or, we can modify column F to get a usable link for

Pardot "classic" to get right to the file's page. Just do a bulk find/replace of column F, changing pi. to https://pi. and that will get you real links you can use to go to the file location. (when logged into pi.pardot.com)


You may wish to use your new downloaded file repository to replace key document files such as PDF's in your Account Engagement files even if they haven't changed. Why? Another overlooked change to the system, which is that files accessed will now open in a browser instead of downloading, but only if it was uploaded since January 2023. So the simplest way to force a file to exhibit this new behavior is to replace the old file with the exact same file you just downloaded using edit file from the file's page or the list view using edit from the gear icon. Recent experience with new versions of Firefox suggest that Firefox's default settings will now block that prior Account Engagement default behavior of downloading a file, so if your last accessed history shows some of your older documents continuing to be used, it's a good idea to replace all your documents stored in Files, even if it's just the exact same file, for compatibility with Firefox.

This blog post arose from two questions posed in the Trailblazer Community a great place to learn, share and collaborate on all things Salesforce.



76 views
*As of April 2022, Pardot has been renamed Marketing Cloud Account Engagement, as part of Salesforce's effort to organize all the marketing products under the same platform umbrella. "MCAE" is simply the same Pardot we know and love under a new name. The product is temporarily being referred to as "Marketing Cloud Account Engagement powered by Pardot."   

Did you find this article useful?  Buy me a coffee. ๐Ÿ™‚

Want more tips? Subscribe and be the first to know of new coffee-worthy content.

Thanks for Subscribing!

Need some help?

Consultations offered on a pay-as-you-go basis by the hour.  Buy hours below and I will schedule a session at your convenience.

bottom of page