Prevent duplicate contacts in Pardot by using the upsert-by-email endpoint. Some background: In https://github.com/letsencrypt/boulder/pull/7998#discussion_r1949702280 (later superseded by https://github.com/letsencrypt/boulder/pull/8016), we discussed using this endpoint. It turns out I was wrong about Pardot storing Prospects by email address; you can have multiple Prospects with the same email. While subscribed newsletters won’t be sent to both contacts, the onboarding process doesn’t deduplicate in this way and will send to an email address each time it’s added, resulting in duplicate onboarding messages. |
||
---|---|---|
.. | ||
proto | ||
cache.go | ||
exporter.go | ||
exporter_test.go | ||
pardot.go | ||
pardot_test.go |