The AI copilot can generate a complete workflow graph from a natural language description. You create a copilot session linked to a workflow, describe what you want, and the copilot generates the blocks and edges. You can iterate through multiple chat turns to refine the workflow.Documentation Index
Fetch the complete documentation index at: https://docs.powabase.ai/llms.txt
Use this file to discover all available pages before exploring further.
Prerequisites:
- Authentication configured (see Authentication guide)
Create a workflow
Create an empty workflow that the copilot will populate.Endpoint:
POST /api/workflowsStart a copilot session
Create a copilot session linked to the workflow.Endpoint:
POST /api/copilot/sessionsDescribe your workflow
Send a natural language description via the chat endpoint. The copilot responds with a streaming SSE response that includes the generated workflow graph.Endpoint:
POST /api/copilot/sessions/{id}/chatSave the copilot's suggestion
Save the copilot’s generated workflow graph as a snapshot. This applies the blocks and edges to the workflow.Endpoint:
POST /api/copilot/sessions/{id}/messages/{mid}/snapshotWhat’s Next
Workflows (Programmatic)
Fine-tune workflows by editing the graph directly.
Workflows
Understand block types and graph execution.
Copilot API Reference
Full endpoint documentation.