Use inventory to allow playing of an animation?

Hi,

 Using this tutorial, a very simple inventory pick up is created using a string variable.
     How can I recall the variable in the anim BP, so I can use a Branch to add to jump value to jump higher if I picked the item.

Thanks!