Agentic-style systems go beyond basic chat—they may reason about a goal, choose which tools to call, and write their own "notes" so later steps have context. In Azure, you can assemble this pattern with Azure Functions for orchestration, Azure OpenAI for reasoning, and Azure Cosmos DB for memory and state. This lab walks you through building that end-to-end flow—entirely in the Azure portal—so you can see how a backend agentic workflow behaves in the wild: Reason → Act → Observe.
In this hands-on lab, you'll create a JavaScript Azure Function that receives a customer complaint, uses Azure OpenAI (gpt-5-mini) to classify and summarize the complaint (with JSON-enforced output), and then writes a complete case document to Cosmos DB. You'll run the workflow entirely from the portal and review the persisted state—demonstrating how you can reliably chain LLM reasoning with actions and memory using a minimal footprint.
Upon completion of this beginner-level lab, you will be able to:
Familiarity with the following will be beneficial but is not required:
The following content can be used to fulfill the prerequisites: