What are Substitution Variables
Dynamic Prompt Placeholders: Substitution variables are textual placeholders like $** that inject runtime data into prompts—essentially mail-merge for AI assistants. Here is an example assistant instruction using the variable ${praxis-ai-slack-url}Prompt
Benefits
These are some of the direct benefits of using variables- Single Source Maintenance: When a Canvas quiz ID changes from 123 to 789, updating one
${QUIZ_ID}variable automatically updates all dependent assistants—no manual prompt editing required - Cross-Assistant Instructions: Variables can contain reusable GPT instruction snippets, ensuring consistency across multiple assistants
- Secure: Safer separation of logic and data; Sensitive data— access tokens, proprietary URLs—reside inside the orchestration layer, never inside the static prompt text. If the prompt is leaked, the secrets are not.
- Modular: Composable prompts and modular assistants; When you build multi-step agents (e.g., a teaching bot that calls a grading bot) each step can emit a value that plugs into the next step’s template through a variable, forming a clean data pipeline.
Variables in Assistants
Variables are used by assistants and can be created and edited in the assistant Edit dialog window.
Assistant with Variable
Create/Edit Variables

Create a variable