Automatically add table of contents to mindmap

Is there any ways to automatically add
table of contents that came with the pdf to the mind map or outline? Or do I have to excerpt the chapter and sub-chapter titles one by one?

Found it! import -> import notes from contents of document. How did I miss this :frowning: