#Please help with intents for integration with n8n

1 messages · Page 1 of 1 (latest)

rugged aspen
#

Hi, I am trying to build a custom intent to use a webhook to call a n8n workflow, return the response and return this response to the user.

In my /config/custom_sentences/sv/slaven.yaml

language: "sv"
intents:
  ask_slaven:
    data:
      sentences:
        - "Fråga slaven {slav_command}"

lists:
  slav_command:
    wildcard: true

In my config (Just a simple log for now):

intent_script:
  ask_slaven:
    action:
      - service: system_log.write
        data:
          message: "ACTION: {{ slav_command }}"
          level: error
    speech:
      text: "Hej"

I use the command and it calls the intent_script but the slav_command is empty.

Please if someone have pointers I would be so happy 🙂