Skip to main content
Loading...
Skip to article
  • Qualtrics Platform
    Qualtrics Platform
  • Customer Journey Optimizer
    Customer Journey Optimizer
  • XM Discover
    XM Discover
  • Qualtrics Social Connect
    Qualtrics Social Connect

Redact and Substitute Data Task


Was this helpful?


This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

The feedback you submit here is used only to help improve this page.

That’s great! Thank you for your feedback!

Thank you for your feedback!


Qtip: This is a feature we intend to release starting January 7, 2026. Qualtrics may, in its sole discretion and without liability, change the timing of any product feature rollout, change the functionality for any in preview or in development product feature, or choose not to release a product feature or functionality for any reason or for no reason.

About the Redact and Substitute Data Task

The Redact and Substitute data task is a transformation task that can be added to an ETL workflow. The task will redact or substitute data from an extractor task using your redaction or substitution rules. You can choose to redact or substitute specific fields within your data source, or all fields. This can be useful if your loader task is bringing sensitive data into your workflow that you’d like to protect, like customer contact or payment information.

Qtip: Voice data cannot be used with the Redact and Substitute Data task.
Warning: This task does not automatically recognize and redact PII. If you set up a task to redact or substitute a field containing PII, keep in mind you must manually account for all potential forms of PII in this field when setting up your task configuration. Any PII that does not match the criteria set up in your redaction or substitution rule will still be visible.

Setting Up a Redact and Substitute Data Task

  1. Click the navigation menu in the top-left corner.
    selecting workflows from the global navigation menu
  2. Choose Workflows.
  3. Navigate to an existing ETL workflow, or create an ETL workflow with an extractor task and a loader task.
  4. Click the plus sign (+) underneath your extractor task.
    adding a task to the workflow
  5. Select Add a task.
  6. Select Redact and Substitute data.
    selecting the redact and substitute data task
  7. Select a data source from the tasks you’ve already configured in the workflow.
    dropdown to select a data source and button to add a redaction rule
  8. Click Add new redaction rules to add a redaction rule.
  9. Use the dropdown to select a field or fields to redact from. You can also select Redact all fields to create a rule that redacts every field in your data source.
    configuring a redaction rule

    Qtip: Redacted fields will be replaced with ‘XXXX’.
  10. To manually enter your redaction rule, input the regex(es) to redact in the text box. You must use RE2 regular expression syntax, and multiple regexes must be separated by line breaks.
  11. To upload your redaction rule, select Choose file and upload a text file with your regex(es).
    additional configuration steps for a redaction rule

    Qtip: Select Download a sample file to download a sample text file with regex.
  12. To test your redaction rule, enter a sample value in the text box. You can then preview what the result will be after your redaction rule is applied.
  13. Once you’ve finished configuring your rule, click Save.
  14. To add more redaction rules, repeat steps 8-13. You can also click the 3 horizontal dots to edit or delete an existing rule.
    button to edit or delete a redaction rule
  15. Click Add new substitution rules to add a substitution rule.
    button to add a new substitution rule
  16. Use the dropdown to select a field or fields to substitute from. You can also select Substitute all fields to create a rule that substitutes every field in your data source.
    configuring a substitution rule
  17. To manually enter your substitution rule, input the strings to substitute and their replacements in the text box, separated by a colon. Each line is a new substitution.
  18. To upload your substitution rule, select Choose file and upload a text file with your substitutions.
    finalizing configuration of a substitution rule

    Qtip: Select Download a sample file to download a sample text file with regex.
  19. To test your substitution rule, enter a sample value in the text box. You can then preview what the result will be after your substitution rule is applied.
  20. Once you’ve finished configuring your rule, click Save.
  21. To add more substitution rules, repeat steps 15-20. You can also click the 3 horizontal dots to edit or delete an existing rule.
    saving a substitution rule
  22. When you’re finished adding redaction and substitution rules, click Save.