Dynamic variables that make prompts reusable and adaptable
promptDeck's variable system lets you define dynamic placeholders using {{variable_name}} syntax directly in your prompt text. Each variable can carry a default value, a required flag, and a description. Variable workspaces allow you to maintain different sets of values for the same prompt, and auto-detection identifies new variables as you type.
What's included
{{variable}} syntax
Use the familiar double-curly-brace syntax to define dynamic placeholders anywhere in your prompt. Variables are parsed in real time and listed in a dedicated panel where you can configure each one individually.
Default values & required flags
Set default values that pre-fill when the prompt is used, and mark variables as required to prevent execution without all necessary inputs. This ensures consistent output quality even when prompts are shared across teams.
Variable workspaces
Maintain multiple named sets of variable values for the same prompt. Switch between workspaces to instantly adapt a prompt for different clients, languages, environments, or use cases without editing the prompt itself.
Auto-detection
promptDeck scans your prompt text in real time and automatically detects new {{variable}} placeholders as you type. Detected variables are added to the configuration panel instantly, ready for you to set defaults and descriptions.
Per-variable descriptions
Add a description to each variable to explain its purpose, expected format, and valid values. Descriptions appear as contextual help when teammates fill in variables, reducing errors and questions.
Template reusability
Combine variables with prompt templates to create a library of reusable, parameterized prompts. A single template can serve dozens of use cases simply by swapping variable workspaces or overriding defaults.
Variable syntax & configuration
Variables use the {{variable_name}} syntax and are parsed directly from your prompt content. Each detected variable appears in a dedicated configuration panel where you control its behavior, defaults, and documentation.
Variable workspaces
Workspaces let you save named sets of variable values for the same prompt. Instead of duplicating a prompt for each client or language, create one prompt and switch workspaces to apply different variable values instantly.
Auto-detection & live preview
As you write or edit a prompt, promptDeck continuously scans the text for new {{variable}} placeholders. Newly detected variables are added to the configuration panel automatically, so you never need to manually register a variable.
Who uses variables & templates?
Multi-language prompts
Create a single prompt template with {{language}} and {{tone}} variables. Use workspaces to maintain value sets for English, Spanish, German, and more — all without duplicating the prompt.
Client-specific customization
Agencies and consultancies can build one base prompt and use variable workspaces for each client. Swap in client names, brand guidelines, and product details with a single workspace switch.
A/B testing
Test different variable values to measure how changes in tone, length, format, or instructions affect AI output quality. Variables make it easy to isolate and test individual parameters.
Personalized responses
Use variables for user-specific data like {{customer_name}}, {{account_type}}, or {{issue_category}} to generate personalized AI responses at scale without creating individual prompts.
Dynamic content generation
Content teams can parameterize prompts with variables for {{topic}}, {{audience}}, {{word_count}}, and {{format}}. A single template powers blog posts, tweets, emails, and reports.
Template libraries
Build a shared library of parameterized prompt templates. New team members can immediately start generating quality output by filling in variables rather than writing prompts from scratch.
Make your prompts dynamic
Start using variables and templates to turn static prompts into reusable, adaptable tools. Free plan available with full variable support.