That doesn’t look like a Webhook.manager “WHEN” card but like the regular built-in Logic card for triggering on webhooks.
Ah, you’ve got a point there. Sadly not the cause of the issue, I mistakendly screenshotted the wrong test flow. Here’s my flow using a webhook manager card:
I don’t see any webhooks being registered here so I wonder if the app is actually able to create new webhooks.
Thought I’d reply here because I received the forum notice and the diagnostics report at the same time.
You are passing in data in JSON-form. The script won’t be able to read that, as it is not expecting JSON data.
Your diagnostics report shows me that the token is recognized correctly, the app receives a trigger correctly, but there is no ‘event’ parameter recognized.
In Postman, I think you need to try the form-data settings instead. Use key ‘event’, with value ‘your_event_name_here’. Add data1, data2, data3 keys as well.
I think for raw you need this format:
event=your_event_name_here&data1=&data2=&data3=
Alternatively, you can use the URL as specified at the bottom of your app settings page to pass in the data via the URL with a GET command.
Example:
https://url?token=12345&event=your_event_name_here&data1=&data2=&data3=
This is the easier method.
Hi Jorden, thanks so much for responding. Sadly, no luck yet. Since a get request seems to be the easiest way I’ve cut out the middle man and simply opened the URL in a browser.
I get the OK response, but again nothing happens in homey flow.
Can you send me the URL in a private message or by email (info@corbata.nl)?
edit: the issue seems to be limited to my implementation. I didn’t find a fix, so I switched to homey’s native webhook implementation. But Webhook Manager is the superior solution since it allows for multiple datapoints to be sent with the webhook.
