Back to Templates
Document workflows are popular ways to use AI but what happens when your document is too large for your app or your AI to handle? Whether its context window or application memory that's grinding to a halt, Subworkflow.ai is one approach to keep you going.
Subworkflow.ai is a third party API service to help AI developers work with documents too large for context windows and runtime memory.
Extract job on the service's side and the response is a "job" record to track progress.Jobs endpoint and keep polling until the job is finished. You can use the "IF" node looping back unto itself to achieve this in n8n.Dataset of the uploaded document is ready for retrieval. Use the Datasets and DatasetItems API to retrieve whatever you need to complete your AI task.DatasetItems API to pick individual pages or a range of pages to reduce the load.