By the end of this lesson a staff member will fill a Google Form on their phone, and within seconds the request appears in your Requests tab with an ID and status Pending, and the approver gets an email.
You need: your spreadsheet copy with the four tabs and SPEC.md from lesson 1, any AI chat, and a second email address of your own for testing · Time: 8 minutes
Create a Google Form (forms.google.com, or Insert → Form from the spreadsheet) called Leave request, with these questions, all Required:
- Name: Short answer.
- Leave type: Dropdown with
Casual,Sick,Earned. A dropdown means nobody can type "CL" or "casual leave". - From: Date.
- To: Date.
- Reason: Paragraph.
Then, in the form's Settings, under Responses, turn on collecting email addresses and choose the verified option, so people must be signed in to their Google account and the form records their real address. Do not add an "Email" question; a typed email can be anyone's.
Finally, connect it to your spreadsheet: open the form's Responses tab, choose Link to Sheets, pick Select existing spreadsheet, and choose your copy. A new tab Form Responses 1 appears, with columns
Timestamp, Email Address, Name, Leave type, From, To, Reason.Do it now Form ready when
Why?Every choice here removes a cleaning job later. A dropdown cannot be misspelt, a date question cannot hold "next Monday", and a verified email cannot be faked, so the script can trust what it reads.
Log in free to read the rest of this lesson
Every lesson is free. A free account unlocks all of them and saves your progress.
Still to come in this lesson:
- Prepare the Requests, Staff and Settings tabs
- Ask the AI for the form-submit script
- Add the On form submit trigger
- Test with dummy requests
- Recap