Skip to main content

PromptTemplate variables

Use {{ variable.path }} to insert a value. Choose the matching context before using a variable. An event must actually carry the related Member, Chat, or record; an advertised optional namespace does not guarantee a value.

actor​

VariableTypeMeaningContexts
actor.emailstringEmail of the Member who performed the actionSet 12
actor.external_idstringExternal ID of the Member who performed the actionSet 12
actor.first_namestringFirst name of the Member who performed the actionSet 12
actor.idnumberID of the Member who performed the actionSet 12
actor.last_namestringLast name of the Member who performed the actionSet 12
actor.namestringName of the Member who performed the actionSet 12
actor.phonestringPhone of the Member who performed the actionSet 12

assignment​

VariableTypeMeaningContexts
assignment.created_atstringAssignment creation timestampSet 6
assignment.idnumberAssignment IDSet 6
assignment.uuidstringAssignment UUIDSet 6

assistant​

VariableTypeMeaningContexts
assistant.first_namestringAssistant first nameSet 5
assistant.namestringAssistant nameSet 5

call​

VariableTypeMeaningContexts
call.answered_bystringTwilio AMD classification: human, machine_start, machine_end_beep, machine_end_silence, machine_end_other, fax, or unknown. None when AMD did not run on the call.Set 10
call.caller_numberstringTwilio From number in E.164 format (e.g. +15135352506). None when the caller is anonymous or the number is unavailable.Set 10
call.dispositionstringTwilio call disposition: completed, busy, no-answer, failed, or canceledSet 10

chat​

VariableTypeMeaningContexts
chat.idstringChat/conversation IDSet 4

current_date​

VariableTypeMeaningContexts
current_datestringCurrent date (YYYY-MM-DD)Set 1

current_time​

VariableTypeMeaningContexts
current_timestringCurrent time (HH:MM)Set 1

datetime​

VariableTypeMeaningContexts
datetime.day_of_monthnumberDay of month (1-31)Set 1
datetime.day_of_weeknumberDay of week (0=Monday, 6=Sunday)Set 1
datetime.hournumberCurrent hour (0-23)Set 1
datetime.minutenumberCurrent minute (0-59)Set 1
datetime.monthnumberMonth (1-12)Set 1
datetime.secondnumberCurrent second (0-59)Set 1
datetime.timestampstringISO 8601 timestampSet 1
datetime.timezonestringWorkspace timezoneSet 1
datetime.yearnumberYearSet 1

event​

VariableTypeMeaningContexts
event.end_timestringEvent end time (ISO format)Set 9
event.eventTypestringType of calendar eventSet 9
event.start_timestringEvent start time (ISO format)Set 9
event.titlestringCalendar event titleSet 9

fax​

VariableTypeMeaningContexts
fax.connection_idnumberDocumo connection that received the fax (0 when the fax arrived on a workspace phone number)Set 14
fax.filenamestringFilename of the stored PDF (empty string when absent)Set 14
fax.idnumberInbound fax IDSet 14
fax.page_countnumberNumber of pages received (0 when the provider reported none)Set 14
fax.pdf_file_idnumberFile ID of the received PDF (0 when absent)Set 14
fax.phone_number_idnumberWorkspace phone number that received the fax (0 when the fax arrived through a Documo connection)Set 14
fax.received_atstringISO 8601 timestamp of when the fax became durably stored (empty string when it never did)Set 14
fax.sender_csidstringStation identifier the sending fax machine transmitted about itself. Entirely self-declared — provenance, never identity. Empty string when unavailable.Set 14
fax.sender_numberstringCalling number the provider reported. An unauthenticated, spoofable claim by the sender — provenance, never identity. Empty string when unavailable.Set 14
fax.sourcestringEndpoint the fax arrived on: documo or phone_numberSet 14
fax.statusstringIngestion status: pending, received, or failedSet 14
fax.tiff_file_idnumberFile ID of the original raster, when the provider supplied one (0 otherwise)Set 14
fax.uuidstringInbound fax UUIDSet 14

form​

VariableTypeMeaningContexts
form.create_urlstringURL to create a new record for this form/data typeSet 13

is_business_hours​

VariableTypeMeaningContexts
is_business_hoursbooleanSupplied business-hours flag; false when not providedSet 1

journey​

VariableTypeMeaningContexts
journey.enrolled_atstringISO timestamp when member was enrolledSet 15
journey.idnumberJourney IDSet 15
journey.namestringJourney nameSet 15
journey.statusstringMember's journey status (active, completed, exited)Set 15
journey.step_idnumberCurrent step IDSet 15
journey.step_namestringCurrent step nameSet 15

member​

VariableTypeMeaningContexts
member.agenumberMember age in whole yearsSet 2
member.date_of_birthstringMember date of birth (YYYY-MM-DD)Set 2
member.emailstringMember email addressSet 2
member.external_idstringMember external IDSet 2
member.first_namestringMember first nameSet 2
member.idnumberMember IDSet 2
member.last_namestringMember last nameSet 2
member.namestringMember full nameSet 2
member.phonestringMember phone numberSet 2
member.uuidstringMember UUIDSet 2

