From e39a6658da6a32afd50bd9c466e2f9b12f031ab7 Mon Sep 17 00:00:00 2001 From: waleed Date: Thu, 29 Jan 2026 12:33:59 -0800 Subject: [PATCH] fix(calcom): simplify required field constraints for booking attendee The condition field already restricts these to calcom_create_booking, so simplified to required: true. Per Cal.com API docs, email is optional while name and timeZone are required. Co-Authored-By: Claude Opus 4.5 --- apps/sim/blocks/blocks/calcom.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/sim/blocks/blocks/calcom.ts b/apps/sim/blocks/blocks/calcom.ts index 92dfc1083..1b7207639 100644 --- a/apps/sim/blocks/blocks/calcom.ts +++ b/apps/sim/blocks/blocks/calcom.ts @@ -119,7 +119,7 @@ Return ONLY the timestamp string - no explanations or quotes.`, type: 'short-input', placeholder: 'Enter attendee name', condition: { field: 'operation', value: 'calcom_create_booking' }, - required: { field: 'operation', value: 'calcom_create_booking' }, + required: true, }, { id: 'attendeeEmail', @@ -134,7 +134,7 @@ Return ONLY the timestamp string - no explanations or quotes.`, type: 'short-input', placeholder: 'e.g., America/New_York, Europe/London', condition: { field: 'operation', value: 'calcom_create_booking' }, - required: { field: 'operation', value: 'calcom_create_booking' }, + required: true, }, { id: 'attendeePhone',