Create Booking Service from Natural Language Prompt
When to Use
- User describes a service they want to create using natural language (e.g., "create a yoga class for $50", "set up consultation sessions", "add a personal training appointment", "create a hidden free test course with 8 online sessions")
- The intent is autonomous creation — fill in reasonable defaults rather than asking the user for every field
Step 1: Determine Service Type
| User mentions | Type | Recipe |
|---|---|---|
| consultation, appointment, meeting, 1-on-1, one-on-one, session | APPOINTMENT |
Create Appointment Service |
| class, yoga, pilates, group session, group workout, bootcamp class | CLASS |
Create Class Service |
| workshop, program, course, training program, multi-session, fixed series, 8 sessions | COURSE |
Create Course Service |
| (unclear or unspecified) | APPOINTMENT |
Create Appointment Service |
Step 2: Follow the Type-Specific Recipe
Once the service type is determined, follow the corresponding recipe linked above. Each recipe covers:
- Gathering business context (staff where required, categories, duplicate check)
- Applying type-specific defaults (pricing, capacity, duration, staff assignment)
- Creating the service via
bulkCreateServices - For COURSE services with session dates/counts, creating separate Calendar events via
bulkCreateEventson the returnedservice.schedule.id - Navigating to the service form for user review
- Providing a summary of what was created and assumptions made