Test and publish
Test a routine’s draft with live or mocked steps, then publish it as a version that its trigger runs.
Routines are in beta and not yet available in every workspace. To request access, contact your account manager.
Drafts and versions
The routine you edit is its draft. Publishing checks the draft for problems and saves it as the next numbered version. Triggers and Run now always use the published version, so editing the draft never changes what runs live. Each run records the version it ran, and editing or republishing never changes a run in progress.
Steps always use the current agents, tools, phone numbers, and secrets they point to, so changing an agent changes every routine that uses it, including runs in progress.
Test a draft
A mocked step doesn’t send, call, or wait for anything, but it still checks its inputs, so mistakes show up in the test. Mocking a failure lets you test what happens when a step fails. For an HTTP request, Capture a real response sends the request once with sample values and uses the reply as the mock.
Test runs appear in run history marked as tests, and are left out of run statistics.
Steps set to Live run for real in a test. They call APIs, send messages, and place calls.
Publish and activate
Turning a routine on starts its trigger, such as its schedule. Turning it off stops new runs, and lets runs in progress finish.
Who a run acts as
Runs started by a trigger use the permissions of the person who last published the routine, so publish with an account that can use every agent, tool, and secret in it. Test runs and Run now use your own permissions.
If the publisher loses access, the next triggered run is refused and the routine is turned off. To resume it, publish again as a member with access, with Activate after publishing checked, or turn Enabled back on afterwards.
Restore a version
Open Recent versions and select Restore to draft to edit an older version, or Restore and publish to publish it as the next version number. Restoring never removes later versions.


