To create Azure Cosmos DB records from Customer.io without manual input, use a ready-made scenario.
You can launch this Customer.io + Azure Cosmos DB integration in Scriptera: describe the task in plain words — the scenario is built, launched and monitored for you.