Cascading Workflows
Enterprise Feature
Cascading workflows enable you to promote changes across DEV, TEST, PROD environments available with the Enterprise SSO feature.
Use Platform APIs to move Prompt Studio projects, adapters, and deployments between Unstract environments.
Promote Prompt Studio Project
| Step | Action | API | Details |
|---|---|---|---|
| 1 | Export project from source | GET /api/v1/unstract/{org_id}/prompt-studio/project-transfer/{tool_id} | Prompt Studio — Export Project |
| 2a | Import by creating a new project on target | POST /api/v1/unstract/{org_id}/prompt-studio/project-transfer/ | Prompt Studio — Import Project |
| 2b | Or sync prompts into existing project on target | POST /api/v1/unstract/{org_id}/prompt-studio/{tool_id}/sync-prompts/ | Prompt Studio — Sync Prompts |
| 3 | Configure adapters on target (environment-specific) | POST /api/v1/unstract/{org_id}/adapter/, POST /api/v1/unstract/{org_id}/adapter/default_triad/ | Adapters |
| 4 | Export tool to registry for deployment on target | POST /api/v1/unstract/{org_id}/prompt-studio/export/{tool_id} | Prompt Studio — Export Tool |
| 5 | Create deployment on target | POST /api/v1/unstract/{org_id}/api/deployment/ | API Deployments — Create |
tip
Step 2a creates a new project on the target. Use step 2b instead if the project already exists and you only want to update the prompts.