Skip to content
Proud to collaborate with Microsoft for Startups

github.create ​

Handles GitHub App create webhooks (DAG)

DAG-based GitHub create workflow.

Handles GitHub App create webhooks (branch/tag creation) for audit logging. No model is created since branches are tracked via push events.

Overview ​

PropertyValue
Workflow typeDag
LibraryApp-github
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
delivery_refstringYes—Webhook delivery ID
event_typestringYes—Webhook event type
actionstringYes—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_refdictNo——
dispatch_staff_eventdictNo——
completedictNo——
failure_reasonstringNo——
failure_typestringNo——
failed_actionstringNo——
failed_at_statestringNo——
failed_stepstringNo——
failed_layerintegerNo——
errorstringNo——
error_typestringNo——

DAG Layers ​

#LayerStepsCompensation
1validategithub.create-validate—
2sync_refgithub.create-sync, github.create-dispatch-staff-event—
3completegithub.create-complete—

Execution Flow ​

Sub-workflows ​

Sub-workflowStep name
github.create-validatevalidate
github.create-syncsync_ref
github.create-dispatch-staff-eventdispatch_staff_event
github.create-completecomplete

Business Errors ​

CodeMessage Template
DELIVERY_ID_REQUIREDdelivery_ref is required
REF_TYPE_REQUIREDref_type not found in payload

API Usage ​

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

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