# Can I access the intent of the conversation in domain file

**URL:** <https://forum.rasa.com/t/can-i-access-the-intent-of-the-conversation-in-domain-file/14803>\
**Category:** Rasa Open Source\
**Created:** [August 26, 2019, 9:49am UTC](https://forum.rasa.com/t/can-i-access-the-intent-of-the-conversation-in-domain-file/14803 "2019-08-26T09:49:32Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![arjun007](https://avatars.discourse-cdn.com/v4/letter/a/c67d28/32.png) [@arjun007](https://forum.rasa.com/u/arjun007)\
**Post date:** [August 26, 2019, 9:49am UTC](https://forum.rasa.com/t/can-i-access-the-intent-of-the-conversation-in-domain-file/14803/1 "2019-08-26T09:49:32Z")

</div>

Hello ,

This could be considered as a FAQ, but I coudnt find this info anywhere. I have a domain file that looks like this

actions:

- utter\_get\_ne\_name
- utter\_give\_user\_info
- utter\_goodbye
- utter\_greet entities:
- NE\_NAME intents:
- greet
- integration
- goodbye slots: NE\_NAME: type: text templates: utter\_get\_ne\_name:
  - text: Could you please specify the NE name? utter\_give\_user\_info:
  - text: Hello there , this is a message from the bot with your entity:{NE\_NAME} utter\_goodbye:
  - text: Good bye
  - text: Seya
  - text: Great talking, bye bye utter\_greet:
  - text: Hello, how can I help you?
  - text: Hi, I am here to help.

My requirement is to fetch the intent and entities and create a text out of that eg:

utter\_give\_user\_info:

- text: Hello there , this is a message from the bot with your entity:{NE\_NAME} and intent:{MYINTENTHERE}

I know I can track the entity and get it via the slots. But how can I get the intent here? Basically I am not looking at writing a custom action.

Regards!

---

<div class="post-metadata">

**Author:** ![msamogh](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/msamogh/32/3478_2.png) [@msamogh](https://forum.rasa.com/u/msamogh)\
**Post date:** [August 30, 2019, 2:29pm UTC](https://forum.rasa.com/t/can-i-access-the-intent-of-the-conversation-in-domain-file/14803/2 "2019-08-30T14:29:20Z")

</div>

Hi Arjun,

Using a custom action is the only way you can do this as of now.
