Variables

Variables are dynamic content that you can use in your messages or actions. They are inside double curly brackets. Each column in your formito had an ID and if you prefix it with a values. It becomes a variable name. For example, if you have a text block in your chatbot to get the first name of your respondent, and its ID is firstName, you can use this value further in your message block to greet the respondent with a personalized message. For example, the message text could be “Nice to meet you {{values.firstName}}”. If the respondent enters “John” as his name, he will see “Nice to meet you John” in the message block. If he/she leaves the input empty, the message text becomes “Nice to meet you”.

We have other special variables other than column values. They are related to your app, workspace, or the record respondent is providing.

  • {{app.id}}: Your formito ID
  • {{app.name}}: Name of your formito
  • {{workspace.id}}: Your workspace ID that this app is inside
  • {{record.id}}: A unique ID we assign to each response
  • {{record.date}}: The date this record created
  • {{record.time}}: The time of day that this record created
  • {{record.datetime}}: The date and time that this record created
  • {{record.timestamp}}: The timestamp when this record created

Please note that date and times are in ISO 8601 format and reported in GMT timezone.