Stitch: Create a webhook that takes in parameters for filtering documents

I have followed Micheal Lynn’s tutorial on creating a basic http service with webhooks.

Currently the webhook only allows me to hardcode filters for my documents. Just like secrets with <webhook-url>?secret=1234 is there a way to do something like <webhook-url>?filter=cats and get all the documents with cats?

Absolutely! The query parameter you pass to your stitch (no realm) application is available to you in the script as part of the payload. See