# Google Calendar

Google Calendar is a time management and scheduling service developed by Google. It enables users to create, manage, and share events and appointments across devices, making it ideal for personal planning, meeting coordination, and collaborative scheduling.

To integrate Google Calendar with ZBrain Flow, follow these detailed steps:

* Click the '+' button in the Flow and search for **Google Calendar** in the ZBrain Flow.
* Select the specific task from the list you want to include in the Flow. You can perform the below-listed tasks:
  * **Add Attendees to Event**: Add one or more people to an existing event.
  * **Create Event**: Schedule a new event on Google Calendar.
  * **Create Quick Event**: Quickly add a calendar event with minimal details.
  * **Custom API Call**: Make a custom API call to a specific Google Calendar endpoint.
  * **Delete Event**: Remove an event from Google Calendar.
  * **Get All Events**: Retrieve all events from a specific calendar.
  * **Update Event**: Modify details of an existing event.

### **Create Event** <a href="#create-event" id="create-event"></a>

Schedule a new event on Google Calendar.

### **How to Configure Create Event** **to ZBrain Flow?** <a href="#how-to-configure-create-event-to-zbrain-flow" id="how-to-configure-create-event-to-zbrain-flow"></a>

* Create a connection with your Gmail ID and save the connection with a proper name in the **Connection** field.
* The next field, **Calendar**, will be populated automatically with your Gmail ID.
* Provide a proper title of the event in the **Title of the event** field.
* Provide the value in the **Start date time of the event** field.
* Provide the value in the **End date time of the event** field.
* Provide the **Location**.
* Provide the event **Description**.
* Select the color as per your choice in the next field.
* Add the attendee email ID in the **Attendees** field.
* Modify the **Send Notifications** field value as per the requirements. Enable or disable notifications for attendees (e.g., email alerts).
* **Optional Settings**
  * **Guests can modify:**\
    Allows invited attendees to change the event details, such as editing the description or adjusting the date and time.
  * **Guests can invite others:**\
    Let attendees add guests to the event, expanding participation without the event creator’s intervention.
  * **Guests can see other guests:**\
    Controls whether attendees can view the names or email addresses of other invited guests at the event.
  * **Send Notifications:**\
    Determines whether attendees receive email alerts or other notifications regarding event creation, changes, or cancellations.

### **Create Quick Event** <a href="#create-quick-event" id="create-quick-event"></a>

Quickly add a calendar event with minimal details.

### **How to Configure Create Quick Event** **to ZBrain Flow?** <a href="#how-to-configure-create-quick-event-to-zbrain-flow" id="how-to-configure-create-quick-event-to-zbrain-flow"></a>

* Create a connection with your Gmail ID and save the connection with a proper name in the **Connection** field.
* The next field, **Calendar**, will be populated automatically with your Gmail ID.
* Provide a proper summary of the event in the **Summary** field.
* Select the appropriate value for the **Send Updates** field.

### **Add Attendees to the Event** <a href="#add-attendees-to-the-event" id="add-attendees-to-the-event"></a>

Add one or more people to an existing event.

### **How to Configure Add Attendees to the Event to ZBrain Flow?** <a href="#how-to-configure-add-attendees-to-the-event-to-zbrain-flow" id="how-to-configure-add-attendees-to-the-event-to-zbrain-flow"></a>

* Create a connection with your Gmail ID and save the connection with a proper name.
* The next field, Calendar, will be populated automatically with your Gmail ID.
* Select the **Event ID** from the previously created event in the Flow.
* Provide the email ID of the **Attendees** in the field.

### **Custom API Call** <a href="#custom-api-call" id="custom-api-call"></a>

Make a custom API call to a specific Google Calendar endpoint.

### **How to Configure Custom API Call to ZBrain Flow?** <a href="#how-to-configure-custom-api-call-to-zbrain-flow" id="how-to-configure-custom-api-call-to-zbrain-flow"></a>

* Create a **Connection** with your Gmail ID and save the connection with a proper name, or select the already created connection.
* Provide the **URL.** The **URL** refers to the specific endpoint of the Google Calendar API you want to interact with. This endpoint determines the resource or action the request will address (e.g., creating events, updating calendars, retrieving event details).
* Choose the **Method** to be used for the API call.
* Provide the **Headers.** These are key-value pairs sent along with the API request to convey additional information (e.g., authentication tokens, content type). Headers help the server process your request correctly. Authorization headers are injected automatically from your connectio&#x6E;**.**
* Provide the **Query Parameters** object. These are appended to the URL and are typically used to filter or modify the request. For example, adding `?status=active` might limit results to only active records.
* Include the main data payload (in formats such as JSON or form data) in **the Body** when making a request to create, update, or process the server's information.

### **Delete Event** <a href="#delete-event" id="delete-event"></a>

Remove an event from Google Calendar.

### **How to Configure Delete Event to ZBrain Flow?** <a href="#how-to-configure-delete-event-to-zbrain-flow" id="how-to-configure-delete-event-to-zbrain-flow"></a>

* Select the connection from the **Connection** drop-down.
* Select the calendar from the **Calendar** drop-down.
* Select the particular event you want to delete in the **Event ID**.

### **Get All Events** <a href="#get-all-events" id="get-all-events"></a>

Retrieve all events from a specific calendar.

### **How to Configure Get All Events to ZBrain Flow?** <a href="#how-to-configure-get-all-events-to-zbrain-flow" id="how-to-configure-get-all-events-to-zbrain-flow"></a>

* Select the connection from the **Connection** drop-down.
* Select the calendar from the **Calendar** drop-down.
* (Optional) Select specific criteria (e.g., date range, status) to refine your results for **Event Types / Filters.**
* Specify the date range for which you want to retrieve events in the **Date From / Date To** fields.
* Specify keywords or phrases to filter events in the **Search Term**. For example, entering “team meeting” returns only events whose title or description contains those words.
* Enable or disable **Expand Recurring Event (Toggle)** as per the requirement. When enabled, each instance of a recurring event is listed individually rather than grouped as a single series. This provides a detailed view of all occurrences.

### **Update Event** <a href="#update-event" id="update-event"></a>

Modify details of an existing event.

### **How to Configure Update Event to ZBrain Flow?** <a href="#how-to-configure-update-event-to-zbrain-flow" id="how-to-configure-update-event-to-zbrain-flow"></a>

* Select or create a connection using your Gmail account from the **Connection** field.
* Select the **Calendar**. Automatically populated with your Gmail ID once connected.
* Provide the **Event ID** you want to update.
* Provide the value in the **Title of the event** field.
* Provide the value in the **Start date time of the event** field
* Provide the value in the **End date time of the event** field.
* Provide the **Location**.
* Provide the event **Description**.
* Select the color as per your choice in the next field.
* Add the email IDs of the attendees using the **Add Item** button in **Attendees**.
* **Optional Settings**
  * **Guests can modify:**\
    Allows invited attendees to change the event details, such as editing the description or adjusting the date and time.
  * **Guests can invite others:**\
    Let attendees add guests to the event, expanding participation without the event creator’s intervention.
  * **Guests can see other guests:**\
    Controls whether attendees can view the names or email addresses of other invited guests at the event.
  * **Send Notifications:**\
    Determines whether attendees receive email alerts or other notifications regarding event creation, changes, or cancellations.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.zbrain.ai/zbrain-documentation/zbrain-builder/flows/flow-components/google-calendar.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
