[AOR-187] Update webhook action CEL variables from payload to headers, body, body_json#28
Merged
freddie-poolsideai merged 3 commits intomainfrom Mar 26, 2026
Conversation
…s, body, body_json The backend CEL evaluation engine now exposes headers, body (raw string), and body_json (parsed JSON) instead of the single payload variable. Update the SDK model, docstrings, and CEL environment to match. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Update both webhook examples to use body_json instead of payload. Fix body CEL type from StringType to BytesType to match the backend (body is raw bytes for signature verification; use string(body) to convert). Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Replace all payload.* references in webhook CEL test expressions with body_json.* to match the updated backend variables. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
jt-poolside
approved these changes
Mar 26, 2026
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
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
payloadCEL variable withheaders,body, andbody_jsonto match the backend CEL evaluation enginebodyisbytestype (for signature verification);body_jsonis the parsed JSON (map(string, dyn))Test plan
body_json.*expressionsbody_jsondeploys and triggers correctly end-to-end🤖 Generated with Claude Code