Skip to content
Proud to collaborate with Microsoft for Startups

spad.ltip.site-creation-finalize ​

Finalize site creation after infrastructure provisioning

Finalize site creation (DAG step).

Overview ​

PropertyValue
Workflow typeLinear
LibraryApp-spad
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
site_uuidstringYes—SpadSite.id to mark active
organization_uuidstringNo—Organization that owns the site
slugstringNo—Site slug (logged on completion)
s3_bucket_namestringNo—Created bucket name (logged on completion)
cloudfront_domainstringNo—Created CDN domain / equivalent (logged on completion)
resources_createdlistNo—Names of resources successfully provisioned by prior steps
workflow_run_idstringNo——
workflow_run_uuidstringNo—Parent workflow run ID stamped by the DAG engine (legacy alias)

Output Schema ​

FieldTypeRequiredDefaultDescription
site_uuidstringYes—Site marked active
finalized_atstringYes—ISO8601 timestamp when the site was marked active
completed_atstringNo—ISO8601 timestamp when the step reached COMPLETED
failed_atstringNo—ISO8601 timestamp when the step reached FAILED
failure_reasonstringNo—Reason recorded on the failure path
workflow_run_idstringNo——
organization_uuidstringNo—Organization that owns the site
slugstringNo—Site slug (logged on completion)
s3_bucket_namestringNo—Created bucket name (logged on completion)
cloudfront_domainstringNo—Created CDN domain / equivalent (logged on completion)
resources_createdlistNo—Names of resources successfully provisioned by prior steps
workflow_run_uuidstringNo—Parent workflow run ID stamped by the DAG engine (legacy alias)
errorstringNo—Engine-stamped failure metadata
error_typestringNo—Engine-stamped failure metadata
failed_at_statejsonNo—Engine-stamped failure metadata
failed_layerjsonNo—Engine-stamped failure metadata
failed_stepjsonNo—Engine-stamped failure metadata

States ​

StateInitialTerminalSuccessAuto-advanceDescription
initiatedYesNo—runStep accepted
runNoNo—completeFinalizing site creation
completedNoYesYes—Site creation finalized
failedNoYesNo—Finalization failed

State Diagram ​

Transitions ​

FromActionToDescription
initiatedrunrunStart finalization
runcompletecompletedMark step completed
* (any state)failfailedMark step failed

API Usage ​

bash
POST /api/workflows/start
Content-Type: application/json

{
  "workflow_type": "spad.ltip.site-creation-finalize",
  "initial_data": {
    "site_uuid": "value"
  }
}