out of working hours
Triage, auto-reply to, and escalate customer emails that arrive after hours.
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.
- New-email trigger
- Business-hours detection via date helpers
- AI urgency classification of the incoming email
- Google Sheets logging of each out-of-hours email
- Condition-based urgent vs. non-urgent handling
- AI-generated auto-replies to the sender
- Slack alerts to the internal team for urgent cases
- Google Mail connection
- OpenAI API key
- Google Sheets connection with the logging spreadsheet
- Slack connection with the alert channel
Support teams that want after-hours customer emails triaged, auto-acknowledged, and escalated when urgent.
- Trigger: a new Gmail message arrives.
- Get the current timestamp and check whether it falls within business hours.
- Condition: continue only if the email arrived outside working hours.
- Classify the email's urgency with OpenAI.
- Log the email and its classification to a Google Sheet.
- Condition: if urgent, generate an internal team message, send an urgent auto-reply, and post a Slack alert; if not urgent, generate and send a helpful auto-reply.
MoreSupportTemplates
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.
Polls Gmail for new emails. For each email, OpenAI extracts the patient name, doctor type, and requested date-time period. 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.