now​

VariableTypeMeaningContexts
nowstringCurrent ISO 8601 timestampSet 1

phone_number​

VariableTypeMeaningContexts
phone_number.brand_namestringBrand name configured on the workspace phone number (for compliance / caller ID)Set 8
phone_number.namestringHuman-readable name configured on the workspace phone numberSet 8
phone_number.numberstringE.164 phone number the call/SMS came in onSet 8

record​

VariableTypeMeaningContexts
record.created_atstringRecord creation timestampSet 13
record.dataobjectData record field values (user-defined)Set 13
record.external_idstringRecord external IDSet 13
record.idnumberRecord IDSet 13
record.owner.emailstringRecord owner emailSet 13
record.owner.external_idstringRecord owner external ID (e.g., Monday.com item ID)Set 13
record.owner.first_namestringRecord owner first nameSet 13
record.owner.idnumberRecord owner IDSet 13
record.owner.namestringRecord owner full nameSet 13
record.owner.phonestringRecord owner phone numberSet 13
record.update_urlstringURL to view/edit the record in the member portalSet 13
record.updated_atstringRecord last update timestampSet 13

task​

VariableTypeMeaningContexts
task.descriptionstringTask descriptionSet 7
task.idnumberTask IDSet 7
task.namestringTask nameSet 7
task.uuidstringTask UUIDSet 7

webhook​

VariableTypeMeaningContexts
webhook.board_idstringBoard ID from webhook (Monday.com)Set 11
webhook.item_idstringItem ID from webhook (Monday.com)Set 11
webhook.item_namestringItem name from webhook (Monday.com)Set 11
webhook.sourcestringWebhook source (e.g., 'monday', 'custom')Set 11

workflow​

VariableTypeMeaningContexts
workflow.idnumberWorkflow IDSet 3
workflow.uuidstringWorkflow UUIDSet 3

Context availability​

Availability Set 1​

Event Rule: assignment:concluded, Event Rule: calendar_event:cancelled, Event Rule: calendar_event:created, Event Rule: calendar_event:ended, Event Rule: calendar_event:no_show, Event Rule: calendar_event:starting, Event Rule: calendar_event:updated, Event Rule: call:completed, Event Rule: call:started, Event Rule: call:summary, Event Rule: chat:callback, Event Rule: chat:created, Event Rule: chat:summary, Event Rule: connector:event, Event Rule: data_record:changed, Event Rule: data_record:created, Event Rule: data_record:updated, Event Rule: fax:received, Event Rule: journey:completed, Event Rule: journey:enrolled, Event Rule: journey_step:execute, Event Rule: link:clicked, Event Rule: member:updated, Event Rule: message:created, Event Rule: routine:triggered, Event Rule: task:command, Event Rule: task:enter, Event Rule: task:execute, Event Rule: task:exit, Event Rule: voicemail:received, Event Rule: workflow:assistant_message, Event Rule: workflow:execute, Event Rule: workflow:user_message, Event Rule: workspace:member_joined, Event Rule: workspace:member_left, General editor, Object: calendar, Object: calendar_event_type, Object: call, Object: chat, Object: data_record, Object: fax, Object: journey, Object: member, Object: routine, Object: task, Object: voicemail, Object: workflow, Object: workspace

Availability Set 2​

Event Rule: assignment:concluded, Event Rule: calendar_event:cancelled, Event Rule: calendar_event:created, Event Rule: calendar_event:ended, Event Rule: calendar_event:no_show, Event Rule: calendar_event:starting, Event Rule: calendar_event:updated, Event Rule: call:completed, Event Rule: call:started, Event Rule: call:summary, Event Rule: chat:summary, Event Rule: connector:event, Event Rule: data_record:changed, Event Rule: data_record:created, Event Rule: data_record:updated, Event Rule: fax:received, Event Rule: journey:completed, Event Rule: journey:enrolled, Event Rule: journey_step:execute, Event Rule: member:updated, Event Rule: routine:triggered, Event Rule: task:command, Event Rule: task:enter, Event Rule: task:execute, Event Rule: task:exit, Event Rule: workflow:assistant_message, Event Rule: workflow:execute, Event Rule: workflow:user_message, Event Rule: workspace:member_joined, Event Rule: workspace:member_left, General editor, Object: data_record, Object: fax, Object: journey, Object: member, Object: routine, Object: task, Object: workspace

Availability Set 3​

Event Rule: assignment:concluded, Event Rule: calendar_event:cancelled, Event Rule: calendar_event:created, Event Rule: calendar_event:ended, Event Rule: calendar_event:no_show, Event Rule: calendar_event:starting, Event Rule: calendar_event:updated, Event Rule: connector:event, Event Rule: routine:triggered, Event Rule: task:command, Event Rule: task:enter, Event Rule: task:execute, Event Rule: task:exit, Event Rule: workflow:assistant_message, Event Rule: workflow:execute, Event Rule: workflow:user_message, General editor, Object: routine, Object: task

