Way to trigger a form without intent

2

image

Hi,

Is there any way to trigger a form without intent?

If I do it like the first picture, where I manually input with intent ‘trigger’, it works and will trigger the form.

In the second picture, what I tried to do is to set a slot with a custom action, and I want the form to be triggered right after the custom action. But it doesn’t work.

Can I do something such that the form can be triggered right after the custom action?

Hello @JLXie , welcome to the Forum!

I want the form to be triggered right after the custom action.

Yes, this is certainly possible. I think you need to add this custom action to the rule, so

- rule: Actuvate pronounciation_form
  steps:
  - action: my_custom_action
  - slot_was_set:
    - word_form_activation: True
  - action: pronounciation_form
  - active_loop: pronounciation_form

You also need to make sure that word_form_activation is a boolean slot has influence_conversation set to True.

1 Like

image

image

Hi @j.mosig , thanks for the reply.

It still does not work after doing so although action_play_game has been run. Would it be because the flow of triggering action_play_game is done in stories.yml but not in rules.yml?