Coder Social home page Coder Social logo

Code reminder process about promptly HOT 1 CLOSED

andyhull avatar andyhull commented on August 16, 2024
Code reminder process

from promptly.

Comments (1)

ycombinator avatar ycombinator commented on August 16, 2024

Some thoughts for you to consider based on our experience building a similar system for Louisville:

  1. Consider queueing up messages for delivery. That is, each queue item will contain the following fields at minimum: the message to be sent, the recipient's phone number, the time to send the message. A separate "SMS queue processor" process can process the items in the queue and deliver the messages. This architecture has many advantages, some of which are:
    • In the initial stages of the project, you (or similar superusers of the system) could inspect the contents of the delivery queue before the actual message delivery takes places
    • You have the ability to quickly suspend sending messages en masse simply by stopping the "SMS queue processor" process. Again, something that might be useful in the initial stages of the process.
    • You can easily implement blackout times (such as between the hours of 11PM and 6AM).
    • You can create multiple "taps" into this queue besides the main "SMS queue processor" process. For instance, you could have a separate "email queue processor" process go through the queued items and email each to you for review X minutes/hours before the scheduled delivery time for that item. Similarly, you could imagine a "digest email queue processor" process that goes through queued items for the past Y hours/days and creates a report to send out.
  2. This might be an obvious one but record all conversations in a separate log, indexed by contact #. This will be very useful not only for debugging issues but also for understanding the intent of users' interactions with your system.
  3. This may again be obvious but strongly consider implementing a catch-all response that directs users to call a phone number for further information.

from promptly.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.