# When should I add entries under "responses" to "actions" in the Domain file

**URL:** <https://forum.rasa.com/t/when-should-i-add-entries-under-responses-to-actions-in-the-domain-file/33212>\
**Category:** Rasa Open Source\
**Created:** [August 31, 2020, 5:29pm UTC](https://forum.rasa.com/t/when-should-i-add-entries-under-responses-to-actions-in-the-domain-file/33212 "2020-08-31T17:29:28Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![ScienceGuy](https://avatars.discourse-cdn.com/v4/letter/s/ecccb3/32.png) [@ScienceGuy](https://forum.rasa.com/u/ScienceGuy)\
**Post date:** [August 31, 2020, 5:29pm UTC](https://forum.rasa.com/t/when-should-i-add-entries-under-responses-to-actions-in-the-domain-file/33212/1 "2020-08-31T17:29:28Z")

</div>

I am wondering when I should add an entry in “responses” (e.g. utter\_greet) to the “actions” as well?

My theory is that I only need to do this if I use utterances in the stories. This means if I use it in a custom action via the dispatcher and it has no effect on the dialog model, I do not add it.

What do you think?

---

<div class="post-metadata">

**Author:** ![mloubser](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/mloubser/32/13021_2.png) [@mloubser](https://forum.rasa.com/u/mloubser)\
**Post date:** [September 1, 2020, 8:08am UTC](https://forum.rasa.com/t/when-should-i-add-entries-under-responses-to-actions-in-the-domain-file/33212/2 "2020-09-01T08:08:55Z")

</div>

Hey @ScienceGuy, you shouldn’t ever need to add entries under `responses` to actions; they’re added to the actions automatically behind the scenes. That said, this bug: [utter actions are not recognized during domain sanity check for intents with trigger actions · Issue #6336 · RasaHQ/rasa · GitHub](https://github.com/RasaHQ/rasa/issues/6336) means that for now, you should add responses to your actions if you have them set as the `triggers` action for any intent.

---

<div class="post-metadata">

**Author:** ![ScienceGuy](https://avatars.discourse-cdn.com/v4/letter/s/ecccb3/32.png) [@ScienceGuy](https://forum.rasa.com/u/ScienceGuy)\
**Post date:** [September 1, 2020, 4:06pm UTC](https://forum.rasa.com/t/when-should-i-add-entries-under-responses-to-actions-in-the-domain-file/33212/3 "2020-09-01T16:06:10Z")

</div>

I am wondering a bit why the interactive learning (via console) adds responses to the actions in the domain file. Is this a leftover from earlier versions or a feature?

---

<div class="post-metadata">

**Author:** ![mloubser](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/mloubser/32/13021_2.png) [@mloubser](https://forum.rasa.com/u/mloubser)\
**Post date:** [September 3, 2020, 2:17pm UTC](https://forum.rasa.com/t/when-should-i-add-entries-under-responses-to-actions-in-the-domain-file/33212/4 "2020-09-03T14:17:35Z")

</div>

Ah, yes in Rasa X that does happen. It doesn’t really matter; they’re usually added “behind the scenes” so it makes no difference to how your bot works.
