| react-profiling | 0 |
| react-import-map | react,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 | /_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:31711ba4-f683-c884-f2cf-4eb014007ab6 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | D9B8:2B8D95:4187B2:5D8360:6AFB3D2F |
| html-safe-nonce | d2d17eb6cfcd6a550cdc2cfe802e77245ef3302c39a8fd03afcb0bb37b86190a |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEOUI4OjJCOEQ5NTo0MTg3QjI6NUQ4MzYwOjZBRkIzRDJGIiwidmlzaXRvcl9pZCI6IjE5MDMzMTczODc1MzcyMzUyNDciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | d64877868a11ee18f31cbec3d2db7791b857545ccf6ae4888c020856a2ef3378 |
| hovercard-subject-tag | pull_request:4003070396 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/simstudioai/sim/5453/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/c9f5bc6acb41fd9f141a282efa93fba5989547a049c2a06821969d8db59b9aeb/simstudioai/sim/pull/5453 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/c9f5bc6acb41fd9f141a282efa93fba5989547a049c2a06821969d8db59b9aeb/simstudioai/sim/pull/5453 |
| og:image:alt | Summary
Move custom-block creation/editing out of the workflow Deploy modal into a dedicated Enterprise settings page (pick workspace → deployed workflow → per-input placeholders → curated outputs... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | TheodoreSpeaks |
| hostname | github.com |
| expected-hostname | github.com |
| None | 2169b0dfbef67ed6b128074a5ed45bb7d5d1859783b10178b09a7765ad5f3693 |
| turbo-cache-control | no-cache |
| go-import | github.com/simstudioai/sim git https://github.com/simstudioai/sim.git |
| octolytics-dimension-user_id | 199344406 |
| octolytics-dimension-user_login | simstudioai |
| octolytics-dimension-repository_id | 912559512 |
| octolytics-dimension-repository_nwo | simstudioai/sim |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 912559512 |
| octolytics-dimension-repository_network_root_nwo | simstudioai/sim |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 3b4fc8df5ef1c6757e733a23e6b81b6725021823 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | pull-requests |
| Skip to content | https://github.com/simstudioai/sim/pull/5453#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F5453 |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | https://github.com/security/advanced-security |
| Copilot for businessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F5453 |
| Sign up | https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=simstudioai%2Fsim |
| Reload | https://github.com/simstudioai/sim/pull/5453 |
| Reload | https://github.com/simstudioai/sim/pull/5453 |
| Reload | https://github.com/simstudioai/sim/pull/5453 |
| simstudioai | https://github.com/simstudioai |
| sim | https://github.com/simstudioai/sim |
| Code | https://github.com/simstudioai/sim |
| Issues129 (129) | https://github.com/simstudioai/sim/issues |
| Pull requests200 (200) | https://github.com/simstudioai/sim/pulls |
| Actions | https://github.com/simstudioai/sim/actions |
| Projects | https://github.com/simstudioai/sim/projects |
| Security and quality | https://github.com/simstudioai/sim/security |
| Insights | https://github.com/simstudioai/sim/pulse |
| https://github.com/simstudioai/sim |
| TheodoreSpeaks | https://github.com/TheodoreSpeaks |
| staging | https://github.com/simstudioai/sim/tree/staging |
| feat/custom-block-settings | https://github.com/simstudioai/sim/tree/feat/custom-block-settings |
| Conversation | https://github.com/simstudioai/sim/pull/5453 |
| Commits10 (10) | https://github.com/simstudioai/sim/pull/5453/commits |
| Checks | https://github.com/simstudioai/sim/pull/5453/checks |
| Files changed | https://github.com/simstudioai/sim/pull/5453/files |
| feat(custom-block): move management to enterprise settings; derive inputs live from deployed start | https://github.com/simstudioai/sim/pull/5453#top |
| TheodoreSpeaks | https://github.com/TheodoreSpeaks |
| staging | https://github.com/simstudioai/sim/tree/staging |
| feat/custom-block-settings | https://github.com/simstudioai/sim/tree/feat/custom-block-settings |
|
| https://github.com/TheodoreSpeaks |
| TheodoreSpeaks | https://github.com/TheodoreSpeaks |
| Jul 7, 2026 | https://github.com/simstudioai/sim/pull/5453#issue-4824184902 |
| Contributor License Agreement (CLA) | https://github.com/simstudioai/sim/pull/CONTRIBUTING.md#contributor-license-agreement-cla |
| Please reload this page | https://github.com/simstudioai/sim/pull/5453 |
|
| https://github.com/TheodoreSpeaks |
| feat(custom-block): move management to enterprise settings; derive in… | https://github.com/simstudioai/sim/pull/5453/commits/237fc05358c1787bd56b140eb6adad0ee2d30b4f |
| 237fc05 | https://github.com/simstudioai/sim/pull/5453/commits/237fc05358c1787bd56b140eb6adad0ee2d30b4f |
| https://github.com/apps/vercel |
| vercel | https://github.com/apps/vercel |
| Jul 7, 2026 | https://github.com/simstudioai/sim/pull/5453#issuecomment-4898923546 |
| Please reload this page | https://github.com/simstudioai/sim/pull/5453 |
| Vercel for GitHub | https://vercel.link/github-learn-more |
| docs | https://vercel.com/sim-studio/docs |
| https://camo.githubusercontent.com/1bb29feed7826aff3191ae8ff19d3c61e80fc99f9cc9373030210090f890893b/68747470733a2f2f76657263656c2e636f6d2f7374617469632f7374617475732f63616e63656c65642e737667 |
| Skipped | https://vercel.com/sim-studio/docs/HXB5x9axCLWTo7uN6o8E492QXemS |
| https://vercel.com/vercel-agent/request-review?owner=simstudioai&repo=sim&pr=5453 |
| Please reload this page | https://github.com/simstudioai/sim/pull/5453 |
| https://github.com/apps/cursor |
| cursor | https://github.com/apps/cursor |
| Jul 7, 2026 | https://github.com/simstudioai/sim/pull/5453#issuecomment-4898923874 |
| Please reload this page | https://github.com/simstudioai/sim/pull/5453 |
| Cursor Bugbot | https://cursor.com/bugbot |
| b07b062 | https://github.com/simstudioai/sim/commit/b07b062ecc880d17bcda8b395f43f3a9782fa346 |
| here | https://www.cursor.com/dashboard/bugbot |
| Please reload this page | https://github.com/simstudioai/sim/pull/5453 |
| https://github.com/TheodoreSpeaks |
| TheodoreSpeaks | https://github.com/TheodoreSpeaks |
| Jul 7, 2026 | https://github.com/simstudioai/sim/pull/5453#issuecomment-4898924215 |
| @greptile | https://github.com/greptile |
| Please reload this page | https://github.com/simstudioai/sim/pull/5453 |
| https://github.com/apps/cursor |
| cursor | https://github.com/apps/cursor |
|
Jul 7, 2026
| https://github.com/simstudioai/sim/pull/5453#pullrequestreview-4640726110 |
|
View reviewed changes
| https://github.com/simstudioai/sim/pull/5453/files/237fc05358c1787bd56b140eb6adad0ee2d30b4f |
| apps/sim/hooks/queries/custom-blocks.ts | https://github.com/simstudioai/sim/pull/5453/files/237fc05358c1787bd56b140eb6adad0ee2d30b4f#diff-33f637c47a32bcd8de8ed6316b4e642c50e6fb99bd64ffd68179e05721c2f8bf |
| Please reload this page | https://github.com/simstudioai/sim/pull/5453 |
| apps/sim/ee/custom-blocks/components/custom-block-detail.tsx | https://github.com/simstudioai/sim/pull/5453/files/237fc05358c1787bd56b140eb6adad0ee2d30b4f#diff-e36433dffd6e63e79316556f140cf08718477316572ffb4a268488f11bbfc2f7 |
| Please reload this page | https://github.com/simstudioai/sim/pull/5453 |
| apps/sim/ee/custom-blocks/components/custom-block-detail.tsx | https://github.com/simstudioai/sim/pull/5453/files/237fc05358c1787bd56b140eb6adad0ee2d30b4f#diff-e36433dffd6e63e79316556f140cf08718477316572ffb4a268488f11bbfc2f7 |
| Please reload this page | https://github.com/simstudioai/sim/pull/5453 |
| https://github.com/apps/vercel |
| vercel | https://github.com/apps/vercel |
| deployed | https://docs-m4mawxc1o-sim-studio.vercel.app |
| Preview | https://docs-m4mawxc1o-sim-studio.vercel.app |
| July 7, 2026 00:42 | https://github.com/simstudioai/sim/pull/5453#event-27638261251 |
| View deployment | https://docs-m4mawxc1o-sim-studio.vercel.app |
|
| https://github.com/TheodoreSpeaks |
| fix(custom-block): key custom-blocks query by workspaceId (react-quer… | https://github.com/simstudioai/sim/pull/5453/commits/34108b039756c266ead8bb2bbe566a2fcca9041a |
| 34108b0 | https://github.com/simstudioai/sim/pull/5453/commits/34108b039756c266ead8bb2bbe566a2fcca9041a |
| https://github.com/apps/vercel |
| vercel | https://github.com/apps/vercel |
| temporarily deployed | https://docs-pa9txniot-sim-studio.vercel.app |
| July 7, 2026 00:47 | https://github.com/simstudioai/sim/pull/5453#event-27638403146 |
| https://github.com/apps/cursor |
| cursor | https://github.com/apps/cursor |
|
Jul 7, 2026
| https://github.com/simstudioai/sim/pull/5453#pullrequestreview-4640752411 |
|
View reviewed changes
| https://github.com/simstudioai/sim/pull/5453/files/34108b039756c266ead8bb2bbe566a2fcca9041a |
| apps/sim/ee/custom-blocks/components/custom-block-detail.tsx | https://github.com/simstudioai/sim/pull/5453/files/34108b039756c266ead8bb2bbe566a2fcca9041a#diff-e36433dffd6e63e79316556f140cf08718477316572ffb4a268488f11bbfc2f7 |
| cursor | https://github.com/apps/cursor |
| Jul 7, 2026 | https://github.com/simstudioai/sim/pull/5453#discussion_r3532873722 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| apps/sim/ee/custom-blocks/components/custom-block-detail.tsx#L280-L283 | https://github.com/simstudioai/sim/blob/34108b039756c266ead8bb2bbe566a2fcca9041a/apps/sim/ee/custom-blocks/components/custom-block-detail.tsx#L280-L283 |
| https://cursor.com/open?link=eyJ2ZXJzaW9uIjoxLCJ0eXBlIjoiQlVHQk9UX0ZJWF9JTl9DVVJTT1IiLCJkYXRhIjp7InJlZGlzS2V5IjoiYnVnYm90OmVhYTU1YmJiLTllYjMtNGU2YS04ZWRiLWU3Y2MyMjE0MzIyMCIsImVuY3J5cHRpb25LZXkiOiJIU3pmRU1RV1NyWGdfRHBBdDk2SWpMTnVNQkpZRW0zY3J5RUQycHNwMlE0IiwiYnJhbmNoIjoiZmVhdC9jdXN0b20tYmxvY2stc2V0dGluZ3MiLCJyZXBvT3duZXIiOiJzaW1zdHVkaW9haSIsInJlcG9OYW1lIjoic2ltIn19 |
| https://cursor.com/agents?link=eyJ2ZXJzaW9uIjoxLCJ0eXBlIjoiQlVHQk9UX0ZJWF9JTl9XRUIiLCJkYXRhIjp7InJlZGlzS2V5IjoiYnVnYm90OmVhYTU1YmJiLTllYjMtNGU2YS04ZWRiLWU3Y2MyMjE0MzIyMCIsImVuY3J5cHRpb25LZXkiOiJIU3pmRU1RV1NyWGdfRHBBdDk2SWpMTnVNQkpZRW0zY3J5RUQycHNwMlE0IiwiYnJhbmNoIjoiZmVhdC9jdXN0b20tYmxvY2stc2V0dGluZ3MiLCJyZXBvT3duZXIiOiJzaW1zdHVkaW9haSIsInJlcG9OYW1lIjoic2ltIiwicHJOdW1iZXIiOjU0NTMsImNvbW1pdFNoYSI6IjM0MTA4YjAzOTc1NmMyNjZlYWQ4YmIyYmJlNTY2YTJmY2NhOTA0MWEiLCJwcm92aWRlciI6ImdpdGh1YiJ9fQ |
| Cursor Bugbot | https://cursor.com/bugbot |
| 34108b0 | https://github.com/simstudioai/sim/commit/34108b039756c266ead8bb2bbe566a2fcca9041a |
| here | https://www.cursor.com/dashboard/bugbot |
| Please reload this page | https://github.com/simstudioai/sim/pull/5453 |
| https://github.com/apps/greptile-apps |
| greptile-apps | https://github.com/apps/greptile-apps |
| Jul 7, 2026 | https://github.com/simstudioai/sim/pull/5453#issuecomment-4898979768 |
| Please reload this page | https://github.com/simstudioai/sim/pull/5453 |
|
%%{init: {'theme': 'neutral'}}%%
sequenceDiagram
participant Admin as Admin (Settings UI)
participant API as /api/custom-blocks
participant DB as custom_block (DB)
participant Loader as CustomBlocksLoader
participant Registry as Block Registry
participant Executor as WorkflowBlockHandler
Admin->>API: POST /api/custom-blocks (workflowId, name, inputs[], outputs[])
API->>DB: "INSERT with inputs=placeholders[], outputs=[]"
DB-->>API: new row
API-->>Admin: CustomBlockWithInputs
Note over Loader,Registry: On workspace mount
Loader->>API: "GET /api/custom-blocks?workspaceId=..."
API->>DB: SELECT all rows (enabled + disabled)
DB-->>API: rows[]
API-->>Loader: CustomBlock[] (inputFields derived live from deployed Start)
Loader->>Registry: "hydrateClientCustomBlocks(all, hideFromToolbar=!enabled)"
Note over Executor: At run-time
Executor->>Executor: isCustomBlock? → checkChildDeployment (outside try)
Executor->>Executor: remapCustomBlockInputKeys (id→name, decode JSON values)
Executor->>Executor: execute child under source owner's identity/env
Executor->>Executor: projectCustomBlockOutput (curated outputs only)
Loading
| https://github.com/simstudioai/sim/pull/5453#gh-light-mode-only |
|
%%{init: {'theme': 'base', 'themeVariables': {"darkMode": true, "background": "#0d1117", "primaryColor": "#21262d", "primaryTextColor": "#e6edf3", "primaryBorderColor": "#8b949e", "lineColor": "#8b949e", "textColor": "#e6edf3", "edgeLabelBackground": "#161b22", "actorBkg": "#21262d", "actorBorder": "#8b949e", "actorTextColor": "#e6edf3", "actorLineColor": "#8b949e", "signalColor": "#8b949e", "signalTextColor": "#e6edf3", "noteBkgColor": "#373320", "noteBorderColor": "#d4a72c", "noteTextColor": "#f0e6c0", "labelBoxBkgColor": "#21262d", "labelBoxBorderColor": "#8b949e", "labelTextColor": "#e6edf3", "loopTextColor": "#e6edf3", "activationBkgColor": "#30363d", "activationBorderColor": "#8b949e"}}}%%
sequenceDiagram
participant Admin as Admin (Settings UI)
participant API as /api/custom-blocks
participant DB as custom_block (DB)
participant Loader as CustomBlocksLoader
participant Registry as Block Registry
participant Executor as WorkflowBlockHandler
Admin->>API: POST /api/custom-blocks (workflowId, name, inputs[], outputs[])
API->>DB: "INSERT with inputs=placeholders[], outputs=[]"
DB-->>API: new row
API-->>Admin: CustomBlockWithInputs
Note over Loader,Registry: On workspace mount
Loader->>API: "GET /api/custom-blocks?workspaceId=..."
API->>DB: SELECT all rows (enabled + disabled)
DB-->>API: rows[]
API-->>Loader: CustomBlock[] (inputFields derived live from deployed Start)
Loader->>Registry: "hydrateClientCustomBlocks(all, hideFromToolbar=!enabled)"
Note over Executor: At run-time
Executor->>Executor: isCustomBlock? → checkChildDeployment (outside try)
Executor->>Executor: remapCustomBlockInputKeys (id→name, decode JSON values)
Executor->>Executor: execute child under source owner's identity/env
Executor->>Executor: projectCustomBlockOutput (curated outputs only)
Loading
| https://github.com/simstudioai/sim/pull/5453#gh-dark-mode-only |
| "fix(custom-block): keep disabled blocks ..." | https://github.com/simstudioai/sim/commit/70b8ed1a5df97197e16fa39ca685856681c87049 |
| Re-trigger Greptile | https://app.greptile.com/api/retrigger?id=42239542 |
| Please reload this page | https://github.com/simstudioai/sim/pull/5453 |
| https://github.com/apps/greptile-apps |
| greptile-apps | https://github.com/apps/greptile-apps |
|
Jul 7, 2026
| https://github.com/simstudioai/sim/pull/5453#pullrequestreview-4640753850 |
|
View reviewed changes
| https://github.com/simstudioai/sim/pull/5453/files/34108b039756c266ead8bb2bbe566a2fcca9041a |
| apps/sim/ee/custom-blocks/components/custom-block-detail.tsx | https://github.com/simstudioai/sim/pull/5453/files/34108b039756c266ead8bb2bbe566a2fcca9041a#diff-e36433dffd6e63e79316556f140cf08718477316572ffb4a268488f11bbfc2f7 |
| Please reload this page | https://github.com/simstudioai/sim/pull/5453 |
| https://github.com/apps/greptile-apps |
| greptile-apps | https://github.com/apps/greptile-apps |
| Jul 7, 2026 | https://github.com/simstudioai/sim/pull/5453#issuecomment-4899008367 |
| Please reload this page | https://github.com/simstudioai/sim/pull/5453 |
|
%%{init: {'theme': 'neutral'}}%%
sequenceDiagram
participant Admin as Admin (Settings UI)
participant API as /api/custom-blocks
participant DB as custom_block (DB)
participant Start as Deployed Start Block
participant Consumer as Consumer Workflow
Admin->>API: "POST publish {workflowId, name, inputs:[{id,placeholder}], exposedOutputs}"
API->>DB: "INSERT custom_block (inputs=placeholders only)"
API->>Start: deriveInputFields(workflowId)
Start-->>API: "[{id,name,type}...]"
API-->>Admin: block with live inputFields (placeholders merged)
Admin->>API: "PATCH update {inputs, exposedOutputs}"
API->>DB: UPDATE inputs column
Consumer->>API: GET /api/custom-blocks
API->>DB: SELECT custom_block JOIN workflow JOIN workspace
API->>Start: deriveInputFields per enabled block
Start-->>API: live field set
API-->>Consumer: "inputFields = live fields + stored placeholders merged"
Consumer->>Consumer: serialize workflow
Note over Consumer: isCustomBlockType + !getBlock → drop block + edges
Consumer->>Consumer: remapCustomBlockInputKeys (drop stale, decode JSON)
Loading
| https://github.com/simstudioai/sim/pull/5453#gh-light-mode-only |
|
%%{init: {'theme': 'base', 'themeVariables': {"darkMode": true, "background": "#0d1117", "primaryColor": "#21262d", "primaryTextColor": "#e6edf3", "primaryBorderColor": "#8b949e", "lineColor": "#8b949e", "textColor": "#e6edf3", "edgeLabelBackground": "#161b22", "actorBkg": "#21262d", "actorBorder": "#8b949e", "actorTextColor": "#e6edf3", "actorLineColor": "#8b949e", "signalColor": "#8b949e", "signalTextColor": "#e6edf3", "noteBkgColor": "#373320", "noteBorderColor": "#d4a72c", "noteTextColor": "#f0e6c0", "labelBoxBkgColor": "#21262d", "labelBoxBorderColor": "#8b949e", "labelTextColor": "#e6edf3", "loopTextColor": "#e6edf3", "activationBkgColor": "#30363d", "activationBorderColor": "#8b949e"}}}%%
sequenceDiagram
participant Admin as Admin (Settings UI)
participant API as /api/custom-blocks
participant DB as custom_block (DB)
participant Start as Deployed Start Block
participant Consumer as Consumer Workflow
Admin->>API: "POST publish {workflowId, name, inputs:[{id,placeholder}], exposedOutputs}"
API->>DB: "INSERT custom_block (inputs=placeholders only)"
API->>Start: deriveInputFields(workflowId)
Start-->>API: "[{id,name,type}...]"
API-->>Admin: block with live inputFields (placeholders merged)
Admin->>API: "PATCH update {inputs, exposedOutputs}"
API->>DB: UPDATE inputs column
Consumer->>API: GET /api/custom-blocks
API->>DB: SELECT custom_block JOIN workflow JOIN workspace
API->>Start: deriveInputFields per enabled block
Start-->>API: live field set
API-->>Consumer: "inputFields = live fields + stored placeholders merged"
Consumer->>Consumer: serialize workflow
Note over Consumer: isCustomBlockType + !getBlock → drop block + edges
Consumer->>Consumer: remapCustomBlockInputKeys (drop stale, decode JSON)
Loading
| https://github.com/simstudioai/sim/pull/5453#gh-dark-mode-only |
| link | https://github.com/simstudioai/sim/blob/34108b039756c266ead8bb2bbe566a2fcca9041a/apps/sim/hooks/queries/custom-blocks.ts#L35-L41 |
| https://github.com/simstudioai/sim/pull/5453 |
| "fix(custom-block): key custom-blocks que..." | https://github.com/simstudioai/sim/commit/34108b039756c266ead8bb2bbe566a2fcca9041a |
| Re-trigger Greptile | https://app.greptile.com/api/retrigger?id=42239542 |
| Please reload this page | https://github.com/simstudioai/sim/pull/5453 |
|
| https://github.com/TheodoreSpeaks |
| fix(custom-block): restore icon on discard instead of clearing the sa… | https://github.com/simstudioai/sim/pull/5453/commits/75079b179c3a1757de7b87315ffc716f489799ca |
| 75079b1 | https://github.com/simstudioai/sim/pull/5453/commits/75079b179c3a1757de7b87315ffc716f489799ca |
| https://github.com/apps/vercel |
| vercel | https://github.com/apps/vercel |
| temporarily deployed | https://docs-jx2twka84-sim-studio.vercel.app |
| July 7, 2026 00:58 | https://github.com/simstudioai/sim/pull/5453#event-27638666493 |
| https://github.com/apps/cursor |
| cursor | https://github.com/apps/cursor |
|
Jul 7, 2026
| https://github.com/simstudioai/sim/pull/5453#pullrequestreview-4640791439 |
|
View reviewed changes
| https://github.com/simstudioai/sim/pull/5453/files/75079b179c3a1757de7b87315ffc716f489799ca |
| apps/sim/ee/custom-blocks/components/custom-block-detail.tsx | https://github.com/simstudioai/sim/pull/5453/files/75079b179c3a1757de7b87315ffc716f489799ca#diff-e36433dffd6e63e79316556f140cf08718477316572ffb4a268488f11bbfc2f7 |
| Please reload this page | https://github.com/simstudioai/sim/pull/5453 |
| apps/sim/ee/custom-blocks/components/custom-block-detail.tsx | https://github.com/simstudioai/sim/pull/5453/files/75079b179c3a1757de7b87315ffc716f489799ca#diff-e36433dffd6e63e79316556f140cf08718477316572ffb4a268488f11bbfc2f7 |
| Please reload this page | https://github.com/simstudioai/sim/pull/5453 |
| apps/sim/ee/custom-blocks/components/custom-block-detail.tsx | https://github.com/simstudioai/sim/pull/5453/files/75079b179c3a1757de7b87315ffc716f489799ca#diff-e36433dffd6e63e79316556f140cf08718477316572ffb4a268488f11bbfc2f7 |
| Please reload this page | https://github.com/simstudioai/sim/pull/5453 |
|
| https://github.com/TheodoreSpeaks |
| fix(custom-block): track create-flow dirty state and reset selections… | https://github.com/simstudioai/sim/pull/5453/commits/1e0f2134123ce89163397543589fcf800ac733ad |
| 1e0f213 | https://github.com/simstudioai/sim/pull/5453/commits/1e0f2134123ce89163397543589fcf800ac733ad |
| https://github.com/apps/vercel |
| vercel | https://github.com/apps/vercel |
| temporarily deployed | https://docs-b4qp0y8fv-sim-studio.vercel.app |
| July 7, 2026 01:06 | https://github.com/simstudioai/sim/pull/5453#event-27638998441 |
| https://github.com/apps/cursor |
| cursor | https://github.com/apps/cursor |
|
Jul 7, 2026
| https://github.com/simstudioai/sim/pull/5453#pullrequestreview-4640844909 |
|
View reviewed changes
| https://github.com/simstudioai/sim/pull/5453/files/1e0f2134123ce89163397543589fcf800ac733ad |
| apps/sim/lib/workflows/custom-blocks/operations.ts | https://github.com/simstudioai/sim/pull/5453/files/1e0f2134123ce89163397543589fcf800ac733ad#diff-62275746551c533d2f1fde5464bc8e91f8884813163e90d8a4c9e905c9ffa44f |
| Please reload this page | https://github.com/simstudioai/sim/pull/5453 |
|
| https://github.com/TheodoreSpeaks |
| fix(custom-block): merge placeholders for id-less start fields; compa… | https://github.com/simstudioai/sim/pull/5453/commits/e19d77c8ec8cb40668cc93e569b3e8adf8048c07 |
| e19d77c | https://github.com/simstudioai/sim/pull/5453/commits/e19d77c8ec8cb40668cc93e569b3e8adf8048c07 |
| https://github.com/apps/vercel |
| vercel | https://github.com/apps/vercel |
| temporarily deployed | https://docs-o521q8f2w-sim-studio.vercel.app |
| July 7, 2026 01:16 | https://github.com/simstudioai/sim/pull/5453#event-27639244798 |
|
| https://github.com/TheodoreSpeaks |
| improvement(custom-block): dedup input-mapping helper, reuse Settings… | https://github.com/simstudioai/sim/pull/5453/commits/75e0c89485f0a81cc87f274e06445559b5e97fff |
| 75e0c89 | https://github.com/simstudioai/sim/pull/5453/commits/75e0c89485f0a81cc87f274e06445559b5e97fff |
| https://github.com/apps/vercel |
| vercel | https://github.com/apps/vercel |
| temporarily deployed | https://docs-qlvres1e1-sim-studio.vercel.app |
| July 7, 2026 01:29 | https://github.com/simstudioai/sim/pull/5453#event-27639562186 |
| https://github.com/apps/cursor |
| cursor | https://github.com/apps/cursor |
|
Jul 7, 2026
| https://github.com/simstudioai/sim/pull/5453#pullrequestreview-4640949874 |
|
View reviewed changes
| https://github.com/simstudioai/sim/pull/5453/files/75e0c89485f0a81cc87f274e06445559b5e97fff |
| apps/sim/serializer/index.ts | https://github.com/simstudioai/sim/pull/5453/files/75e0c89485f0a81cc87f274e06445559b5e97fff#diff-dc484f6a390fe14eb8d4e92029d69cef9e835384b04ae5eaa170cd3cfff0ac1b |
| Please reload this page | https://github.com/simstudioai/sim/pull/5453 |
|
| https://github.com/TheodoreSpeaks |
| fix(custom-block): keep disabled blocks resolvable so placed instance… | https://github.com/simstudioai/sim/pull/5453/commits/70b8ed1a5df97197e16fa39ca685856681c87049 |
| 70b8ed1 | https://github.com/simstudioai/sim/pull/5453/commits/70b8ed1a5df97197e16fa39ca685856681c87049 |
| https://github.com/apps/vercel |
| vercel | https://github.com/apps/vercel |
| temporarily deployed | https://docs-24f1iawux-sim-studio.vercel.app |
| July 7, 2026 01:44 | https://github.com/simstudioai/sim/pull/5453#event-27639945049 |
| https://github.com/TheodoreSpeaks |
| TheodoreSpeaks | https://github.com/TheodoreSpeaks |
| Jul 7, 2026 | https://github.com/simstudioai/sim/pull/5453#issuecomment-4899397227 |
| @greptile | https://github.com/greptile |
| Please reload this page | https://github.com/simstudioai/sim/pull/5453 |
|
| https://github.com/TheodoreSpeaks |
| Merge remote-tracking branch 'origin/staging' into feat/custom-block-… | https://github.com/simstudioai/sim/pull/5453/commits/5b73abb1bec5ecf026a6a4c6522c7d06bb606fd7 |
| 5b73abb | https://github.com/simstudioai/sim/pull/5453/commits/5b73abb1bec5ecf026a6a4c6522c7d06bb606fd7 |
| https://github.com/apps/cursor |
| cursor | https://github.com/apps/cursor |
|
Jul 7, 2026
| https://github.com/simstudioai/sim/pull/5453#pullrequestreview-4641268997 |
|
View reviewed changes
| https://github.com/simstudioai/sim/pull/5453/files/5b73abb1bec5ecf026a6a4c6522c7d06bb606fd7 |
| cursor | https://github.com/apps/cursor |
| https://github.com/simstudioai/sim/pull/5453#pullrequestreview-4641268997 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| https://cursor.com/open?link=eyJ2ZXJzaW9uIjoxLCJ0eXBlIjoiQlVHQk9UX0ZJWF9BTExfSU5fQ1VSU09SIiwiZGF0YSI6eyJyZWRpc0tleSI6ImJ1Z2JvdC1tdWx0aTo1MGZiNzA1Yy04OTlkLTRiMWItODI5OC0wOGZhYTIwOWUzYzkiLCJlbmNyeXB0aW9uS2V5IjoidEp2RnhtRWRXSk15YmFLLTc3ZXBWWWREeFBfSnc5OTZGNG0yd0Fpbk9SYyIsImJyYW5jaCI6ImZlYXQvY3VzdG9tLWJsb2NrLXNldHRpbmdzIiwicmVwb093bmVyIjoic2ltc3R1ZGlvYWkiLCJyZXBvTmFtZSI6InNpbSJ9fQ |
| Cursor dashboard | https://www.cursor.com/dashboard/bugbot |
| Cursor Bugbot | https://cursor.com/bugbot |
| 5b73abb | https://github.com/simstudioai/sim/commit/5b73abb1bec5ecf026a6a4c6522c7d06bb606fd7 |
| here | https://www.cursor.com/dashboard/bugbot |
| Please reload this page | https://github.com/simstudioai/sim/pull/5453 |
| apps/sim/ee/custom-blocks/components/custom-block-detail.tsx | https://github.com/simstudioai/sim/pull/5453/files/5b73abb1bec5ecf026a6a4c6522c7d06bb606fd7#diff-e36433dffd6e63e79316556f140cf08718477316572ffb4a268488f11bbfc2f7 |
| Please reload this page | https://github.com/simstudioai/sim/pull/5453 |
| apps/sim/ee/custom-blocks/components/custom-block-detail.tsx | https://github.com/simstudioai/sim/pull/5453/files/5b73abb1bec5ecf026a6a4c6522c7d06bb606fd7#diff-e36433dffd6e63e79316556f140cf08718477316572ffb4a268488f11bbfc2f7 |
| Please reload this page | https://github.com/simstudioai/sim/pull/5453 |
| https://github.com/apps/vercel |
| vercel | https://github.com/apps/vercel |
| deployed | https://docs-qt8xn6zqq-sim-studio.vercel.app |
| Preview | https://docs-qt8xn6zqq-sim-studio.vercel.app |
| July 7, 2026 03:00 | https://github.com/simstudioai/sim/pull/5453#event-27642036815 |
| View deployment | https://docs-qt8xn6zqq-sim-studio.vercel.app |
|
| https://github.com/TheodoreSpeaks |
| fix(custom-block): derive fields for disabled blocks so edits keep pl… | https://github.com/simstudioai/sim/pull/5453/commits/02b8fcd15297027e76fa9db59bc78f85917917d0 |
| 02b8fcd | https://github.com/simstudioai/sim/pull/5453/commits/02b8fcd15297027e76fa9db59bc78f85917917d0 |
| https://github.com/apps/vercel |
| vercel | https://github.com/apps/vercel |
| temporarily deployed | https://docs-6ozfn76fc-sim-studio.vercel.app |
| July 7, 2026 03:06 | https://github.com/simstudioai/sim/pull/5453#event-27642208592 |
|
| https://github.com/TheodoreSpeaks |
| fix(custom-block): scope publish workspace picker to the current org | https://github.com/simstudioai/sim/pull/5453/commits/b07b062ecc880d17bcda8b395f43f3a9782fa346 |
| b07b062 | https://github.com/simstudioai/sim/pull/5453/commits/b07b062ecc880d17bcda8b395f43f3a9782fa346 |
| https://github.com/apps/vercel |
| vercel | https://github.com/apps/vercel |
| temporarily deployed | https://docs-f2xshi9d6-sim-studio.vercel.app |
| July 7, 2026 03:16 | https://github.com/simstudioai/sim/pull/5453#event-27642532954 |
| https://github.com/TheodoreSpeaks |
| TheodoreSpeaks | https://github.com/TheodoreSpeaks |
| fe7d043 | https://github.com/simstudioai/sim/commit/fe7d043f387e3e66b042a8009f6a6637535227cf |
| Jul 7, 2026 | https://github.com/simstudioai/sim/pull/5453#event-27675851822 |
| Please reload this page | https://github.com/simstudioai/sim/pull/5453 |
| https://github.com/TheodoreSpeaks |
| TheodoreSpeaks | https://github.com/TheodoreSpeaks |
| July 7, 2026 17:06 | https://github.com/simstudioai/sim/pull/5453#event-27675854433 |
| https://github.com/waleedlatif1 |
| waleedlatif1 | https://github.com/waleedlatif1 |
|
Jul 7, 2026
| https://github.com/simstudioai/sim/pull/5453#ref-pullrequest-4831866858 |
|
v0.7.25: new tools, gmail send fixes, email lifecycle adjustments
#5490
| https://github.com/simstudioai/sim/pull/5490 |
| Deployed | https://docs-f2xshi9d6-sim-studio.vercel.app |
| vercel[bot] | https://github.com/apps/vercel |
|
View deployment
| https://docs-f2xshi9d6-sim-studio.vercel.app |
| https://github.co/hiddenchars |
| https://github.com/simstudioai/sim/pull/{{ revealButtonHref }} |
| Sign up for free | https://github.com/join?source=comment-repo |
| Sign in to comment | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F5453 |
|
| https://github.com/apps/greptile-apps |
|
greptile-apps[bot]
| https://github.com/apps/greptile-apps |
|
| https://github.com/simstudioai/sim/pull/5453/files/34108b039756c266ead8bb2bbe566a2fcca9041a |
|
| https://github.com/apps/cursor |
|
cursor[bot]
| https://github.com/apps/cursor |
|
| https://github.com/simstudioai/sim/pull/5453/files/5b73abb1bec5ecf026a6a4c6522c7d06bb606fd7 |
| Please reload this page | https://github.com/simstudioai/sim/pull/5453 |
| Please reload this page | https://github.com/simstudioai/sim/pull/5453 |
|
| https://github.com/TheodoreSpeaks |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |