To create Read/Write Files from Disk records from Nextcloud without manual input, use a ready-made scenario.
You can launch this Nextcloud + Read/Write Files from Disk integration in Scriptera: describe the task in plain words — the scenario is built, launched and monitored for you.