Last Updated
Categories
Document extraction
AI Agents
How it Works / How to Build It
- DocumentAPIURL: This node constructs the API URL using the provided
document_idfrom the user inputs. - DocumentAPI: This node calls the Vellum API to retrieve the document's contents using the constructed URL and an API key for authorization.
- ProcessedDocumentURL: This node extracts the URL of the processed document from the API response.
- ProcessedDocumentContents: This node fetches the actual contents of the processed document using the URL obtained in the previous step.
- PromptNode: This node generates a summary of the document's contents by prompting a machine learning model with the text retrieved.
- FinalOutput: This node outputs the generated summary for user display.
What You Can Use This For
- Summarizing lengthy reports for quick insights.
- Creating concise overviews of legal documents for review.
- Generating summaries of research papers for academic purposes.
- Providing quick summaries of internal documentation for team members.
Prerequisites
- Vellum account.
- Access to the Vellum API with a valid API key.
- PDF documents uploaded to the Vellum system.
How to Set It Up
- Create a new workflow in your Vellum account.
- Add the DocumentAPIURL node and configure it to accept the
document_idinput. - Connect the DocumentAPI node to the DocumentAPIURL node.
- Link the ProcessedDocumentURL node to the DocumentAPI node.
- Connect the ProcessedDocumentContents node to the ProcessedDocumentURL node.
- Add the PromptNode and link it to the ProcessedDocumentContents node.
- Finally, connect the FinalOutput node to the PromptNode to display the summary.
Related Templates
Discover more AI agent templates to automate different aspects of your business
sucCCESS STORIES
Hear it from our customers


.webp)
GET STARTED
Build any AI agent with Vellum
Get started today and transform your business with intelligent automation
.webp)












