Skip to main content

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

StepActionAPIDetails
1Export project from sourceGET /api/v1/unstract/{org_id}/prompt-studio/project-transfer/{tool_id}Prompt Studio — Export Project
2aImport by creating a new project on targetPOST /api/v1/unstract/{org_id}/prompt-studio/project-transfer/Prompt Studio — Import Project
2bOr sync prompts into existing project on targetPOST /api/v1/unstract/{org_id}/prompt-studio/{tool_id}/sync-prompts/Prompt Studio — Sync Prompts
3Configure adapters on target (environment-specific)POST /api/v1/unstract/{org_id}/adapter/, POST /api/v1/unstract/{org_id}/adapter/default_triad/Adapters
4Export tool to registry for deployment on targetPOST /api/v1/unstract/{org_id}/prompt-studio/export/{tool_id}Prompt Studio — Export Tool
5Create deployment on targetPOST /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.