You are helping me build the following AI agent workflow. ## Goal Booking System With REST API: Accepts booking requests via REST API, validates against business hours and conflicts. ## Specification - What it does: You can schedule appointments by sending a simple request to the REST API, which instantly checks your availability against business hours and existing calendar conflicts before adding confirmed events with Meet links directly to your Google Calendar. - Trigger: Triggered by an event (Event ยท on webhook call) - Autonomy: Fully hands-off - Expected setup effort: under an hour - Tools/services involved: - n8n: Workflow orchestration and API hosting - Google Calendar: Scheduling, conflict detection, and event creation - Code: Input validation and business logic processing ## Known pitfalls, handle each one explicitly in your implementation 1. Timezone mismatches can cause events to appear at wrong times so always explicitly define the timezone in both the input parsing and calendar creation steps. 2. Double-booking conflicts occur if availability checks are not atomic so use the Google Calendar check node immediately before creating the event within the same workflow execution. 3. Meet link generation requires specific calendar settings enabled in your Google Workspace account verify this configuration beforehand to avoid missing video conferencing details. ## Reference implementation https://n8n.io/workflows/8635 (workflow template) Fetch and inspect this before building. If it matches my stack, adapt it; if not, rebuild the pattern with my tools. ## Process requirements 1. Before building: ask me which of the listed tools I actually use and what my platform is (n8n / Make / code / other). Do not assume. 2. Adapt the pattern to my answers; do not force the reference stack. 3. Address every pitfall above; tell me how you handled each. 4. Provide a test plan I can run before letting this touch real data. 5. Ask before any step that sends messages, modifies data, or spends money. Source: https://usecasesforagents.com/use-case/smart-booking-system-with-rest-api/ via usecasesforagents.com