Skip to content
Proud to collaborate with Microsoft for Startups

spad.site-creation-finalize ​

Finalize SPAD site creation

Mark a SPAD site as active once site-owned infrastructure is ready.

Overview ​

PropertyValue
Workflow typeLinear
LibraryApp-spad
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
site_uuidstringYes—Site ID
organization_uuidstringNo—Organization ID
slugstringNo—Site slug
s3_bucket_namestringNo—Provisioned bucket name
cloudfront_domainstringNo—Provisioned CloudFront domain
resources_createdlistNo—Provisioned resources

Output Schema ​

FieldTypeRequiredDefaultDescription
site_uuidstringYes—Site marked active
slugstringNo—Site slug propagated from input
s3_bucket_namestringNo—Provisioned bucket name propagated from input
cloudfront_domainstringNo—Provisioned CloudFront domain propagated from input
resources_createdlistNo—Accumulated list of provisioned resources
completed_atstringNo—ISO8601 timestamp when finalize completed
failed_atstringNo—ISO8601 timestamp when finalize failed (failure path only)
failure_reasonstringNo—Reason recorded on the failure path
organization_uuidstringNo—Organization ID
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
pendingYesNo—runFinalize step accepted
runNoNo—completeApplying final site status updates
completedNoYesYes—Site creation finalized
failedNoYesNo—Finalize step failed

State Diagram ​

Transitions ​

FromActionToDescription
pendingrunrunStart finalize execution
runcompletecompletedMark finalize completed
* (any state)failfailedMark finalize failed

API Usage ​

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

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