René's URL Explorer Experiment


Title: fix(webhooks): accept the methods and expose the request metadata the generic webhook advertises by minijeong-log · Pull Request #6889 · simstudioai/sim · GitHub

Open Graph Title: fix(webhooks): accept the methods and expose the request metadata the generic webhook advertises by minijeong-log · Pull Request #6889 · simstudioai/sim

X Title: fix(webhooks): accept the methods and expose the request metadata the generic webhook advertises by minijeong-log · Pull Request #6889 · simstudioai/sim

Description: Summary Makes the generic webhook behave the way its Setup Instructions describe: it accepts the documented HTTP methods and exposes the request method, query parameters, and headers to the workflow. Fixes #6888 Four commits, each self-contained: query parameters + GET deliveries — carry the request query string into the execution payload and merge it under a reserved query key; add an opt-in delivery-method capability so a generic webhook can be triggered by a plain URL fetch (a link in an email). Providers that have not opted in still answer 405, and unknown paths keep answering 405 on GET so probes cannot distinguish them. request headers — expose them under a reserved headers key, withholding credential-bearing ones (fixed denylist + the webhook's own secretHeaderName). A denylist rather than an allowlist keeps arbitrary custom headers usable, which is the point of the feature; exposing a credential would copy it into execution logs and trace spans, where it outlives the request. PUT, PATCH, DELETE + method — turn the GET-only opt-in into a per-provider method set (extraDeliveryMethods, generic only) and expose the method on the trigger input, so a workflow behind one URL can tell a create from a delete. trigger outputs — declare method, query, headers so the reference dropdown offers completions instead of users typing query.id by hand. Body fields stay undeclared because a generic webhook receives whatever JSON the caller sends. Merging is key-wise with the body taking precedence, so a payload that already carries a query/headers/method field resolves exactly as it does today. payload.query and payload.method are optional, so jobs already queued at deploy time keep executing. Setup Instructions are corrected in the same commits that make each claim true, including one unrelated inaccuracy: authentication accepts only the configured method (custom header or Bearer), not either one — verifyTokenAuth returns early when secretHeaderName is set. Type of Change Bug fix New feature Breaking change Documentation Other: ___________ Testing bun vitest run lib/webhooks triggers app/api/webhooks → 764 passed. New coverage: lib/webhooks/providers/generic.test.ts — headers exposed lowercased, credential denylist, configured secretHeaderName withheld, method exposed, body precedence for each reserved key, non-object bodies untouched. app/api/webhooks/trigger/[path]/route.test.ts — PUT/PATCH/DELETE dispatch to a generic webhook, 405 for a PUT to a POST-only provider, 405 for a DELETE to an unknown path. triggers/generic/webhook.test.ts (new) — declared outputs and the instruction text that documents them. Two pre-existing failures in this tree are unrelated to the change and reproduce on staging without it: lib/webhooks/polling/hubspot.test.ts (z.string().datetime().meta is not a function) and packages/audit type-check (duplicate drizzle-orm installs). What reviewers may want to focus on: the credential denylist in apps/sim/lib/webhooks/providers/generic.ts, and whether PUT/PATCH/DELETE should reuse the POST route contract as they do here. An equivalent change was verified end-to-end against a running instance in a fork (28 requests: all five methods with query parameters and custom headers, credential headers absent from the execution input, other providers still 405). I have not re-run that manual pass against this branch's structure — happy to if you'd like it before merge. Checklist Code follows project style guidelines Self-reviewed my changes Tests added/updated and passing No new warnings introduced I confirm that I have read and agree to the terms outlined in the Contributor License Agreement (CLA) Screenshots/Videos No visual change beyond the Setup Instructions text in the trigger panel, which is quoted in full in the diff.

Open Graph Description: Summary Makes the generic webhook behave the way its Setup Instructions describe: it accepts the documented HTTP methods and exposes the request method, query parameters, and headers to the workflo...

X Description: Summary Makes the generic webhook behave the way its Setup Instructions describe: it accepts the documented HTTP methods and exposes the request method, query parameters, and headers to the workflo...

