Skip to main content

Approval Workflows

GLPI ticket approvals are handled through validations, which trigger n8n workflows via webhooks.

Validation Types

Standard Approval (WF B)

  • Triggered by Webhook #2 when any ticket is approved
  • Generates scope document and creates ClickUp task

DTO Validation (WF C2 → D → E)

  • Multi-phase approval for project tickets
  • DTO member validates solution document
  • On approval, BRD is generated and ClickUp task created with smart assignment
  • On rejection, AI regenerates the solution document

Webhook Payloads

Webhook #2 sends:

{
"validation_id": 123,
"ticket_id": 456,
"validator_id": 78,
"status": 3,
"comment_validation": "Approved",
"comment_submission": "Please review"
}

Status values: 2 = Waiting, 3 = Approved, 4 = Rejected