#remote webhook - fetch json data

1 messages · Page 1 of 1 (latest)

thorn kernel
#

am trying a remote webhook. it works but i want to retrieve the json data i sent with it

the following is not working

action: persistent_notification.create
metadata: {}
data:
message: Webhook Val {{ trigger.volume }}

#

anyone please?

#

i need to fetch the content

#

tried with https://webhook-test.com and is been fetched automatically without any action
what am doing wrong please?

thorn kernel
#

I've finally made it.
the following does work indeed

alias: ethereum webhook test
description: ""
triggers:
  - allowed_methods:
      - POST
      - PUT
    local_only: false
    webhook_id: "-pVZVdyxJU43_HlGohw4Bw4D9"
    trigger: webhook
conditions: []
actions:
  - data:
      message: >
        Ελήφθησαν JSON δεδομένα: bias: {{ trigger.json.bias }} close: {{
        trigger.json.close }} high: {{ trigger.json.high }} low: {{
        trigger.json.low }} open: {{ trigger.json.open }} volume: {{
        trigger.json.volume }}
    action: persistent_notification.create
mode: single