Use AI to create documents from pasted notes, audio recordings, video demonstrations, or uploaded files, or start from a blank document.
DocInject can generate a structured document from several types of input: pasted text, an audio recording, a video demonstration, or an existing document file. In each case, the AI produces a draft outline and then asks you a few clarifying questions before creating the final document. If you prefer to write from scratch, you can also start with a blank document.
After selecting a type, choose how you want to create it. Each mode follows the same flow: provide metadata and your input, review the draft, then answer clarifying questions.
Version is required for all AI-generated documents. If your organization has departments configured, department is also required.
Notes
Audio
Video
Document
Blank
Use the Notes mode to paste raw text, bullet points, or a written description of a process. The AI reads your input and produces a structured draft outline.
1
Fill in the document details
Enter a title (optional, the AI can infer one), a version, and a department if required. Then paste your notes or process description into the text field.
2
Generate the draft outline
Click Generate draft. The AI reads your notes and returns a structured outline showing the proposed sections and step counts.
3
Answer clarifying questions
Review the draft outline. Answer the AI’s questions to fill in any gaps, then click Create document. The editor opens with the fully generated document.
Use the Audio mode to upload a recorded walkthrough or verbal explanation of a process. The file is transcribed and the transcript is used to generate the draft.Accepted formats: MP3, WAV, OGG, M4A, maximum 25 MB.
1
Fill in the document details
Enter a title (optional), a version, and a department if required. Click the upload area and select your audio file.
2
Transcribe and generate the draft
Click Generate draft. DocInject uploads the file and transcribes it, then the AI produces a structured outline. This step takes some time depending on file length.
3
Answer clarifying questions
Review the draft outline. Answer the AI’s questions, then click Create document. The editor opens with the generated document.
Use the Video mode to upload a screen recording or video demonstration of a process. DocInject extracts key frames and uses the video content to generate the draft. Key frames from the video are available to insert into your document nodes in the editor.Accepted formats: MP4, MOV, WEBM, maximum 2 GB.
1
Fill in the document details
Enter a title (optional), a version, and a department if required. Click the upload area and select your video file.
2
Upload and process the video
Click Generate draft. A progress bar tracks the upload. Once the upload completes, DocInject processes the video, extracts key frames, and generates a draft outline. This step takes several minutes.
3
Answer clarifying questions
Review the draft outline. Answer the AI’s questions, then click Create document. The editor opens with the generated document and your video frames available in the frames panel.
After the document is created, use the frames panel in the editor to insert screenshots from the video directly into your node content.
Use the Document mode to upload an existing PDF, Word document, or plain text file. The AI reads the file and restructures it as a DocInject document.Accepted formats: PDF, DOCX, TXT, maximum 20 MB.
1
Fill in the document details
Enter a title (optional), a version, and a department if required. Click the upload area and select your file.
2
Read the file and generate the draft
Click Generate draft. DocInject uploads the file and the AI reads its contents, then produces a structured outline. Processing time depends on document length.
3
Answer clarifying questions
Review the draft outline. Answer the AI’s questions, then click Create document. The editor opens with the generated document.
Use the Blank mode to start a document from scratch with no AI assistance.
1
Fill in the document details
Enter a title (required for blank documents), and optionally a version and department. Title, version, and department can all be edited later in the editor.
2
Create the document
Click Create Document. The editor opens with an empty document ready for you to build your node tree.
For all AI modes, after the AI processes your input you see a draft outline, a preview of the proposed sections and their step counts. This is your chance to confirm the structure before the document is fully generated.Below the outline, the AI asks a small set of clarifying questions to fill in details it could not determine from your input. Your answers are short text fields. They do not need to be exhaustive. You can always refine content in the editor after the document is created.
You can leave clarifying question answers blank if you don’t have the information available. The AI will generate the document with what it has.
{"docsConfig":{"theme":"aspen","$schema":"https://mintlify.com/docs.json","name":"DocInject","description":"DocInject helps teams create, manage, and deploy SOPs, playbooks, guides, and handbooks into the tools and workflows they already use.","colors":{"primary":"#c2410c","light":"#FAFAFA","dark":"#3F3F46"},"logo":{"light":"https://mintcdn.com/docinject/s0Bsh0vi0i5rryx4/images/docinject_logo_light.png?fit=max\u0026auto=format\u0026n=s0Bsh0vi0i5rryx4\u0026q=85\u0026s=bacf8f05c83c511cf388d40213defc88","dark":"https://mintcdn.com/docinject/s0Bsh0vi0i5rryx4/images/docinject_logo_dark.png?fit=max\u0026auto=format\u0026n=s0Bsh0vi0i5rryx4\u0026q=85\u0026s=f9c9f6fcd61c6d7b3ff052d8857cf712","href":"https://docinject.com"},"favicon":{"light":"https://mintcdn.com/docinject/U1h_CKD8TH2QyC75/images/favicon.ico?fit=max\u0026auto=format\u0026n=U1h_CKD8TH2QyC75\u0026q=85\u0026s=05c78e9f1cfa34e6e57242f9ea6adb85","dark":"https://mintcdn.com/docinject/U1h_CKD8TH2QyC75/images/favicon.ico?fit=max\u0026auto=format\u0026n=U1h_CKD8TH2QyC75\u0026q=85\u0026s=05c78e9f1cfa34e6e57242f9ea6adb85"},"appearance":{"default":"light"},"background":{"color":{"dark":"#27272A"}},"navbar":{"links":[],"primary":{"type":"button","label":"Sign Up","href":"https://docinject.com/signup"}},"footer":{"socials":{}},"seo":{"indexing":"navigable"},"fonts":{"family":"Inter","weight":600},"icons":{"library":"lucide"},"styling":{"eyebrows":"section","latex":false},"interaction":{"drilldown":true},"navigation":{"global":{"anchors":[{"anchor":"Home","icon":"house","href":"/"}]},"directory":"card","pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"docinject","hasAudioNarration":false,"actualSubdomain":"docinject","customDomains":["docs.docinject.com"],"gitSource":{"type":"github","owner":"bakosbits","repo":"docinject-docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6a9f8d97cdb923cbb677e19d","collectionId":"83c1f950-ae80-4ba3-91af-e7b7ed6ecb76","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6a9f8d97cdb923cbb677e19d"},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6a9f8d97cdb923cbb677e19d","clientVersion":"0.0.4045","searchFilterCounts":[{"language":"default","tag":"Documentation","count":18},{"language":"default","tag":"API Reference","count":5},{"language":"default","tag":"Integrations","count":5},{"language":"default","tag":"Creating Documents","count":4},{"language":"default","tag":"Get Started","count":3},{"language":"default","tag":"Sharing \u0026 Exporting","count":3},{"language":"default","tag":"Team \u0026 Settings","count":3},{"language":"default","tag":"Overview","count":2},{"language":"default","tag":"Webhooks","count":2},{"language":"default","tag":"Documents","count":1}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"byok-sep-25","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":":root{--default-border-color:var(--gray-200)}.dark{--default-border-color:var(--gray-800)}#sidebar .nav-dropdown-trigger{border:0!important;background:0 0!important;box-shadow:none!important;padding-left:.375rem}#sidebar .nav-dropdown-trigger:hover{background-color:rgb(0 0 0/.04)!important}.dark #sidebar .nav-dropdown-trigger:hover{background-color:rgb(255 255 255/.06)!important}#sidebar .nav-dropdown-trigger .nav-dropdown-item-icon,.nav-dropdown-content .nav-dropdown-item-icon{border:0!important;background:0 0!important;height:auto!important;width:auto!important;padding:0!important}.nav-dropdown-content .nav-dropdown-item-description{display:none!important}#sidebar .nav-anchor span{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:12px;font-weight:500;letter-spacing:-.02em;text-transform:uppercase}body:has([data-product-guide-index]) #sidebar a.nav-anchor[href='/']{color:rgb(var(--primary))!important;font-weight:600!important}body:has([data-product-guide-index]) #sidebar a.nav-anchor[href='/'] span{color:inherit!important}body:has([data-product-guide-index]) #sidebar a.nav-anchor[href='/'] svg{background-color:rgb(var(--primary))!important}.dark body:has([data-product-guide-index]) #sidebar a.nav-anchor[href='/']{color:rgb(var(--primary-light)/var(--tw-text-opacity,1))!important}.dark body:has([data-product-guide-index]) #sidebar a.nav-anchor[href='/'] svg{background-color:rgb(var(--primary-light)/var(--tw-text-opacity,1))!important}:is(#content-area[data-current-path='/'], [data-current-path='/'] #content-area):has([data-product-guide-index]){background:0 0!important;padding:0!important}:is(#content-area[data-current-path='/'], [data-current-path='/'] #content-area):has([data-product-guide-index])>div:first-child{background:0 0!important;padding-right:0!important;padding-bottom:0!important;padding-left:0!important}[data-product-guide-index] a:not(.product-guide-feature-card){background-color:#fafafa!important}.dark [data-product-guide-index] a:not(.product-guide-feature-card){background-color:#09090b!important}.product-guide-feature-card{grid-column:1/-1;display:flex!important;flex-direction:column!important;justify-content:space-between!important;min-height:290px;background:url(/images/doc_banner.png) center/contain no-repeat!important;border:0!important;box-shadow:none!important}.product-guide-feature-card>div{height:100%!important;display:flex!important;flex-direction:column!important;justify-content:flex-end!important;align-items:flex-start!important;padding:24px!important}.product-guide-feature-card-title{font-size:1.5rem!important;font-weight:600!important;color:#fff!important;margin-top:auto!important;margin-bottom:4px!important;display:block!important}.product-guide-feature-card-description{font-size:1.05rem!important;font-weight:400!important;color:rgba(255,255,255,.8)!important;display:block!important;margin-top:0!important;padding-top:0!important}.product-guide-feature-card :is(svg, [class*='icon']){color:#fff!important;fill:#fff!important}img.nav-logo{max-width:auto;height:36px}"}],"page":{"pagePath":"documents/ai-generation","slug":"/documents/ai-generation","pageMetadata":{"title":"Generate documents from AI in DocInject","description":"Use AI to create documents from pasted notes, audio recordings, video demonstrations, or uploaded files, or start from a blank document.","href":"/documents/ai-generation"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Use AI to create documents from pasted notes, audio recordings, video demonstrations, or uploaded files, or start from a blank document.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={p:`p`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{Heading,Info,Note,Step,Steps,Tab,Table,Tabs,Tip}=_components;if(!Heading)_missingMdxReference(`Heading`,true);if(!Info)_missingMdxReference(`Info`,true);if(!Note)_missingMdxReference(`Note`,true);if(!Step)_missingMdxReference(`Step`,true);if(!Steps)_missingMdxReference(`Steps`,true);if(!Tab)_missingMdxReference(`Tab`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Tabs)_missingMdxReference(`Tabs`,true);if(!Tip)_missingMdxReference(`Tip`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`DocInject can generate a structured document from several types of input: pasted text, an audio recording, a video demonstration, or an existing document file. In each case, the AI produces a draft outline and then asks you a few clarifying questions before creating the final document. If you prefer to write from scratch, you can also start with a blank document.`}),`\n`,_jsx(Heading,{level:`2`,id:`document-type`,children:`Document type`}),`\n`,_jsxs(_components.p,{children:[`When you click `,_jsx(_components.strong,{children:`New document`}),`, the first thing you choose is the document type.`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Use it for`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`SOP`})}),_jsx(_components.td,{children:`Step-by-step standard operating procedures with defined sections like Purpose, Scope, and Company Procedures.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Guide`})}),_jsx(_components.td,{children:`Educational walkthroughs that explain concepts and how-tos. Sections are topic-driven, with an explanatory tone.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Playbook`})}),_jsx(_components.td,{children:`Strategic scenarios and response actions. Sections represent distinct situations, each with recommended steps.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Handbook`})}),_jsx(_components.td,{children:`Reference material and policies organized for ongoing consultation. Sections are topic-driven and written for repeated use.`})]})]})]}),`\n`,_jsx(_components.p,{children:`The type you select determines the instructions and output structure the AI uses. All four types use the same section → step hierarchy in the editor.`}),`\n`,_jsx(Heading,{level:`2`,id:`creation-modes`,children:`Creation modes`}),`\n`,_jsx(_components.p,{children:`After selecting a type, choose how you want to create it. Each mode follows the same flow: provide metadata and your input, review the draft, then answer clarifying questions.`}),`\n`,_jsx(Note,{children:_jsx(_components.p,{children:`Version is required for all AI-generated documents. If your organization has departments configured, department is also required.`})}),`\n`,_jsxs(Tabs,{children:[_jsxs(Tab,{title:`Notes`,id:`notes`,children:[_jsx(_components.p,{children:`Use the Notes mode to paste raw text, bullet points, or a written description of a process. The AI reads your input and produces a structured draft outline.`}),_jsxs(Steps,{children:[_jsx(Step,{title:`Fill in the document details`,children:_jsx(_components.p,{children:`Enter a title (optional, the AI can infer one), a version, and a department if required. Then paste your notes or process description into the text field.`})}),_jsx(Step,{title:`Generate the draft outline`,children:_jsxs(_components.p,{children:[`Click `,_jsx(_components.strong,{children:`Generate draft`}),`. The AI reads your notes and returns a structured outline showing the proposed sections and step counts.`]})}),_jsx(Step,{title:`Answer clarifying questions`,children:_jsxs(_components.p,{children:[`Review the draft outline. Answer the AI’s questions to fill in any gaps, then click `,_jsx(_components.strong,{children:`Create document`}),`. The editor opens with the fully generated document.`]})})]})]}),_jsxs(Tab,{title:`Audio`,id:`audio`,children:[_jsx(_components.p,{children:`Use the Audio mode to upload a recorded walkthrough or verbal explanation of a process. The file is transcribed and the transcript is used to generate the draft.`}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Accepted formats:`}),` MP3, WAV, OGG, M4A, maximum 25 MB.`]}),_jsxs(Steps,{children:[_jsx(Step,{title:`Fill in the document details`,children:_jsx(_components.p,{children:`Enter a title (optional), a version, and a department if required. Click the upload area and select your audio file.`})}),_jsx(Step,{title:`Transcribe and generate the draft`,children:_jsxs(_components.p,{children:[`Click `,_jsx(_components.strong,{children:`Generate draft`}),`. DocInject uploads the file and transcribes it, then the AI produces a structured outline. This step takes some time depending on file length.`]})}),_jsx(Step,{title:`Answer clarifying questions`,children:_jsxs(_components.p,{children:[`Review the draft outline. Answer the AI’s questions, then click `,_jsx(_components.strong,{children:`Create document`}),`. The editor opens with the generated document.`]})})]})]}),_jsxs(Tab,{title:`Video`,id:`video`,children:[_jsx(_components.p,{children:`Use the Video mode to upload a screen recording or video demonstration of a process. DocInject extracts key frames and uses the video content to generate the draft. Key frames from the video are available to insert into your document nodes in the editor.`}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Accepted formats:`}),` MP4, MOV, WEBM, maximum 2 GB.`]}),_jsxs(Steps,{children:[_jsx(Step,{title:`Fill in the document details`,children:_jsx(_components.p,{children:`Enter a title (optional), a version, and a department if required. Click the upload area and select your video file.`})}),_jsx(Step,{title:`Upload and process the video`,children:_jsxs(_components.p,{children:[`Click `,_jsx(_components.strong,{children:`Generate draft`}),`. A progress bar tracks the upload. Once the upload completes, DocInject processes the video, extracts key frames, and generates a draft outline. This step takes several minutes.`]})}),_jsx(Step,{title:`Answer clarifying questions`,children:_jsxs(_components.p,{children:[`Review the draft outline. Answer the AI’s questions, then click `,_jsx(_components.strong,{children:`Create document`}),`. The editor opens with the generated document and your video frames available in the frames panel.`]})})]}),_jsx(Tip,{children:_jsx(_components.p,{children:`After the document is created, use the frames panel in the editor to insert screenshots from the video directly into your node content.`})})]}),_jsxs(Tab,{title:`Document`,id:`document`,children:[_jsx(_components.p,{children:`Use the Document mode to upload an existing PDF, Word document, or plain text file. The AI reads the file and restructures it as a DocInject document.`}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Accepted formats:`}),` PDF, DOCX, TXT, maximum 20 MB.`]}),_jsxs(Steps,{children:[_jsx(Step,{title:`Fill in the document details`,children:_jsx(_components.p,{children:`Enter a title (optional), a version, and a department if required. Click the upload area and select your file.`})}),_jsx(Step,{title:`Read the file and generate the draft`,children:_jsxs(_components.p,{children:[`Click `,_jsx(_components.strong,{children:`Generate draft`}),`. DocInject uploads the file and the AI reads its contents, then produces a structured outline. Processing time depends on document length.`]})}),_jsx(Step,{title:`Answer clarifying questions`,children:_jsxs(_components.p,{children:[`Review the draft outline. Answer the AI’s questions, then click `,_jsx(_components.strong,{children:`Create document`}),`. The editor opens with the generated document.`]})})]})]}),_jsxs(Tab,{title:`Blank`,id:`blank`,children:[_jsx(_components.p,{children:`Use the Blank mode to start a document from scratch with no AI assistance.`}),_jsxs(Steps,{children:[_jsx(Step,{title:`Fill in the document details`,children:_jsx(_components.p,{children:`Enter a title (required for blank documents), and optionally a version and department. Title, version, and department can all be edited later in the editor.`})}),_jsx(Step,{title:`Create the document`,children:_jsxs(_components.p,{children:[`Click `,_jsx(_components.strong,{children:`Create Document`}),`. The editor opens with an empty document ready for you to build your node tree.`]})})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`the-draft-outline-and-clarifying-questions`,children:`The draft outline and clarifying questions`}),`\n`,_jsxs(_components.p,{children:[`For all AI modes, after the AI processes your input you see a `,_jsx(_components.strong,{children:`draft outline`}),`, a preview of the proposed sections and their step counts. This is your chance to confirm the structure before the document is fully generated.`]}),`\n`,_jsx(_components.p,{children:`Below the outline, the AI asks a small set of clarifying questions to fill in details it could not determine from your input. Your answers are short text fields. They do not need to be exhaustive. You can always refine content in the editor after the document is created.`}),`\n`,_jsx(Info,{children:_jsx(_components.p,{children:`You can leave clarifying question answers blank if you don’t have the information available. The AI will generate the document with what it has.`})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Generate documents from AI in DocInject","description":"Use AI to create documents from pasted notes, audio recordings, video demonstrations, or uploaded files, or start from a blank document.","href":"/documents/ai-generation"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Document type","slug":"document-type","depth":2,"children":[]},{"title":"Creation modes","slug":"creation-modes","depth":2,"children":[]},{"title":"The draft outline and clarifying questions","slug":"the-draft-outline-and-clarifying-questions","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"docinject","siteName":"DocInject","title":"Generate documents from AI in DocInject - DocInject","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-07-27T02:36:40.843Z","originalFileLocation":"documents/ai-generation.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"light\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Use AI to create documents from pasted notes, audio recordings, video demonstrations, or uploaded files, or start from a blank document.\">\u003cmeta data-mint-head name=\"application-name\" content=\"DocInject\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/docinject/5pUDSpxmE_vlUHmx/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/docinject/5pUDSpxmE_vlUHmx/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/docinject/5pUDSpxmE_vlUHmx/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/docinject/5pUDSpxmE_vlUHmx/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/docinject/5pUDSpxmE_vlUHmx/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/docinject/5pUDSpxmE_vlUHmx/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/docinject/5pUDSpxmE_vlUHmx/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/docinject/5pUDSpxmE_vlUHmx/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/docinject/5pUDSpxmE_vlUHmx/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Generate documents from AI in DocInject - DocInject\">\u003cmeta data-mint-head property=\"og:description\" content=\"Use AI to create documents from pasted notes, audio recordings, video demonstrations, or uploaded files, or start from a blank document.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"DocInject\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.docinject.com/documents/ai-generation\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://docinject.mintlify.app/_mintlify/api/og/v2?division=Creating+Documents\u0026amp;title=Generate+documents+from+AI+in+DocInject\u0026amp;description=Use+AI+to+create+documents+from+pasted+notes%2C+audio+recordings%2C+video+demonstrations%2C+or+uploaded+files%2C+or+start+from+a+blank+document.\u0026amp;theme=9eaab8f29a56e505ddc55fc3\u0026amp;signature=9724011c45f10389e9ddcdb6d32cef148304a965ad98f9d62620c28dada2cbe0\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Generate documents from AI in DocInject - DocInject\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Use AI to create documents from pasted notes, audio recordings, video demonstrations, or uploaded files, or start from a blank document.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://docinject.mintlify.app/_mintlify/api/og/v2?division=Creating+Documents\u0026amp;title=Generate+documents+from+AI+in+DocInject\u0026amp;description=Use+AI+to+create+documents+from+pasted+notes%2C+audio+recordings%2C+video+demonstrations%2C+or+uploaded+files%2C+or+start+from+a+blank+document.\u0026amp;theme=9eaab8f29a56e505ddc55fc3\u0026amp;signature=9724011c45f10389e9ddcdb6d32cef148304a965ad98f9d62620c28dada2cbe0\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/docinject/5pUDSpxmE_vlUHmx/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"DocInject\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#c2410c\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.docinject.com/documents/ai-generation\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/documents/ai-generation.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.docinject.com/#organization\",\"name\":\"DocInject\",\"url\":\"https://docs.docinject.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/docinject/s0Bsh0vi0i5rryx4/images/docinject_logo_light.png?fit=max\u0026auto=format\u0026n=s0Bsh0vi0i5rryx4\u0026q=85\u0026s=bacf8f05c83c511cf388d40213defc88\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.docinject.com#website\",\"name\":\"DocInject\",\"url\":\"https://docs.docinject.com\",\"publisher\":{\"@id\":\"https://docs.docinject.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.docinject.com/documents/ai-generation#webpage\",\"url\":\"https://docs.docinject.com/documents/ai-generation\",\"name\":\"Generate documents from AI in DocInject\",\"description\":\"Use AI to create documents from pasted notes, audio recordings, video demonstrations, or uploaded files, or start from a blank document.\",\"dateModified\":\"2026-07-27T02:36:40.843Z\",\"isPartOf\":{\"@id\":\"https://docs.docinject.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.docinject.com/documents/ai-generation#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.docinject.com/documents/ai-generation#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Creating Documents\",\"item\":\"https://docs.docinject.com/documents/overview\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Generate documents from AI in DocInject\",\"item\":\"https://docs.docinject.com/documents/ai-generation\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.docinject.com/documents/ai-generation#article\",\"headline\":\"Generate documents from AI in DocInject\",\"name\":\"Generate documents from AI in DocInject\",\"description\":\"Use AI to create documents from pasted notes, audio recordings, video demonstrations, or uploaded files, or start from a blank document.\",\"url\":\"https://docs.docinject.com/documents/ai-generation\",\"mainEntityOfPage\":{\"@id\":\"https://docs.docinject.com/documents/ai-generation#webpage\"},\"dateModified\":\"2026-07-27T02:36:40.843Z\",\"publisher\":{\"@id\":\"https://docs.docinject.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.docinject.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"DocInject\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"DocInject","nav":{"global":{"anchors":[{"anchor":"Home","icon":"house","href":"/"}]},"directory":"card","tabs":[{"tab":"Documentation","groups":[{"group":"Get Started","icon":"rocket","expanded":true,"pages":[{"title":"DocInject: deploy your SOPs into every workflow","href":"/introduction"},{"title":"Get started with DocInject","href":"/quickstart"},{"title":"Key concepts in DocInject","href":"/concepts"}]},{"group":"Creating Documents","icon":"file-text","expanded":true,"pages":[{"title":"Documents in DocInject","description":"Learn what documents are in DocInject, how draft, published, and archived statuses work, and how the revision flow keeps your history intact.","href":"/documents/overview"},{"title":"Generate documents from AI in DocInject","href":"/documents/ai-generation"},{"title":"Editing documents in DocInject","description":"Use the document editor to build and refine a node tree of sections, steps, and sub-steps with rich text content, drag-and-drop reordering, and auto-save.","href":"/documents/editor"},{"title":"Publish, revise, and archive documents","href":"/documents/publish-archive"}]},{"group":"Sharing \u0026 Exporting","icon":"share-2","expanded":true,"pages":[{"title":"Share a DocInject document with any page","href":"/sharing/embed"},{"title":"Export documents to Word or Markdown","href":"/sharing/export"},{"title":"Share published documents via public links","href":"/sharing/share-links"}]},{"group":"Integrations","icon":"plug","expanded":true,"pages":[{"title":"Receive DocInject events with webhooks","href":"/integrations/webhooks"},{"title":"Authenticate API requests with API keys","href":"/integrations/api-keys"},{"title":"Use DocInject with AI assistants (MCP)","href":"/integrations/mcp"},{"title":"Build automations with the DocInject AI assistant","href":"/integrations/automation-assistant"},{"title":"Read document updates from the organization inbox","href":"/integrations/inbox"}]},{"group":"Team \u0026 Settings","icon":"users","expanded":true,"pages":[{"title":"Manage team members in DocInject","href":"/team/members"},{"title":"Roles and permissions in DocInject","href":"/team/roles"},{"title":"Manage your DocInject subscription","href":"/team/billing"}]}]},{"tab":"API Reference","pages":[{"title":"API Reference","href":"/api/authentication"}]}]},"basePath":"","title":"Generate documents from AI in DocInject - DocInject","buildId":"dpl_36EDyZCDfRuoUD9af5CH4M1bqY2h","deploymentId":"dpl_36EDyZCDfRuoUD9af5CH4M1bqY2h","dynamics":[],"chunks":[]}