You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor(netlify): switch trigger to manual webhook setup
Removes auto-registration of Netlify outgoing webhooks because the data.signature_secret field doesn't reliably round-trip through the hooks API. The user now configures the webhook in Netlify's dashboard and pastes the JWS secret token into the trigger; Sim only verifies inbound signatures with that secret. Drops apiKey and siteId from the trigger config (still required on the block for tool operations).
'Generate a Personal Access Token at <strong>User settings → Applications → Personal access tokens</strong> (<a href="https://app.netlify.com/user/applications#personal-access-tokens" target="_blank" rel="noreferrer">direct link</a>) and paste it above.',
61
-
'Enter the target <strong>Site ID</strong> (or primary domain) of the Netlify site to listen on.',
62
-
`<strong>Deploy</strong> the workflow — Sim will automatically register an outgoing webhook in Netlify for <strong>${eventLabel}</strong> events on the chosen site.`,
63
-
'The webhook is automatically removed from Netlify when you delete this trigger or undeploy the workflow.',
62
+
'Copy the <strong>Webhook URL</strong> above.',
63
+
'In Netlify open <strong>Site settings → Build & deploy → Deploy notifications → Add notification → Outgoing webhook</strong>.',
64
+
`Paste the URL, choose <strong>${eventLabel}</strong> as the event to listen for, generate a <strong>JWS secret token</strong>, and save the notification.`,
65
+
'Paste that same JWS secret into the <strong>Signature Secret</strong> field above, then <strong>Deploy</strong> the workflow.',
66
+
'Remove the notification in Netlify when you delete this trigger — Sim does not manage the webhook on your behalf.',
64
67
]
65
68
66
69
returninstructions
@@ -73,31 +76,24 @@ export function netlifySetupInstructions(eventLabel: string): string {
73
76
74
77
/**
75
78
* Netlify-specific extra fields exposed in trigger configuration.
79
+
* The signature secret is the JWS secret token the user configures on the
80
+
* outgoing webhook in Netlify; we use it to verify inbound deliveries.
0 commit comments