Built-in variables

Within chat flow you can use built-in variables:

  • {randomString} – random string (10 symbols)
  • {randomGUID} – random GUID (ex: 9cf3c0b0-9dea-37f2-9076-86bfec5bcd76)
  • {timestamp} – current timestamp (ex: 1742641303)
  • {threadGUID} – current thread GUID (ex: 9dbac0b0-972b-37f2-9076-86bfec5bcd76)
  • {customer.guid} – GUID of the current customer (ex: 9dbac0b0-827b-37f2-9076-86bfec5bcd41)
  • {customer.name} – current customer name (if set)
  • {customer.email} – current customer email (if set)
  • {customer.isAgent} – indicate if message sent by agent (1) or customer (0)
  • {urlData} – represent current page’s URL as standard JS URL object. Only applicable in browser context.