Create Stage
Create_Stage creates a new GovTribe stage inside an existing pipeline and returns the created stage resource as JSON text.
Input Contract
Create_Stage accepts a compact input schema focused on pipeline placement and stage metadata. The backend sets additional internal fields (such as stage type, owner, creator, and workspace bindings), so those fields are not caller-supplied inputs.
pipeline_id: GovTribe ID of the pipeline that will receive the new stage.type:stringrequired:yesdefault:n/a
name: Stage name shown in pipeline workflows.type:stringrequired:yesdefault:n/ashape:min length 1, max length 50
description: Optional stage description to explain intended usage.type:stringrequired:nodefault:omit for no descriptionshape:min length 1, max length 1000
index: Optional stage order position.type:integerrequired:nodefault:omit to use backend ordering/default behaviorshape:min 0, max 996
Output Contract
Top-level keys:
govtribe_idgovtribe_typegovtribe_urlnamedescriptiontypecreated_atupdated_atownercreatorpipeline
Row keys:
n/a
Relationship retrieval map:
creatorresource_type:usertool:Search_Usersfilter:user_idsnested_keys:govtribe_id,govtribe_type,name,email
ownerresource_type:usertool:Search_Usersfilter:user_idsnested_keys:govtribe_id,govtribe_type,name,email
pipelineresource_type:pipelinetool:Search_Pipelinesfilter:creator_idsnested_keys:govtribe_id,govtribe_type,govtribe_url,name
Usage Patterns
Pattern A: Create a new stage with required fields only. Tool: Update_Pipeline
Pattern B: Create a stage with a description for team guidance. Tool: Create_Stage
Pattern C: Insert a stage at a specific order index. Tool: Create_Stage
Last updated
Was this helpful?
