Create Workflow
oi.workflows.createCreate a private Oi Workflow draft in the current organization from required workflow fields and ordered Context steps. Use oi.contexts.search first when an agent is unsure which Context ids or slugs to include. This creates a draft only; it does not release or publish the Workflow.
Plan and Billing
Current organization plan: Business. Current limits: 10,000 seats; 10,000 private Guardrails; 10,000 private Skills; 10,000 private Contexts; 10,000 private Workflows; 10,000 Connections; 10,000 API keys; 1,000,000 Agent messages per day; 1,000,000 Agent messages per month. Billing and upgrades: https://app.oioioi.ai/dashboard/organization/billing. When a user asks for work that exceeds the current plan or an unavailable paid capability, do the portion available on the current plan, clearly say what is blocked by the plan, and include the billing link for upgrading. Do not invent exceptions, temporary limit increases, prices, or hidden capabilities.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Workflow name. | |
| slug | No | Optional organization-unique workflow slug. | |
| tags | No | Optional tag labels. | |
| bestFor | Yes | Best-fit use cases. | |
| audience | Yes | Who this workflow is for. | |
| contexts | Yes | Ordered Context steps for this workflow. | |
| apiSummary | No | Optional API summary. | |
| categories | No | Optional category labels. | |
| constraints | No | Optional workflow constraints. | |
| description | Yes | Workflow description. | |
| experiments | No | Optional experiment guidance. | |
| measurement | No | Optional measurement guidance. | |
| exampleUseCases | No | Optional example use cases, up to 3. | |
| definitionOfDone | No | Optional definition of done. | |
| shortDescription | No | Optional short summary. | |
| autoSelectEnabled | No | Whether Oi may auto-select this workflow. | |
| postExecutionFollowUp | No | Optional post-execution follow-up guidance. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workflow | Yes |