Page MenuHomePhabricator

Non Campaign Emails in Database
Open, MediumPublic

Description

Hoping we can start pulling in non campaign emails (RML as example) to these tables:

  • civicrm.civicrm_mailing_provider_data
  • civicrm.civicrm_mailing
  • civicrm.civicrm_mailing_stats

Email team documentation: https://docs.google.com/document/d/1ziO3voCdqTbzEmhXjEfOyTB7rFcnatt6eDYl7eYOZvc/edit#heading=h.75id8n9j2j69

Instructions and links from @bsisolak :

Use GetSentMailingsForOrg with CAMPAIGN_ACTIVE, CAMPAIGN_COMPLETED and CAMPAIGN_CANCELLED. Then cycle the IDs through GetAggregateTrackingForMailing. The trick is you get a new ReportId for each day, so you might want to store these somewhere else so you can pivot the data by day

https://developer.goacoustic.com/acoustic-campaign/reference/getaggregatetrackingformailing

https://developer.goacoustic.com/acoustic-campaign/reference/getsentmailingsfororg

Event Timeline

Hi all, wanted to check on the status of this. Any chance we can get this into the current or next sprint? :)
cc: @spatton @Ejegg @AKanji-WMF

Hi team - for some reason this didn't have our tag on it - bringing it into triage now so the team can look at it next time we meet.

Ejegg added a subscriber: bsisolak.
AKanji-WMF triaged this task as Medium priority.Jun 10 2024, 8:40 PM