Company
Date Published
Author
Robert Svensson
Word count
1194
Language
English
Hacker News points
None

Summary

A Python Flask app is being built to send campaign messages via SMS using Twilio's Programmable SMS API, with Contentful serving as the content infrastructure. The app will integrate with Contentful's WebApp and API-calls to retrieve digital assets, create content types for voter messages and voter numbers, and deploy to Amazon AWS Lambda using Zappa. To achieve this, a Flask app is being created that uses Contentful's Python SDK to authenticate against the Content Delivery API and retrieve campaign messages, which are then sent via Twilio's Programmable SMS API. Additionally, webhooks will be configured in Contentful to trigger on changes made to content stored with Contentful, calling AWS Lambda functions. The goal of this project is to help a politician, Polly Politician, get as many votes as possible by sending campaign messages via SMS.