Daily interaction limit

Rn we are dealing with following issue: Is there some option, how to set daily interaction limit for each user separatly ?? We've only found voiceglow, which has monthly interaction limit overall for the whole widget What we have done so far within VF only is that we count every message within one session and when the user hits the limit (eg. 10 messages) we end the session - but nothing prevents the user to refresh the website and he can start chatting with the bot again... Is there a way how to prevent the user to exceed the daily interaction limit and restart it the next day ?
3 Replies
wise-white
wise-white2y ago
Hey @Pavel Čermák 🦾 in this case you'll want to use an external database to save user information. A simple one is airtable (you can use more complex ones aswell) 1. At the start of the users conversation use an API step to retrieve their information 2. You can use the API step to update the number of times they've used the assistant (have a variable called 'counter' and update it with the Set step whenever you want -> {counter} + 1. Then send that variable to the database at the start, end, or middle of convo 3. You can build logic based on that It would be tough to build a 'per user interaction' system. But something like a 'per user conversation tracker' would definitely be doable.
Kamal
Kamal3w ago
Great question @Pavel Čermák 🦾 Dear @Daniel (Voiceflow) Hi from France and thank you very much for your numerous great videos on YT. I have a similar question to Pavel's ine. I want to build an AI voice agent expert in a certain field. I want to give access to the paid members of my community to this agent. For a certain fee they would have a time credit allotement per month to talk to my AI expert. As an exemple, let's says that for a $25/month subscribtion, they can talk 6 h with my ai expert. How can I build that in Voiceflow? can Voiceflow manage now the time credit ro do I need ti use n8n and supabese (or other tools) to make it work ? Thank you very much to both of you. I found your conversation on Google.
Pavel Čermák 🦾
I have made automated logging system in the background via Airtable and getting the user's IP - so existing users are pulled out from the DB and new users are written into DB - quite simple and functional.

Did you find this page helpful?