# Conversation History & previous message from tracker

**URL:** <https://forum.rasa.com/t/conversation-history-previous-message-from-tracker/10357>\
**Category:** Getting Started with Rasa\
**Created:** [May 25, 2019, 1:25am UTC](https://forum.rasa.com/t/conversation-history-previous-message-from-tracker/10357 "2019-05-25T01:25:35Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![visam](https://avatars.discourse-cdn.com/v4/letter/v/3ab097/32.png) [@visam](https://forum.rasa.com/u/visam)\
**Post date:** [May 25, 2019, 1:25am UTC](https://forum.rasa.com/t/conversation-history-previous-message-from-tracker/10357/1 "2019-05-25T01:25:35Z")

</div>

How do I get the second previous message from user?

```
User: what is X?
Bot: X is ...
User: What is Y?

```

How do I fetch the first question(“What is X?”) from user uttered in this stage? Also where do I get the full conversation history from?

---

<div class="post-metadata">

**Author:** ![visam](https://avatars.discourse-cdn.com/v4/letter/v/3ab097/32.png) [@visam](https://forum.rasa.com/u/visam)\
**Post date:** [May 28, 2019, 8:14am UTC](https://forum.rasa.com/t/conversation-history-previous-message-from-tracker/10357/2 "2019-05-28T08:14:21Z")

</div>

@akshay2000 Can you please share your thoughts on this as well? It would be really helpful!

---

<div class="post-metadata">

**Author:** ![Ghostvv](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/ghostvv/32/211_2.png) [@Ghostvv](https://forum.rasa.com/u/Ghostvv)\
**Post date:** [May 28, 2019, 8:37am UTC](https://forum.rasa.com/t/conversation-history-previous-message-from-tracker/10357/3 "2019-05-28T08:37:59Z")

</div>

you can iterate through `tracker.events`, every event is stored there in reversed order

---

<div class="post-metadata">

**Author:** ![visam](https://avatars.discourse-cdn.com/v4/letter/v/3ab097/32.png) [@visam](https://forum.rasa.com/u/visam)\
**Post date:** [May 30, 2019, 11:26pm UTC](https://forum.rasa.com/t/conversation-history-previous-message-from-tracker/10357/4 "2019-05-30T23:26:16Z")

</div>

@Ghostvv Thank you, is there a way to access the tracker from outside of the custom actions file?

---

<div class="post-metadata">

**Author:** ![akshay2000](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/akshay2000/32/415_2.png) [@akshay2000](https://forum.rasa.com/u/akshay2000)\
**Post date:** [May 31, 2019, 8:18am UTC](https://forum.rasa.com/t/conversation-history-previous-message-from-tracker/10357/5 "2019-05-31T08:18:35Z")

</div>

What is your use case? You should be able to intercept tracker and forward it wherever you need it.

---

<div class="post-metadata">

**Author:** ![Ghostvv](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/ghostvv/32/211_2.png) [@Ghostvv](https://forum.rasa.com/u/Ghostvv)\
**Post date:** [June 3, 2019, 9:36am UTC](https://forum.rasa.com/t/conversation-history-previous-message-from-tracker/10357/6 "2019-06-03T09:36:36Z")

</div>

what do you mean?
