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 job to send mass SMS notifications 👥 #472

Open
Tracked by #473
tomas-salgado opened this issue Aug 23, 2024 · 3 comments
Open
Tracked by #473

Create job to send mass SMS notifications 👥 #472

tomas-salgado opened this issue Aug 23, 2024 · 3 comments
Assignees
Labels
Backend 🔌 This requires backend work (ie: DB, business logic). Feature 🚀 A new feature or improvement.

Comments

@tomas-salgado
Copy link
Collaborator

tomas-salgado commented Aug 23, 2024

Description

We want to create a job that takes all the existing phone numbers in the database and sends a text notification utilizing Twilio.

Acceptance Criteria

  • The job should take in an array of phone numbers and a message
  • The job should send an SMS message to all phone numbers with the given message

Additional Context

We will want to add this code within a new directory named twilio within the path packages/core/src/modules.

This will be the first integration of Twilio with Oyster(!) so this will require some research-here are the Twilio docs. Feel free to check out the Slack use-cases to see examples of Slack jobs.

@tomas-salgado tomas-salgado added Feature 🚀 A new feature or improvement. Backend 🔌 This requires backend work (ie: DB, business logic). labels Aug 23, 2024
@Habeebah157
Copy link
Contributor

I would like to do this one.

@Habeebah157
Copy link
Contributor

Hello,
I am not sure if I am checking wrong but phone numbers would be under students right? Like the students numbers. I do it as one of the students fields. I also tried searching phone number in the codebase to give me a clue of what it could be but could not find it. There is nothing like phone number in the oyster channel on slack either.

@tomas-salgado
Copy link
Collaborator Author

Just left a comment about this in your Slack message, but basically PR is partly dependent on issue #477, since that issue will add the field phone_number to the database. While that is still in progress, you can add the field locally by adding the migration script here (which is from the PR that's up for issue #477).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Backend 🔌 This requires backend work (ie: DB, business logic). Feature 🚀 A new feature or improvement.
Projects
None yet
Development

No branches or pull requests

2 participants