Sopro Webchat
  • 👋Welcome
  • 🏁GETTING STARTED
    • Building a Chat Flow
    • Testing a Chat Flow
    • Launching your Chat Flow
    • Chatbot Appearance
      • Custom CSS
      • Image dimensions
      • Pop-up messages
  • ⚒️CHAT FLOW
    • Trigger
    • Send Message
    • Collect Input
    • Buttons
    • Carousel
    • Calendar
    • Send an Email
    • Condition
    • Talk to human
    • Slider
    • Collect file
    • Delay
    • Form
  • 🔗Integrations
    • Slack
  • 💬Live chat
    • Overview
      • Live Chat Screen
      • Live Chat Settings
    • Creating views
    • Adding labels
    • Saved replies
    • Settings
  • 🛠️TROUBLESHOOTING
    • Cloning Bots
    • Connecting Action Blocks
    • Creating Loops
    • Setting up Fallback Variables
    • Image Dimensions
    • Page
  • 📊ANALYTICS
    • Chatbot Analytics
    • Agent Analytics
Powered by GitBook
On this page
  1. TROUBLESHOOTING

Setting up Fallback Variables

Allows you to assign a fixed value to a variable for cases when a required piece of information or value is missing

Fallback variables are fixed value assigned to Variables for the cases when a required piece of information or value is missing.

If you have not defined the fallback value, a variable will be replaced with the blank space in case the variable does not have the value.

For instance, lets consider a scenario where the bot pulls up the name of the visitor from the URL parameters & stores it in the variable first_name. A default fallback value will be assigned to the variable first_name. In this scenario where the name of the visitors is missing from the URL parameter, the bot will automatically pull up the defined fallback variable value assigned to that variable to address the visitor

How do I assign Fallback Value to the Variable?

You can follow the following steps to assign fallback value to the variable;

  • Open the 'bot' of your preference and choose the action block where you have used the variable

  • Click on Variable to assign the fallback value

  • Enter the fallback value

  • Click on 'Right Sign' to assign the default value to the variable

The colour of the variable will change from Grey to Blue if the fallback value is assigned to it

PreviousCreating LoopsNextImage Dimensions

Last updated 11 months ago

🛠️