# How to only allow Rasa to respond to a particular story once per day

**URL:** <https://forum.rasa.com/t/how-to-only-allow-rasa-to-respond-to-a-particular-story-once-per-day/6464>\
**Category:** Rasa Open Source\
**Created:** [March 29, 2019, 5:57pm UTC](https://forum.rasa.com/t/how-to-only-allow-rasa-to-respond-to-a-particular-story-once-per-day/6464 "2019-03-29T17:57:44Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![phtevus](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/phtevus/32/568_2.png) [@phtevus](https://forum.rasa.com/u/phtevus)\
**Post date:** [March 29, 2019, 5:57pm UTC](https://forum.rasa.com/t/how-to-only-allow-rasa-to-respond-to-a-particular-story-once-per-day/6464/1 "2019-03-29T17:57:44Z")

</div>

I can’t find anything in the documentation to place a limit on the number of utterances per day.

---

<div class="post-metadata">

**Author:** ![netcarver](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/netcarver/32/1147_2.png) [@netcarver](https://forum.rasa.com/u/netcarver)\
**Post date:** [March 29, 2019, 6:51pm UTC](https://forum.rasa.com/t/how-to-only-allow-rasa-to-respond-to-a-particular-story-once-per-day/6464/2 "2019-03-29T18:51:20Z")

</div>

You could possibly do this by writing a custom action to handle the intent that triggers the utterance.

Make the action track the number of calls made to it by that user per day. If the count is below the threshold, the action would call `dispatcher.utter_message()` or `dispatcher.utter_template()` as needed. If the count is at, or above the limit, either do nothing, or utter something else.

---

<div class="post-metadata">

**Author:** ![souvikg10](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/souvikg10/32/93_2.png) [@souvikg10](https://forum.rasa.com/u/souvikg10)\
**Post date:** [March 30, 2019, 10:58am UTC](https://forum.rasa.com/t/how-to-only-allow-rasa-to-respond-to-a-particular-story-once-per-day/6464/3 "2019-03-30T10:58:25Z")

</div>

Are you talking about rate limiting?

you can use an API GW i suppose. Try Kong
