Hi All,
I added the IFTTT integration and just got my first webhook working, it announces an arriving Uber on Sonos.
But I’m unclear on how to have multiple webhooks with different variables. In the IFTTT recipe I set the url to the one given when I installed the integration (hooks.nabu.casa/gAAAAABg23WTAUNRLK7i49Hu1o…).
And I created this automation:
- id: "1624998236300"
alias: IFTTT Webhook Received
description: ""
trigger:
- event_data:
action: call_service
event_type: ifttt_webhook_received
platform: event
condition: []
action:
service: "{{ trigger.event.data.service }}"
data:
entity_id: "{{ trigger.event.data.entity_id }}"
variables:
where: "{{ trigger.event.data.where }}"
what: "{{ trigger.event.data.what }}"
But it seems like that will fire for any incoming IFTTT webhook which may have different variables then the ones for my Sonos script. So how do we handle multiple webhook calls with different variables? (I’m fairly new to Hass so I could be missing something basic)
Thanks,
~John