Websites, apps & code / Automation
Auto calendar invites after a booking
A client books a slot in a form and you want a Google Calendar event created and a confirmation sent.
1Fill in your details
Leave blank to use the example. Names are remembered for other prompts too (stored only on your device).
3Copy the prompt
Please write a Google Apps Script flow: when a client submits my booking form, create an event in my Google Calendar and email the client a confirmation. Booking form: Name, email, service, date, time Service lengths: Haircut 45 min, colouring 120 min, treatment 60 min Requirements: - Check the calendar for that slot first; if it is taken, do not create the event and send a mail asking the client to pick another time - The confirmation mail covers service, date, time, location [ ] and how to cancel - The same stylist must not be double-booked; reply asking the client to choose another time. - Use one consistent event title format so I can read my diary at a glance - List the steps and permissions to authorise first, then the code with comments - Use only the form fields. If location or price is missing, leave it as [ ]. Output format: steps, the confirmation mail draft, the code, and a test method, in that order. Reply in English. [Make it sound human] - Explain in plain words; no pleasantry openers or empty summaries. - Only necessary, short, practical code comments; the simplest working approach, no over-engineering. - Interface text (buttons, hints, error messages) should sound like a person wrote it; no "seamless", "empower", "unlock". [Quality] Code must run as is and handle common errors; tell me how to test it and confirm it works; ask first if a requirement is unclear; never put passwords or API keys in the code.
Paste it into ChatGPT, Gemini, Claude or Meta AI.
Test result
AI tools that suit this
- ChatGPT Suggested tool Free plan
The most widely used AI chat, for writing, questions and images
- Claude Suggested tool Free plan
Strong at long documents, editing and code
- Gemini Suggested tool Free plan
Google's AI; generates and edits images, works with Gmail and Docs
Recommendations only, not sponsored. Check each site for what the free plan includes.
This site is made by FullMark Tech
Want your own website, or your shop spreadsheets automated? FullMark Tech builds business websites and custom Excel tools.