Webhook and triggering an automation

How does one trigger an automation from a webhook in IFTTT? The documentation is confusing.

What’s the correct configuration in automation.yaml and in IFTTT?

My automation (switching channel on dvr via harmony hub) works like a charm. Yet my ifttt recipe doesn’t trigger the automation. What’s the json code?

- id: '1532546654832'
  alias: switch to vrt
  trigger:
  - platform: webhook
    webhook_id: a really long string I'm not going to show here
  condition: []
  action:
  - data:
      command:
      - 2
      delay_secs: 0.6
      device: 51335700
      entity_id: remote.harmony_hub
    service: remote.send_command

In here too.
Any news?

My code:

  • alias: Temperatura Calendario
    trigger:
    platform: webhook
    webhook_id: notheredude
    action:
    • service: notify.hass
      data_template:
      message: >
      {{ trigger.data }}
      title: “Webhook Test”

For IFTTT perhaps the IFTTT Component (webhook) is easier to use. I haven’t tried this IFTTT-specific webhook. For the general purpose webhook trigger, I found the command-line tool curl to be very useful and the website webhook.site to be somewhat useful.