Opengraph URL: https://github.com/simstudioai/sim/pull/6889

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf
route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:bc7706ad-1d80-e049-cdd3-69c3732647f4
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idC8B8:303206:E4F478:1421966:6AFB658F
html-safe-nonce48aff4467edfdf6a66f184cbcf8199fec5e738fd3cdc3006eff2992e30e58fea
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDOEI4OjMwMzIwNjpFNEY0Nzg6MTQyMTk2Njo2QUZCNjU4RiIsInZpc2l0b3JfaWQiOiI1NzUwMzc0MDI0Njg0OTg3NzkxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac94048fd33755d368958d7ced3e735b1a678431f5301c6a84cd6acd94c9849cfd
hovercard-subject-tagpull_request:4321770758
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/simstudioai/sim/pull/6889/files
twitter:imagehttps://avatars.githubusercontent.com/u/223259059?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/223259059?s=400&v=4
og:image:altSummary Makes the generic webhook behave the way its Setup Instructions describe: it accepts the documented HTTP methods and exposes the request method, query parameters, and headers to the workflo...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Noneea33d13c96d0ff66bd8fa906b193d2213536b78cb06b0c50a4632c58b1418f94
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/simstudioai/sim git https://github.com/simstudioai/sim.git
octolytics-dimension-user_id199344406
octolytics-dimension-user_loginsimstudioai
octolytics-dimension-repository_id912559512
octolytics-dimension-repository_nwosimstudioai/sim
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id912559512
octolytics-dimension-repository_network_root_nwosimstudioai/sim
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release59ef97164c52cf59bd10558ddec9c4f482763988
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/simstudioai/sim/pull/6889/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F6889%2Ffiles
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F6889%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=simstudioai%2Fsim
Reloadhttps://github.com/simstudioai/sim/pull/6889/files
Reloadhttps://github.com/simstudioai/sim/pull/6889/files
Reloadhttps://github.com/simstudioai/sim/pull/6889/files
simstudioaihttps://github.com/simstudioai
simhttps://github.com/simstudioai/sim
Codehttps://github.com/simstudioai/sim
Issues129 (129)https://github.com/simstudioai/sim/issues
Pull requests197 (197)https://github.com/simstudioai/sim/pulls
Actionshttps://github.com/simstudioai/sim/actions
Projectshttps://github.com/simstudioai/sim/projects
Security and qualityhttps://github.com/simstudioai/sim/security
Insightshttps://github.com/simstudioai/sim/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fsimstudioai%2Fsim%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fsimstudioai%2Fsim%2Fissues%2Fnew%2Fchoose
minijeong-loghttps://github.com/minijeong-log
simstudioai:staginghttps://github.com/simstudioai/sim/tree/staging
minijeong-log:feat/generic-webhook-request-metadatahttps://github.com/minijeong-log/sim/tree/feat/generic-webhook-request-metadata
Conversation 8 https://github.com/simstudioai/sim/pull/6889
Commits 5 https://github.com/simstudioai/sim/pull/6889/commits
Checks 3 https://github.com/simstudioai/sim/pull/6889/checks
Files changed https://github.com/simstudioai/sim/pull/6889/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/6889/files
fix(webhooks): accept the methods and expose the request metadata the generic webhook advertises https://github.com/simstudioai/sim/pull/6889/files#top
Show all changes 5 commits https://github.com/simstudioai/sim/pull/6889/files
517b590 feat(webhooks): support query parameters and GET deliveries on generi… minijeong-log Aug 19, 2026 https://github.com/simstudioai/sim/pull/6889/commits/517b5904db280a3fd9cf072047fb14e65990b6ba
00eb922 feat(webhooks): expose generic webhook request headers minijeong-log Aug 20, 2026 https://github.com/simstudioai/sim/pull/6889/commits/00eb9228e3fa87842b6d2d36a0e435cd320bb6e9
e3d1c74 feat(webhooks): accept PUT, PATCH and DELETE deliveries and expose th… minijeong-log Aug 20, 2026 https://github.com/simstudioai/sim/pull/6889/commits/e3d1c7446b8218e9cc5ae8c8845c2bddc115cc89
6914b8e feat(webhooks): declare the generic webhook trigger outputs minijeong-log Aug 20, 2026 https://github.com/simstudioai/sim/pull/6889/commits/6914b8ee64a977c684a9f51b45e385927afd1d24
ab13e20 fix(webhooks): stop provider challenges from intercepting other provi… minijeong-log Aug 20, 2026 https://github.com/simstudioai/sim/pull/6889/commits/ab13e20fce02e87a9cb988b5e0a4d8660e9435d0
Clear filters https://github.com/simstudioai/sim/pull/6889/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/6889/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/6889/files
route.test.ts https://github.com/simstudioai/sim/pull/6889/files#diff-e64f716a2d8bbb31fbf091f72c7d92fd1465ce94316d45f763d193257b4a45f2
route.ts https://github.com/simstudioai/sim/pull/6889/files#diff-3bd4eef0ad51030b1d68ee20db814255683ff6b47007a80d8592ff70cdb2a5da
webhook-execution.ts https://github.com/simstudioai/sim/pull/6889/files#diff-d3c199a17069fce702da388ec4cd1b4efc793e0a5968072a181280db5aafdbb1
processor.test.ts https://github.com/simstudioai/sim/pull/6889/files#diff-ba6e1a44cdb94ccfcc4f6c6c96e2f28ad8e08f49903062d74f913a57f657ab94
processor.ts https://github.com/simstudioai/sim/pull/6889/files#diff-d1f09ac3bd1aabe69708139bcf5137c047ada2dc058c916925187e924c12de4c
generic.test.ts https://github.com/simstudioai/sim/pull/6889/files#diff-be4901deef08095a22abff3e55fec9e8366e5ad4932ab44fe8542aefad822810
generic.ts https://github.com/simstudioai/sim/pull/6889/files#diff-e017c16b8399d29e3c4cace0fd5ab819d277c5d320afc1bd20f5c81f5d64efc1
index.ts https://github.com/simstudioai/sim/pull/6889/files#diff-9bfb606f5b174dc4141ec70b767ebf2bbb8eb39695841c86eb66db237f8a5aec
microsoft-teams.test.ts https://github.com/simstudioai/sim/pull/6889/files#diff-34119a3fcf36697d112c96a6a71b81d3eaf27c46f58c0a08f901300032330ae4
microsoft-teams.ts https://github.com/simstudioai/sim/pull/6889/files#diff-296939d83d025222ba65d2dafdd4fe1624fdc3a54e2e0d0b2d75bd5278088e16
types.ts https://github.com/simstudioai/sim/pull/6889/files#diff-e76b638e3f0830dde71e2304e01806f7472280e67a9d38f2a7746320b1837b77
whatsapp.test.ts https://github.com/simstudioai/sim/pull/6889/files#diff-a3cbf515d0f0835d691fb662e0de446f48fb2389734f4d2fa6251a5e022c23b6
whatsapp.ts https://github.com/simstudioai/sim/pull/6889/files#diff-82908a339dbf933a7dff84e9361c715ab22e1bd81f880fd383f041b00818f991
webhook.test.ts https://github.com/simstudioai/sim/pull/6889/files#diff-f26e39791a0aab20048204fde95d0884e689be722d1cf20cd3d0d5b932343f18
webhook.ts https://github.com/simstudioai/sim/pull/6889/files#diff-8a5d4e2e2ca71de263e3df44261dabd2d39a077dd40623178f451e82db3d471b
apps/sim/app/api/webhooks/trigger/[path]/route.test.tshttps://github.com/simstudioai/sim/pull/6889/files#diff-e64f716a2d8bbb31fbf091f72c7d92fd1465ce94316d45f763d193257b4a45f2
View file https://github.com/minijeong-log/sim/blob/ab13e20fce02e87a9cb988b5e0a4d8660e9435d0/apps/sim/app/api/webhooks/trigger/%5Bpath%5D/route.test.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/6889/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/6889/files#diff-e64f716a2d8bbb31fbf091f72c7d92fd1465ce94316d45f763d193257b4a45f2
https://github.com/simstudioai/sim/pull/6889/files#diff-e64f716a2d8bbb31fbf091f72c7d92fd1465ce94316d45f763d193257b4a45f2
https://github.com/simstudioai/sim/pull/6889/files#diff-e64f716a2d8bbb31fbf091f72c7d92fd1465ce94316d45f763d193257b4a45f2
https://github.com/simstudioai/sim/pull/6889/files#diff-e64f716a2d8bbb31fbf091f72c7d92fd1465ce94316d45f763d193257b4a45f2
apps/sim/app/api/webhooks/trigger/[path]/route.tshttps://github.com/simstudioai/sim/pull/6889/files#diff-3bd4eef0ad51030b1d68ee20db814255683ff6b47007a80d8592ff70cdb2a5da
View file https://github.com/minijeong-log/sim/blob/ab13e20fce02e87a9cb988b5e0a4d8660e9435d0/apps/sim/app/api/webhooks/trigger/%5Bpath%5D/route.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/6889/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/6889/files#diff-3bd4eef0ad51030b1d68ee20db814255683ff6b47007a80d8592ff70cdb2a5da
https://github.com/simstudioai/sim/pull/6889/files#diff-3bd4eef0ad51030b1d68ee20db814255683ff6b47007a80d8592ff70cdb2a5da
Please reload this pagehttps://github.com/simstudioai/sim/pull/6889/files
https://github.com/simstudioai/sim/pull/6889/files#diff-3bd4eef0ad51030b1d68ee20db814255683ff6b47007a80d8592ff70cdb2a5da
https://github.com/simstudioai/sim/pull/6889/files#diff-3bd4eef0ad51030b1d68ee20db814255683ff6b47007a80d8592ff70cdb2a5da
https://github.com/simstudioai/sim/pull/6889/files#diff-3bd4eef0ad51030b1d68ee20db814255683ff6b47007a80d8592ff70cdb2a5da
https://github.com/simstudioai/sim/pull/6889/files#diff-3bd4eef0ad51030b1d68ee20db814255683ff6b47007a80d8592ff70cdb2a5da
apps/sim/background/webhook-execution.tshttps://github.com/simstudioai/sim/pull/6889/files#diff-d3c199a17069fce702da388ec4cd1b4efc793e0a5968072a181280db5aafdbb1
View file https://github.com/minijeong-log/sim/blob/ab13e20fce02e87a9cb988b5e0a4d8660e9435d0/apps/sim/background/webhook-execution.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/6889/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/6889/files#diff-d3c199a17069fce702da388ec4cd1b4efc793e0a5968072a181280db5aafdbb1
https://github.com/simstudioai/sim/pull/6889/files#diff-d3c199a17069fce702da388ec4cd1b4efc793e0a5968072a181280db5aafdbb1
https://github.com/simstudioai/sim/pull/6889/files#diff-d3c199a17069fce702da388ec4cd1b4efc793e0a5968072a181280db5aafdbb1
https://github.com/simstudioai/sim/pull/6889/files#diff-d3c199a17069fce702da388ec4cd1b4efc793e0a5968072a181280db5aafdbb1
apps/sim/lib/webhooks/processor.test.tshttps://github.com/simstudioai/sim/pull/6889/files#diff-ba6e1a44cdb94ccfcc4f6c6c96e2f28ad8e08f49903062d74f913a57f657ab94
View file https://github.com/minijeong-log/sim/blob/ab13e20fce02e87a9cb988b5e0a4d8660e9435d0/apps/sim/lib/webhooks/processor.test.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/6889/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/6889/files#diff-ba6e1a44cdb94ccfcc4f6c6c96e2f28ad8e08f49903062d74f913a57f657ab94
https://github.com/simstudioai/sim/pull/6889/files#diff-ba6e1a44cdb94ccfcc4f6c6c96e2f28ad8e08f49903062d74f913a57f657ab94
apps/sim/lib/webhooks/processor.tshttps://github.com/simstudioai/sim/pull/6889/files#diff-d1f09ac3bd1aabe69708139bcf5137c047ada2dc058c916925187e924c12de4c
View file https://github.com/minijeong-log/sim/blob/ab13e20fce02e87a9cb988b5e0a4d8660e9435d0/apps/sim/lib/webhooks/processor.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/6889/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/6889/files#diff-d1f09ac3bd1aabe69708139bcf5137c047ada2dc058c916925187e924c12de4c
https://github.com/simstudioai/sim/pull/6889/files#diff-d1f09ac3bd1aabe69708139bcf5137c047ada2dc058c916925187e924c12de4c
https://github.com/simstudioai/sim/pull/6889/files#diff-d1f09ac3bd1aabe69708139bcf5137c047ada2dc058c916925187e924c12de4c
https://github.com/simstudioai/sim/pull/6889/files#diff-d1f09ac3bd1aabe69708139bcf5137c047ada2dc058c916925187e924c12de4c
Please reload this pagehttps://github.com/simstudioai/sim/pull/6889/files
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.