Question 1: Do I need to add the same rule for every form I have?
This is what I have for one of my forms: Should I just repeat the code below for all my different forms?
- rule: Activate email form
steps:
- intent: lookup_mail_server
- action: email_form
- active_loop: email_form
- rule: Submit email form
condition:
# Condition that form is active.
- active_loop: email_form
steps:
- action: email_form
- active_loop: null
Question 2: What happens if multiple intents trigger the same form? Do I create a separate rule for each one or can multiple intents be specified for single form rule? For example:
- rule: Activate email form
steps:
- intent: lookup_mail_server, get_mail_address
- action: email_form
- active_loop: email_form