Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create new email-exporter service #7966

Open
aarongable opened this issue Jan 21, 2025 · 0 comments
Open

Create new email-exporter service #7966

aarongable opened this issue Jan 21, 2025 · 0 comments
Assignees

Comments

@aarongable
Copy link
Contributor

Requirements:

  • Receive email addresses via gRPC
  • Forward those email addresses to Pardot as "prospects"
    • It seems likely that we want to use the "Upsert by Email" endpoint, as it appears that the simple "Create" endpoint will happily create duplicates.
    • API requests are simple JSON over HTTPS POST with a bearer token in the Authentication header

Authentication:

In order to talk to Pardot, the service will need to get an oauth2 token from a "Connected App". I believe that the easiest way to do so will be via the "client credentials flow", which appears to let you exchange a long-lived secret for a bearer token, rather than requiring an SSO sign-on and callback.

Other notes:

  • WFE should send and then immediately forget (and not log) email addresses received during new account creation
  • WFE should maybe do the same for email addresses received during account update requests. But this may result in too many duplicate addresses sent to be worth it.
beautifulentropy added a commit that referenced this issue Feb 3, 2025
Adding a temporary metric to estimate the rate of new contacts for
accounts.

Part of #7966
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants