Home / Companies / Twilio / Blog / Post Details
Content Deep Dive

Getting Things Done in Trello with Python, Flask and Twilio SMS

Blog post from Twilio

Post Details
Company
Date Published
Author
Lesley Cordero
Word Count
1,176
Language
English
Hacker News Points
-
Summary

A Python script using Flask, Twilio SMS, and Trello APIs creates an application that responds to incoming text messages with a randomly selected "To-Do" item from the user's Trello board. The script starts by setting up the environment, including installing necessary packages, creating a virtual environment, and authenticating with the Trello API. It then defines a function `get_todo_item()` that extracts To-Do items from the user's Trello board and returns one randomly chosen item. The Flask server is set up to respond to incoming text messages with the selected To-Do item. The application can be extended by integrating additional logic, such as calculating the length of neglected tasks.