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

add flag to redeliver-doi'd action #191

Open
marcinkoziej opened this issue Nov 23, 2022 · 2 comments
Open

add flag to redeliver-doi'd action #191

marcinkoziej opened this issue Nov 23, 2022 · 2 comments
Assignees

Comments

@marcinkoziej
Copy link
Contributor

Sync only email-consents presents a problem that "supporter updated event" does not contain action that the supporter was created as.
This is because this event is really about the supporter and it's assumed they are in CRM. So the bounce event will just need to update it.
When we want to ignore the action first, and then only add it as we see it updated - we have a problem.

Simple solution: add a server flag to just re-deliver action-contact when doi happens (but not on bounce etc).

Should not break anything for syncers that add everything (as syncers should know how to handle duplicate action).
The redelivered action will have privacy.emailStats = double_opt_in

@tttp
Copy link
Member

tttp commented Nov 24, 2022

Neat!
emailStats typo of emailStatus?

also, could you set the date when the user clicked? is this going to be updating givenAt?

  "privacy": {
    "emailStatus": null,
    "emailStatusChanged": null,
    "givenAt": "2022-11-20T23:21:54Z",
    "optIn": true,
    "withConsent": true
  },

@marcinkoziej
Copy link
Contributor Author

emailStatusChanged has this

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