Skip to content
⌘K
InboxAsk a human

Data Enrichment

Updated by Vaishnavi

If you are looking to extract an ID from a URL, calculate response time, or turn country names into consistent country codes, Data Enrichment can do this using a configured function and save the result in a new feedback field.

Before you enable an enrichment

Data Enrichment applies configured functions to feedback, including AI classifications, calculations, and normalization. Review the function’s inputs, outputs, and supported data types before enabling it.

What is Data Enrichment?

Data Enrichment runs configured transformations on supported feedback events and stores the outputs for analysis. Available functions and configuration options depend on your workspace.

What types of Data Enrichment are supported?

Data Enrichment includes 3 main capability areas:

  1. AI-Powered Enrichment - Prompt-based functions like sentiment tracking across conversation lifecycles

  2. Data Calculations - Automated metric calculations and text-to-numeric conversions

  3. Data Normalization - Automated standardization and cleanup of inconsistent data formats

Getting Started

Accessing Data Enrichment

  1. Open Integrations, then select Manage Unified Fields.

  2. Select the Enrichment tab. If it is unavailable, ask your workspace administrator to check your enrichment-management permissions.

  3. Click the Create New Enrichment button

How Enrichment Works

Enrichment automates data transformations by connecting source events to built-in functions:

  • Objects: Feedback records to transform. Standard Data Enrichment functions do not currently support account objects.

  • Triggers: Events such as creation or update that initiate enrichment.

  • Functions: Pre-built processors (e.g., Sentiment Shift, Country Normalizer).

  • Actions: Where to store the enriched output fields.

Setting Up Your First Enrichment

  1. Objects:

    1. Select Feedback Record and click NEXT

  2. Trigger:

    1. Select Created or Updated as the trigger type.

    2. Select data sources to filter on

  3. Function:

    1. Select a function from the drop down menu

    2. Select the Input Column

      Sentiment Shift enrichment function with Feedback Conversation mapped as its input column.
  4. Action:

    1. Define column names for the output fields

    2. Click NEXT

  5. Details:

    1. Enter enrichment name and description

    2. Click the check box to run backfill for this enrichment

    3. Select date range to backfill enrichment data

    4. Click CREATE

Global Enrichments

Choose a function available in your workspace and check its inputs and settings before running it.

AI-Powered Enrichments

AI-powered functions use prompts to classify or extract information from feedback. Review the prompt and supported inputs, and check outputs against representative records.

Sentiment Shift

Sentiment Shift detects changes in sentiment during support conversations.

Use Cases:

  • Compare conversations with improving or worsening sentiment by support agent. Read the exchanges to see what happened.

  • Group conversations by topic to see where sentiment worsens or recovers.

  • Track sentiment recovery patterns across different channels

Configuration:

  • Select Sentiment Shift if it is offered for your workspace.

  • Automatically analyzes multi-turn conversations

  • Once enrichment runs, open an enriched feedback record and check the output field you named in Action.

Data Calculations

Use calculation functions to derive metrics from your feedback or convert values between formats.

Total Response Time

Purpose: Calculate elapsed time between selected source timestamps. For resolution time, use fields that actually represent creation and resolution; Updated At can also include later edits.

Benefits:

  • Filter by the derived time field once enrichment has completed and the field is available.

  • Compare the derived time values with sentiment data.

Setup:

  1. Select tickets/conversations data source

  2. Map the intended start and end timestamps, and confirm their units and meanings. Use a resolution timestamp for resolution time; an Updated At value is not necessarily the resolution event.

Data Normalization

Normalization functions can standardize supported inputs. Test representative values and inspect missing or unrecognized inputs before relying on the output.

Country Code Standardization

Purpose: Clean up inconsistent country representations across data sources.

Examples:

  • "US," "USA," "United States" → "US"

  • "UK," "United Kingdom," "Great Britain" → "GB"

Setup:

  1. Select a source.

  2. Choose the Country to ISO2 function.

  3. Select the field containing country data and map it as the function input.

  4. Specify a name for the new output field.

Country Name to ISO2 code function with the country-name metadata field selected as input.

Timestamp Conversion

Purpose: Convert epoch timestamps and inconsistent date formats into human-readable formats.

Examples:

  • 1625097600000 → "2021-07-01 00:00 UTC"

  • Various date formats → Standardized ISO format

Custom Enrichments

Ask your Enterpret team about a custom function if the built-in options cannot produce the field you need.

  • Industry-Specific Classifications: Custom categorization for your domain or business model

  • Advanced Pattern Recognition: Complex regex-based extractions for unique data formats

  • Specialized Calculations: Custom formulas for business-specific metrics

Common Custom Enrichment Examples

Qualitative Rating Conversion Convert your organization's specific text ratings into numeric scores for trending and analysis.

  • Example: "Excellent" → 5, "Good" → 3, "Needs Improvement" → 1

  • Why Custom: Each organization uses different rating scales and terminology

NPS response classification. Group valid ratings as promoters (9–10), passives (7–8), or detractors (0–6). If you use different cutoffs, name the groups so they’re clearly distinct from standard NPS.

URL Parameter Extraction Extract specific campaign data, user IDs, or tracking parameters from your website URLs.

  • Example: From "shop.com/products?source=facebook&user=12345" extract Source: facebook, User ID: 12345

  • Why Custom: URL structures and important parameters vary significantly by organization

Competitive Intelligence Tracking Identify mentions of your specific competitors in customer conversations.

  • Example: Detect mentions of "Competitor X" or "CompetitorY.com" with count and context

  • Why Custom: Each company has different competitors with various name variations

How to Request Custom Enrichments

  1. Identify Your Need: Describe the input and the output you need.

  2. Contact Your CSM: Discuss your use case and provide sample data

Derived account attributes

To use an ARR band, account creation month, or account creation quarter in your analysis, calculate that value in your source system or data pipeline before syncing the account. Send the derived value as an account attribute; standard Data Enrichment functions cannot calculate it on the account after ingestion.

For Accounts webhook payloads and examples, see Syncing Users and Accounts. Contact your Enterpret team to discuss account enrichment requirements.

Frequently asked questions

Can I create a field using my own combination of inputs or matching logic?

Depending on the inputs and rule, an available enrichment function or a custom function may help. Share example input values, the logic, and the expected output with your Enterpret team. Confirm the function supports the required inputs and test representative records, including missing or ambiguous values, before enabling it.

It may help prepare a matching value when the necessary information is already present. For example, a custom function could extract an explicitly supplied account identifier from a feedback field. The result must reliably identify the account and match the corresponding account value. Creating the enriched field does not configure the account link automatically; confirm the matching setup with your Enterpret team.

What if I only need to combine equivalent fields from different sources?

Use Unified Fields when the values already exist in equivalent feedback fields of the same data type. For example, combine App Store Rating and Play Store Score into one App Rating field for analysis.