Translate to an action

Hi,

How can I translate this into the automation.yaml?
It works fine if I test it but I can’t find how to make it work as an action:

Thank you!

Erik

There’s an example on the component page

  action:
    service: ifttt.trigger
    data: {"event":"TestHA_Trigger", "value1":"Hello World!"}

Thank you!