Skip to main content
All CollectionsFeaturesFlows
WhatsApp Flow Variables
WhatsApp Flow Variables

Learn the meaning of 2Chat flow builder system variables and how to use them in your chatbot

Updated over 2 weeks ago

When you design your chatbot in our flow builder, you can use several variables to enhance your flows, adding conditional steps or even using this information to execute external API requests using the HTTP Component. These are the

  • First Name (firstName): First name of the contact related to the customer's phone number.

  • Last Name (lastName): Last name of the contact related to the customer's phone number.

  • Full Name (fullName): Full name of the contact related to the customer's phone number.

  • Language Code (language): Language detected in the conversation.

  • Current Time when Flow is executed: The time and date when the flow is executed.

  • Last Message UUID (messageUUlD): Internal identification from the last message

  • This Flow's UUID (flowUUlD): Internal identification for the flow.

  • This Flow's Name (flowName): Name of the flow in 2Chat

  • Last User Message (message): Returns the last received message

  • Media URL of the Last User Message: When the customer sends a media file this variable returns the file URL which you can use in other steps.

  • Phone Number (wa.phoneNumber): Customer' phone number

  • Country Code (wa.countryCode): Country detected from the phone number

Did this answer your question?