Prompt

Basic Nodes prompt Starter

Ask the user for input

Overview

The Prompt node displays a message to the user and collects their input. It supports various input types including text, email, phone, number, and options.

How It Works

  1. Render Phase: When the flow reaches this node, it displays the configured message to the user and waits for their response
  2. Input Phase: The user provides their input according to the configured input type
  3. Validation: The input is validated against any configured validation rules
  4. Storage: The validated input is stored in a variable that can be accessed in subsequent nodes
  5. Continue: The flow proceeds to the next connected node

Input Types

  • Text: Free-form text input
  • Email: Email address with validation
  • Phone: Phone number with validation
  • Number: Numeric input
  • Options: Multiple choice with predefined options

Dynamic Content

The prompt message supports Handlebars syntax, allowing you to include dynamic values from previous nodes:

Hello {{start}}! Please enter your email address.

Error Handling

If an error occurs while rendering the prompt (e.g., invalid template), the conversation terminates with an error message to prevent exposing internal errors to users.

Configuration Fields

Prompt Message handlebars Required

The message displayed to the user.

Show details

Supports Handlebars syntax:

{{variable_name}}
Input Type input_config Required

Configure the type of input to collect from the user.

inputConfig input_config Required

Input Type

Configure the type of input to collect from the user.

Show details

Input types:

  • Text - Free-form text input
  • Email - Email address with validation
  • Phone - Phone number with validation
  • Number - Numeric input
  • Options - Multiple choice with predefined options

Output Variables

This node stores its output in a variable that can be referenced in subsequent nodes using the {{variable}} syntax.

{{variable}} string

User input from prompt

Connection Points

Input
Accepts incoming connections from other nodes
Output
Connects to the next node in the flow

More in Basic Nodes