Delete pages from google docs

Hi, I am trying to do an automation in which the use submit a document through google forms, the document is 34 pages long so I need to remove 30 pages for me to put that on doc parser, so I just need to get just the first 4 pages from a document in google docs, I don´t know how to do that, cause the integration just have the option to ‘append text’ or ‘replace text’ but not to delete page or get an specific page, so can I get some assistance please? I am not sure what should I do
 
Top