Publishers HarperCollins described the cancer diary, entitled Forever in My Heart, as a “modern day parable”.
The 27-year-old reality TV star left hospital last week to spend her last days at home with her family.
Her husband Jack Tweed and mother Jackiey Budden were seen at her home in Essex throughout the day.
In a statement, HarperCollins said the former Big Brother contestant had characterised the book as a “love letter” to her two young sons, Bobby and Freddy.
Belinda Budge, the managing director of HarperNon-Fiction, said: “It is impossible not to be moved by her heart-warming voice which comes through loud and clear on every page of this last diary.”
A spokeswoman for Goody said she had spent most of the day sleeping, drifting in and out of consciousness.
In an interview with New! magazine, Goody said she had been delighted to see her sons after returning from hospital last week.
“I hadn’t seen (sons) Bobby and Freddy since the christening, so I really wanted to see their faces and give them a big hug,” she said.
“They’ve been staying with their dad, Jeff (Brazier).
“He picked them up from school on Thursday and brought them straight to see me.
“Little Freddy was so excited. He was the first one in the front door.
“I was so emotional, I burst into tears. I was so happy to see them.
“They stayed for about three hours and we spent the time playing and cuddling.
“We made face masks for the boys to paint. I was shattered by the time they left, but it was so great to see them.”
She said she had been lifted by an answerphone message from Michael Jackson and flowers sent by Amy Winehouse and Robbie Williams.
A percentage of profits from the book will be donated to Marie Curie Cancer Care.
COMMENT RULES: Comments that are judged to be defamatory, abusive or in bad taste are not acceptable and contributors who consistently fall below certain criteria will be permanently blacklisted. The moderator will not enter into debate with individual contributors and the moderator’s decision is final. It is Belfast Telegraph policy to close comments on court cases, tribunals and active legal investigations. We may also close comments on articles which are being targeted for abuse. Problems with commenting? firstname.lastname@example.org