-------------------------------------------------------------------------------- subject: cranq.ai flow export version: 1.0 title: Create a Calendar Appointment ------------------------------------ BEGIN ------------------------------------- eyJmbG93Ijp7ImlkIjoiaWQtMDAwMDAwIiwidGl0bGUiOiJDcmVhdGUgYSBDYWxlbmRhciBBcHBvaW50 bWVudCIsImRlc2NyaXB0aW9uIjoiQ3JlYXRlIGFuIGFwcG9pbnRtZW50IGluIGEgR29vZ2xlIENhbGVu ZGFyLiBcbllvdSBjYW4gZmluZCB0aGUgSUQgb2YgeW91ciBjYWxlbmRhcnMgb24gdGhlaXIgc2V0dGlu Z3MgcGFnZS4iLCJjcmVhdGVkQXQiOjE3MDQ4MTQ0OTQ4OTQsInVwZGF0ZWRBdCI6MTcwNDg3NzQyODAz MiwiYWNjZXNzZWRBdCI6MTcwNDg3NzQyODAzMn0sImdyb3VwcyI6W10sInN0ZXBzIjpbeyJpZCI6Imlk LTQxNTU0MSIsInRpdGxlIjoiQ2FsZW5kYXIgQXBwb2ludG1lbnQiLCJkZXNjcmlwdGlvbiI6IkNyZWF0 ZSBhbiBhcHBvaW50bWVudCBpbiBHb29nbGUgQ2FsZW5kYXIiLCJmbG93SWQiOiJpZC0wMDAwMDAiLCJz dGF0dXMiOiJydW4iLCJpbmRleCI6MSwiaW5wdXRzIjp7ImlkLWM2YzYxNyI6eyJpZCI6ImlkLWM2YzYx NyIsIm5hbWUiOiJkYXRlIiwiZGVzY3JpcHRpb24iOiJUaGUgZGF0ZSBvZiB0aGUgYXBwb2ludG1lbnQg aW4gSVNPIDg2MDEgZm9ybWF0LiIsInR5cGUiOiJzdHJpbmciLCJzb3VyY2UiOnsidHlwZSI6InZhbHVl In0sImlzQm91bmRUb0NvZGUiOnRydWV9LCJpZC1kMjI1NjYiOnsiaWQiOiJpZC1kMjI1NjYiLCJuYW1l IjoiY2FsZW5kYXJJZCIsImRlc2NyaXB0aW9uIjoiVGhlIElEIG9mIHRoZSBjYWxlbmRhciB0byBhZGQg dGhlIGFwcG9pbnRtZW50IHR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------------------------- END --------------------------------------
- time (needs to be in ISO 8601 format e.g. 2023-11-30T13:00:00Z
- google calendar id (your email address)
- title of the appointment
- description of the appointment
Create an appointment in Google Calendar.