Available Variables Reference

Assistable.ai provides a rich set of dynamic variables you can use throughout your AI assistant prompts, messages, and workflows. Variables are referenced using the {{variable_name}} syntax — for example, {{contact.first_name}} will be replaced with the contact's first name at runtime.

Below is a comprehensive reference of all available variable categories.

Session Variables

Top-level identifiers for the current conversation session.

VariableDescriptionExample Value
location_idID of the current sub-account/locationabc123def456
accountAccount nameAcme Corp
account_idParent account IDacc_7890xyz
assistant_idID of the AI assistant handling the conversationasst_001
contact_idID of the contact in the conversationcon_12345
calendar_idID of the linked calendarcal_abc123
workspace_idID of the workspacews_98765
directionDirection of the conversationinbound
channelCommunication channel typesms
current_dateCurrent date at session start2026-02-27
current_timeCurrent time at session start14:30:00
timezoneTimezone of the sessionAmerica/New_York
phone_idID of the phone number in useph_555001
toDestination phone number or address+15551234567
fromOriginating phone number or address+15559876543
user_targetTarget user for routinguser_001
assistant_targetTarget assistant for handoffasst_002
messaging_profile_idMessaging profile identifiermp_abc123
outbound_phone_idPhone ID used for outbound callsph_out_001
inbound_phone_idPhone ID receiving inbound callsph_in_001
memoryPersistent memory content for the assistant(text blob)
soulAssistant personality/system prompt(text blob)
greetingGreeting messageHello! How can I help you today?
assistant_greetingAssistant-specific greeting overrideHi there! I'm your booking assistant.

Right Now Variables

Dynamic date and time values computed at the moment of execution. All prefixed with right_now.

VariableDescriptionExample Value
right_now.current_dateCurrent date (formatted)February 27, 2026
right_now.current_timeCurrent time (formatted)2:30 PM
right_now.dateCurrent date (short format)02/27/2026
right_now.timeCurrent time (short format)14:30
right_now.date_timeCombined date and time02/27/2026 14:30
right_now.timezoneCurrent timezone nameAmerica/New_York
right_now.timezone_abbrTimezone abbreviationEST
right_now.secondCurrent second45
right_now.minuteCurrent minute30
right_now.hourCurrent hour (24h)14
right_now.am_pmAM or PM indicatorPM
right_now.day_of_the_weekNumeric day of week5
right_now.day_nameName of the dayFriday
right_now.dayDay of the month27
right_now.monthMonth nameFebruary
right_now.month_numberMonth number2
right_now.yearCurrent year2026
right_now.tomorrow_dateTomorrow's date02/28/2026
right_now.day_after_tomorrow_dateDay after tomorrow's date03/01/2026
right_now.mon_dateThis week's Monday date02/23/2026
right_now.tue_dateThis week's Tuesday date02/24/2026
right_now.wed_dateThis week's Wednesday date02/25/2026
right_now.thu_dateThis week's Thursday date02/26/2026
right_now.fri_dateThis week's Friday date02/27/2026
right_now.sat_dateThis week's Saturday date02/28/2026
right_now.sun_dateThis week's Sunday date03/01/2026

Contact Variables

CRM contact fields for the person in the conversation. All prefixed with contact.

VariableDescriptionExample Value
contact.idUnique contact IDcon_12345abc
contact.first_nameFirst nameJohn
contact.last_nameLast nameSmith
contact.full_nameFull nameJohn Smith
contact.phoneFormatted phone number(555) 123-4567
contact.phone_rawRaw phone number (E.164)+15551234567
contact.emailEmail addressjohn.smith@example.com
contact.timezoneContact's timezoneAmerica/Chicago
contact.address1Street address123 Main St
contact.cityCityDallas
contact.stateStateTX
contact.postal_codePostal/ZIP code75201
contact.sourceLead sourceWebsite Form
contact.websiteContact's websitehttps://example.com
contact.date_of_birthDate of birth1990-05-15
contact.notesContact notesPreferred callback after 5 PM
contact.tagsAssigned tagsvip, returning-client
contact.businessaccount_nameAssociated business accountSmith Enterprises
contact.nurture_yearYear the contact entered nurture2025
contact.ltvLifetime value4500.00

