Templates
Document Splitting
A screen template for splitting a document into multiple pages
Installation
Install the screen template by running the following command:
The screen file will be added at screens/document-splitting-screen.tsx
.
Usage
Required Props
Name | Type | Description |
---|---|---|
resultId | string | The async result ID returned from a split document API call |
Example
workflow.py
Returns
The screen returns information about the documents created from the split:
Name | Type | Description |
---|---|---|
documents | array | Array of document objects created from the splits |
documents[].id | string | Unique identifier for the created document |
documents[].fileName | string | Name of the created document file |
documents[].startPageInclusive | number | First page of the document (inclusive) |
documents[].endPageInclusive | number | Last page of the document (inclusive) |