Images from prompts into Databricks with cost tracking

The scenario generates an image from your prompt, saves it to Databricks and logs the link and request cost in Azure Cosmos DB.

  • Image from a chat prompt
  • Files saved to Databricks
  • Links and thumbnails in Azure Cosmos DB
  • Cost tracked for every request

How it works

To move data from Databricks to Azure Cosmos DB automatically, use a ready-made scenario — no manual exports.

  1. Starts when: When clicking 'Test workflow'
  2. Then: HTTP Request
  3. Then: Split Out
  4. Check: Loop Over Items
  5. Then: Aggregate
  6. Then: Google Sheets1
  7. Then: Edit Fields-file_name
  8. Then: Convert to File
  9. Then: Google Drive
  10. Then: Edit Fields1
  11. Then: Google Sheets
  12. Starts when: When chat message received

You can launch this Databricks + Azure Cosmos DB integration in Scriptera: describe the task in plain words — the scenario is built, launched and monitored for you.