I did some looking around and I found that 動作 is the behavior of machines and 行動 is the behavior of people, but that can't be it since on my textbook I find the following sentence:
彼女は話し方が丁寧なのに対して動作が丁寧でない。
Also saw some people saying that 行動 is the movement of people and 動作 is movement of the body, but I'm kinda confused about that.
Can someone explain the difference between these two words?