All projects

03 / Serverless workflow

AI Task Automation Tool

A serverless automation flow that turns user input into structured tasks with AI processing, durable storage, and Excel export.

Engineering outcome

A focused cloud workflow connecting AI output to a repeatable operational artifact rather than stopping at a chat response.

Azure FunctionsCosmos DBOpenAI APIExcel Automation

End-to-end flow

01User input
02Azure Function
03AI processing
04Structured tasks
05Cosmos DB
06Excel export
01

Problem

Problem

Unstructured requests need to become consistent, useful task records without adding manual formatting work.

  • Normalize input
  • Constrain AI output
  • Produce structured results
02

Architecture

Architecture

A serverless function coordinates AI processing, persistence, and export with a deliberately small operational surface.

  • Event-oriented compute
  • Cosmos DB persistence
  • Explicit output shape
03

Engineering decisions

Engineering decisions

The AI response is treated as untrusted external input and shaped before it becomes stored or exported data.

  • Validate structure
  • Handle failures
  • Keep boundaries observable
04

What I learned

What I learned

AI features become useful systems when they have contracts, persistence, recoverability, and a clear downstream workflow.

  • AI is one component
  • Design for incomplete responses
  • Measure operational value