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

Pull any data that can be pulled about the final status of messages sent this week #2183

Open
CathyBeil opened this issue Dec 5, 2024 · 2 comments
Assignees

Comments

@CathyBeil
Copy link

Lots of messages marked as Pending in UI and reports this week (Census and others) that may have actually been delivered or failed within 24 hours. I'd like to be able to provide partners with updated status reports for the messages they sent this week. Aggregate if necessary, but a full report with phone numbers would be preferable.

@CathyBeil CathyBeil converted this from a draft issue Dec 5, 2024
@CathyBeil CathyBeil assigned stvnrlly and ccostino and unassigned ccostino Dec 5, 2024
@ccostino ccostino moved this from 🌱 New to ⬇ Up-Next in Notify.gov product board Dec 6, 2024
@ccostino
Copy link
Contributor

ccostino commented Dec 9, 2024

We have a plan to achieve this:

  • Grab all job data from our records so we have a list of all phone numbers used in the last week's (12/2/24 - 12/6/24) batches
  • Search through our AWS CloudWatch logs to get the status of the message for each phone number and whether they succeeded or failed (and if they failed, why - the carrier response)
    • Account for the messages that failed for the quota limit that we hit, since we'll have more than one record of trying to send a message
  • Generate a CSV report for the week with all of the delivery statuses for each phone number

As for the structure of the report itself, we should structure it the same way our current time-based reports are structured, making sure to include the delivery status, carrier, and carrier response among the other fields.

@ccostino
Copy link
Contributor

Noting here that the reports have been pulled for the weeks of 12/2/2024 and 12/9/2024 and are found here 🔒.

@CathyBeil if you need anything else related to these please let us know! Otherwise we can close this issue. 🙂

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Up-Next
Development

No branches or pull requests

5 participants