I am trying to extract HTML content from multiple Pardot (Marketing Cloud Account Engagement) email templates in bulk.
I reviewed the Pardot Email Template API documentation, but it appears there are limitations when retrieving HTML-related fields through the GET endpoints. My goal is to avoid manually opening each template and copying the HTML content one by one.
Could you please clarify:
- Is there a supported way to retrieve the HTML content for multiple email templates in a single process (bulk extraction)?
- Which API endpoint or approach is recommended for extracting HTML content from multiple templates at once?
- Are there any alternative APIs, exports, Salesforce objects, or reporting methods that provide access to the full HTML content?
- If the Email Template API has limitations on HTML fields, what is the best practice for exporting this data into Excel or CSV format for reporting and analysis?
- Has anyone implemented an automated solution to extract HTML from all Pardot email templates without making individual requests for each template?
I am looking for the most efficient and scalable approach to export HTML content from a large number of Pardot email templates rather than manually copying each template's HTML. @* MC Account Engagement (fka Pardot) *
The MCAE v5 API is best for "classic" email templates. For lightning email templates, you'll want to use regular old Salesforce Query API and specify the fields you want. Best way to see what you want is to navigate to an email template, look at the URL for the object name and the Id. Use that with some queries to see if you can get what you need.