Automation for Ifttts crashes the hassio on pi

If I try to add this code:

 - alias: ‘Execute IFTTT request’
     trigger:
      platform: event
       event_type: ifttt_webhook_received
       event_data:
        action: call_service
    action:
      service_template: ‘{{ trigger.event.data.service }}’
      data_template:
       entity_id: ‘{{ trigger.event.data.entity_id }}’

To the automation.yaml the hassio on my pi doesnt boot properly and I cant reach it with http://hassio.local:8123/ and need to reflash everything. What I want to do is to make an iftttt that activates a script with:
{ “action”: “call_service”, “service”: “script.turn_on”, “entity_id”: “script.nameofscript” }

So I follow this guide:

But the suggested code:

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

Is realy f.upped. Anyone knows why?