GitHub Integration

Connect GitHub to LoopFlowHQ via a webhook so that PR activity automatically drives ticket state changes. Configure this in the GitHub UI (repository webhook settings) — no repository YAML required.

Webhook setup

LoopFlowHQ webhook endpoint:
https://www.loopflowhq.com/api/github/webhook?api_key=lfhq_YOUR_KEY

Set the Secret field to the same API key. GitHub uses it to sign every delivery with HMAC-SHA256 — LoopFlowHQ verifies the signature to confirm the request is genuine.

GitHub webhook setup

Replace lfhq_YOUR_KEY with your existing API key.

text
GitHub webhook setup (in GitHub UI)

1) Repository -> Settings -> Webhooks -> Add webhook
2) Payload URL
   https://www.loopflowhq.com/api/github/webhook?api_key=lfhq_YOUR_KEY
3) Content type
   application/json
4) Secret
   lfhq_YOUR_KEY
5) Which events would you like to trigger this webhook?
   Select: Send me everything.
6) Save webhook and send a test delivery

Supported events

  • Issue comments: detects preview URL in PR comments and updates ticket preview_url
  • Pull request review comments: logs inline code-review comments into ticket history for agent follow-up
  • Pull requests: tracks PR open/closed/merged state and, when a linked ticket is in review, moves it toclose:ready after merge