Webhook get trigger.query?

In my shelly_update automation and now that WebHook GET requests are in, should I not be able to access this query value in the action? The notification below query is empty/noll, platform is webhook, and json is empty. Flipping to a valid POST request even with a query string, I get the JSON payload but still now query value.

curl --location 'http://homeassistant.local:8123/api/webhook/shelly_update?bob=1'

Automation:

- id: "1703166629461"
  alias: Listen to Shelly Webhook
  description: ""
  trigger:
    - platform: webhook
      webhook_id: shelly_update
      allowed_methods:
        - GET
        - POST
      local_only: true
  condition: []
  action:
    - service: notify.notify
      data:
        message: Q--{{trigger.query}} --P {{ trigger.platform }}-- J {{ trigger.json }}-update received!

  mode: single

FWIW and Iā€™m not sure if this is documented ( I never found it ). You need to know your url params. Unlike a json payload where anything goes I needed to reference the param: trigger.query.bob

1 Like

Thank I was searching and searching and gave me the answer