Guides4 min read
Post Templates and Variables: Write Once, Reuse Everywhere
How to build reusable social post templates with fill-ins and variables, which posts to templatize first, and naming rules that keep a library tidy.

On this page
Look at your last month of posts and you will likely find the same shapes repeating: the weekly reminder, the new-product announcement, the blog promotion, the event countdown. Each one was probably typed from scratch, with the website link pasted in by hand. Templates and variables turn those repeating shapes into something you fill in, which saves time and removes a whole class of mistakes like old links and expired promo codes.
Templates, fill-ins and variables: three different things
It helps to separate three ideas:
- A template is a saved post shape: text with gaps, maybe an image, a set of channels and a usual posting time.
- A fill-in is a gap you answer each time you use the template, like the product name or the event date. Once you type it, it becomes plain text in that post.
- A variable is a named value stored once and inserted wherever you write its name, like {{website}} or {{promo_code}}. If you change the value, every post that uses it can pick up the new value.
The rule of thumb: if the value changes every post, it is a fill-in. If it stays the same across many posts but might change one day, it is a variable.
Which posts to templatize first
Start with posts you write at least once a month. Good candidates:
- Recurring reminders: weekly classes, office hours, live streams, newsletters.
- Product or service announcements: same structure, different item.
- Blog or video promotion: hook, summary, link.
- Event countdowns: "One week to go", "Tomorrow", "Today".
- Customer stories: quote, name, what they bought or achieved.
- Hiring posts: role, location, link to apply.
Do not try to templatize everything. A template that needs heavy rewriting every time is just a slower blank page.
Anatomy of a good template
Here is a template for a blog promotion, with fill-ins in double braces and two variables:
New on the blog: {{headline}}
{{one_sentence_summary}}
Three things you will learn:
- {{point_1}}
- {{point_2}}
- {{point_3}}
Read it here: {{website}}/blog
{{sign_off}}
In this example, {{headline}}, {{one_sentence_summary}} and the three points are fill-ins, answered each time. {{website}} and {{sign_off}} are variables, set once for the whole account.
A good template also records:
- Which channels it is meant for.
- A version per network where one is needed, for example a shorter version for a channel with a tight character limit.
- A usual posting time or "add to queue".
- Default media, if the post always uses the same kind of image.
A worked example: one promo code, twenty posts
Imagine a shop running a month-long promotion with the code SPRING15. It shows up in 20 scheduled posts across Instagram, Facebook and Pinterest. Halfway through, the team decides to switch to SPRING20.
Without variables: someone opens all 20 posts and edits each one. One gets missed, and a week later a customer complains the code does not work.
With a variable: every post says "Use code {{promo_code}}". The team changes the value once, and the scheduled posts publish with SPRING20.
The same applies to links that change (a new landing page), seasonal sign-offs, or a phone number.
Naming rules that keep the library tidy
A template library gets messy fast. A few conventions help:
- Prefix by type: "Promo –", "Event –", "Reminder –", "Blog –".
- Name variables in lower case with underscores: {{promo_code}}, {{booking_link}}, {{support_email}}.
- Keep one owner for variables, so values are not changed by accident.
- Review monthly: delete templates nobody used, and check variable values are still current.
- Keep fill-in names descriptive: {{event_date}} is clearer than {{date2}} when someone else uses the template.
Templates for teams and agencies
Templates matter even more when several people post. They keep the structure, tone and calls to action consistent no matter who writes the post. For agencies, a set of templates per client means a new team member can produce a correct post on their first day. Store the client's links and sign-offs as variables so nobody has to look them up.
Templates and variables in PostZen
PostZen's templates and content library works along these lines, and it is on every plan. A template holds the text, a version per network, a first comment, images or a video, channels and a posting time, which can be "add to queue" or a weekday and time such as Monday 10:00. Words in double braces that are not variables become fill-ins, and a short form asks for them when you use the template. You can save any post as a template.
Variables like {{website}} or {{promo_code}} are filled in when the post publishes. A variable can have one value for the workspace or a different value per channel, and there are built-in words such as {{weekday}}, {{date}} and {{channel_name}}. The composer's counters, checks and preview use the final text with every variable filled in. If changing a variable would break a scheduled post, for example by making it too long, PostZen refuses the change and lists the affected posts. Admins and owners manage variables; every member can use them.
For agencies, templates and variables belong to each workspace, so each client keeps its own set. The agencies page explains how workspaces separate clients.
Key takeaways
- Use fill-ins for values that change every post and variables for values that repeat across many posts.
- Templatize posts you write at least monthly; skip ones that need heavy rewriting.
- A complete template includes channels, per-network versions, a posting time and default media.
- Variables turn a 20-post correction into a single edit.
- Name templates and variables consistently and review the library every month.
Sources
- templates
- variables
- productivity
- workflow