Document Analysis
What It Does
Document Analysis reads a document you have attached to an entity or relationship and works out:
- what kind of document it is — using the same document-type list you choose from when you upload (Trust Deed, Loan Agreement, Resolution / Minutes, and so on);
- who it is about — the trust, company, fund or people named in it, and whether they match the record you attached it to;
- whether it amends something — a deed of variation, supplemental deed or restated deed is flagged so it is never mistaken for a document that creates a new structure.
The result is recorded against the file. Where StructureGram has an extraction pipeline for that document type (for example trust deeds, or ASIC extracts), it can then offer to extract the document's contents into the register for your review. That offer is being rolled out progressively; documents of a type StructureGram cannot process yet are still classified, so you can see what you have.
Document Analysis never changes the document type you picked on its own. If it disagrees with your choice it tells you why, quoting the page it relied on, and you decide.
Switching It On or Off
Document Analysis is on for your organisation unless a tenancy admin switches it off. To change it:
- Go to Account → Integrations.
- Open the Document Analysis tab.
- Turn Allow document analysis in app on or off.
This is the only permission involved. While it is on, anyone who can attach a document can ask for it to be analysed and can accept or change the result. Turning it off hides the option and stops any analysis that has not run yet.
Document Analysis is offered where StructureGram can read documents for the kinds of record your organisation works with: today, Australian companies and trusts. If your organisation does not work with Australian records, the option does not appear.
The ASIC extract import is separate and is not affected by this switch.
Analysing a Document
Analysis is always opt-in per document:
- Attach a file as usual (see How to Attach Documents to an Entity or to a Relationship).
- In the upload dialog, tick Analyse this document. It is unticked by default.
- Click Upload.
Analysis runs in the background and usually finishes within a minute or two. Replacing a file that was analysed before re-runs the analysis on the new version automatically. Files added as external links cannot be analysed, because StructureGram does not hold their content.
Starting From a Trust Deed
You do not need the trust in the register first. In the Import Hub, drop the deed on the Scan trust deed card (or click it to choose the file):
- StructureGram reads the document and checks it is a trust deed. Anything else is turned away with what it reads as; attach that document to its record instead.
- It looks in the register for the trust the deed is about, by name and ABN, among the trusts you can see. If exactly one matches, the review links to it; if several do, or none, the review asks you which trust it is, or offers to create it.
- You review the trust's details, its parties and their relationships exactly as with Extract trust details below, and nothing is recorded until you apply it.
Reviewing a Document
Every document StructureGram reads is reviewed on one page, headed with the document and the record it is for. The page asks, before anything is imported, every question whose answer the import needs, so Import never sends something that would then be refused:
- Which record the document is for, when it names a different one from the record it is attached to.
- Dates to confirm: a date the document does not quote cleanly, a date its readings disagree on, and a date the review proposed for you, such as a start date taken from the document's own date. Each is outlined in orange until you confirm or change it.
- The governing law, when the document only implies it, or when a new record would otherwise have no country.
- Relationships already recorded, marked Already recorded and left out, so the import never adds a second copy.
While anything is open, Import stays unavailable; hover it to see what is still needed, or use Go to the next one. Once everything is answered, What will be saved lists each record and relationship the import will write, and each relationship it will end.
If reading fails or takes too long, the upload is marked as failed with the reason; upload it again, or attach the deed to the trust and analyse it from there.
What Is Sent Where
When a document is analysed:
- a PDF or Word file is scanned once to turn its pages into text, whether they are scanned images or born-digital (plain text and Markdown files are read by StructureGram itself);
- AI language models read the text to identify the document type and the parties, and to extract the relevant details;
- a trust deed is read twice, independently: the trust type is decided by comparing the two readings, and where they disagree you are asked to choose.
Your documents and the extracted details are kept in your StructureGram storage and records. The text is kept too, so the same document is never read twice — later extraction reuses it. The scanning and reading are done by outside AI service providers, which are sent a copy of the document to read and return the results. Because of that, a tenancy admin can switch Document Analysis off for the whole organisation; it is on by default, and each uploader still chooses per document.
Understanding the Result
| What you see | Meaning |
|---|---|
| A document type with high or medium confidence | The text supported that type. On medium the title and clauses did not both point the same way; treat it as a good suggestion, not a certainty. |
| A document type with low confidence, or Unknown | The text did not settle it. Your own type stands; correct it if you know better. |
| Matches / Does not match | Whether the document's subject is the record it was attached to. A deed for the Smith Family Trust filed against Smith Holdings Pty Ltd is flagged, but nothing is moved for you. |
| Partial (relationships only) | Only one of the two parties to the relationship appears in the document. |
| Amends an existing document | A variation, supplement or restatement rather than an establishing instrument. |
| Could not read | No text could be found in the document (for example a blank or unreadable scan). If the reading service was unavailable instead, StructureGram tries again automatically, and says so if it still cannot. |
| Not supported | The file format has no analysis path yet — legacy .doc files, spreadsheets, and external links. |
Acting on the result
The result appears as a small badge under the file's name in Files & links. Hover it for the summary; click it for the full details, including the quoted clauses and page numbers the analysis relied on and the parties it found.
- When the analysis agrees with your document type, the badge says Confirmed. Nothing to do.
- When it disagrees with reasonable confidence, the badge says Looks like … and offers two buttons: Change to … sets the file's type to the suggestion, Keep … keeps yours. Either way your ruling is recorded and the buttons go away.
- When the analysis is unclear, your type stands and no decision is asked of you.
- Re-analyse (in the details dialog or the row's ⋯ menu) reads the document again, for example after the OCR service was unavailable. A file that was never analysed can be analysed later from the same menu — Analyse document.
Processing offers
Where StructureGram has a pipeline for the identified type, the row also offers to run it:
- Import ASIC extract — for an ASIC extract attached to a company. Clicking it stages the company, its officers and members for review in exactly the same way as the ASIC PDF import, using the file you already attached; nothing is uploaded twice. You are taken to the review, and the file row then shows Review import so you can return to it.
- Extract trust details — for a trust deed attached to a trust. StructureGram reads the deed, confirms the trust type, and stages the trust's details, its parties (trustees, appointors, beneficiaries, unitholders, and the directors of any corporate trustee) and the relationships between them for your review. The trust you attached the deed to is linked by default, with an option to fill in details the record lacks — trust type, ABN, settled date, jurisdiction, vesting date, unit classes. Roles the deed names that StructureGram has no relationship type for (Settlor, Guardian, Principal) are listed for reference but not imported. Relationships the deed states but the app cannot record as extracted, for example a unitholding with no unit count, are shown with the reason and skipped unless you fix them.
- Other document types are identified today but not yet offered for extraction; those offers are being added progressively.
An offer only appears when the analysis was confident about the type. If it is unclear, correct the type first — a type you set yourself is always trusted.
The same document attached twice
Analysis fingerprints each document's contents, so StructureGram can tell when two attachments on the same record are the identical file.
- The later copy is badged Duplicate, and the original Also attached. Hover either to see which file it matches. Nothing is deleted for you: a second copy filed under a different type can be deliberate, so use Delete on the row if it was a mistake.
- If you ask to process a document that has already been imported, or one identical to a document already imported on that record, StructureGram opens the existing review instead of starting a second import.
This matches on exact file contents. A fresh scan of the same paper is a different file and will not be recognised as a copy. The same document attached to two different records is also treated as two genuine imports, because each one is about a different entity.
Older documents
Analysis also reads the date a document states about itself — an extract date, a deed's execution clause, a resolution's meeting date. It only ever takes a date the document actually prints; a file's upload or modified date is never used, and a document that states no date is simply recorded as undated.
If you attach a document that is older than one already imported against the same record, the row is badged Older, naming the date it predates. Importing it would apply older facts over newer ones, for example reinstating an officer who has since resigned.
This is a warning, not a block. Importing an older document is sometimes exactly right, when you are filling in history or correcting an earlier mistake, so the decision stays yours.
Supported Files
PDF, Word .docx, plain text and Markdown files can be analysed. A Word document has no pages, so its headings stand in for them: a quoted clause cites a section rather than a page number.