aparavi-dtc-pii

n8n community node for PII and HIPAA data anonymization using Aparavi DTC API. Detect and censor personally identifiable information and healthcare data in n8n workflows.

Package Information

Released: 9/13/2025
Downloads: 39 weeklyĀ /Ā 100 monthly
Latest Version: 1.1.20
Author: James Tucker

Documentation

Aparavi PII & HIPAA Censor Node for n8n

A powerful n8n community node that provides flexible PII (Personally Identifiable Information) and HIPAA healthcare data censoring using the Aparavi DTC (Data Transformation Cloud) service. This node can handle any type of input data and automatically detect and censor PII and healthcare data according to various compliance standards including GDPR, HIPAA, and other privacy regulations.

šŸš€ Get Started: First, sign up for your free Aparavi API key at https://dtc.aparavi.com/usage

Features

  • PII & HIPAA Censoring: Detects and censors both personally identifiable information and healthcare data
  • Compliance Ready: Supports GDPR, HIPAA, and other privacy regulations
  • Flexible Input Handling: Accepts any input from previous nodes (text, JSON, arrays, objects)
  • Auto-detection: Automatically detects input type and processes accordingly
  • Multiple Data Types: Supports USA PII, International PII, and Healthcare Data (HIPAA)
  • Field-specific Processing: Process all fields or specific fields only
  • Preserve Structure: Maintains original data structure while censoring sensitive data
  • Batch Processing: Efficiently processes arrays and collections
  • Error Handling: Robust error handling with continue-on-fail support

šŸš€ Get Your Free API Key

Before you start, you'll need a free Aparavi API key:

šŸ‘‰ Sign up at https://dtc.aparavi.com/usage šŸ‘ˆ

This takes just 2 minutes and gives you access to powerful PII and HIPAA censoring capabilities.

Quick Start

Step 1: Get Your API Key

Sign up for your free Aparavi API key: https://dtc.aparavi.com/usage

Step 2: Install the Node

  1. Open n8n and go to Settings → Community Nodes
  2. Click Install a community node
  3. Enter the package name: n8n-nodes-aparavi-dtc-pii
  4. Click Install
  5. The node will be automatically available in the Transform category

Step 3: Configure Credentials

  1. Go to n8n Settings > Credentials
  2. Add new credential of type "Aparavi API"
  3. Enter your API key from Step 1
  4. Test the connection

Package Information

Configuration

API Key Setup

If you haven't already, get your free Aparavi API key:

  1. Visit: https://dtc.aparavi.com/usage
  2. Sign up for a free account or log in
  3. Generate your API key from the dashboard
  4. Copy the API key for use in n8n

n8n Credentials Setup

  1. Go to n8n Settings > Credentials
  2. Add new credential of type "Aparavi API"
  3. Enter your API key from above
  4. Test the connection to ensure it's working

Node Parameters

PII Type

  • USA PII: Detects and censors USA-specific PII (SSN, driver license, etc.)
  • International PII: Detects and censors international PII (passport, phone, etc.)
  • Healthcare Data (HIPAA): Detects and censors healthcare data under HIPAA regulations

Input Data Mode

  • All Fields: Process all fields in objects/arrays
  • Specific Fields: Process only specified fields (comma-separated list)

Fields to Process

  • Comma-separated list: Specify which fields to process when using "Specific Fields" mode
  • Example: name,email,phone,ssn,address

Usage Examples

Basic Text Censoring

Input:

"John Smith, SSN: 123-45-6789, Phone: (555) 123-4567, Email: john@example.com"

Output:

"ā–ˆā–ˆā–ˆā–ˆ ā–ˆā–ˆā–ˆā–ˆ, SSN: ā–ˆā–ˆā–ˆ-ā–ˆā–ˆ-ā–ˆā–ˆā–ˆā–ˆ, Phone: (ā–ˆā–ˆā–ˆ) ā–ˆā–ˆā–ˆ-ā–ˆā–ˆā–ˆā–ˆ, Email: ā–ˆā–ˆā–ˆ@ā–ˆā–ˆā–ˆ.ā–ˆā–ˆā–ˆ"

Configuration:

{
  "piiType": "usa"
}

Object Processing (All Fields)

Input:

{
  "name": "Jane Doe",
  "email": "jane.doe@example.com",
  "ssn": "987-65-4321",
  "phone": "(555) 987-6543",
  "address": "123 Main St, New York, NY 10001"
}

Output:

{
  "name": "ā–ˆā–ˆā–ˆā–ˆ ā–ˆā–ˆā–ˆā–ˆ",
  "email": "ā–ˆā–ˆā–ˆā–ˆ@ā–ˆā–ˆā–ˆ.ā–ˆā–ˆā–ˆ",
  "ssn": "ā–ˆā–ˆā–ˆ-ā–ˆā–ˆ-ā–ˆā–ˆā–ˆā–ˆ",
  "phone": "(ā–ˆā–ˆā–ˆ) ā–ˆā–ˆā–ˆ-ā–ˆā–ˆā–ˆā–ˆ",
  "address": "ā–ˆā–ˆā–ˆ ā–ˆā–ˆā–ˆ ā–ˆā–ˆ, ā–ˆā–ˆā–ˆ ā–ˆā–ˆā–ˆ, ā–ˆā–ˆ ā–ˆā–ˆā–ˆā–ˆā–ˆ"
}

