The Google Calendar Delete Event action is used to delete an existing event from Google Calendar. This action allows you to remove a specific event from the calendar through your application. It is particularly useful for meeting cancellations, cleaning up incorrectly created events, and process cancellation scenarios.
Technical Specifications
Delete Event: Deletes the selected event (eventId) within the specified calendar (calendarId).
Parameter Compatibility:
settings (Object – required): Configuration information required for Google Calendar integration.
calendarId (String – required): The calendar ID where the event is located.
eventId (String – required): The ID of the event to be deleted.
Value Binding: Fixed values can be assigned to parameters, or dynamic values can be bound via the Symbol Picker (Action Result, Current, Form Component, Screen Input, etc.).
Web & Mobile Support: Works seamlessly on both web and mobile applications.
Google Calendar Delete Event Action Application Steps
1. Defining the Action in UI Design
Open your project on the Kuika platform.
In the UI Design module, select the screen where you want to perform the event deletion.
Add a button (e.g., “Delete Event”).
Select the button and add the OnClick → Google → Google Calendar Delete Event action from the + ADD ACTION menu.
2. Configuring Parameters
settings (required): Select the defined settings for Google integration.
calendarId (required): E.g.: primary.
eventId (required): The ID of the event to be deleted (can be obtained from previous actions or the Google Calendar API).
Use Case: Meeting Cancellation
In a project management application, this action can be used when a user wants to cancel a previously created event.
Steps:
Add a list in UI Design → Events in the calendar.
The user selects an event from the list.
When the “Delete Event” button is clicked, the Google Calendar Delete Event action is triggered.
The event is removed from Google Calendar.
Google Calendar Delete Event Advanced Customizations
Dynamic Deletion: Different events can be deleted based on user selections.
Chain Usage: After the event is deleted, a “Meeting canceled” notification can be sent to the team using the Slack Post Message action.
Conditional Deletion: Conditions can be added so that only future events are deleted.
Technical Risks and Controls
If calendarId and eventId are not entered correctly, the operation will fail.
If user access permissions are missing, the action will not work.
Deleted events cannot be recovered, so it is recommended to display a confirmation prompt to the user.