πππππππππππππSet-Upππππππππππππππ
We have detailed video tutorials for each of the actions/elements we have in this plugin. Watch them to understand and use it at ease.
ππ You must set up your Google Cloud account and create a Google Cloud Project before you can use this plugin. Takes less than 5 mins if you follow the instructions. It is a one time process which is necessary to get your client-id and client-secret. ππ
β Go to
https://console.cloud.google.com/β Log in to your Google account.
β Create a new project.
β Enable Google Calendar.
β Create credentials for the API along with redirect URI.
β Note down the Client-ID and Client-secret.
βΈ Step (1 to 6) is explained in detail:
βΈ Watch Youtube video here:
https://www.youtube.com/watch?v=k1Y-jR1bpOIππππππππππInstalling the Pluginππππππππππ
β Log in to your Bubble account
β Go to Plugins
β Search for βGoogle Calendar by Ritz7β
β Install the plugin
πππππππππππUsing the Pluginπππππππππππ
ππ Note: In all the actions, we have a field named "Authorization". This field should be in the following format: Bearer <Access-Token>. Access Token will be valid for 60 mins from the time it is generated and you can regenerate it using the Refresh Token. And this step is explained in detail here:
https://www.youtube.com/watch?v=AsyYBqPsJpAππ
β Drag and drop the element "Google-Cal".
β Add an action called "Google Calendar - Get_G-Calendar_Code" which requires you can add Client-ID and redirect URI. This will return an URL that needs to be opened.
Note: The redirect URI should match exactly as you have set while configuring in Google Cloud.
β Add Next step: You will have to open the URL you get from the previous step.
Note: This will ask your permission for your app to use your Google Account. Once you permit, the element will automatically fetch the code from the URL.
β Generate Auth Token via code: Call an Action "Get Token via Code". This will require you to pass the client-ID, client-secret, code (you will get it from the element 'Google-Cal' and the param is named as 'G-Cal-Code') and redirect URI (this should match the one added in the Google Cloud Project)
Note: You will also get Refresh Token along with Access token from step-4. You use Refresh Token to get the Access Token once the old Access Token expires.
β Use "Get Token via Refresh" action to get the Access token from Refresh Token. This requires you to provide client-ID, client-secret and refresh token.
ππ Actions ππ
β½ Get Calendar List
β Inputs:
β» Access token: Token is generated from an action "Get Access Token via Code".
β Outputs:
β» List of calendars with their info
βΈ Watch the video for the above action here:
https://www.youtube.com/watch?v=fxZY3oayW-Yβ½ Get Calendar Details by Id
β Inputs:
β» Access token: Token is generated from an action "Get Access Token via Code".
β» Calendar ID: ID of a calendar which you can get from action "Get Calendar List".
β Outputs:
β» Calendar with its details such as id, summary, description etc.
βΈ Watch the video for the above action here:
https://www.youtube.com/watch?v=fxZY3oayW-Yβ½ Create Calendar
β Inputs:
β» Access token: Token is generated from an action "Get Access Token via Code"
β» Summary: It is the title/summary of the calendar.
β Outputs:
β» Calendar with its details such as id, summary, description etc.
βΈ Watch the video for the above action here:
https://www.youtube.com/watch?v=V2o08H8dooYβ½ Update/Patch Calendar
β Inputs:
β» Access token: Token is generated from an action "Get Access Token via Code".
β» Calendar ID: ID of a calendar which you can get from action "Get Calendar List".
β» Summary: It is the title/summary of the calendar.
β» Description: Description of the calendar.
β» Location: Geographic location of the calendar as free-form text.
β» Timezone: Timezone of the event, can be local timezone or any other timezones. Can be set in the element "G-Cal". For eg: Asia/Kolkata
β Outputs:
β» Calendar with its details such as id, summary, description etc.
βΈ Watch the video for the above action here:
https://www.youtube.com/watch?v=V2o08H8dooYβ½ Delete Calendar
β Inputs:
β» Access token: Token is generated from an action "Get Access Token via Code"
β» Calendar ID: ID of a calendar which you can get from action "Get Calendar List".
β Empty Output.
βΈ Watch the video for the above action here:
https://www.youtube.com/watch?v=fxZY3oayW-Yβ½ List all events
β Inputs:
β» Access token: Token is generated from an action "Get Access Token via Code"
β» Calendar ID: ID of a calendar which you can get from action "Get Calendar List".
β Outputs:
β» Calendar with its details such as id, summary, description and list of events with its details.
βΈ Watch the video for the action here:
https://www.youtube.com/watch?v=GIs63-dYXZgβ½ Get an Event by ID
β Inputs:
β» Access token: Token is generated from an action "Get Access Token via Code"
β» Calendar ID: ID of a calendar which you can get from action "Get Calendar List".
β» Event ID: ID of an event which you can get from action "List all events".
β Outputs:
β» Event details such as summary, description, start-date, end-date, attendees etc.
βΈ Watch the video for the action here:
https://www.youtube.com/watch?v=GIs63-dYXZgβ½ Get Busy Slots
β Inputs:
β» Access token: Token is generated from an action "Get Access Token via Code"
β» Minimum Time: It is the start of the interval. Ex - 2023-02-20T08:00:00Z.
β» Maximum Time: It is the end of the interval. Ex - 2023-02-20T08:00:00Z.
β» Timezone: Time zone used in the response. Ex - Asia/Kolkata
β» Email IDs: Email IDs from which you need busy slots. Ex -
[email protected],
[email protected] β Outputs:
β» Calendar with its details such as id, summary, description etc.
βΈ Watch the video for the action here:
https://www.youtube.com/watch?v=AmCsEeuDavYβ½ Create an event
β Inputs:
β» Access token: Token is generated from an action "Get Access Token via Code"
β» Summary: Summary of an event.
β» Description: Description of the event. Please also add the meeting link from other platforms like Zoom or so.
β» Start Date: Start date of the event: Eg: 2023-05-05T10:00:00.000-07:00
β» End Date: End date of the event. Eg: 2023-05-05T10:25:00.000-07:00
β» Timezone: Timezone of the event, can be local timezone or any other timezones. Can be set in the element "G-Cal". For eg: Asia/Kolkata.
β» Attendees: Email address of the attendees that will be joining the meeting. Ex -
[email protected],
[email protected] β Outputs:
β» Response of the API which is a raw text.
β» ID of the event received as response after updating/patching it.
βΈ Watch the video for the action above here:
https://www.youtube.com/watch?v=1--Lc6N3z20β½ Create an event with google meet
β Inputs:
β» Access token: Token is generated from an action "Get Access Token via Code"
β» Summary: Summary of an event.
β» Description: Description of the event. Please also add the meeting link from other platforms like Zoom or so.
β» Start Date: Start date of the event: Eg: 2023-05-05T10:00:00.000-07:00
β» End Date: End date of the event. Eg: 2023-05-05T10:25:00.000-07:00
β» Timezone: Timezone of the event, can be local timezone or any other timezones. Can be set in the element "G-Cal". For eg: Asia/Kolkata.
β» Attendees: Email address of the attendees that will be joining the meeting. Ex -
[email protected],
[email protected] β Outputs:
β» Response of the API which is a raw text.
β» ID of the event received as response after updating/patching it.
βΈ Watch the video for the action above here:
https://www.youtube.com/watch?v=1--Lc6N3z20β½ Update/Patch an event
β Inputs:
β» Access token: Token is generated from an action "Get Access Token via Code".
β» Event ID: ID of an event which you can get from action "List all events".
β» Summary: Summary of an event.
β» Description: Description of the event. Please also add the meeting link from other platforms like Zoom or so.
β» Start Date: Start date of the event: Eg: 2023-05-05T10:00:00.000-07:00.
β» End Date: End date of the event. Eg: 2023-05-05T10:25:00.000-07:00.
β» Timezone: Timezone of the event, can be local timezone or any other timezones. Can be set in the element "G-Cal". For eg: Asia/Kolkata.
β» Attendees: Email address of the attendees that will be joining the meeting. Ex -
[email protected],
[email protected] β Outputs:
β» Response of the API which is raw text.
β» Event ID: ID of the event received as response after updating/patching it.
βΈ Watch the video for the action above here:
https://www.youtube.com/watch?v=PKUkTUvxXRUβ½ Delete Event
β Inputs:
β» Access token: Token is generated from an action "Get Access Token via Code"
β» Event ID: ID of an event which you can get from action "List all events".
β Empty Output
βΈ Watch the video for the above action here:
https://www.youtube.com/watch?v=hjw7dweox6cβ½ Quick Add Event
β Inputs:
β» Access token: Token is generated from an action "Get Access Token via Code".
β» Calendar ID: ID of a calendar which you can get from action "Get Calendar List".
β» Text: It is the text describing the event to be created..
β Outputs:
β» Calendar info with details such as summary, description etc.
βΈ Watch the video for the above action here:
https://www.youtube.com/watch?v=ZkHjEGNk5I4β½ Import an event
β Inputs:
β» Access token: Token is generated from an action "Get Access Token via Code".
β» Calendar ID: ID of a calendar where you want to import the event.
β» Start Date-Time: Start date-time of the event. Eg: 2023-05-05T10:25:00.000-07:00.
β» End Date-Time: End date-time of the event. Eg: 2023-05-05T10:25:00.000-07:00
β» Timezone: Timezone of the event, can be local timezone or any other timezones. Can be set in the element "G-Cal". For eg: Asia/Kolkata.
β» iCalUID: You can find this "iCalUID" property from the event resources you want to import to another calendar.
β Outputs:
β» Response containing details of the imported event
βΈ Watch the video for the above action here:
https://www.youtube.com/watch?v=ZkHjEGNk5I4ππππππππππππππππππππππππππππππ
We have tried documenting the entire process to use the βGoogle Calendar by Ritz7β plugin to the best possible manner. But in case anything isn't clear, please share your feedback and we will try and improve it.