Forum Discussion
Can we create local and global variable in the new copilot studio
Explicit variables don't exist in the new experience, by design. The new Copilot Studio replaces topic flows and variable management with natural language Instructions, Skills, and LLM reasoning. It's a fundamentally different architecture.
That said, three things cover most of what variables used to do. For within-session context, the orchestration runtime keeps track of what the user said earlier in the conversation automatically. For cross-session user context, the new Memory feature (Preview) maintains a per-user store the agent reads from and writes to across sessions. For structured state you need to pass reliably across multiple Skills and Tools, wire up a Tool backed by an Agent Flow writing to Dataverse.
If you genuinely need deterministic variable control, the classic experience is still fully supported and the safer choice for now. Microsoft acknowledges that some classic features aren't yet available in the new experience, and explicit variable management is one of them.