Your browser was unable to load all of the resources. They may have been blocked by your firewall, proxy or browser configuration.
Press Ctrl+F5 or Ctrl+Shift+R to have your browser try again.

How to parse webhook payload #4324

jintaeson ·

After connecting github and webhook,
payload info ${delivery} placed in variable.
Therefore, the values of the variables are displayed as shown below.

Come.pmease quick plugin.webhook.ghub.model.Githerbriefing@xxxxxx

I want to read the attribute values of this variable, what should I do?

  • replies 1
  • views 1215
  • stars 0
steveluo ADMIN ·

Variable delivery represents the payload from GitHub, the data structure depends on the event sent from GitHub. The events and payloads please refer to below page:

So, for example, if you want to access ref from push event (see https://docs.github.com/en/developers/webhooks-and-events/webhook-events-and-payloads#push), you can use below expression:

delivery.ref