I could solve my problem by adding “return [FollowupAction(“action_listen”)]” to the custom action script in case the bot detects the two last user messages are identical. So if the user repeats the same message, the bot now only responds: “You are repeating yourself”.