IFTTT, webhook, and webhook_id

Hello,

The IFTTT authentication is broken, so I am trying to configure new automation when I send events from IFTTT to my HA.

I configured new IFTTT event and used the following URL:

http://myipaddress.com:8123/api/webhook/longlonglongtext

After that, I configured new automation:

- trigger:
   platform: event
   event_type: ifttt_webhook_received
   event_data:
     action: call_service
  id: '1499707625078'
  action:
   service_template: '{{ trigger.event.data.service }}'
   data_template:
     entity_id: '{{ trigger.event.data.entity_id }}'

Everything above is described here:


When I test it does not work and I see the error message in HA log:
Received message for unregistered webhook longlonglongtext

Can someone help me with this?

what is in your body in IFTTT ?

Here it is:

{ "action": "call_service", "service": "switch.turn_on", "entity_id": "switch.entry_light" }

At this time I do not think it matters if I receive an error that the webhook with that id is not registered, but I could be wrong.

strange, dont see an issue
maybe it doesnt work with http and you need https ?

Following is my automation which works fine.

  - id: '1544956810636'
  alias: SF_Tubelight
  trigger:
  - event_data:
      action: tubelight
    event_type: ifttt_webhook_received
    platform: event
  condition: []
  action:
  - data:
      entity_id: switch.tube_light
    service: switch.toggle

I found my mistake and fixed it. The problem was with my URL.

Thank you everyone.

can anybody tell me how to test this webhook receive?
i do “check now” in ifttt website, but doesn’t see anything in HA log

Hi can you share the correct URL structure as it is not working for me with the https

Could you please elaborate a bit more on how to get the ifttt webhooks id? I do have ifftt webhook integration enabled, and if I navigate to the integration details, all I see is a “there are no devices for this integration” and a ID in the URL. I used that ID in the IFTTT URL and it still throws an error “Received message for unregistered webhook”.

You need to disable/remove the IFTTT integration while at the above screen and then re-enable it and then you should see your custom webhooks id.

Ah! Thanks, didn’t realize that information is only shown once on the resulting screen when you add the integration. Didn’t pay attention to it before as I had assumed that webhook was related to outgoing requests.

Hi, i got the same issue with the last update. I am moving to the new authentication method (no more api_password).

I paste here my automation:

  • id: spegniluci
    alias: spegniluci
    trigger:
    • event_data:
      action: call_service
      event_type: ifttt_webhook_received
      platform: event
      condition: []
      action:
    • data_template:
      entity_id: {{ trigger.event.data.entity_id }}
      service_template: {{ trigger.event.data.service }}

the Ifttt url : https://myname.duckdns.org:8123/api/webhook/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

body:
{ “action”: “call_service”, “service”: “script.turn_on”, “entity_id”: “script.allarme_disinserito” }

If i trigger the script manually the TTS works, seems that the Ifttt trigger doesn’t work.

Any advice?
Thank you!

Edited Post: Never mind… I got it working… No idea what I did different lol.