Why are you scanning into a folder in iCloud Drive ?
And given the way you have things structured, I think you may be overcomplicating a simple process.
This is the basic process, yeah?…
You scan into Water via the Brother software.
DT detects the scan in the indexed group.
DT moves the document into a group in another database.