Parsing webhook header info from Discourse into Google Sheets

Hi,

I have a Discourse webhook pointing to a Google apps script that writes the data to a spreadsheet. What I cant seem to fin is how to get the header information for that webhook event in my google apps script e.g. X-Discourse-Instance:

All suggestions welcome!

Conor

Maybe a bit of a stretch, but you could take a detour via Zapier and parse the raw hook:

1 Like

Thanks for getting back to me @Krischan

Yes I was using Zapier and felt that I could achieve the same with a webhook. I have recreated all of the Zapier functionality so far…apart from this one key!

Any other suggestions?

Thanks!

1 Like