RCRAG Converter

Automated API Word parsing for Dynamics Finance ERP intelligence

Automated API Word parsing for Dynamics Finance ERP intelligence converts each Word document attached to a record into searchable passages, so the assistant answers from the file rather than from fields someone typed.

How does automated API Word parsing feed Dynamics Finance ERP intelligence?

Automated API Word parsing for Dynamics Finance ERP intelligence converts each attached Word document into passages when the file is saved, so the assistant can cite the file instead of guessing from record fields.

Where the Word document sits in Dynamics Finance

Dynamics 365 Finance keeps the file as a document attachment on the vendor, purchase order, or invoice. The typed fields on that record are already searchable. The Word document is not, until automated API Word parsing copies its words into passages keyed to the same record. ERP intelligence that only reads the fields is intelligence about what a person typed, not about what the file says.

What a Word file actually yields

A .docx is a zip of XML. The prose lives in document.xml as text, headings come from paragraph styles rather than from bold text someone hoped was a heading, and tables stay tables instead of a cell-by-cell scramble. Nothing is guessed off a page image, which is why Word attachments are among the most reliable files to index.

The API call that feeds Dynamics Finance

A Power Automate flow or a Finance integration can POST those bytes when the attachment is saved. The response is JSONL, one passage per line, with the record id in metadata for the retrieval store beside Dynamics Finance. Asking a model to reread the Word document inside chat for every question never builds that index. Automated API Word parsing runs when the file is saved, once, and later questions retrieve.

What the answer is allowed to cite

After a clean parse, an answer should cite the passage and the Word document it came from. A file that yields no text is a skip, named as a skip, not a blank passage that crowds real hits. The parsers are Remade with Rust crates, and RAG Converter is part of MATA. The longer note on this format is RAG for Word.

More on converting for RAG