•••
 
Documentation   /   General   /   Constant variables
 
 

Constant variables

 

Date/time

{{*now}}
The time now to the second. UNIX format.
{{*today}}
The date today. UNIX format.
{{*yesterday}}
The time 24 hours ago to the second. UNIX format.
{{*tomorrow}}
The time in 24 hours, to the second. UNIX format.


Permissions

{{*adviser}}
The user is an adviser. Boolean.
{{*admin}}
The user is an admin. Boolean.
{{*senior}}
The user is an adviser and/or an admin. Boolean.
{{*authorised_signatory}}
The user is an authorised signatory on the account. Boolean.
{{*group_admin}}
The user is a group admin. Boolean.
{{*email_address}}
The email address of the user that's logged in.  


User details

{{*my_name}}
The name of the user viewing the page.
{{*my_email}}
The email address of the user viewing the page.
{{*my_phone}}
The phone number of the user viewing the page.
{{*my_pic}}
The URL of the profile picture of the user viewing the page.
{{*my_id}}
The unique ID of the user viewing the page.


Workflows/Tasks

{{document_url_base}}
The base URL for any document in your account. Translates to https://your_account_url.plainly.com/a/ 
{{checklist_name}}
The name given to the task when started.
{{checklist_key}}
The unique key of the task.
{{checklist_url}}
The full URL of the task. Translates to https://plainly.com/checklist?key={{checklist_key}} 
{{is_assigned}}
Whether the task is assigned to a user. Boolean.
{{assigned_to_name}}
The name of the user assigned to the task.
{{assigned_to_email}}
The email address of the user assigned to the task.
{{assigned_to_phone}}
The phone number of the user assigned to the task, if set.
{{assigned_to_pic}}
The URL of the profile picture of the user assigned to the task, if uploaded.
{{assigned_to_id}}
The unique ID of the user assigned to the task.


Templates/Documents

{{document_url}}
The signing_link / URL of the document. Translates to https://your_account_url.plainly.com/a/{{document_key}} 
{{document_key}}
The unique key of the document.
{{document_url_base}}
The base URL for the document. Translates to https://your_account_url.plainly.com/a/