Skip to content

Create an Automation

Create the workspace automation boundary, issue the automation secret, and store that secret safely because it is only shown once.

Best for Workspace manager Updated April 3, 2026
API In this interface
4 steps Steps
3 interfaces Available in
Use this path when

The automation create endpoint issues both the automation metadata and the raw secret once.

What you'll finish here
  • Create the automation boundary correctly.
  • Choose scopes and team limits deliberately.
  • Capture the secret safely the first time.

Where this happens

LabelValueNotes
EndpointPOST /api/v1/workspaces/{workspaceId}/automationsCreates an automation.

Same Task, Other Interfaces

Use the version that matches where you are working now. The subject matter stays the same; the delivery changes by surface.

Do the work

  1. 1. Resolve the workspace id and authenticate as a human principal with `workspace.automation.manage`.
  2. 2. Send the automation create request with at least the name, then add provider type, team scope, scopes, and credential label as needed.
  3. 3. Read the returned automation id and raw secret payload.
  4. 4. Store the raw secret immediately in the system that will exchange or use it.

Keep Going in Automation and Agents

Stay in the same interface and move to the next closest task in this topic when needed.

Nearby Guides

These guides stay close to the current workflow so you can keep moving without restarting discovery.