Extraction Variables

FieldTypeDescription
config_data.extraction_configobjectCustom fields the AI must extract from every call transcript.

Structure:

json
{
  "config_data": {
    "extraction_config": {
      "fields": [
        {
          "key": "loan_amount",
          "type": "number",
          "instruction": "Loan amount the customer applies for",
          "filtering_enabled": true
        }
      ]
    }
  }
}
Sub-fieldTypeDescription
keystringVariable name, e.g. loan_amount. Free text; spaces become _.
typestring (enum)Expected data type: string · email · number · phone_number · boolean.
instructionstringWhat to extract and how.
filtering_enabledbooleanWhether this field can be filtered on in call logs. Default: false.

A campaign may define at most 10 extraction fields, and duplicate keys are rejected.