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