Inspiration

Working with content creators sounds simple, but in reality, it's a logistical nightmare. It involves weeks of back-and-forth emails about dates, shipping addresses, campaign requirements, and manual payment follow-ups. Worse, brands often rely on unverified screenshots to measure campaign success. I wanted to build a single, transparent ecosystem where brands and creators could collaborate securely, knowing that logistics, analytics, and payments were automated and verified.

What it does

CITRA is an all-in-one PR platform for brands and creators. It handles the entire campaign lifecycle:

  • Smart Offers & Logistics: Brands send campaign terms (base pay, bonus goals, deliverables). Once accepted, creators add shipping details directly in the app.

  • Secure Escrow Payments: Using PayPal, brands fund the campaign upfront. Funds are held securely until deliverables are met.

  • AI-Audited Analytics & ROI Reporting: After the campaign, creators manually input their stats and upload a screenshot of their analytics. Google Gemini steps in as an AI auditor: it reads the image to strictly verify that the data entered by the influencer is correct. Beyond simple verification, Gemini analyzes the campaign's cost-effectiveness (calculating metrics like cost-per-view) and generates a detailed report for the brand, evaluating whether the campaign was fruitful and a success.

  • Automated Payouts: Once the brand reviews the AI-generated report and approves the campaign, the base pay and any earned bonuses are automatically released to the creator via PayPal.

How I built it

I developed the project entirely in Visual Studio Code (VS Code) using Python. For the data architecture, I implemented a MySQL database to efficiently manage user roles, campaign details, and performance metrics. The core functionality relies on integrating two major APIs: the PayPal Sandbox API to handle the secure escrow-style transaction flows, and the Google Gemini API to act as the core analytical engine.

Challenges I ran into

The biggest challenge was connecting and orchestrating the PayPal and Gemini APIs. Working with the PayPal API meant understanding how to handle authentication tokens, configure the Sandbox environment, and ensure the payment flows triggered exactly when a campaign was approved. On the Gemini side, the challenge was configuring the AI to accurately read data from images, verify it against the influencer's manual inputs, and return a structured report evaluating the campaign's success. Getting these two powerful APIs to communicate seamlessly with my MySQL database required a lot of careful testing and debugging.

What I learned

I deepened my understanding of backend development with Python and MySQL. Most importantly, I learned how to read extensive API documentation and successfully integrate complex third-party services. Mastering the authentication and data handling for both financial transactions (PayPal) and artificial intelligence (Gemini) gave me a solid foundation in building real-world, scalable applications.

Share this project:

Updates

Submission history