iCloud Drive is Apple’s reincarnation of the iDisk. Install the Index iCloud Drive script to add all user-created folders in iCloud Drive to your inbox. User-created means all folders that are not application-specific such as the Numbers of Pages folders.
Install the script from within DEVONthink Pro or Pro Office using Scripts > More Scripts. Alternatively click here to open the Support Assistant and follow the link to Install Extras. The script will become available via the Scripts > Index submenu.