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

Running a serverless voter campaign with Contentful and Twilio

Blog post from Contentful

Post Details
Company
Date Published
Author
Robert Svensson
Word Count
1,194
Company Posts That Month
6
Language
English
Hacker News Points
-
Post removed?
No
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.

Trends Found in this Post
Trend Post Mentions Total Month Mentions Posts Companies MoM
Serverless 17 94 16 13 -25%
Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.