Skip to content
Proud to collaborate with Microsoft for Startups

github.installation ​

Handles GitHub App installation webhooks (DAG)

DAG-based GitHub installation workflow.

Handles GitHub App installation webhooks with parallel-capable structure. Uses atomic workflows for step execution.

Overview ​

PropertyValue
Workflow typeDag
LibraryApp-github
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
delivery_refstringYes—Webhook delivery ID
event_typestringYes—Webhook event type
actionstringNo—Webhook action
payloaddictYes—Webhook payload
organization_uuidstringNo—Organization UUID (public)

Output Schema ​

FieldTypeRequiredDefaultDescription
delivery_refstringNo——
event_typestringNo——
actionstringNo——
payloaddictNo——
organization_uuidstringNo——
workflow_run_uuidstringNo——
validatedictNo——
sync_installationdictNo——
sync_repositoriesdictNo——
completedictNo——
failure_reasonstringNo——
failure_typestringNo——
failed_actionstringNo——
failed_at_statestringNo——
failed_stepstringNo——
failed_layerintegerNo——
errorstringNo——
error_typestringNo——

DAG Layers ​

#LayerStepsCompensation
1validategithub.installation-validate—
2sync_installationgithub.installation-sync-installation—
3sync_repositoriesgithub.installation-sync-repositories—
4finalizegithub.installation-complete—

Execution Flow ​

Sub-workflows ​

Sub-workflowStep name
github.installation-validatevalidate
github.installation-sync-installationsync_installation
github.installation-sync-repositoriessync_repositories
github.installation-completecomplete

Business Errors ​

CodeMessage Template
DELIVERY_ID_REQUIREDdelivery_ref is required
EVENT_TYPE_REQUIREDevent_type is required
PAYLOAD_REQUIREDpayload is required
INSTALLATION_ID_NOT_FOUNDinstallation.id not found in payload

API Usage ​

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

{
  "workflow_type": "github.installation",
  "initial_data": {
    "delivery_ref": "value",
    "event_type": "value",
    "payload": "value"
  }
}