Todoist Webhook Not Triggering Automation

Hi guys, I’d want to integrate Todoist List to sync Alexa Shopping List in Home Assistant, I’ve followed this tutorial: Sync your Alexa/Todoist shopping list to the Home Assistant shopping list!

And I can’t get the automation to work. I’ve successfully created the Todois app on developer.todoist, activated the webhook on every item update but the automation doesn’t trigger.

This is the automation’s code:

alias: LIST_UPDATE
description: ''
trigger:
  - platform: webhook
    webhook_id: my_id
    id: list_update
condition: []
action:
  - choose:
      - conditions:
          - condition: trigger
            id: list_update
        sequence:
          - service: pyscript.sync_shopping_list
    default: []
mode: single

I’ve opened the ports 443 and 80 and the webhook ip is reachable from the outside, I’ve tried to send it manually from outside my network and the automation triggers. But it doesn’t when i change Todoist list via Alexa or via Todoist.

Any idea why it isn’t working? Thanks.

This is the automation I have setup and has been solid since I set it up at the beginning of the year:

alias: Sync Todoist shopping list to HA when Todoist updated
description: ''
trigger:
  - platform: webhook
    webhook_id: xxxxxxxxxx
condition: []
action:
  - service: pyscript.sync_shopping_list
    data: {}
mode: single