Repository navigation
feat(automations): call a web address, with credentials sealed in headers - #439
Merged
Merged
Conversation
…ders Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01CyjR2zEfmTXBewKAx9Taw5
This was referenced Oct 15, 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.
Description
Before: an automation could message people and use the model, but it had no way to call a web service or an API.
After: the
http_requestaction (workflow studio M7, Web group). It sends GET, POST or PUT to aurl, withheadersand abody. The body can be text, or an object, which is sent as JSON. It passes on{status, ok, body, json, content_type, truncated, method, url, headers}.notifications.networks). It connects to the address it checked (notify.request, pinned) and follows no redirect; a 3xx is passed on as it is.untrusted: true), so a later prompt reads it marked as data.out, so it asks first unless the person set its node to run on its own.automation.http, with the method, host and status.••••.actions_web.seal_headers(db, cfg, space, automation, url, headers)seals those values with the namespace's key, bound to the automation id and to the address's scheme, host and port. A sealed value can't be used by another automation, another host or another namespace.notify.postnow goes through the newnotify.request(cfg, method, url, body, headers, …), which returns the status, content type and a capped body. Notifications behave as before.Motivation and Context
Workflow studio, module M7 (plan:
/mnt/project-files/workflow-studio/plan.md§5 M7), PR 3 of 5. #433 addednotify, #438 added the AI actions, and Lens work and asset actions follow.Choices taken (reversible):
seal_headerswhen it saves an automation.Types of changes
!in the title)Checklist:
tests/api/test_actions_web.pycovers:docs/accordingly (docs/automations.md"Calling a web address" and the Actions row,docs/notifications.mdnetworks).Done questions (AGENTS.md)
actions.catalog(), which M6 serves to the API, MCP and the assistant.docs/automations.md:🤖 Generated with Claude Code
https://claude.ai/code/session_01CyjR2zEfmTXBewKAx9Taw5
Generated by Claude Code