Product workflows2026-11-082 min read

How to add variables to a template in Confluence

Add Confluence template variables with /variable, then configure each as Text, Multi-line Text or List.

Variables collect reusable inputs when a document is created from the template. Use them for stable facts such as product area and experiment owner; use ordinary sections for reasoning that needs a narrative.

Step-by-step guide

01

Open a managed template as its admin

Go to Space settings → Look and feel → Templates and select Edit beside the template. Variables belong to templates created with the new editor; placing text that looks like a token on an ordinary page will not create a template input form.

02

Insert and name each variable

Type /variable and press Enter. Select the token and its edit control, then name it Product area. Choose List when the input should come from agreed options, or Text for a single-line input such as experiment owner.

03

Use repeated names intentionally

For a brief that repeats the product area in its header and summary, insert the same variable name with the same parameters. Confluence treats matching names as copies, so one form input fills both occurrences. Use different names for genuinely different answers.

04

Create a sample and inspect the output

Save the template and create a new document from it. Enter Payments as the area and inspect both occurrences. Check list choices and long inputs; switch a field to Multi-line Text when a single-line answer would truncate the author’s intended explanation.

Common mistakes

Giving different inputs the same name

Matching variable names represent the same input. Distinct facts need distinct names and deliberate parameter choices.

Sources and verification

Based on product documentation checked on 2026-11-04. This is a documentation-based guide, not a hands-on benchmark. Features and availability can change.

Frequently asked questions

Spend less time on setup, more on decisions

Vantage connects your tools and generates specs grounded in real data. Free to start.

Start the PRD

Have a feature in mind? Describe it and Vantage drafts the PRD.

A few sentences is enough: the problem, who has it and what you want to change. Vantage turns it into a structured PRD with requirements you can edit.

0 / 8,000

How this works

  1. We save what you typed. No AI runs on this page.
  2. You create a free account.
  3. Vantage builds a PRD from it inside your own workspace.

Why ask for an account? We’re a small team, and a full generation runs a multi-step AI pipeline that costs us real money. So we tie it to a free account instead of running it anonymously. You also get to keep the result and edit it.

Your text is only used to create your project, and it stays private to your account. If you don’t sign up, we delete it after 7 days. Privacy policy

Free to start. No credit card required.

Related reading