# Can we make bots question be from actions instade of domain file while we are doing form filling?

**URL:** <https://forum.rasa.com/t/can-we-make-bots-question-be-from-actions-instade-of-domain-file-while-we-are-doing-form-filling/35508>\
**Category:** Rasa Open Source\
**Created:** [October 6, 2020, 11:04am UTC](https://forum.rasa.com/t/can-we-make-bots-question-be-from-actions-instade-of-domain-file-while-we-are-doing-form-filling/35508 "2020-10-06T11:04:15Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![faiza\_conte](https://avatars.discourse-cdn.com/v4/letter/f/74df32/32.png) [@faiza\_conte](https://forum.rasa.com/u/faiza_conte)\
**Post date:** [October 6, 2020, 11:04am UTC](https://forum.rasa.com/t/can-we-make-bots-question-be-from-actions-instade-of-domain-file-while-we-are-doing-form-filling/35508/1 "2020-10-06T11:04:15Z")

</div>

can we make bots question be from actions instade of domain file while we are doing form filling?..is it possible?

---

<div class="post-metadata">

**Author:** ![j.mosig](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/j.mosig/32/3588_2.png) [@j.mosig](https://forum.rasa.com/u/j.mosig)\
**Post date:** [October 6, 2020, 5:38pm UTC](https://forum.rasa.com/t/can-we-make-bots-question-be-from-actions-instade-of-domain-file-while-we-are-doing-form-filling/35508/2 "2020-10-06T17:38:02Z")

</div>

Hi @faiza_conte

Instead of the `utter_ask_...` action, you can use a custom action for forms, yes, as described here: [Forms](https://rasa.com/docs/rasa/forms#using-a-custom-action-to-ask-for-the-next-slot)

Hope that helps 🙂

---

<div class="post-metadata">

**Author:** ![faiza\_conte](https://avatars.discourse-cdn.com/v4/letter/f/74df32/32.png) [@faiza\_conte](https://forum.rasa.com/u/faiza_conte)\
**Post date:** [October 6, 2020, 5:52pm UTC](https://forum.rasa.com/t/can-we-make-bots-question-be-from-actions-instade-of-domain-file-while-we-are-doing-form-filling/35508/3 "2020-10-06T17:52:49Z")

</div>

i did action\_ask\_slotname but i get errors…the form jumps the question from action and move to the utter actions

---

<div class="post-metadata">

**Author:** ![faiza\_conte](https://avatars.discourse-cdn.com/v4/letter/f/74df32/32.png) [@faiza\_conte](https://forum.rasa.com/u/faiza_conte)\
**Post date:** [October 6, 2020, 6:02pm UTC](https://forum.rasa.com/t/can-we-make-bots-question-be-from-actions-instade-of-domain-file-while-we-are-doing-form-filling/35508/4 "2020-10-06T18:02:27Z")

</div>

![Screenshot (142)](https://europe1.discourse-cdn.com/flex013/uploads/rasa/original/2X/5/527509ea346ae8951124b5e5f00e64bde215bc3e.png) ![Screenshot (143)](https://europe1.discourse-cdn.com/flex013/uploads/rasa/original/2X/b/b3c202c2f1310855dc6ca7f2cfa7c49f8575df4e.png)

---

<div class="post-metadata">

**Author:** ![j.mosig](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/j.mosig/32/3588_2.png) [@j.mosig](https://forum.rasa.com/u/j.mosig)\
**Post date:** [October 7, 2020, 4:49am UTC](https://forum.rasa.com/t/can-we-make-bots-question-be-from-actions-instade-of-domain-file-while-we-are-doing-form-filling/35508/5 "2020-10-07T04:49:39Z")

</div>

It looks like you forgot to import `EventType`. I think it should be `from rasa-sdk.events import EventType`, but this depends a bit on what version of Rasa you’re using.