Location Variables

Business and sub-account information. All prefixed with location.

Core Location Fields

VariableDescriptionExample Value
location.idLocation IDloc_abc123
location.nameLocation/business nameAcme Corp - Downtown
location.addressStreet address456 Commerce Blvd
location.cityCityAustin
location.stateStateTX
location.countryCountryUS
location.postal_codePostal/ZIP code73301
location.localeLocale settingen_US
location.websiteWebsite URLhttps://acmecorp.com
location.timezoneLocation timezoneAmerica/Chicago
location.logo_urlLogo image URLhttps://cdn.example.com/logo.png
location.domainCustom domainapp.acmecorp.com
location.currencyCurrency codeUSD
location.date_addedDate the location was created2024-01-15
location.brand_idBrand identifierbrand_001
location.company_idParent company IDcomp_001

Location Owner/Contact

VariableDescriptionExample Value
location.first_nameOwner first nameJane
location.last_nameOwner last nameDoe
location.full_nameOwner full nameJane Doe
location.emailLocation emailinfo@acmecorp.com
location.phoneFormatted phone(555) 987-6543
location.phone_rawRaw phone (E.164)+15559876543

Business Profile (location.business.*)

VariableDescriptionExample Value
location.business.nameBusiness nameAcme Corporation
location.business.addressBusiness address456 Commerce Blvd
location.business.cityBusiness cityAustin
location.business.stateBusiness stateTX
location.business.countryBusiness countryUS
location.business.postal_codeBusiness postal code73301
location.business.websiteBusiness websitehttps://acmecorp.com
location.business.timezoneBusiness timezoneAmerica/Chicago
location.business.emailBusiness emailhello@acmecorp.com
location.business.logo_urlBusiness logo URLhttps://cdn.example.com/logo.png

Social Links (location.social.*)

VariableDescriptionExample Value
location.social.facebookFacebook URLhttps://facebook.com/acmecorp
location.social.google_places_idGoogle Places IDChIJ2eUgeAK6j4ARbn5u_wAGqWA
location.social.linkedinLinkedIn URLhttps://linkedin.com/company/acmecorp
location.social.instagramInstagram URLhttps://instagram.com/acmecorp
location.social.youtubeYouTube URLhttps://youtube.com/@acmecorp
location.social.twitterTwitter/X URLhttps://twitter.com/acmecorp
location.social.yelpYelp URLhttps://yelp.com/biz/acmecorp
location.social.pinterestPinterest URLhttps://pinterest.com/acmecorp

User Variables

Information about the assigned user or agent handling the conversation. All prefixed with user.

VariableDescriptionExample Value
user.idUser IDusr_abc123
user.nameDisplay nameSarah Johnson
user.first_nameFirst nameSarah
user.last_nameLast nameJohnson
user.full_nameFull nameSarah Johnson
user.emailEmail addresssarah@acmecorp.com
user.phoneFormatted phone(555) 222-3344
user.phone_rawRaw phone (E.164)+15552223344
user.extensionPhone extension204
user.roleUser role nameAdmin
user.role_typeRole typeadmin
user.location_idsAssigned location IDsloc_001, loc_002

Custom Values

Custom values are user-defined fields that vary per account and workspace. They allow you to store and reference business-specific data throughout your assistant prompts and workflows. All prefixed with custom_values.

Since these are defined by you, the available fields depend on what has been configured in your CRM. Common examples include:

VariableDescriptionExample Value
custom_values.company_nameYour company nameAcme Corporation
custom_values.timezoneBusiness timezoneAmerica/New_York
custom_values.business_logoLogo URLhttps://cdn.example.com/logo.png
custom_values.booking_linkScheduling linkhttps://calendly.com/acmecorp
custom_values.office_hoursBusiness hours textMon-Fri 9AM-5PM EST

Tip: You can create custom values in your CRM settings and reference them anywhere using the {{custom_values.your_field_name}} syntax. This is a powerful way to keep your prompts dynamic and easy to update across all assistants.


Was this article helpful?