Cloudfunctions.net webhooks

Hi! I have been trying to do webhooks integrations and I have reviewed all the options but, I don't know how I'm supposed to use the google cloud functions to use the webhooks.

Can anyone do a simple and dumb example for this please?

Thankss