Chat Flow User Guide
User GuidesRelease NotesFAQsSupport
5.52.0
5.52.0
  • 🏠Return to Home Page
  • 🔎Overview
    • Chat Flow Overview
    • Quick Start
  • 🪛Configuration
    • Access Chat Flow
    • Configure a route
    • Add an API integration
    • Set up keywords
    • Set up session timeout events
    • Manage your workflow assets
  • ✅Channel Capabilities
    • Configure channel display type
    • Use WhatsApp with Chat Flow
      • Initiate WhatsApp conversations
      • Send WhatsApp message templates
      • WhatsApp Interactive Messages
      • WhatsApp Commerce Messages
    • Use Apple Messaging for Business with Chat Flow
      • Apple Interactive Messages
      • Apple User-Facing Nodes
  • 🔃Workflow management
    • Build a workflow
      • Add a workflow
      • Delete and restore nodes
      • Repeat a step in a workflow
      • Dynamic API Workflows
    • Edit/delete a workflow
    • Search, Find & Replace in a workflow
    • Duplicate, rename, or move a workflow
    • Preview workflows
      • Preview flow on different channels
      • Preview logs
    • Approve and deploy workflows
      • View flow details
      • Submit a workflow for approval
      • Approve/decline a workflow
      • Deploy a workflow to production
  • 😎User-Facing Nodes
    • Display nodes
      • Contact Sending
      • External Link
      • Location sharing
      • Media
      • OTP Menu
      • Rich Link
      • Text Display
    • Product nodes
      • Clickatell AI node
      • Chat Desk node
    • Input nodes
      • Contact Receiving
      • OAuth Request
      • Request Input
      • Send Form
      • Time Picker
    • Commerce
      • Chat 2 Pay
      • Multi Product
    • Branch/logic split
      • Dynamic List
        • Apply patterns, custom indexes, filtering, and exclusions
      • Menu
      • Multiple Choice Input
  • 🎬Action Nodes
    • API Integration node
    • Calculate
    • Date Format
    • Display List
    • Encrypt
    • Is Empty
    • Is Null
    • Number Format
    • Regular Expression
    • Remap
    • Send Template
    • Set Variable
    • Switch Case
    • Wait For Callback
    • Opt-Out nodes
  • 🔗Integrations
    • Integration nodes
  • 🔡Variable management
  • Using system variables
  • Referring to variables
  • 📊Reporting & Analytics
    • Analytics Settings
    • Collections & reporting labels
    • Clickatell Portal Reports
  • ❗System error codes
    • System Error Codes
  • 💡Help & Information
    • What's New? 🎈
    • Release Notes
    • FAQs
    • Return to Home Page
Powered by GitBook
LogoLogo

© Copyright 2024 Clickatell. All rights reserved.

On this page

Was this helpful?

  1. Action Nodes

Switch Case

Was this helpful?

The Switch Case node is used to route a customer to a specific step based on a flow variable's value. It is similar to a , but instead of relying on the customer's input to decide which route to take, this node relies on the value of a certain flow variable.

Example:

Add a variable in your flow, e.g., Registration_Status, that captures where the customer is in their registration flow. Add a Switch Case node and refer to this variable in the Variable field.

  • If the value of the variable = Not_Registered -> Send user to the Registration workflow.

  • If the value of the variable = Registered -> Send user to the Login flow.

  • If the value of the variable = OTP_Pending -> Send the user to the OTP node.

  • If the value of the variable = Blocked -> Inform user that they are blocked via a Text Display node.

🎬
Menu node
Setup of a Switch Case node
Example flow containing Switch Case node