Github Webhook Payload

Does a viable method exist to extract payload information from a webhook in Drone and use it as a variable or file in the pipeline? Would like to parse for some additional information.

A previous post regarding this topic was started but did not provide much information:

sorry, Drone does not store the raw webhook data. The best way to get additional metadata would be to make and API request to GitHub as part of your pipeline, and write the payload to disk.