Building a DIY ADHD Medication Reminder with Azure Functions & Twilio

Chloe Condon
Jun 4 · 8 min read
April (@vogueandcode) + me at Rupaul’s DragCon 2019, posing with our giant cell phones.

🙋‍♀️ The Good News: Time flies when you’re coding!

🤦‍♀️ The Bad News: I do not function as well without my ADHD medication and well… I forgot to take my ADHD medication.

It me.

Let’s Build It (before we forget to 😅)!

Step 1: Create an Azure Function

For this example, I’m selecting In-portal.
Go to “More templates” and select Trigger Timer

Step 2: Integrate with Twilio

npm install twilio
You can access the console in the Azure portal here.

Step 3: Write some code (quickly, before we get too distracted! 😅)

Here’s a look at the code:

Outputs, Inputs, and our timer trigger schedule can also be edited here, and will be updated in the function.json file.
To navigate to TwiML Bins, navigate to the page in Twilio, like so.
Note: your SID will appear where the pink line is. Be sure to keep this secure!
Ft. a special cameo from Shia LaBeouf. #JustDoIt
An image of the Twilio Assets page

Step 4: Test it out (before we get distracted by another project)!

Example of an incoming call with my contact name set.

Step 5: Set it and forget it! ⏰

Time to take your pills, Gaga!

Microsoft Azure

Any language. Any platform. Our team is focused on making the world more amazing for developers and IT operations communities with the best that Microsoft Azure can provide. If you want to contribute in this journey with us, contact us at medium@microsoft.com

Thanks to sigje.

Chloe Condon

Written by

Musical theatre actress turned developer evangelist.

Microsoft Azure

Any language. Any platform. Our team is focused on making the world more amazing for developers and IT operations communities with the best that Microsoft Azure can provide. If you want to contribute in this journey with us, contact us at medium@microsoft.com