Announcements
There are two main ways to use “global” values in Copilot Studio prompts and combine them with user input, including files:
1. Global (bot-scope) variables in Copilot Studio
You can create variables with a global scope across all topics (bot-scope), which can be referenced in Message, Question, Generative answers, and Prompt action (AI Builder) nodes. This is useful for values like customer IDs, default parameters, or configuration flags that should be accessible throughout the agent.
To set a variable as global (bot-scope):
Using global variables in prompts:
2. Environment variables (Power Platform) for global configuration
For “global values” that serve as ALM-friendly configuration (like API base URLs, keys, or model names), use Power Platform Environment Variables. Define these in a Solution via the Power Apps Maker portal, then reference them in Copilot Studio topics. This method keeps sensitive data out of the canvas and supports different values for each environment (Dev/UAT/Prod).
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
Congratulations to our 2026 Super Users!
Congratulations to our 2025 community superstars!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Valantis 599
chiaraalina 170 Super User 2026 Season 1
deepakmehta13a 118