Availability Set 4​

Event Rule: assignment:concluded, Event Rule: call:completed, Event Rule: call:started, Event Rule: call:summary, Event Rule: chat:summary, Event Rule: task:command, Event Rule: task:enter, Event Rule: task:execute, Event Rule: task:exit, Event Rule: workflow:assistant_message, Event Rule: workflow:execute, Event Rule: workflow:user_message, General editor, Object: task

Availability Set 5​

Event Rule: assignment:concluded, Event Rule: fax:received, Event Rule: task:command, Event Rule: task:enter, Event Rule: task:execute, Event Rule: task:exit, Event Rule: workflow:assistant_message, Event Rule: workflow:execute, Event Rule: workflow:user_message, General editor, Object: fax, Object: task

Availability Set 6​

Event Rule: assignment:concluded, Event Rule: task:command, Event Rule: task:enter, Event Rule: task:execute, Event Rule: task:exit

Availability Set 7​

Event Rule: assignment:concluded, Event Rule: task:command, Event Rule: task:enter, Event Rule: task:execute, Event Rule: task:exit, Event Rule: workflow:assistant_message, Event Rule: workflow:execute, Event Rule: workflow:user_message, General editor, Object: task

Availability Set 8​

Event Rule: calendar_event:cancelled, Event Rule: calendar_event:created, Event Rule: calendar_event:ended, Event Rule: calendar_event:no_show, Event Rule: calendar_event:starting, Event Rule: calendar_event:updated, Event Rule: call:completed, Event Rule: call:started, Event Rule: call:summary, Event Rule: chat:callback, Event Rule: chat:created, Event Rule: chat:summary, Event Rule: message:created, Event Rule: task:command, Event Rule: task:enter, Event Rule: task:execute, Event Rule: task:exit, Event Rule: workflow:assistant_message, Event Rule: workflow:execute, Event Rule: workflow:user_message

Availability Set 9​

Event Rule: calendar_event:cancelled, Event Rule: calendar_event:created, Event Rule: calendar_event:ended, Event Rule: calendar_event:no_show, Event Rule: calendar_event:starting, Event Rule: calendar_event:updated, General editor

Availability Set 10​

Event Rule: call:completed, Event Rule: call:started, Event Rule: call:summary, Event Rule: chat:summary

Availability Set 11​

Event Rule: connector:event, General editor

Availability Set 12​

Event Rule: data_record:changed, Event Rule: data_record:created, Event Rule: data_record:updated, Event Rule: member:updated, General editor, Object: data_record, Object: member

Availability Set 13​

Event Rule: data_record:changed, Event Rule: data_record:created, Event Rule: data_record:updated, General editor, Object: data_record

Availability Set 14​

Event Rule: fax:received, Object: fax

Availability Set 15​

Event Rule: journey:completed, Event Rule: journey:enrolled, Event Rule: journey_step:execute, Object: journey

Form-dependent paths​

Replace form_slug and field_slug with the slugs from your Form. The field's Form type determines its value type. Member paths refer to Member-scoped Forms.

member​

VariableTypeMeaningContexts
member.collections.form_slug.countnumberNumber of Form recordsSet 1
member.collections.form_slug.latest.data.field_slugtextField from most recent FormSet 1
member.form_data.form_slug.field_slugtextField from FormSet 1

record​

VariableTypeMeaningContexts
record.created_atstringRecord creation timestampSet 1
record.dataobjectData record field values (user-defined)Set 1
record.data.field_slugtextField fieldSet 1
record.external_idstringRecord external IDSet 1
record.idnumberRecord IDSet 1
record.owner.emailstringRecord owner emailSet 1
record.owner.external_idstringRecord owner external ID (e.g., Monday.com item ID)Set 1
record.owner.first_namestringRecord owner first nameSet 1
record.owner.idnumberRecord owner IDSet 1
record.owner.namestringRecord owner full nameSet 1
record.owner.phonestringRecord owner phone numberSet 1
record.update_urlstringURL to view/edit the record in the member portalSet 1
record.updated_atstringRecord last update timestampSet 1

Form Context availability​

Availability Form Set 1​

Matching Form schema

Workspace-defined values​

snippets.<key> uses your Workspace's saved snippets. links.<key> uses its registered link destinations. Webhook payload fields and explicitly supplied custom context have names defined by their source. Those keys cannot be enumerated for every Workspace in this reference.

For collection records, recent contains a list of records you can iterate. Workspace-scoped Form records use workspace.form_data.<form_slug> and workspace.collections.<form_slug>; they are separate from Member records.

is_business_hours in a template is a supplied flag and is false when no value is supplied. It is not a live business-hours calculation.