GLPI + Microsoft Teams: AI auto-reply + follow-up sync (workflow template)

What it does
This workflow connects Microsoft Teams ↔ GLPI:

  • Creates/updates GLPI tickets from Teams messages

  • Posts an initial automated response (AI)

  • Syncs Teams thread replies into GLPI TicketFollowup

  • Handles common GLPI API pitfalls (headers, token handling, content sanitization)

Why it’s useful
Support teams can work in Teams while GLPI remains the source of truth.

Highlights

  • Thread mapping: Teams threadId → GLPI ticketId (persistent storage)

  • Safe HTTP headers (prevents ERR_INVALID_CHAR)

  • Works with GLPI REST API (/apirest.php)

Screenshots / Diagram

Workflow (sanitized)
(paste export without secrets)

Docs
(link to a public doc / gist)