The code block below
CreateDocument[{ TextCell["Title", "Title"], TextCell["Subtitle", "Subtitle"], TextCell["Section 1", "Section"], TextCell["Section 1.1", "Subsection"], TextCell["Section 1.2", "Subsection"], TextCell["Section 1.3", "Subsection"], TextCell["Section 2", "Section"], TextCell["Section 2.1", "Subsection"], TextCell["Section 2.2", "Subsection"], TextCell["Section 2.3", "Subsection"], TextCell["Section 3", "Section"], TextCell["Section 2.1", "Subsection"], TextCell["Section 2.2", "Subsection"], TextCell["Section 2.3", "Subsection"]} ] will create a skeleton notebook.
Is it possible to create that notebook so that the sections are collapsed? So that the notebook will be displayed as if (eg) the Cell closer covering Section 1 had been clicked. Ditto for Sections 2 & 3.