You have years of prospects, scores and form fills sitting in Pardot (now Marketing Cloud Account Engagement), and your team wants to run campaigns from Salesforce Marketing Cloud Engagement instead. On paper it sounds easy: export the prospects, reload them, done. In practice that is where duplicates multiply, consent records vanish and unsubscribed people end up on a send list again. This guide walks you through a staged approach to moving your data cleanly, with real API calls, SQL and AMPscript you can adapt today.
1. Scope the migration before you touch any data
The first mistake is trying to move everything. Account Engagement is a B2B tool built around prospects, scoring and sales alignment, while Marketing Cloud Engagement is built for high-volume, multichannel messaging. The two data models do not line up one to one, so you need to decide what truly belongs in the new platform.
What is worth migrating
Prospects active in the last 12 to 24 months, their consent status, their communication preferences, and the attributes you genuinely use for segmentation, such as industry, country, role and source. Detailed activity history usually stays in Account Engagement or in Salesforce CRM.
What to leave behind
Prospects who have been silent for two years or more, custom fields nobody uses, and stale static lists. A migration is the perfect moment to apply a sunset policy and start from a healthy base.
2. Map your fields and pick the right contact key
Before any extraction, build a mapping table. The most important decision is your SubscriberKey: use the Salesforce ID (Contact or Lead) rather than the email address, which can change and create duplicates.
| Account Engagement | Marketing Cloud Engagement | Note |
|---|---|---|
| Prospect ID / CRM ID | SubscriberKey | Primary key, never email |
| EmailAddress | Normalize to lowercase | |
| Opted Out | List status / Opt-in | Top priority: never re-activate |
| Score / Grade | Data Extension attribute | Informational copy only |
| Source, Campaign | Segmentation attributes | Keep only what you use |
3. Pull prospects through the Account Engagement API
The Account Engagement v5 API lets you extract prospects in batches. You need an OAuth token and the Account Engagement business unit ID in a header.
GET https://pi.pardot.com/api/v5/objects/prospects
?fields=id,email,firstName,lastName,company,score,optedOut,country
&limit=1000
Authorization: Bearer {ACCESS_TOKEN}
Pardot-Business-Unit-Id: {BUSINESS_UNIT_ID}Paginate by following the nextPageUrl value in each response, and write every batch to an intermediate file. Always keep the opt-out field: it is what protects your GDPR and CAN-SPAM compliance.
4. Load into a staging Data Extension
Never load straight into production. Create a staging Data Extension with SubscriberKey as the primary key, then push rows through the Marketing Cloud asynchronous REST API.
POST https://{SUBDOMAIN}.rest.marketingcloudapis.com/data/v1/async/dataextensions/key:AE_Staging/rows
Content-Type: application/json
Authorization: Bearer {MC_TOKEN}
{
"items": [
{
"SubscriberKey": "003Dn00000AbCdEFGH",
"EmailAddress": "jane.miller@example.com",
"FirstName": "Jane",
"Company": "Example Inc",
"OptedOut": "false",
"Score": 45
}
]
}The async route handles large batches and returns a request ID you can poll to check the outcome. Keep batch sizes reasonable and watch for row-level errors.
5. Deduplicate and clean with a Query Activity
B2B databases almost always contain duplicates, sometimes differing only by letter case. A SQL Query Activity in Automation Studio keeps a single row per address, the highest-scoring one.
SELECT SubscriberKey, EmailAddress, FirstName, Company, OptedOut, Score
FROM (
SELECT SubscriberKey, LOWER(EmailAddress) AS EmailAddress,
FirstName, Company, OptedOut, Score,
ROW_NUMBER() OVER (
PARTITION BY LOWER(EmailAddress)
ORDER BY Score DESC
) AS rn
FROM AE_Staging
WHERE EmailAddress LIKE '%@%.%'
) t
WHERE rn = 1 AND OptedOut = 'false'Write the output to a clean Data Extension using the Overwrite action. Opted-out prospects are excluded from sends, but keep them in a separate suppression Data Extension so you can prove they were honored.
Treat consent as non-negotiable
Someone who unsubscribed in Account Engagement must never become sendable again just because you changed platforms. Feed a global exclusion list and check it on every send.
The key insight: a successful migration is not measured by how many contacts you moved, but by how many contacts you were right not to move.
6. Rebuild personalization in AMPscript
Your old Account Engagement templates used variables such as %%first_name%%. In Marketing Cloud you can enrich an email straight from a Data Extension, with a fallback when a field is empty.
%%[
VAR @firstName, @company
SET @firstName = AttributeValue("FirstName")
SET @company = Lookup("AE_Clean", "Company", "SubscriberKey", _subscriberkey)
IF EMPTY(@firstName) THEN SET @firstName = "there" ENDIF
]%%
<p>Hi %%=v(@firstName)=%%,</p>
<p>We are preparing content for %%=v(@company)=%%.</p>Always test with records that have empty fields. That is where migrations produce the most embarrassing emails.
7. Validate, cut over, then monitor
Before go-live, run three checks: a volume reconciliation across source, staging and clean tables, a hand-checked sample of 50 contacts, and a test send to an internal list. Then plan a coexistence period where Account Engagement stays active while you confirm bounce and complaint rates. If your sending domain changes, schedule a gradual IP warm-up as well.
Key takeaways
Scope before you extract. Migrate only active prospects and the fields you really use.
Choose the right key. The Salesforce ID as SubscriberKey avoids duplicates caused by email changes.
Stage everything. Deduplicate in SQL before feeding production data.
Protect consent. Unsubscribed contacts stay suppressed, whatever the platform.
Run in parallel, then switch. Watch bounces and complaints before retiring the old tool.
Need a hand with your migration? Get in touch with CGC-Agency to talk it through with a Salesforce Marketing Cloud consultant.
