Kembali ke Google Calendar
Sambungkan Knoon AI dengan Google Calendar (Google) untuk mengotomatisasi alur kerja AI.
Create a new event in a specified Google Calendar.
googleCalendarCreateEvent
Beta
Izin
Izin opsional
Tidak ada item untuk ditampilkan.
Parameter
| Nama | Tipe | Deskripsi | Wajib |
|---|---|---|---|
| calendarId | file | ID of the calendar to read from (e.g. "primary" or a specific calendar ID). | Ya |
| summary | mustache | Title of the event (e.g. "Onboarding call with {{data.contact.name}}"). | Ya |
| description | mustache | Detailed description or agenda for the event. You may include dynamic placeholders such as {{data.contact.externalId}}. | Tidak |
| location | mustache | Optional location or meeting link (e.g. office address or video call URL). | Tidak |
| startDateTime | mustache | Start date/time in RFC 3339/ISO 8601 (e.g. "2025-11-20T09:00:00+08:00" or "2025-11-20T09:00:00"). If no offset is provided, the calendar's default timezone will be used. | Ya |
| endDateTime | mustache | End date/time. Same rules as startDateTime. Must be after startDateTime. | Ya |
| preventConflicts | boolean | If true, the backend will prevent creating an event that conflicts with any existing event in the calendar. | Tidak |
| attendees | array (mustache) | Optional list of attendee email addresses (e.g. ["{{data.contact.email}}", "teammate@example.com"]). | Tidak |
| reminderMinutesBeforeStart | number | Email reminder timing in minutes before the event starts. Defaults to 1440 (24 hours). Use 60 for 1 hour, 30 for 30 minutes, or 0 for the start time. | Tidak |
| privateExtendedProperty | map (mustache) | Optional map of private extended properties to store on the event (e.g. {"knoonContactExternalId": "{{data.contact.externalId}}"}). These are saved under event.extendedProperties.private and can later be used as filters in googleCalendarSearchEvents. | Tidak |
| sharedExtendedProperty | map (mustache) | Optional map of shared extended properties to store on the event (e.g. {"knoonOrgId": "{{data.organization.id}}"}). These are saved under event.extendedProperties.shared and are visible to other users who can access the calendar. | Tidak |
| sendUpdates | string | Whether to send email updates to attendees about the changes: "ALL", "EXTERNAL_ONLY", or "NONE". | Tidak |
Pengembalian
| Nama | Tipe | Deskripsi |
|---|---|---|
| status | string | CREATED or ERROR. |
| sensitive.eventId | string | ID of the created event. |
| sensitive.summary | string | Title of the created event. |
| sensitive.start | string | Start date/time in RFC 3339/ISO 8601 format. |
| sensitive.end | string | End date/time in RFC 3339/ISO 8601 format. |
| confidential.htmlLink | string | Link to the event in Google Calendar. |