-
Notifications
You must be signed in to change notification settings - Fork 3.2k
improvement(response): removed nested response block output, add docs for webhook block, styling improvements for subblocks #2700
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
… for webhook block, styling improvements for subblocks
|
The latest updates on your projects. Learn more about Vercel for GitHub. |
Contributor
Greptile SummaryThis PR removes the nested Key changes:
Confidence Score: 5/5
Important Files Changed
Sequence DiagramsequenceDiagram
participant Client as External Client
participant Workflow as Workflow Executor
participant Response as Response Block Handler
participant BlockResolver as Block Resolver
participant Utils as Workflow Utils
Note over Response: BEFORE: {response: {data, status, headers}}
Note over Response: AFTER: {data, status, headers}
Client->>Workflow: Execute workflow
Workflow->>Response: execute()
Response-->>Workflow: {data, status, headers} (flat structure)
alt Internal caller (another workflow via workflow block)
Workflow->>BlockResolver: resolve("<workflow1.result.response.data>")
Note over BlockResolver: Detects old format reference<br/>Applies backwards compat
BlockResolver->>BlockResolver: Strip "response." prefix
BlockResolver-->>Workflow: Returns result.data (success!)
else Internal caller (using new format)
Workflow->>BlockResolver: resolve("<workflow1.result.data>")
BlockResolver-->>Workflow: Returns result.data directly
end
alt External caller (HTTP webhook)
Workflow->>Utils: createHttpResponseFromBlock()
Note over Utils: Accesses executionResult.output directly<br/>(no .response wrapper)
Utils-->>Client: HTTP response with data, status, headers
end
|
This was referenced Jan 7, 2026
waleedlatif1
added a commit
that referenced
this pull request
Jan 8, 2026
… for webhook block, styling improvements for subblocks (#2700) * improvement(response): removed nested response block output, add docs for webhook block, styling improvements for subblocks * remove outdated block docs * updated docs * remove outdated tests
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
.response, external callers received the root objects directlyType of Change
Testing
Tested manually
Checklist