How to change flipbooks via ai behavioral tree

So… after many tries all I can do is simplify my question to: how to get an actor flipbook component and set its flipbook in the behaviour tree. I assume the best (and maybe the only) way to do this is via Service. Still no idea how to make it happen. All the topics that are related to this one have no answers either.

What I’ve done is:
Behaviour Tree is setting a different name variable for 3 different actions. Actions are: Idle, Combat and Searching.
If player character is in line of sight it’s Combat and name variable is set to “Combat” aswell.
If player character isn’t in the line of sight it’s Idle and name variable is set to “Idle” aswell.
Searching is just running to the last location where player has been seen. Name variable is set to “Searching” aswell.

Name Variable is saved as BlackboardKey.
What I’m struggling with is how can I get thisFlipbook Component out of AICharacter.