July 20, 2023
Google Apps Script is a cloud-based JavaScript platform that lets you integrate with and automate tasks across Google products.
Google Apps Scripts is incredibly powerful and enables complex systems to be built on top of Google Apps. It can be a great choice when you need to quickly prototype an idea or design a solution that’s customizable by non-technical users.
In this article, I will walk through a simple example of building a “Slot Booking System” using Google Sheets, Google Calendar, HTML, Tailwind CSS and Google Apps Script.
Here is the links.
Go to the Spreadsheet and from file menu choose “Make a copy” option and save the spreadsheet to your account. Use your copy of spreadsheet to setup the calendar and script.
“Calendar_Config” Sheet will be used as configuration of the google calendar & slots. Find and place the google calendar id (in which you want to save the booked slot events) in the A2 cell of the sheet. Turn on & off the days from the 5th row and web application date picker will disable the dates belongs to off days.
Customize the slot timings however you want. for ex:- I want to keep the first slot of 1 hour and rest will be 30 minutes on Monday, so you can below config.
Following configuration will be resulted in web application as first slot of one hour and rest of 30 minutes.
2. Go to Deploy button > New Deployment.
3. Press Deploy button & Authorize access
4. Copy the web application url.
5. Test the web application by changing the “Calendar_Config”, after changes refresh the web application and slots will be updated.
I just booked slot on the 31st January 8 PM and script created event in the google calendar, if you select the same date in web application or some other user opens the web application slot 0f 31st January, 8 PM won’t be listed anymore.
It was the basic module of slot booking in Google Apps Script, you can modify and integrate the code in the other Google Apps Script also.
Here is the link of the Github Repo, The code is in the typescript, use clasp for the deployment.
Need Customized Automation for your Business? feel free to visit contact page, we will be happy to help you.
September 29, 2024
Old photos hold valuable memories but can fade or get damaged. With AI-powered photo restoration from ClearPastAI, you can easily restore old photos, preserve family history, and share cherished memories with loved ones.
Read articleSeptember 29, 2024
ClearPastAI makes it easy to restore old photos that have become faded, scratched, or blurry. Using AI-powered photo restoration, ClearPastAI transforms damaged images into high-quality versions in minutes. Upload, restore, and download your cherished memories today.
Read articleJuly 30, 2024
Discover the top 5 app integrations on monday.com for 2024, enhancing productivity with tools like DriveSync for file management, EasyMails for email templates, and Miro for mind mapping and collaboration.
Read articleJuly 30, 2024
Discover the top 5 reasons to choose EasyMails on monday.com: save time with drag-and-drop editor, seamless integration, email automation, user-friendly UI.
Read article