Use trigger webhooks for sending message state of charge

Hi all,

I’m trying to create a trigger when the electric car is charging and put a condition on the charge level, to check if it’s value, so it only triggers when the state of charge is e.g. 50, 60, 70, 80, 90 or 100.

I can find events about charging, such as vehicle/battery/charging

I have a few questions:

  1. Is the above event triggered when the aux battery is charged, or the main battery?
  2. How can I access in the conditions the state of charge, such as the one I have stored in obd.soc_display.charging?
  3. Similar, how can I use the state of charge in a json payload to send as a webhook request to my service?

Or maybe i’m trying to do something with triggers that is not possible?