# Getting response text for predicted actions

**URL:** <https://forum.rasa.com/t/getting-response-text-for-predicted-actions/47267>\
**Category:** \[Deprecated\] Rasa X Community Edition\
**Created:** [August 27, 2021, 8:51pm UTC](https://forum.rasa.com/t/getting-response-text-for-predicted-actions/47267 "2021-08-27T20:51:34Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![andmcadams](https://avatars.discourse-cdn.com/v4/letter/a/ce7236/32.png) [@andmcadams](https://forum.rasa.com/u/andmcadams)\
**Post date:** [August 27, 2021, 8:51pm UTC](https://forum.rasa.com/t/getting-response-text-for-predicted-actions/47267/1 "2021-08-27T20:51:35Z")

</div>

Hi! I’m trying to display the responses of the top three actions Rasa thinks it should send, if responses exist for those actions. For example, if Rasa ranks the actions utter\_hello, utter\_yes, and utter\_no as the top 3 actions to proceed with, I would want to get the responses “Hello!”, “Yes.”, and “No.”.

Currently, I am hitting the Rasa X API’s `conversations/{conversation_id}/predict` endpoint and using that data in conjunction with the `responseGroups` Rasa X endpoint to get the first response for each action that has responses. Is there a cleaner way to do this, like another endpoint? I didn’t see anything in the documentation, but I’m still new to Rasa so maybe I just overlooked something. Ideally I would find a solution that would also work with custom actions, though I’m not sure if there’s a way to have Rasa do a dry-run of a custom action.
