DEV Community

Karthikeyan
Karthikeyan

Posted on

3 3 2 1 2

Twilio challenge - Environmental Bot

This is a submission for Twilio Challenge v24.06.12

What I Built

This project provides an AI-driven air quality alert system using Twilio and OpenAI. Users can send their location via WhatsApp and receive alerts based on the current air quality index (AQI) along with AI-based safety advice. This system helps individuals stay informed about air quality and take necessary precautions.

Demo

Github link: https://github.com/skarthikeyan96/envrionmental-bot

Sandbox link:

sandbox

Screenshots:

Demo

demo

Steps to try

  1. Join the WhatsApp sandbox (details in the screenshot).
  2. Send your location via WhatsApp.
  3. Receive AI-generated analysis and safety measures.

Twilio and AI

We used Twilio's WhatsApp API to receive user location data and send back real-time air quality alerts. OpenAI analyzes the air quality index from OpenWeatherMap and generates personalized safety advice. This advice is then sent to the user via Twilio, providing immediate and actionable information.

Additional Prize Categories

Impactful Innovator: Our AI-driven system leverages Twilio and OpenAI to provide real-time air quality alerts and safety advice via WhatsApp. This tool addresses environmental and health concerns by keeping individuals and communities informed about air quality, promoting healthier and safer living conditions.

Thank you

API Trace View

How I Cut 22.3 Seconds Off an API Call with Sentry 🕒

Struggling with slow API calls? Dan Mindru walks through how he used Sentry's new Trace View feature to shave off 22.3 seconds from an API call.

Get a practical walkthrough of how to identify bottlenecks, split tasks into multiple parallel tasks, identify slow AI model calls, and more.

Read more →

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay