Welcome to the forums!
Please post your automation code according to number 11 of the forum guidelines.