Skip to main content
Prerequisite You should already have the Kernel react SDK installed (see the quickstart)
Now that users can link their repositories to your application, let’s build a workflow that leaves a message on each pull request created on a connected repository.
1

Build an event handler

This Django example
  1. filters on pull request events
  2. filters on connection links where the user has enabled a “preview” boolean
  3. clones the user repository
  4. leaves a comment on the pull request with the raw repository contents
2

Configure webhook URL

Point Kernel to your newly created event handler by setting the webhook URL in the Terminal.

Event schema