To move data from ERPNext to Azure Cosmos DB automatically, use a ready-made scenario — no manual exports.
You can launch this ERPNext + Azure Cosmos DB integration in Scriptera: describe the task in plain words — the scenario is built, launched and monitored for you.