Variables and working days
Use variables in an automation's text, preview filled values, and count working days and public holidays.
Use variables in an automation's text
In a Send message, Send reminder, Post comment, Post job update or Send job alert step, and in the question a message asks the candidate to answer, type @ and pick from the list. The list holds what that step can use, such as a first name or a job title. Your pick sits in the text as a chip, and the automation fills in its value when the step runs. A variable uses no AI and no credits.
| Group | Examples |
|---|---|
| Candidate | First name, Last name, Candidate location |
| Application | Application name, Application status, Source |
| Job | Job title, Job location, Employment type |
| People | Job lead, Assignee, Sender |
| Dates | Today, Tomorrow, In N days, In N working days, Application deadline, Published date, Hire by, Applied date |
| Links | Job page, Career site, Candidate portal, Application in the portal, Application in Attia, Job in Attia |
| Trigger | Status moved from, Status moved to, Event date |
| Workspace | Workspace name, Automation name |
Variables never include a candidate's email address, phone number, age, gender, nationality or photo.
The email to a candidate already opens with "Hi {first name}," and shows the job title, so do not start a message with a greeting by name.
A candidate who has never signed in to the candidate portal gets a shorter email. It names your workspace, says a new message is waiting and links to the portal. They sign in with the same email address and read the message there. That email holds none of the message text.
Some variables can be empty. Click the chip and write under If empty, write to set a fallback, up to 200 characters of plain text. Without a fallback, a message to a candidate is not sent and the run stops, and a comment or a job update says "not set" where the value would go.
Click a date chip to choose its format and its language. Long reads October 30, 2026, Short reads Oct 30, 2026 and With weekday reads Fri, Oct 30. In Norsk the same day reads 30. oktober 2026, 30. okt. 2026 and fre. 30. okt. A new chip is Long in your workspace's language, and that choice stays with the chip. In N days and In N working days open the chip so you can set the number, from 1 to 365.
Today is the day the message is sent, in the time zone of the team's working hours, and in the workspace's when the team has none. A step that waits for its send window reads the day it really goes out, not the day it started waiting.
In N working days counts only the working days of the automation's team or workspace, so it skips weekends, public holidays and closed days. The count starts on the day after the message is sent. A message sent on Friday 30 October 2026 that says In 5 working days reads Friday 6 November. In 1 working day on a Friday reads Monday, and a message sent on a Saturday reads Monday too. A workspace admin sets the public holidays and closed days under Settings > Workspace, as Workspaces describes. If the automation cannot read its working calendar, the step sends nothing and the run stops, so nothing goes out with a wrong date.
A reminder with a delay fixes its text when the run starts waiting for the answer. A value that changes after that does not reach it: if the application deadline moves, a reminder already planned keeps the old date. So every variable in it that can be empty needs a fallback, and it cannot use Today, Tomorrow, In N days or In N working days, because the date would be fixed on the day the run starts waiting. If the text still cannot be filled at that moment, the reminder is not sent and the run keeps waiting for the answer.
A link fills in as a full web address, and it is clickable in the candidate's email and in the message thread. Job page needs the job on a published career site, and Career site needs a published site in the workspace, so both can be empty. The portal links are offered only in a message to a candidate and open in the candidate's language. Application in Attia and Job in Attia are offered only in text for your team.
The Trigger group reads the change that started the run. Status moved from and Status moved to are offered when the automation starts on an application's status change, either on Application status changes or on a change to the status property. They keep each status's name from the moment of the move. A Wait step, a later move, or a renamed or archived status does not change them, while Application status reads the status the application has when the step runs. A job keeps no history of its statuses, so a job automation does not offer them. An application's first status has no "moved from", so a job update says "not set" there.
Event date is the day the change happened, in the same time zone as Today, and it takes a format and a language like any date. It works on any record trigger. A schedule and Consent ends in N days start from no change, so they don't offer it. A run you start with Run now has no change behind it either, so all three say "not set" in that run, and the run goes on.
These three are offered only in text for your team, never in a message to a candidate. A status name is your team's own word, and a name like "Top pick" reads as a verdict on the person. What candidates see of their status is a separate team setting.
In an Ask the AI agent step, @ offers a shorter list. The agent reads its instructions as your own words, so the list holds only what your team or the clock wrote: the job's details, the job lead, the assignee, the automation's owner and name, the application status, the dates and the workspace name. It leaves out the Candidate group, the application name, the source, the applied date, the sender, the links and Status moved from and Status moved to. A variable with no value reads "not set", and the agent goes on. The values are filled in once, when the agent starts, so Today is that day. The automation keeps the chips, not the filled-in text. The Instructions of an automation on a schedule run on no record, so that box has no @ list.
The Status group in that list holds the statuses of the teams the automation reaches. Pick one to name it in the instructions. When two teams have a status with the same name, the row shows the team. The chip shows the status's name as it is now, so after a rename the chip shows the new name, and the agent reads it from the next run on, with no new publish. If the status is archived, the agent reads its last name followed by "(archived)", and the automation shows Needs attention. The agent gets the status's name and nothing else. A status is offered only in this step, never in text for a candidate or your team.
If you change the trigger and a chip no longer fits, the chip gets a red ring and the automation will not publish. Change the trigger back or remove the chip.
Preview the text
Under a Send message or Post job update text that holds a variable, click Preview to read the text filled in. It opens on sample data at once: Kari Nordmann from Bergen, applying to be a Product Designer in Oslo at Acme AS, with today's date. Each chip's format, language and number of days apply. A value written from a fallback has a dotted underline.
Turn on Show empty values to empty every variable that can be empty. You then see each fallback in place, and a message to a candidate with a variable that has no fallback shows which one would stop it, such as "This message would not be sent. Candidate location has no value."
Click Try a real application to pick one of your own applications. An automation that runs on jobs picks a job, and one that runs on candidates picks a candidate. The step's text is filled the way the step would fill it today, with what you have access to, so a value you cannot see reads as empty. Only the filled text comes back, never the record's email address or phone number. Under a message to a candidate, a line reminds you that the email adds a greeting with the first name, the job title and a button.
A preview sends nothing, saves nothing and uses no credits. It works on an automation you have not saved yet.
Working days
A working day is a day in the working week of the automation's team or workspace that is neither a public holiday nor a closed day. A closed day is a date your company is closed, such as fellesferie, the summer weeks many Norwegian companies close together. A workspace admin adds closed days under Settings > Workspace.
Working days are your team's calendar. They are not a way to compute a legal deadline.
When to send on a Send message step decides when its message goes out.
- During working hours sends inside the hours of the automation's team or workspace. On a public holiday or a closed day, the message waits until those hours start on the next working day.
- On chosen days sends on the days and times you pick. A public holiday or a closed day holds the message back even when you chose that weekday, until the next chosen day that is open.
- Right away sends at once, on any day.
The run shows when a waiting message goes out. If a date closes while a message waits, the message waits again when that date comes. If a date opens again, the message still goes out at the time the run shows.
Send limit on a Send message step spreads a large send over several hours. It is Off by default. Pick At most 50 per hour, 100, 200 or 500, and the step sends at most that many messages in each clock hour, across all the automation's runs. A run past the limit waits in the step for the next hour with room, and the run shows when its message goes out. The wait keeps to When to send: if the next hour is outside working hours, the message waits for the next working hour with room. A retry of the step keeps the run's place, so one message never counts twice.
A Filter checks the record when the run reaches it, not when the message goes out. If an application changes status while its message waits for the limit, the message still goes out. To check the record again closer to the send, put a Wait and then a Filter before the Send message step.
A Wait step, and the limit on Wait until, can count working days, up to 60. A working day is the same clock time on the next working day of the automation's team or workspace, and a public holiday or a closed day does not count. A Wait of 2 working days that starts on Tuesday at 14:12, with Ascension Day on the Thursday, ends on Friday at 14:12. One day in the days unit stays 24 hours. The end is set when the run reaches the step, so a date closed later does not move it. Working days are not available on Hub automations.
The time a candidate has to answer a Send message step, and the delay on a Send reminder step, can count working days the same way. A message sent on Wednesday 1 April 2026 at 12:00 with 2 working days to answer, with Maundy Thursday, Good Friday and Easter Monday closed, has an answer date of Wednesday 8 April at 12:00. A reminder after 1 working day goes out on Tuesday 7 April at 12:00. The answer date is set when the message goes out, so a date closed later does not move it. A reminder due at or after the answer date is not sent. Publishing refuses one that can never land before it, like a 3 working day reminder on a 2 working day answer.
On an application automation, a Filter or Paths step can check Days in status and Working days in status: the days since the application last changed status, counted when the step runs. Days in status counts calendar dates in the time zone of the automation's team or workspace, so a clock change does not shift it. Working days in status leaves out weekends, public holidays and closed days. The day of the move does not count. An application moved on Tuesday 12 May 2026 at 14:00 and checked on Friday 15 May at 09:00, with Ascension Day on the Thursday, has 3 days in status and 2 working days in status. One moved and checked on the same date has 0 of both.
No event fires as a day passes, so a trigger filter and a Wait until cannot use either one, and publishing refuses them there. To check every day, start the automation on a Schedule that runs each day at 08:00 on applications. Add a Filter step with Status is Offer and Working days in status is at least 5, then an Ask the AI agent step that tells the application's assignee. With no working calendar, as on a Hub automation, the count is missing: the filter does not match, and the run says why.
On a job automation, a Filter or Paths step can also check Applications, the job's applications that are not archived, and Health, the job's health as the timeline shows it: Off track, At risk, On track, Update missing or No update expected. On a candidate automation, it can check Applications, the candidate's applications on every job that are not archived. Applications on private teams count too, even ones you cannot open. Each is read when the step runs, and Health reads the update schedule in the job lead's time zone. No event fires when these change, so a trigger filter, a Wait until and a stop condition cannot use them either.
Where the public holidays come from
UK dates come from gov.uk, and Attia checks them once a night. A year gov.uk has not published yet uses Attia's rules. Norway, Sweden, Denmark and Finland use Attia's own rules for each country's calendar.
To report a wrong date, go to Settings > Workspace > Public holidays, open This year's holidays and choose Report a wrong date.