Configuration:

{
  "piiType": "usa",
  "inputDataMode": "all"
}

Specific Fields Only

Input:

{
  "name": "John Smith",
  "email": "john@example.com",
  "ssn": "123-45-6789",
  "notes": "Customer prefers email communication",
  "orderId": "ORD-12345"
}

Output:

{
  "name": "ā–ˆā–ˆā–ˆā–ˆ ā–ˆā–ˆā–ˆā–ˆ",
  "email": "john@example.com",
  "ssn": "ā–ˆā–ˆā–ˆ-ā–ˆā–ˆ-ā–ˆā–ˆā–ˆā–ˆ",
  "notes": "Customer prefers email communication",
  "orderId": "ORD-12345"
}

Configuration:

{
  "piiType": "usa",
  "inputDataMode": "specific",
  "fieldsToProcess": "name,ssn"
}

HIPAA Healthcare Data

Input:

{
  "patientName": "Alice Williams",
  "ssn": "111-22-3333",
  "medicalRecord": "Patient Alice Williams has hypertension, prescribed Lisinopril 10mg",
  "insuranceNumber": "BC123456789",
  "dateOfBirth": "1975-04-12"
}

Output:

{
  "patientName": "ā–ˆā–ˆā–ˆā–ˆ ā–ˆā–ˆā–ˆā–ˆā–ˆā–ˆā–ˆ",
  "ssn": "ā–ˆā–ˆā–ˆ-ā–ˆā–ˆ-ā–ˆā–ˆā–ˆā–ˆ",
  "medicalRecord": "Patient ā–ˆā–ˆā–ˆā–ˆ ā–ˆā–ˆā–ˆā–ˆā–ˆā–ˆā–ˆ has hypertension, prescribed ā–ˆā–ˆā–ˆā–ˆā–ˆā–ˆā–ˆā–ˆ 10mg",
  "insuranceNumber": "ā–ˆā–ˆ-ā–ˆā–ˆā–ˆā–ˆ-ā–ˆā–ˆā–ˆ",
  "dateOfBirth": "ā–ˆā–ˆā–ˆā–ˆ-ā–ˆā–ˆ-ā–ˆā–ˆ"
}

Configuration:

{
  "piiType": "hipaa"
}

Array Processing

Input:

[
  {
    "name": "John Smith",
    "ssn": "123-45-6789",
    "email": "john@company.com"
  },
  {
    "name": "Jane Doe", 
    "ssn": "987-65-4321",
    "email": "jane@company.com"
  }
]

Output:

[
  {
    "name": "ā–ˆā–ˆā–ˆā–ˆ ā–ˆā–ˆā–ˆā–ˆ",
    "ssn": "ā–ˆā–ˆā–ˆ-ā–ˆā–ˆ-ā–ˆā–ˆā–ˆā–ˆ",
    "email": "ā–ˆā–ˆā–ˆā–ˆ@ā–ˆā–ˆā–ˆ.ā–ˆā–ˆā–ˆ"
  },
  {
    "name": "ā–ˆā–ˆā–ˆā–ˆ ā–ˆā–ˆā–ˆ",
    "ssn": "ā–ˆā–ˆā–ˆ-ā–ˆā–ˆ-ā–ˆā–ˆā–ˆā–ˆ", 
    "email": "ā–ˆā–ˆā–ˆā–ˆ@ā–ˆā–ˆā–ˆ.ā–ˆā–ˆā–ˆ"
  }
]

Configuration:

{
  "piiType": "usa"
}

Supported Data Types

USA PII

  • Social Security Numbers (SSN)
  • Driver's License Numbers
  • Phone Numbers
  • Email Addresses
  • Physical Addresses
  • Credit Card Numbers
  • Bank Account Numbers

International PII

  • Passport Numbers
  • International Phone Numbers
  • National ID Numbers
  • International Addresses
  • Various country-specific identifiers

Healthcare Data (HIPAA)

  • Patient Names and Identifiers
  • Medical Record Numbers
  • Health Insurance Numbers
  • Medical Conditions and Diagnoses
  • Treatment Information
  • Provider Information
  • Prescription Information
  • Medical Device Serial Numbers

Error Handling

The node includes comprehensive error handling:

  • Connection Errors: Handles API connection issues
  • Validation Errors: Validates input data and parameters
  • Processing Errors: Handles individual item processing failures
  • Continue on Fail: Option to continue processing other items if one fails

License

MIT License - see LICENSE file for details.

Support

Need help? We're here to assist:

  1. Aparavi Discord: Join our Discord community and visit the #technical-support channel for real-time help
  2. GitHub Issues: Report problems or request features
  3. n8n Community: n8n Community Forum for n8n-specific questions
  4. API Key Help: Get your free API key if you haven't already

Changelog

v1.1.1

  • Enhanced PII and HIPAA data detection
  • Improved error handling and validation
  • Streamlined configuration options
  • Updated documentation and examples

v1.0.0

  • Initial release
  • Support for USA PII, International PII, and HIPAA data
  • Flexible input handling for any data type
  • Comprehensive error handling

Discussion