When you buy cinema tickets at http://silverscreen.by service sends these tickets as PDF attachments to your email. This script:
- Observs your Gmail
- Finds new tickets
- Parses them
- Creates Google Calendar event
- Take a look at Apps Script documentation https://developers.google.com/apps-script/overview
- Open https://script.google.com and create new project
- Copy all files from
srcdirectory to your project - Save your project to Google Drive
- Set
Select functionassilverScreenTicketsFromGmailToCalendar - Run project, grant permission and check your calendar as result
- Click
Trigersicon and configure periodic execution forsilverScreenTicketsFromGmailToCalendarfunction - Have fun from automatization ;)