Set pose, store values, modify pose, then use IK?

I want to set a pose, then store the feet positions of that pose. Then I want to modify the root joint’s position, then Ik the legs to the original feet positions. The problem is that I can not set variables in the anim blue print because there is no exec chain. How can I accomplish this?