Email Automation
Manage catering event quotes and countdowns with Postgres, Gmail, OpenAI and Telegram
When an API call/webhook arrives, it handles email with OpenAI / ChatGPT using Gmail, Postgres, Telegram.
What it does
## 09-09-01 automate catering event orders with AI quotes and countdown reminders ### How it works Keep catering events on track from inquiry to invoice. - A new event arrives on the intake webhook. Validation rejects bad payloads, an AI assistant writes a quote email to the client, and the event is stored with its deposit deadline. - When the client replies with changes or pays the deposit, the update webhook updates the record and confirms by email while the owner gets a Telegram alert. - On event day the completion webhook saves the final headcount and the AI writes the final invoice email plus a review request. - Every morning at 08:00 a countdown sweep finds events at T-7, T-3, T-1 and overdue deposits, emails clients, pings the owner, and posts an all clear on quiet days. ### Setup steps - Create the catering_events and comms_log tables in Postgres and connect the credential. - Add Gmail, Telegram and OpenAI credentials, then point the three webhooks at your intake channel. - Replace ops@yourcatering.com and YOUR_TELEGRAM_CHAT_ID with real values. ### Customization - Edit packages and payment terms in Build Quote Context; change sweep thresholds in Parse Open Events. Rules are deterministic; the AI only writes the copy.
The steps
- Webhook Catering Intake
- Normalize Intake
- Validate Intake
- Build Invalid Intake Notice
- Post Invalid Intake TG
- Email Invalid Intake Notice
- Build Quote Context
- AI Draft Quote
- Quote Model
- Parse Quote Output
- Insert Catering Event
- Log Quote Comms
- Send Quote Email
- Send Intake TG Alert
63 steps in total.
Similar automations
Lead Generation & EnrichmentSend follow-up emails and texts to open quotes with OpenAI, Gmail and Twilio13 stepsCalendar & SchedulingBook accepted quotes from Google Sheets into Calendar and send Gmail reminders32 stepsWeb Scraping & ResearchExtract Quotes from Web Pages with Bright Data Gemini5 stepsEmail AutomationSend instant price quotes from forms with Data Tables, Telegram and Gmail44 steps