From d10fe8fe7b1d6829918bfaa5793d12b34b45cccf Mon Sep 17 00:00:00 2001 From: Waleed Latif Date: Mon, 6 Apr 2026 13:28:05 -0700 Subject: [PATCH] fix(triggers): correct Notion verification_token description and setup steps The verification_token IS the signing secret (same value), not a separate credential. Updated field description and added setup step instructing users to paste it into the Webhook Secret field. Co-Authored-By: Claude Opus 4.6 --- apps/sim/triggers/notion/utils.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/apps/sim/triggers/notion/utils.ts b/apps/sim/triggers/notion/utils.ts index df8d7a4b5b..15a2c76fc2 100644 --- a/apps/sim/triggers/notion/utils.ts +++ b/apps/sim/triggers/notion/utils.ts @@ -28,6 +28,7 @@ export function notionSetupInstructions(eventType: string): string { 'Paste the Webhook URL above into the URL field.', `Select the ${eventType} event type(s).`, 'Notion will send a verification request. Copy the verification_token from the payload and paste it into the Notion UI to complete verification.', + 'Paste the same verification_token into the Webhook Secret field above to enable signature verification on incoming events.', 'Ensure the integration has access to the pages/databases you want to monitor (share them with the integration).', ] @@ -48,9 +49,9 @@ export function buildNotionExtraFields(triggerId: string): SubBlockConfig[] { id: 'webhookSecret', title: 'Webhook Secret', type: 'short-input', - placeholder: 'Enter your Notion webhook signing secret', + placeholder: 'Enter your Notion verification_token', description: - 'The signing secret from your Notion integration settings page, used to verify X-Notion-Signature headers. This is separate from the verification_token used during initial setup.', + 'The verification_token sent by Notion during webhook setup. This same token is used to verify X-Notion-Signature HMAC headers on all subsequent webhook deliveries.', password: true, required: false, mode: 'trigger',