Add new animation to NPC

I installed the animation blueprint in my first person template, duplicated one of the included animations and made a new animation (by changing the animation layers, through adding keys). All done in UE4 (so no 3d party software). In the animation layer editor, my animation is working fine but when I apply it to my NPC (which is the robot that is included with the animation blueprint) in the level, it doesn’t want to do it. If I select one of the existing ones (e.g. crouch to stand, idle pose… ) it plays without a problem. What do I need to do in addition?
I basically want an NPC character (the robot from the animation pack) to say hello when you overlap with a trigger in the room.

Thanks in advance.

The problem is solved. I duplicated another animation from the animation starter pack and added the required tracks by clicking on the key button. Now my robot does play the animation in the level. Not sure what went wrong last time.