{"product_id":"chat-with-pdf-word-powerpoint-via-n8n-apify-openai","title":"Chat with PDF Word \u0026 PowerPoint via n8n, Apify \u0026 OpenAI","description":"\u003ch3\u003eChat with your PDF, Word, and PowerPoint documents—inside n8n\u003c\/h3\u003e\n\u003cp\u003eThis \u003cstrong\u003en8n automation workflow\u003c\/strong\u003e lets you submit document links through an n8n form, converts them into searchable Markdown using \u003cstrong\u003eApify\u003c\/strong\u003e, and then answers your questions using \u003cstrong\u003eOpenAI\u003c\/strong\u003e—with \u003cstrong\u003efile + page citations\u003c\/strong\u003e pulled directly from your content.\u003c\/p\u003e\n\n\u003ch3\u003eWhat this workflow does\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eReceives document URLs\u003c\/strong\u003e submitted via an n8n form trigger.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eConverts documents to RAG-ready chunks\u003c\/strong\u003e by sending URLs to \u003cstrong\u003eApify’s “Document to Markdown for AI \u0026amp; RAG”\u003c\/strong\u003e actor, which extracts text and splits it into heading-based \u003cstrong\u003eMarkdown chunks\u003c\/strong\u003e with \u003cstrong\u003epage numbers\u003c\/strong\u003e. (It can optionally run \u003cstrong\u003eOCR\u003c\/strong\u003e for scanned PDFs.)\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eCleans and reshapes chunk metadata\u003c\/strong\u003e into text plus metadata such as \u003cem\u003esource file, page, and heading\u003c\/em\u003e.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eEmbeds chunks for semantic search\u003c\/strong\u003e using \u003cstrong\u003eOpenAI embeddings\u003c\/strong\u003e, stored in an \u003cstrong\u003ein-memory vector store\u003c\/strong\u003e.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eChats via an n8n chat trigger\u003c\/strong\u003e: when you ask a question, the workflow finds the most relevant chunks and uses an OpenAI chat model to answer \u003cstrong\u003estrictly from the documents\u003c\/strong\u003e, citing the \u003cstrong\u003esource file and page\u003c\/strong\u003e.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eUse cases\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eKnowledge base Q\u0026amp;A\u003c\/strong\u003e for manuals, specs, and internal docs across PDF and Office formats.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eSupport and sales enablement\u003c\/strong\u003e: answer customer questions with citations to the exact document pages.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eResearch assistants\u003c\/strong\u003e that summarize and quote relevant sections from uploaded document links.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eTechnical details\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eApify\u003c\/strong\u003e: “Document to Markdown for AI \u0026amp; RAG” (requires an \u003cstrong\u003eApify API token\u003c\/strong\u003e via HTTP header auth: \u003ccode\u003eAuthorization: Bearer \u0026lt;YOUR_TOKEN\u0026gt;\u003c\/code\u003e).\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eOpenAI\u003c\/strong\u003e: embeddings for vector search + chat model for document-grounded answers.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003en8n nodes \/ components\u003c\/strong\u003e shown in the workflow: \u003ccode\u003eform trigger\u003c\/code\u003e, \u003ccode\u003eHTTP request\u003c\/code\u003e, \u003ccode\u003ecode\u003c\/code\u003e, \u003ccode\u003eset\u003c\/code\u003e, and \u003ccode\u003en8nn8n-nodes-langchainagent\u003c\/code\u003e.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eConfiguration\u003c\/strong\u003e: ensure documents are accessible via public\/shared URLs; optionally adjust chunk size and OCR behavior in the Settings step.\u003c\/li\u003e\n\u003c\/ul\u003e","brand":"N8N Commerce","offers":[{"title":"Default Title","offer_id":46154038608051,"sku":"N8N-20232","price":78.99,"currency_code":"GBP","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0749\/6279\/6723\/files\/49FWGsovDlUpyp8UfDoxC_QfxftRY1.png?v=1790932938","url":"https:\/\/buyflowscripts.com\/products\/chat-with-pdf-word-powerpoint-via-n8n-apify-openai","provider":"N8N Commerce","version":"1.0","type":"link"}