Good News from the Vatican (Nebula Award Winner), by Robert Silverberg (epub/Kindle/pdf)
"Good News from the Vatican" is a 1971 science fiction short story by American author Robert Silverberg, featuring the election of a robot to the position of Pope of the Church of Rome. It won that year's Nebula Award for Best Short Story.