Simplfy automation to sync photos

all good found it I just use the json variables as is

found in a previous post: API rules runnow: What is the payload for? - #5 by JanK