Icon

webhook_payload_properties

Extract Webhook Payload Properties

This workflow snippet shows how to process an example HTTP POST payload (JSON format) from a GitHub webhook. Webhooks provide a way for notifications to be delivered to an external web server whenever certain actions occur on a repository or organization.

Once the workflow is uploaded to the KNIME Server this workflow can be used as the payload URL to receive the webhook POST requests.

Annotations and comments
  • Extract webhook payload object properties Each webhook event payload contains properties unique to the event. As an example, a webhook payload for pushing commits to a repository was used. https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#push
  • Each payload property must have its own Container Input node, otherwise the request cannot be delivered successfully.
  • ref
  • before
  • after
  • forced
  • base_ref
  • compare
  • commits
  • head_commit
  • deleted
  • created
  • sender
  • pusher
  • Extract values from JSON array

Nodes

Extensions

Links