diff --git a/packages/app-store/zapier/api/subscriptions/listBookings.ts b/packages/app-store/zapier/api/subscriptions/listBookings.ts index 981e03d8ba..f6771b57e8 100644 --- a/packages/app-store/zapier/api/subscriptions/listBookings.ts +++ b/packages/app-store/zapier/api/subscriptions/listBookings.ts @@ -33,7 +33,15 @@ async function handler(req: NextApiRequest, res: NextApiResponse) { location: true, cancellationReason: true, status: true, - user: true, + user: { + select: { + username: true, + name: true, + email: true, + timeZone: true, + locale: true, + }, + }, eventType: { select: { title: true, diff --git a/packages/features/webhooks/lib/sendPayload.tsx b/packages/features/webhooks/lib/sendPayload.tsx index e396f36258..8da4ac56bb 100644 --- a/packages/features/webhooks/lib/sendPayload.tsx +++ b/packages/features/webhooks/lib/sendPayload.tsx @@ -36,6 +36,14 @@ function getZapierPayload(data: CalendarEvent & EventTypeInfo & { status?: strin endTime: data.endTime, location: location, status: data.status, + cancellationReason: data.cancellationReason, + user: { + username: data.organizer.username, + name: data.organizer.name, + email: data.organizer.email, + timeZone: data.organizer.timeZone, + locale: data.organizer.locale, + }, eventType: { title: data.eventTitle, description: data.eventDescription,