Skip to main content

Extract Dynamic Variables

Overview

The Extract Dynamic Variables function allows your agent to identify and extract specific pieces of information from user conversations for use in other functions or data storage.

When to use

  • Collect user information
  • Extract contact details
  • Capture preferences
  • Identify intent
  • Parse structured data

Configuration

Variable Types

  • Text - String values
  • Number - Numeric values
  • Email - Email addresses
  • Phone - Phone numbers
  • Date - Date and time values
  • Boolean - True/false values
  • Custom - Business-specific formats

Extraction Methods

  • Pattern Matching - Regex patterns
  • Entity Recognition - NLP-based extraction
  • Context Analysis - Conversation context
  • Validation Rules - Format validation

Implementation

Common Use Cases

Lead Generation

  • Name extraction
  • Contact information
  • Company details
  • Interest areas

Appointment Booking

  • Date/time preferences
  • Service type
  • Contact details
  • Special requirements

Support Requests

  • Issue description
  • Account information
  • Urgency level
  • Contact preferences

Best Practices

  • Define clear variable types
  • Use appropriate validation
  • Handle extraction failures
  • Confirm extracted values
  • Store securely

Next Steps