Skip to content

chore(blocks): rename webhook block#5900

Merged
waleedlatif1 merged 1 commit into
stagingfrom
chore/webhook-block-name
Jul 23, 2026
Merged

chore(blocks): rename webhook block#5900
waleedlatif1 merged 1 commit into
stagingfrom
chore/webhook-block-name

Conversation

@icecrasher321

Copy link
Copy Markdown
Collaborator

Summary

Rename webhook block to just be "Webhook"

Type of Change

  • Documentation

Testing

Tested manually

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)

@vercel

vercel Bot commented Jul 23, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
docs Ready Ready Preview, Comment Jul 23, 2026 8:51pm

Request Review

@cursor

cursor Bot commented Jul 23, 2026

Copy link
Copy Markdown

PR Summary

Low Risk
Display and documentation string changes only; block types and runtime behavior are unchanged.

Overview
Renames workflow blocks so incoming and outgoing webhooks are easier to tell apart in the UI and docs.

The outgoing webhook_request block is now labeled Webhook (was Outgoing Webhook), including docs in webhook.mdx and doc previews.

The incoming generic webhook trigger is now Webhook Trigger everywhere it appears (block config, trigger config, toolbar/search sort priority, and preview workflows). Best-practices copy now references <webhooktrigger1.*> instead of <webhook1.*> for variable examples.

Display-name overrides for generic_webhook in getTriggerDisplayName and TriggerUtils.getDefaultTriggerName were removed so trigger labels come from the block registry only.

Reviewed by Cursor Bugbot for commit 19c71d1. Configure here.

@greptile-apps

greptile-apps Bot commented Jul 23, 2026

Copy link
Copy Markdown
Contributor

Greptile Summary

Renames the outgoing webhook block to “Webhook” and the inbound generic webhook trigger to “Webhook Trigger,” updating associated documentation, previews, ordering, guidance, and display-name helpers.

Confidence Score: 5/5

The PR appears safe to merge because the display-name changes are consistently applied without altering stable block types or runtime behavior.

The renamed registry labels, trigger display helpers, ordering rules, reference guidance, previews, and documentation remain aligned, while persisted identities and execution behavior continue to rely on unchanged type identifiers.

Important Files Changed

Filename Overview
apps/sim/blocks/blocks/generic_webhook.ts Renames the inbound generic webhook block and updates its downstream-reference example consistently with generated block names.
apps/sim/blocks/blocks/webhook_request.ts Renames the outgoing webhook request block to “Webhook” without changing its stable type or runtime configuration.
apps/sim/lib/workflows/triggers/trigger-utils.ts Removes the obsolete generic-webhook display override so the renamed registry label is used consistently.
apps/sim/lib/workflows/triggers/triggers.ts Removes the obsolete default-name override for generic webhook triggers while preserving stable trigger type handling.
apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/panel/components/toolbar/toolbar.tsx Updates trigger priority sorting to match the new “Webhook Trigger” registry name.
apps/sim/stores/modals/search/store.ts Updates search-modal trigger ordering to recognize the renamed webhook trigger.
apps/sim/triggers/generic/webhook.ts Aligns the generic webhook trigger configuration label with the renamed inbound trigger.
apps/docs/content/docs/en/workflows/blocks/webhook.mdx Updates the outgoing webhook block documentation to use its new “Webhook” label.
apps/docs/components/workflow-preview/block-display-workflows.ts Updates the inbound webhook workflow preview label to “Webhook Trigger.”

Reviews (1): Last reviewed commit: "chore(blocks): rename webhook block" | Re-trigger Greptile

@waleedlatif1
waleedlatif1 merged commit e737901 into staging Jul 23, 2026
20 checks passed
@waleedlatif1
waleedlatif1 deleted the chore/webhook-block-name branch July 23, 2026 21:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants