Field variable

Field variable

Before the detailed introduction of each step, let's take a look at what is field(variable). It might take you a moment but this is essential to know more about the system. Field, aka variable, is a container to hold a value.

User Field

User field belongs to users. For example, each user has their own name and email address. So "name" and "email" are user fields.

Bot Field

Bot field belongs to the bot. For example, a restaurant bot holds an address and contact number of the restaurant. So "restaurant_address" and "restaurant_contact" should be created as bot fields. Because you don't want to manage different addresses or contacts of your restaurant for every user.

System Field

System field is created by the system with pre-defined variable name and variable type. There are system bot field and system user field:Some system fields only exist in the specific channel. Check the table below for how to edit system field:

If the channel doesn't support timezone in user's profile, or, the channel supports but the user don't have a timezone value, workspace timezone will be used instead.

User Id in Different Channels:

The unique id from the channel is only unique in your Facebook page, Telegram bot, Slack workspace or WeChat account, not the unique id in the whole Facebook, Slack, etc.

Variable Type

There are 6 types of variable in Sendly:

Boolean Value

When these values stored in the field, the boolean return false, otherwise it goes true:

  • null

  • empty

  • 'false'

  • false

  • 'no'

  • 0

Create Custom Field

Wow, now you are a master ๐Ÿ‘จโ€๐ŸŽ“ of field! Let's try it out! ๐Ÿ˜Ž๐Ÿ˜ŽYou can create variables in 2 ways:

Create Custom Field in Contents Section

  1. Go "Contents" from the left sidebar

  2. Select User Fields or Bot Fields

  3. Use folder to organise your fields if needed

To create a field. "Field Name" is a must. You can use any character to separate words like underline or space. We suggest you keep the field name as concise as possible, to avoid any possible display issue.After that, pick a variable type. Add default value or description if needed. (default value is for bot fields only)Folders can be used to organise variables. Trust me, you will need it when your flow goes big. ๐Ÿง

Create Custom Field in Question and Action Step

To create new fields in for example, the question step:

Type in a new variable name in the "Enter Field Name" box and click it in the drop-down list. Select correspond variable type and here you go.

Another example, create in an integration:

Last updated