Event Conflict Detector

Automatically detect scheduling conflicts when you receive event invitations via email
Created by
Relay.app logoRelay.app Team
Relay.app screenshot of: Event Conflict Detector

Steps in this workflow

1
Gmail logo
Email received
2
Relay.app logo
Extract event information
3
Google Calendar logo
Find event(s)
4
Relay.app logo
Identify whether there's a conflict

Automatically detect scheduling conflicts when you receive event invitations in your inbox. Here's how it works:

  • The workflow activates when you receive an email containing "invitation"
  • AI extracts the event details including title, start time, end time, and whether it's all-day
  • It searches your Google Calendar for any events that overlap with the proposed time
  • AI analyzes the results to determine if there's a conflict and provides a clear rationale
1
Gmail logo
Email received

Monitors your Gmail inbox for new emails containing the word "invitation" in the subject line. The trigger is configured to only activate for the first email in a conversation to avoid duplicate processing.

Relay.app screenshot of: Email received
2
Extract event information

Uses AI to automatically extract key event details from the email including the event title, start time, end time, and whether it's an all-day event. The AI analyzes the email content to identify and structure this information.

Prompt used
Please extract the following details from the attached email: - Event title - Event start time - Event end time - Whether it's an all day event
Relay.app screenshot of: Extract event information
3
Google Calendar logo
Find event(s)

Searches your Google Calendar for any existing events that overlap with the proposed event timeframe. The search returns up to 50 events that fall within the start and end times extracted from the invitation, continuing without results if no events are found.

Relay.app screenshot of: Find event(s)
4
Identify whether there's a conflict

Analyzes the new event details against existing calendar events to determine if there's a scheduling conflict. The AI provides both a clear yes/no decision and a detailed rationale explaining why there is or isn't a conflict.

Prompt used
Please decide whether there's a conflict with the new event (starting at [data]) with any of the existing events on the calendar. Output: - Whether there's a conflict - Your rationale
Relay.app screenshot of: Identify whether there's a conflict