Skip to main content
The Data Extraction stage systematically collects information from callers. Define the variables you need, and the AI asks for and validates each piece of data.

Overview

Data Extraction nodes are ideal when you need to:
  • Collect customer information (name, email, phone)
  • Gather order details
  • Capture booking requirements
  • Validate input formats
Data Extraction nodes are colored purple on the canvas.

Configuration

Extraction Method

The agent asks for each variable directly:
Best for: Forms, registrations, structured data collection

Max Attempts

Number of times to retry if validation fails (default: 3). After max attempts, the conversation continues without the variable (if not required) or triggers a fallback transition.

Variables

Each variable defines a piece of information to collect:

Variable Properties

Variable Types

Validation Patterns

Use regex patterns to validate format:

Transitions

Data Extraction nodes support special transition types:

All Extracted Transition

Automatically fires when all required variables have been collected:

Example Configurations

Using Extracted Variables

Once collected, variables can be used in:
  • Subsequent prompts: Reference as {{variable_name}}
  • If/Else conditions: Branch based on values
  • Function calls: Pass to external systems
  • Transfer briefings: Include in human transfer context

Best Practices

Ask One Thing at a Time

Don’t overwhelm callers. Collect variables sequentially.

Explain Format Requirements

If validation is strict, tell callers the expected format upfront.

Make Optional Fields Optional

Don’t require information you don’t actually need.

Handle Failures Gracefully

Set reasonable max attempts and provide fallback paths.

If/Else Stage

Branch based on extracted data

Transitions

Configure extraction-based routing

Calendar Booking

Book appointments with extracted data