Botbuilders logo

Contact Us

How Can We Help You?
< All Topics

System Fields

System fields are fields created by BotBuilders that allow you to access many contact and bot data that are automatically saved by BotBuilders.

BotBuilders has many system fields, and not all system fields are visible when you build your bot. If you use a system field on your bot, even if the system field isn’t visible on the list of available fields, it works.

Contacts fields

: User language. Example en_US
{{locale2}}: User language. Example en

{{username}} : The Instagram user name.
 : the contact user ID on BotBuilders. Use this ID on API.
 : the date when the contact was created.
 : The direct link to a contact’s Facebook Inbox.
the link to the inbox on BotBuilders for Live Chat with the subscribers.
{{me}} : Contains a link where a user can see and delete his data. This help business to stay compliant with GDPR.

{{last_text_input}} : the last text message set by the user.
{{last_input}}: the last text, image, video, audio, or file sent by the user.
{{last_input_type}}: text, image, video, audio, file.
{{last_ref}} : the last entry point link clicked by the user.
{{last_ad}} : the last Facebook Ad id that leads the user to your bot.
{{user_channel}}: the primary channel of the user.
{{user_tags}} – contains the name of all tags applied to a contact.
{{user_external_id}}: the Viber or Google Business Message user id.

Account fields


{{api_key}}: the API key of your account.

Facebook/Instagram Auto Comment fields

{{total_new_tagged}} : Number of users that aren’t in your contact list that were tagged in the comment. works only on Facebook
{{total_tagged}} : Number of users that aren’t tagged in the comment. Works only on Facebook.
{{last_fb_comment}}: the text of the last comment of a user.
{{last_post_id}} : the post ID of the last post commented by the user.

Instagram Story Reply fields




Booking fields


E-commerce fields




{{product_name}}: use it with the Trigger “Product Ordered” or “Product added to cart”.
{{product_quantity}}: use it with the Trigger “Product Ordered” or “Product added to cart”.
{{product_id}}: use it with the Trigger “User Asked About a Product”, “Product Ordered”, “Product added to cart” or “Product removed from cart”.

System Field isn’t visible, how to use it?

You will not see suggestions for all these above fields on the flow builder. If you want to send the data to Google Sheets or any similar built-in integration and you don’t see the system field on the list, you can create a Custom field and transfer the System field value to your Custom field using the action “Set Custom Field“.