DEV Community

Chirag Agrawal
Chirag Agrawal

Posted on

Contribute and Earn With AI Social Campaigns

This is a submission for Twilio Challenge v24.06.12

What I Built

I have developed a platform where people can donate money to social campaigns. Additionally, I created an AI-powered WhatsApp bot using Twilio's API that allows users to receive grants by sharing videos of their contributions related to active social campaigns. The AI classifies these videos and rewards users by adding money to their wallets based on their contributions. This system supports individuals, animals, and the environment in critical times by reducing dependency on NGOs and governments. People can sponsor campaigns, and the AI bot will classify and distribute grants from those sponsorships to individuals who actively contribute to the campaign.

Demo

Step 1 : User signs up on platform , connect his wallet and can fund or sponsor social campaigns.

Platform Photo
Platform Image

Step 2 : User gets message on whatsapp with all the active campaigns and rewards for contrubting towards it . If the user has contributed has contributed to any campaign then he/ she can share a video of it to our whatsapp bot and the AI model would classify that if the user has contributed or not and based on that he would earn rewards for contributing towards social mission.

Bot Conversation
Bot Conversation

Demo :

Github Code : code

Twilio and AI

Twilio Capabilities:
WhatsApp API: Integrated Twilio's WhatsApp API to enable seamless interaction between users and the AI bot for chats and media sharing .
AI Integration:
Video Classification: Implemented an AI model of gemini to classify user-submitted videos. The model analyzes videos to determine if they showcase meaningful social work aligned with active donation campaigns.
Automated Responses: Leveraged AI-generated responses to notify users of their video submission status and reward eligibility.

Future Vision :

  1. Add more ai capabilities features to recognize and store docs of users receiving rewards for an exceeded limit . along with their submission pattern and show videos uploaded by users on platform to motivate others.
  2. Integrate more Twilio api's like current location api , calls api to support more social campaigns especially for geographical locations hit by natural calamities or war zones, etc !

Additional Prize Categories

Impactful Innovators: The project drives positive social impact by encouraging and rewarding community involvement in social work activities tied to donation campaigns and environmental effects. This projects supports more social causes and campaigns by reducing the dependency from NGO's and governments and empowers more individuals to support social campaigns, specially in unpredicted times like disasters ,wars or global crisis.

<!-- Thanks for participating! →

Top comments (0)