Event Merchandise Pipeline with Human Review
A proof of concept that finds events in MΓ‘laga and Marbella, builds merchandise mockups with each event's logo and drafts the first sales email β with a person approving every event.
Demo (90 s)
Fictitious data, simulated AI responses.
Overview β the problem
Event organisers have little time to plan merchandise, and print shops usually wait to be asked for a quote. This project turns it around: find the event months ahead and prepare a visual proposal for review.
Technical stack & architecture
Prefect
Scheduled daily flow with one task per source, retries and a run summary.
Gemini API
Structured event extraction and email drafting. Emails and phone numbers are redacted before extraction.
Flask review panel
Local human-in-the-loop approval of events and mockups.
PostgreSQL + Docker
Events, contacts, mockups, drafts and agent runs.
Pillow
Composites the real logo onto garments without redrawing it.
Scout β Designer β Human review β Writer β (sending: not built yet)
Daily orchestration (Prefect)
The flow reads the configured sources, applies area, date and attendance rules in code and creates mockups. One failing source does not stop the others.
Run summary
Each run publishes what was found, which mockups were created and what awaits a decision.
Human review
A person approves or rejects each event. Only approved events get an email draft, and nothing is sent.
Status
Proof of concept running locally. Next: confirmed sending, opt-out handling, landing page per event, print-on-demand production.