How can I post exact same post but with a few things changed? (with some sort of Automation)

I would do this using advanced custom fields to setup a field set with X and Y, then build a custom post template where the non-dynamic text is hard coded and us the_field(field_id) function to run a query and pull through your dynamic fields.

I’m not sure what your technical abilities are but that would be how I would do it.