Writing as a narrator describing events from his own past, Beerbohm presents himself as a moderately successful young English essayist and writer during the 1890s. He then purports to relate the tragic history of a friend and colleague of his named Enoch Soames. Soames is a contemporary of the younger Beerbohm; a fellow-Englishman of secure but moderate means, living off an inherited annuity, and an utterly obscure, forgettable, miserable, and unknown aspiring poet. Over the course of the story, he is the author and publisher of a succession of unsuccessful books of poems. His appearance is described as "dim" and leaving little impression, except for his persistent habit of always wearing a particular grey waterproof cape and soft black hat.
On the afternoon of 3 June 1897, Soames and Beerbohm are having lunch in the Soho-based "Restaurant du Vingtieme Siecle". Soames is self-obsessed and deeply depressed; consumed with the belief that he is an unrecognised great author of literature and poetry, unhappy about his current obscurity and failure, and keenly curious about his "certain" fate of posthumous fame. Despairing and desperate for assurance of the eventual recognition of his works and talent, Soames agrees to a contract offered by the Devil, who introduces himself from a neighbouring table. In exchange for the future possession of his soul, Soames will be transported exactly 100 years forward in time; to spend one afternoon (from 2:10 PM to 7 PM) in the Reading Room of the British Museum, a world-renowned centre for bibliographic research, to discover what judgement posterity will make on himself and his works. After the allotted time has expired, Soames will be returned to their present date and location, but at the same time of evening as his departure from the future; and the Devil will then collect his payment.
After the agreement is made, Soames vanishes; then reappears in the caf  at the designated hour, where Beerbohm has returned to meet him.
Soames description of the world of future is, like himself, vague and nondescript; while there he had focussed primarily on his own concerns. He tells Beerbohm that the only mention he could find of himself was in a single scholarly article, of which Soames produces a facsimile-copy. It is printed in English, but in a phonetic spelling and with modified pronunciation; both of which had apparently evolved during the intervening century. The article discusses a fictional story written by one Max Beerbohm "in wich e pautraid an immajnari karrakter kauld "Enoch Soames" a thurd-rait poit hoo beleevz imself a grate jeneus an maix a bargin with th Devvl in auder ter no wot posterriti thinx ov im!" ("in which he portrayed an imaginary character called "Enoch Soames" a third-rate poet who believes himself a great genius and makes a bargain with the Devil to know what posterity thinks of him!"). With characteristic delicacy, Beerbohm quotes the author as saying "It is a somewhat labud sattire" and adds "And 'labud' what on earth was that? (To this day I have never made out that word.)" ("labud" here means laboured).
Beerbohm, shocked, denies that he would ever write such a thing. While the two are debating this point, the Devil returns.
Before being taken to Hell, Soames scornfully requests that Beerbohm at least try to make people believe that he, Soames, actually existed. Beerbohm concludes his narrative by calling down the author of the scholarly article in question for shoddy work; he notes that T.K Nupton must not have finished reading Beerbohm's story, otherwise he would have noticed Soames's (through Beerbohm) flawless predictions about the future and realised the story was not fiction.
Beerbohm then notes Soames had mentioned that his presence in the reading room caused a great stir, and writes "I assure you that in no period could Soames be anything but dim. The fact that people are going to stare at him, and follow him around, and seem afraid of him, can be explained only on the hypothesis that they will somehow have been prepared for his ghostly visitation. They will have been awfully waiting to see whether he really would come. And when he does come, the effect will of course be   awful."
Output: What was Soames's motivation for entering into a deal with the Devil?