courtbot-python icon indicating copy to clipboard operation
courtbot-python copied to clipboard

Epic: finish courtbot

Open groovecoder opened this issue 6 years ago • 0 comments

Based on hack night's session, we came up with these major "phases" of building the new courtbot system:

  • [x] Set up Amazon Lex with Twilio and Lambda functions to get Year, County, and Case from the end user.
  • [x] courtbot-python #2 : Add an API call: GET https://courtbot.com/case?year=&county=&case= endpoint finds the case, and responds with the full case object, including the arraignment date.
  • [x] lambda function #15: Call the GET /case? endpoint from the lambda function, and then ask the user to confirm reminders.
  • [x] courtbot-python #3: Add an API call: POST https://courtbot.com/reminders with the case, phone #, and date. courtbot.com creates all reminders for the case.
  • [x] lambda function: When the user confirms the reminders, the lambda function invokes the POST /reminders endpoint
  • [x] courtbot-python: Add cron job to courtbot.com that checks for un-sent reminders and sends them.

IMG_0185

groovecoder avatar Jul 04 '19 12:07 groovecoder