How do I scrub / clean my json data feed?

You can use the field builder to customize and transform your data to meet your expectations. If you haven't already, consider creating a JSON data feed before continuing here.

Create a Custom Output

  1. Head to your task's Feeds settings (under Integrations)
  2. Select your feed from the list
  3. Under the first Field Builder drop-down menu, select the data you want to add to your custom output

    Note: You can optionally add a name to label the data in your custom output. Otherwise, it'll inherit the original name from the standard output.

  4. The second drop-down menu allows you to specify whether the data is Text or Number.
  5. Click Add Field

Repeat this process to add more fields to your custom output.

Using Transformations

Below is a quick breakdown of the transformation types and what they do.

  • Append - add something to the end of your data
  • Prepend - add something to the beginning of your data
  • Find and Replace - find something and replace it with something else
  • Lowercase - transform all text to lowercase
  • Uppercase - transform all text to uppercase
  • Titlecase - transform the first letter of every word to uppercase
  • Split By - use a separator to split some text (e.g. using a space to split first and last names)
  • Strip - removes white spaces from the beginning and end of text
  • Truncate - shortens the text by a specific number of characters

You can add a transformer to your data by clicking on the "x transformations" link in the field builder.

Examples

In the following example, we'll use the Split By and Find and Replace transformers to massage the text "by Josephine Loo ยท June 2023" into "Josephine Loo".

Check out Scrubbing Data on our Academy for a more on this topic. Feel free to reach out to our support team at [email protected] if you have any questions.

Have a question?

Contact our customer support team anytime via chat or email