Job role variables: different details for each campaign
Define in the job role the details that change from one campaign to another, like salary or shift hours, and fill in the values in each campaign. While a value is empty, new candidates stay on hold.
Updated on Oct 26, 2026
With job role variables you use the same job role for campaigns with different details, for example the salary or the shift hours. You define them once in the job role and fill in the value in each campaign.
Where to find it: to define them, Recruiting → Job roles → open the job role → Questions block → Edit → Variables box. To fill them in, campaign → Settings tab → Variables block.
Steps: define a variable in the job role
- Open the job role and click Edit in the Questions block.
- In the Variables box, click Add variable.
- In Name, write the variable's name, for example salary. You can use letters, numbers and _, up to 50 characters, without spaces.
- If you want, write a Description (optional), for example Gross annual salary offered: in the campaign it appears next to the field to fill in.
- Use the variable in the job role's texts by writing its name in curly brackets, for example {salary}.
- Save the job role.
Steps: fill in the values in the campaign
- Open the campaign and go to the Settings tab.
- Open the Variables block: there is a row for each job role variable, with its description.
- Enter the values and click Save.

If a value is missing
- While a value is empty, the campaign's new candidates stay on hold and are not contacted.
- The campaign shows the notice Fill in the variables to start the conversations, with the names of the missing variables.
- When you fill in the last value, the app asks Start the conversations?: the candidates on hold are contacted right away.
- If you empty a value that was filled in, the app asks Leave a variable empty?: from then on new candidates stay on hold.
Good to know
- $ROLE, $LOCATION and $COMPANY are already available: role, company and location are reserved names and you can't use them for your variables.
- If you change a value, the app asks Change the values?: the new value only applies to new conversations, the ones already in progress keep the current value.
- If a job role text uses a variable you haven't defined, the job role can't be saved until you add it to the Variables or fix the text.
- When you save a job role with new variables, the app tells you how many linked campaigns will stop until you fill in the values.
- To write the job role's questions, see How to write a job role's screening questions.
Common issues
The campaign doesn't contact new candidates. Open the Variables block in the campaign's Settings tab: if a value is empty, new candidates stay on hold. As soon as you fill it in, they are contacted.
The job role can't be saved. A text uses an undefined variable, or a name isn't valid or is already used. Check the Variables box and the job role's texts.
A candidate got the old value. The new value only applies to conversations started after the change.
Related articles
- How to link a job role to a campaignAssign an active job role to one or more campaigns from the job role menu or from its detail page.
- What a job role is in KlaaryoA job role groups the FAQs, questions, filters and criteria for a position, and you reuse it across several campaigns.
- How to create a new job roleCreate a job role with a name, FAQs, questions, filters and evaluation criteria, ready to link to campaigns.
- How to write a job role's screening questionsCreate the agent's questions with conditional questions and variables (including your own variables filled in campaign by campaign), and write clear questions that screen well.
- How job role FAQs workSet the answers the agent gives candidates for a position; the difference between Agent, job role and campaign FAQs.
- Filters and evaluation criteria: how they work and how they differFilters exclude anyone who doesn't meet the minimum requirements; criteria give a weighted score with a minimum passing score.
- How to assign the right interview managers automatically with the group in the job roleLink a group of hiring managers to a job role, so campaigns created by the ATS only get the relevant interview managers for the location.
- How to edit, duplicate or archive a job roleEdit a job role from Recruiting → Job roles or for one campaign only, duplicate a job role and archive the ones you no longer use.