How to do the sequence of actions

I created a dialog with artificial intelligence according to this guide (https://www.youtube.com/watch?v=v_7GGSLbE74). I would like the artificial intelligence to start moving along the spline I created when the dialog ends.


I tried to make a custom event and add it at the moment when the dialog ends, but nothing works for me.

I am a total newbie and have no idea how to make it work please help me.