Reply to appointment emails with free Google Calendar slots via AI
Turn appointment-request emails into concrete bookable time slots with AI.
Polls Gmail for new emails. For each email, OpenAI decides whether it is an appointment request and extracts the patient name, doctor type, and requested date-time period; other emails are skipped. Free time slots are fetched from Google Calendar for that period, the workflow loops over them keeping only slots at least 45 minutes long, and OpenAI proposes a list of concrete 45-minute appointment options. The workflow replies to the original email with the suggestions.
- Email polling trigger
- AI extraction of appointment details into structured JSON
- Google Calendar free-slot lookup for the requested period
- Slot filtering by minimum duration
- AI appointment suggestion in a fixed text format
- Automatic reply to the original email
- Google Mail connection
- OpenAI API key
- Google Calendar connection, with the calendar to check selected in the "Get free time slots" step
Clinics or service businesses that want to turn appointment-request emails into concrete bookable time slots automatically.
- Trigger: poll Gmail for new emails.
- Fetch the email from the trigger.
- Check with OpenAI whether the email is an appointment request, and extract the patient name, doctor type, and requested date-time period.
- Condition: continue only for appointment requests; log and skip any other email.
- Get free time slots from Google Calendar for that period.
- Loop over the slots, keeping only those at least 45 minutes long.
- Read back the list of valid slots.
- Propose a list of 45-minute appointment options with OpenAI.
- Reply to the original email with the suggested appointments.
MoreSupportTemplates
Rewrite new HubSpot tickets with OpenAI and route them to Slack
When a new HubSpot ticket is created, fetches the ticket and uses OpenAI to rewrite its content into a clear, structured format. OpenAI then categorizes the ticket as tech or customer support, and a condition routes a Slack notification with the rewritten ticket to either the tech-team or sales-team channel.
Triage after-hours Gmail with OpenAI and auto-reply or alert Slack
On every new Gmail message, checks whether it arrived within business hours (Mon-Fri, 09:00-17:00 UTC). For emails received outside working hours, OpenAI classifies the urgency, the email is logged to a Google Sheet, and a condition branches: urgent emails get an AI-summarized internal Slack alert plus an urgent auto-reply, while non-urgent emails get an AI-generated helpful auto-reply.
How ByteChef works?
Focus on what matters,automate the rest.
By subscribing you agree to our Privacy Policy. Unsubscribe anytime.
Copyright © ByteChef. All rights reserved.