Skip to main content

What Are Dynamic Variables?

Dynamic variables are placeholders written as {{variable_name}} that Tidyhire automatically replaces with real values at send time. They let you write one message template that personalizes itself for every candidate.
If the candidate is John Doe and your company is Acme Corp, the candidate hears:

Where You Can Use Them

  • first_message — the opening line the AI speaks when the candidate answers
  • instructions — the AI behavior script
  • call_settings.whatsapp_notifications.template_variables — WhatsApp template variables (see below)

Available Variables

Candidate

Sender

Date

Note: name variables resolve against the candidate values you send in the request. If a candidate provides only a first name, {{candidate_last_name}} resolves to empty.

Rendering Behavior

  • Missing values resolve to empty string. If a candidate has no email, {{candidate_email}} is removed from the message. Write templates so sentences still read naturally.
  • Names are title-cased automatically. john doe renders as John Doe for name and company variables.

WhatsApp Template Variables

In WhatsApp templates, a template_variables value is treated differently depending on its content:
  1. Variable reference — a value that is exactly a variable like {{candidate_first_name}} is resolved at send time using the tables above:
  1. Literal text — any other value is passed to WhatsApp as-is:
Note: literal text starting with {{ is treated as a variable reference — only exact variable names resolve. Unknown variables are left as-is rather than removed.

Full Example

Request:
Rendered for candidate John Doe with sender Jane from Acme Corp: