How to run form from a fallback action

I kind of need to run a form which was basically an intent. To a fallback action. How do i do this?


- rule: Activate Form

  steps:

    - intent: send_email

    - action: email_form

    - active_loop: email_form

- rule: Submit form

  condition:

  # Condition that form is active.

  - active_loop: email_form

  steps:

  # Form is deactivated

  - action: email_form

  - active_loop: null

  - slot_was_set:

    - requested_slot: null

  # The actions we want to run when the form is submitted.

  - action: action_submit_email_form
- story: Story from Conversation ID 4adbe411c6ad4a80996291afba0fc0c7

  steps:

  - intent: send_email

  - action: email_form

  - active_loop: email_form

  - slot_was_set:

    - requested_slot: email

  - slot_was_set:

    - email: aymane-abdellah@hotmail.com

  - intent: provide_email

    entities:

    - email: aymane-abdellah@hotmail.com

  - action: email_form

  - slot_was_set:

    - email: aymane-abdellah@hotmail.com

  - intent: faq

  - action: email_form

  - slot_was_set:

    - message: Ik wil weten hoe ik mijn zonnepaneel op mijn dak moet plaatsen

  - intent: affirm

  - action: email_form

  - active_loop: null

  - slot_was_set:

    - set_details: affirm

  - action: action_submit_email_form
- intent: send_email

  examples: |

    - I want to to send email

    - Send an email

    - Send email

    - email

    - ik wil iemand van de helpdesk spreken

    - send email

    - send mail

    - ik wil een mail sturen
utter_ask_email:

  - text: Wat is je email adress?

  utter_ask_message:

  - text: Wat zijn je vragen?

  utter_ask_set_details:

  - buttons:

    - payload: Yes

      title: Yes

    - payload: No

      title: No

    text: |-

      Dit zijn de details die ik heb vastgelegd. Bevestig ze hieronder a.u.b.:

      Email: {email}

      Message: {message}

  utter_mail_success:

  - text: Ik heb alle details naar ons team gemaild.

  utter_mail_canceled:

  - text: Ik heb de mail geannuleerd. Wil je nog ergens hulp bij?

actions:

- action_show_webinar_date

- action_submit_email_form

- validate_email_form

- action_request_human




forms:

  email_form:

    required_slots:

      email:

      - entity: email

        type: from_entity

      message:

      - type: from_text

      set_details:

      - intent: affirm

        type: from_intent

        value: yes

      - intent: deny

        type: from_intent

        value: no

e2e_actions: []