AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents
TypeScript ai-agentai-agent-toolsai-agentsai-agents-frameworkmcpmcp-servermcp-toolsmcpsn8n-alternativeno-code-automationworkflowworkflow-automationworkflows
feat(google-calendar): ui improvement (#16455)
Talal Jaberec734b755ccd
diff --git a/bun.lock b/bun.lockindex 4db659db7ca..e9da91e344b 100644--- a/bun.lock+++ b/bun.lock@@ -3845,7 +3845,7 @@},"packages/pieces/community/google-calendar": {"name": "@activepieces/piece-google-calendar",- "version": "0.12.3",+ "version": "0.13.0","dependencies": {"@activepieces/core-piece-types": "workspace:*","@activepieces/core-utils": "workspace:*",diff --git a/packages/pieces/community/google-calendar/package.json b/packages/pieces/community/google-calendar/package.jsonindex 591daf5755d..15e45dde588 100644--- a/packages/pieces/community/google-calendar/package.json+++ b/packages/pieces/community/google-calendar/package.json@@ -1,6 +1,6 @@{"name": "@activepieces/piece-google-calendar",- "version": "0.12.3",+ "version": "0.13.0","main": "./dist/src/index.js","types": "./dist/src/index.d.ts","dependencies": {diff --git a/packages/pieces/community/google-calendar/src/index.ts b/packages/pieces/community/google-calendar/src/index.tsindex 44b30d4c424..b83408a1b4c 100644--- a/packages/pieces/community/google-calendar/src/index.ts+++ b/packages/pieces/community/google-calendar/src/index.ts@@ -97,6 +97,12 @@ export const googleCalendar = createPiece({Authorization: `Bearer ${await getAccessToken(auth as GoogleCalendarAuthValue)}`,};},+ props: {+ url: {+ description: `Full URL, or a path relative to ${googleCalendarCommon.baseUrl}`,+ placeholder: '/calendars/primary/events',+ },+ },}),],triggers: [calendarEventChanged,diff --git a/packages/pieces/community/google-calendar/src/lib/actions/add-attendees.action.ts b/packages/pieces/community/google-calendar/src/lib/actions/add-attendees.action.tsindex be1f4ee53f1..2412b7b8a35 100644--- a/packages/pieces/community/google-calendar/src/lib/actions/add-attendees.action.ts+++ b/packages/pieces/community/google-calendar/src/lib/actions/add-attendees.action.ts@@ -11,6 +11,22 @@ export const addAttendeesToEventAction = createAction({description: 'Adds guests to an existing event.',audience: 'both',aiMetadata: { description: 'Adds one or more guests (by email) to an existing Google Calendar event, identified by calendar and event ID, preserving the current attendee list. Use to invite people to an event that already exists rather than recreating it. Not idempotent: re-running appends the same emails again, producing duplicate attendee entries.', idempotent: false },+ propertyGroups: [+ {+ key: 'event',+ display: 'section',+ label: 'Event',+ icon: 'calendar',+ props: ['calendar_id', 'eventId'],+ },+ {+ key: 'guests',+ display: 'section',+ label: 'Guests',+ icon: 'users',+ props: ['attendees'],+ },+ ],props: {calendar_id: googleCalendarCommon.calendarDropdown('writer'),eventId: Property.ShortText({diff --git a/packages/pieces/community/google-calendar/src/lib/actions/create-event.ts b/packages/pieces/community/google-calendar/src/lib/actions/create-event.tsindex 0ac12949181..039bf9275c6 100644--- a/packages/pieces/community/google-calendar/src/lib/actions/create-event.ts+++ b/packages/pieces/community/google-calendar/src/lib/actions/create-event.ts@@ -14,11 +14,13 @@ export const createEventProps = {start_date_time: Property.DateTime({displayName: 'Start Time',required: true,+ width: 'half',}),end_date_time: Property.DateTime({displayName: 'End Time',description: 'Defaults to 30 minutes after the start.',required: false,+ width: 'half',}),location: Property.ShortText({displayName: 'Location',@@ -172,6 +174,29 @@ export const createEvent = createAction({audience: 'human',aiMetadata: { description: 'Creates a Google Calendar event with structured fields (title, start/end times, location, description, attendees, color, guest permissions) and can optionally attach a Google Meet link. Use this when you have explicit event details; choose Create Quick Event instead when working from a single natural-language phrase. Requires a title and start time (end defaults to 30 minutes after start). Not idempotent: each call creates a new event.', idempotent: false },displayName: 'Create Event',+ propertyGroups: [+ {+ key: 'calendar',+ display: 'section',+ label: 'Calendar',+ icon: 'calendar',+ props: ['calendar_id'],+ },+ {+ key: 'details',+ display: 'section',+ label: 'Details',+ icon: 'text',+ props: ['title', 'start_date_time', 'end_date_time', 'location', 'description', 'colorId'],+ },+ {+ key: 'guests',+ display: 'section',+ label: 'Guests',+ icon: 'users',+ props: ['attendees', 'send_notifications', 'create_meet_link'],+ },+ ],props: createEventProps,outputSchema: eventOutputSchema,run: runCreateEvent,diff --git a/packages/pieces/community/google-calendar/src/lib/actions/create-quick-event.ts b/packages/pieces/community/google-calendar/src/lib/actions/create-quick-event.tsindex 020a4e92e26..e1d6c6d7637 100644--- a/packages/pieces/community/google-calendar/src/lib/actions/create-quick-event.ts+++ b/packages/pieces/community/google-calendar/src/lib/actions/create-quick-event.ts@@ -16,6 +16,29 @@ export const createQuickCalendarEvent = createAction({audience: 'both',aiMetadata: { description: 'Creates a calendar event from a single natural-language phrase (e.g. "Lunch with Sam tomorrow at 1pm") via Google\'s quickAdd parsing, letting Google infer the time, title, and date. Use when you have free-form text rather than structured fields; prefer Create Event when you have explicit start/end times or attendees. Not idempotent: each call creates a new event.', idempotent: false },displayName: 'Create Quick Event',+ propertyGroups: [+ {+ key: 'calendar',+ display: 'section',+ label: 'Calendar',+ icon: 'calendar',+ props: ['calendar_id'],+ },+ {+ key: 'details',+ display: 'section',+ label: 'Details',+ icon: 'text',+ props: ['text'],+ },+ {+ key: 'guests',+ display: 'section',+ label: 'Guests',+ icon: 'users',+ props: ['send_updates'],+ },+ ],props: {calendar_id: googleCalendarCommon.calendarDropdown('writer'),text: Property.LongText({diff --git a/packages/pieces/community/google-calendar/src/lib/actions/delete-event.action.ts b/packages/pieces/community/google-calendar/src/lib/actions/delete-event.action.tsindex ffaa7b50222..bc94b057b16 100644--- a/packages/pieces/community/google-calendar/src/lib/actions/delete-event.action.ts+++ b/packages/pieces/community/google-calendar/src/lib/actions/delete-event.action.ts@@ -37,6 +37,15 @@ export const deleteEventAction = createAction({description: 'Deletes an event from Google Calendar.',audience: 'human',aiMetadata: { description: 'Permanently removes an event from a Google Calendar, identified by calendar and event ID. Use to cancel or delete an existing event. Requires the event ID and cannot be undone. Idempotent: once the event is deleted, repeating the call leaves it absent (a second call may report it as already gone).', idempotent: true },+ propertyGroups: [+ {+ key: 'event',+ display: 'section',+ label: 'Event',+ icon: 'calendar',+ props: ['calendar_id', 'eventId'],+ },+ ],props: deleteEventProps,run: runDeleteEvent,});diff --git a/packages/pieces/community/google-calendar/src/lib/actions/find-busy-free-periods.ts b/packages/pieces/community/google-calendar/src/lib/actions/find-busy-free-periods.tsindex 1702ee9c4bc..df4c550dcc4 100644--- a/packages/pieces/community/google-calendar/src/lib/actions/find-busy-free-periods.ts+++ b/packages/pieces/community/google-calendar/src/lib/actions/find-busy-free-periods.ts@@ -56,11 +56,13 @@ export const findFreeBusyProps = {displayName: 'Start Time',description: 'The start of the time range to check.',required: true,+ width: 'half',}),end_date: Property.DateTime({displayName: 'End Time',description: 'The end of the time range to check.',required: true,+ width: 'half',}),};@@ -99,6 +101,22 @@ export const findFreeBusy = createAction({description: 'Finds busy periods across calendars in a time range.',audience: 'human',aiMetadata: { description: 'Queries one or more calendars for their busy time blocks within a given start/end window, without exposing event details. Use to check availability or find open slots before scheduling a meeting. Requires the calendars to check and a time range. Read-only and idempotent.', idempotent: true },+ propertyGroups: [+ {+ key: 'calendars',+ display: 'section',+ label: 'Calendars',+ icon: 'calendar',+ props: ['calendar_ids'],+ },+ {+ key: 'time_range',+ display: 'section',+ label: 'Time range',+ icon: 'calendar',+ props: ['start_date', 'end_date'],+ },+ ],props: findFreeBusyProps,outputSchema: freeBusyActionOutputSchema,run: runFindFreeBusy,diff --git a/packages/pieces/community/google-calendar/src/lib/actions/get-event-by-id.ts b/packages/pieces/community/google-calendar/src/lib/actions/get-event-by-id.tsindex df976a42292..fd3f5bbc557 100644--- a/packages/pieces/community/google-calendar/src/lib/actions/get-event-by-id.ts+++ b/packages/pieces/community/google-calendar/src/lib/actions/get-event-by-id.ts@@ -127,6 +127,15 @@ export const getEventById = createAction({description: 'Fetch event details by its unique ID from Google Calendar.',audience: 'human',aiMetadata: { description: 'Fetches the full details of a single Google Calendar event by its unique event ID within a given calendar. Use when you already have an event ID (e.g. from a trigger or a list action) and need its details; use Get all Events to search when you do not. Requires a valid event ID. Read-only and idempotent.', idempotent: true },+ propertyGroups: [+ {+ key: 'event',+ display: 'section',+ label: 'Event',+ icon: 'calendar',+ props: ['calendar_id', 'event_id'],+ },+ ],props: getEventByIdProps,outputSchema: eventOutputSchema,run: runGetEventById,diff --git a/packages/pieces/community/google-calendar/src/lib/actions/get-events.ts b/packages/pieces/community/google-calendar/src/lib/actions/get-events.tsindex 38049e87636..a5d40acf2c8 100644--- a/packages/pieces/community/google-calendar/src/lib/actions/get-events.ts+++ b/packages/pieces/community/google-calendar/src/lib/actions/get-events.ts@@ -46,11 +46,13 @@ export const getEventsProps = {displayName: 'Start Time',description: 'Only events that end after this time.',required: false,+ width: 'half',}),end_date: Property.DateTime({displayName: 'End Time',description: 'Only events starting before this. Requires Start Time.',required: false,+ width: 'half',}),singleEvents: Property.Checkbox({displayName: 'Expand Recurring Events',@@ -119,6 +121,22 @@ export const getEvents = createAction({audience: 'human',aiMetadata: { description: 'Lists events from a Google Calendar, optionally filtered by a date range, search term, and event types, and can expand recurring events into individual instances. Use to look up or browse multiple events when you do not already have a specific event ID; use Get Event by ID for a single known event. Read-only and idempotent.', idempotent: true },displayName: 'Get Events',+ propertyGroups: [+ {+ key: 'calendar',+ display: 'section',+ label: 'Calendar',+ icon: 'calendar',+ props: ['calendar_id'],+ },+ {+ key: 'filters',+ display: 'section',+ label: 'Filters',+ icon: 'filter',+ props: ['event_types', 'search', 'start_date', 'end_date', 'singleEvents'],+ },+ ],props: getEventsProps,outputSchema: getEventsActionOutputSchema,run: runGetEvents,diff --git a/packages/pieces/community/google-calendar/src/lib/actions/update-event.action.ts b/packages/pieces/community/google-calendar/src/lib/actions/update-event.action.tsindex 10de8273c91..b88a33396ff 100644--- a/packages/pieces/community/google-calendar/src/lib/actions/update-event.action.ts+++ b/packages/pieces/community/google-calendar/src/lib/actions/update-event.action.ts@@ -22,10 +22,12 @@ export const updateEventProps = {start_date_time: Property.DateTime({displayName: 'Start Time',required: false,+ width: 'half',}),end_date_time: Property.DateTime({displayName: 'End Time',required: false,+ width: 'half',}),location: Property.ShortText({displayName: 'Location',@@ -123,6 +125,29 @@ export const updateEventAction = createAction({description: 'Updates an existing event; empty fields keep their value.',audience: 'human',aiMetadata: { description: 'Updates the fields of an existing Google Calendar event identified by calendar and event ID (title, times, location, description, color, attendees, guest permissions); unset fields retain their current values. Use to modify or reschedule an event that already exists rather than creating a new one. Requires the event ID. Idempotent: applying the same field values repeatedly leaves the event in the same state.', idempotent: true },+ propertyGroups: [+ {+ key: 'event',+ display: 'section',+ label: 'Event',+ icon: 'calendar',+ props: ['calendar_id', 'eventId'],+ },+ {+ key: 'changes',+ display: 'section',+ label: 'Changes',+ icon: 'text',+ props: ['hint', 'title', 'start_date_time', 'end_date_time', 'location', 'description', 'colorId'],+ },+ {+ key: 'guests',+ display: 'section',+ label: 'Guests',+ icon: 'users',+ props: ['attendees', 'guests_can_modify', 'guests_can_invite_others', 'guests_can_see_other_guests'],+ },+ ],props: updateEventProps,outputSchema: eventOutputSchema,run: runUpdateEvent,diff --git a/packages/pieces/community/google-calendar/src/lib/triggers/calendar-event.ts b/packages/pieces/community/google-calendar/src/lib/triggers/calendar-event.tsindex 3ee83d2406d..3b9241b1260 100644--- a/packages/pieces/community/google-calendar/src/lib/triggers/calendar-event.ts+++ b/packages/pieces/community/google-calendar/src/lib/triggers/calendar-event.ts@@ -43,6 +43,15 @@ export const calendarEventChanged = createTrigger({aiMetadata: {description: 'Fires when any event in the selected calendar is created or modified, polling by last-updated time. Each fired item is the affected event; can optionally expand recurring events so every occurrence fires separately.',},+ propertyGroups: [+ {+ key: 'calendar',+ display: 'section',+ label: 'Calendar',+ icon: 'calendar',+ props: ['calendar_id', 'expandRecurringEvent'],+ },+ ],props: {calendar_id: googleCalendarCommon.calendarDropdown(),expandRecurringEvent: Property.Checkbox({diff --git a/packages/pieces/community/google-calendar/src/lib/triggers/event-cancelled.ts b/packages/pieces/community/google-calendar/src/lib/triggers/event-cancelled.tsindex d5892669b51..665d3400d2e 100644--- a/packages/pieces/community/google-calendar/src/lib/triggers/event-cancelled.ts+++ b/packages/pieces/community/google-calendar/src/lib/triggers/event-cancelled.ts@@ -133,6 +133,15 @@ export const eventCancelled = createTrigger({aiMetadata: {description: 'Fires when an event in the selected calendar transitions to a cancelled (or deleted) state, detected by polling. Each fired item is the cancelled event; can optionally be filtered by cancellation reason (deleted, attendee declined, rescheduled, other) and scoped to a single specific event.',},+ propertyGroups: [+ {+ key: 'event',+ display: 'section',+ label: 'Event',+ icon: 'calendar',+ props: ['calendar_id', 'specific_event', 'event_id'],+ },+ ],props: {calendar_id: googleCalendarCommon.calendarDropdown('writer'),specific_event: Property.Checkbox({diff --git a/packages/pieces/community/google-calendar/src/lib/triggers/event-ends.ts b/packages/pieces/community/google-calendar/src/lib/triggers/event-ends.tsindex 89d584a9444..833ae7ad333 100644--- a/packages/pieces/community/google-calendar/src/lib/triggers/event-ends.ts+++ b/packages/pieces/community/google-calendar/src/lib/triggers/event-ends.ts@@ -129,6 +129,15 @@ export const eventEnds = createTrigger({aiMetadata: {description: 'Fires once an event in the selected calendar reaches its end time, detected by polling. Each fired item is the event that just ended. Can watch all events in the calendar or be scoped to a single specific event.',},+ propertyGroups: [+ {+ key: 'event',+ display: 'section',+ label: 'Event',+ icon: 'calendar',+ props: ['calendar_id', 'specific_event', 'event_id'],+ },+ ],props: {calendar_id: googleCalendarCommon.calendarDropdown('writer'),specific_event: Property.Checkbox({diff --git a/packages/pieces/community/google-calendar/src/lib/triggers/event-start-time-before.ts b/packages/pieces/community/google-calendar/src/lib/triggers/event-start-time-before.tsindex 6a3319f33a8..936944a691a 100644--- a/packages/pieces/community/google-calendar/src/lib/triggers/event-start-time-before.ts+++ b/packages/pieces/community/google-calendar/src/lib/triggers/event-start-time-before.ts@@ -138,6 +138,22 @@ export const eventStartTimeBefore = createTrigger({aiMetadata: {description: 'Fires a configurable lead time (in minutes, hours, or days) before an event in the selected calendar begins, acting as a pre-event reminder. Each fired item is the upcoming event. Can watch all events or a single specific event.',},+ propertyGroups: [+ {+ key: 'event',+ display: 'section',+ label: 'Event',+ icon: 'calendar',+ props: ['calendar_id', 'specific_event', 'event_id'],+ },+ {+ key: 'timing',+ display: 'section',+ label: 'Timing',+ icon: 'calendar',+ props: ['time_value', 'time_unit'],+ },+ ],props: {calendar_id: googleCalendarCommon.calendarDropdown('writer'),specific_event: Property.Checkbox({@@ -157,11 +173,12 @@ export const eventStartTimeBefore = createTrigger({displayName: 'Time Unit',description: 'Unit for Time Before.',required: true,+ display: 'cards',options: {options: [- { label: 'Minutes', value: 'minutes' },- { label: 'Hours', value: 'hours' },- { label: 'Days', value: 'days' },+ { label: 'Minutes', value: 'minutes', description: 'Short notice', icon: 'calendar' },+ { label: 'Hours', value: 'hours', description: 'Longer notice', icon: 'calendar' },+ { label: 'Days', value: 'days', description: 'Longest notice', icon: 'calendar' },],},defaultValue: 'minutes',diff --git a/packages/pieces/community/google-calendar/src/lib/triggers/new-calendar.ts b/packages/pieces/community/google-calendar/src/lib/triggers/new-calendar.tsindex e6f20cafdbd..6bec8c2818c 100644--- a/packages/pieces/community/google-calendar/src/lib/triggers/new-calendar.ts+++ b/packages/pieces/community/google-calendar/src/lib/triggers/new-calendar.ts@@ -88,6 +88,15 @@ export const newCalendar = createTrigger({aiMetadata: {description: 'Fires when a calendar newly appears in the connected account\'s calendar list, whether created or shared in, detected by polling. Each fired item is the new calendar. Can be filtered by access role, a name/description text match, and an option to exclude shared calendars.',},+ propertyGroups: [+ {+ key: 'filters',+ display: 'section',+ label: 'Filters',+ icon: 'filter',+ props: ['access_role_filter', 'calendar_name_filter', 'exclude_shared'],+ },+ ],props: {access_role_filter: Property.StaticMultiSelectDropdown({displayName: 'Access Role Filter',diff --git a/packages/pieces/community/google-calendar/src/lib/triggers/new-event-matching-search.ts b/packages/pieces/community/google-calendar/src/lib/triggers/new-event-matching-search.tsindex 65766841183..d99f342294a 100644--- a/packages/pieces/community/google-calendar/src/lib/triggers/new-event-matching-search.ts+++ b/packages/pieces/community/google-calendar/src/lib/triggers/new-event-matching-search.ts@@ -140,6 +140,22 @@ export const newEventMatchingSearch = createTrigger({aiMetadata: {description: 'Fires when a newly created event in the selected calendar matches a required search term (matched across title, description, location, and attendees by default, or restricted to chosen fields). Each fired item is the matching new event; can also be filtered by event type.',},+ propertyGroups: [+ {+ key: 'calendar',+ display: 'section',+ label: 'Calendar',+ icon: 'calendar',+ props: ['calendar_id'],+ },+ {+ key: 'search',+ display: 'section',+ label: 'Search',+ icon: 'filter',+ props: ['search_term'],+ },+ ],props: {calendar_id: googleCalendarCommon.calendarDropdown('writer'),search_term: Property.ShortText({diff --git a/packages/pieces/community/google-calendar/src/lib/triggers/new-event.ts b/packages/pieces/community/google-calendar/src/lib/triggers/new-event.tsindex 3ed6fed90c6..837a1df4dac 100644--- a/packages/pieces/community/google-calendar/src/lib/triggers/new-event.ts+++ b/packages/pieces/community/google-calendar/src/lib/triggers/new-event.ts@@ -77,6 +77,15 @@ export const newEvent = createTrigger({aiMetadata: {description: 'Fires when a brand-new event is created in the selected calendar (not on edits or cancellations), via Google push notifications. Each fired item is the new event; can be narrowed by event type, a text search across title/description/location, and an option to skip all-day events.',},+ propertyGroups: [+ {+ key: 'calendar',+ display: 'section',+ label: 'Calendar',+ icon: 'calendar',+ props: ['calendar_id'],+ },+ ],props: {calendar_id: googleCalendarCommon.calendarDropdown('writer'),event_types: Property.StaticMultiSelectDropdown({