What exactly do you want to make? If you need to send the AI character to a random point, then you can use AI MoveTo, it has a callback “on success” which is triggered when the goal is reached.
Other way is to use Behavior Tree, it’s suitable for a complex AI logic.