Anyone who uses Booking.com to reserve hotels and doesn't want to miss the cancellation window
- Use booking.com to book hotels that allow for cancellations
- Have booking.com confirmation emails sent to your gmail address
- Use Google Calendar and receive notifications
This works by scanning your email for booking.com confirmations, then creating calendar events 48 hours before a booking needs to be cancelled. It emails you every time a calendar event is created to confirm successful operation.
- Copy the google script into a new project at https://script.google.com (you have to register beforehand)
- Make sure the calendar you want to use is the primary calendar that you own
- Click the 'play' button and save the project (create whatever name). Accept the permissions - click "Review permissions" in the pop up
- Choose your gmail account
- You'll get blocked by a "this app isn't verified", so click "advanced" in the bottom left
- Then click "go to X" app where X is the name you chose for your project, and then click "Allow"
- Create a "trigger" by going to "edit" -> "current project triggers". Choose whichever schedule you want
Do not solely rely on this for tracking your confirmations!
This is simply one additional method to keep track.
The author takes no responsibility for anything this code does, including failed notifications/
Warning: This will break if Booking changes its email template or formatting.