Skip to content
Learn › Start here: open the docs menu

Build your first data pipeline in Mammoth, step by step

Project Admin or Project Editor · Updated 9 Nov 2026

A pipeline is the ordered list of tasks in a view that cleans and reshapes a dataset, and runs again on new data. Here you load the built-in Multi-Store Retail Sales sample from Data > New dataset > Sample Files and build a three-task pipeline that filters rows, standardises values and adds a calculated column. You need the Project Admin or Project Editor role; a Project Viewer can't add data or tasks (Members, roles and custom roles).

For a shorter tour that ends with a shared dashboard, see the Quick start.

Step 1: Load the Multi-Store Retail Sales sample data

The steps below use the sample's column names.

  1. Click Data in the left sidebar, then New dataset.
  2. In Where do you want to add data from?, click Sample Files.
  3. On the Business tab, click the Multi-Store Retail Sales card.
  4. Click Create new dataset.
New Dataset dialog with Sample Files selected and the Multi-Store Retail Sales sample highlighted

The dataset appears in the Data Library: 51 rows of retail sales from five clothing stores. Other samples: Create data with AI or a sample file.

Upload your own file instead

  1. Click Data, then New dataset.
  2. Choose Upload (the default).
  3. Drag your file into the upload area, or click Upload file and pick it.
  4. Click Submit.

If Mammoth needs your input while it reads the file (for example, Choose how to read it or Extract sheets), the dataset says so. See Upload files for those prompts, formats and size limits.

Step 2: Open the dataset in a view

Click the new dataset in the Data Library, then Explore in its panel. The view shows:

PartWhere and what
data gridYour data, like a spreadsheet
Pipeline panelOn the left; first card Source, header "No tasks"
Describe your transformation box and blue + button (tooltip "Add a task")In the action bar; both open the Transform menu
Explore panelAbove the grid; a new view shows No cards yet, and Add card picks a column (Explore cards)
Freshly loaded View with an empty Pipeline panel showing only Source and the plus button, and Explore Cards above the data grid

Expected result: 51 rows, and the header reads "No tasks".

Step 3: Keep high-revenue orders with a Conditional Filter

Keep only orders with total revenue over 100.

  1. Click the blue + button. The Transform menu opens on AI Powered, with the Describe your transformation search box at the top. Its categories are AI Powered, Filter, Label & Replace, Date, Numeric & Text, Reshape, Group & Pivot, Column Management, Unify and Controls.
  2. Click Filter, Label & Replace, or type "filter" in the search box.
  3. Click Conditional Filter. The panel opens at the bottom of the view, in SQL mode.
  4. Click Builder (the SQL / Builder toggle is below the Describe what you want to generate bar).
  5. Leave Keep selected in front of "values where…" (Remove would drop the matching rows).
  6. Set Column to total_revenue, Operator to is greater than, and Value to 100.
  7. Click Apply.
Task picker opened from the plus button in the Pipeline panel, with the search box, the category list and the Filter, Label & Replace category expanded to show Conditional Filter and Remove Duplicate Rows Conditional Filter Function Panel set to keep rows where total_revenue is greater than 100

The Condition Summary below the builder restates the rule in words. In SQL mode you could type "total_revenue" > 100, or describe the rule in the Describe what you want to generate bar and click Generate. Every operator: Filter rows.

View of Multi-Store_Retail_Sales.csv with one Conditional Filter task in the pipeline, leaving 20 rows

A Conditional Filter card appears under Source. It ran straight away because Draft mode is off by default, and it runs again every time the pipeline runs.

Expected result: the header reads "1 Task", and the card's footer shows "20 rows", all with total_revenue above 100.

Step 4: Standardise product names with Bulk Replace

Bulk Replace replaces groups of variant values in a text column with one standard name per group. Mammoth suggests groups, and you can build your own.

  1. Click + > Filter, Label & Replace > Bulk Replace.

  2. Pick product_name as the column.

  3. Open the Group Suggestions tab.

  4. In Grouping Settings, choose how suggestions are made:

    Grouping settingHow it groups
    SmartUnderstands meaning and context (AI)
    Similarity (default)Groups by calculated similarity
    Spelling MatchGroups words with similar spelling
    Common PatternsGroups common word variations
  5. Click Add suggestion on a suggestion to turn it into a group, or Create all Group Suggestions to add them all.

The sample's product names are fairly consistent, so you may get few suggestions, and a suggestion can join two different products. Keep only groups whose values mean the same thing.

Build a group by hand

  1. Open the All Values tab.
  2. Tick Leather Jacket and Blazer.
  3. Click Add to New Group.
  4. Click the edit icon beside Group Name and name the group Jackets.
  5. Click Next. A summary lists each group and its values.
  6. Leave Place in set to the existing column.
  7. Click Apply.

Before you apply, a group's trash icon (Remove Group) takes it out. Every value in a group becomes the group's name; values in no group stay as they are. To move values between groups or catch new variants with rules, see Find and replace values.

Pipeline with two tasks, Conditional Filter and Bulk Replace, with Leather Jacket and Blazer now shown as Jackets in the grid

Expected result: the header reads "2 Tasks", and product_name shows Jackets where it showed Leather Jacket or Blazer.

Step 5: Add a Gross_Sale column with Math Function

  1. Click + > Date, Numeric & Text > Math Function. It opens in SQL mode.
  2. In the SQL Expression editor, type "quantity_sold" * "unit_price", or describe the calculation in the Describe what you want to generate bar and click Generate.
  3. Under Place in, choose new number column and name it Gross_Sale.
  4. Check the preview window above the panel.
  5. Click Apply.
Math Function panel with the expression "quantity_sold" * "unit_price", Place in new number column set to Gross_Sale, and a preview of the new column

For Formula mode, see Calculate with formulas.

View with three tasks in the pipeline, Conditional Filter, Bulk Replace and Math Function, and a Gross_Sale column in the grid, 20 rows and 20 columns

Expected result: the header reads "3 Tasks", and the new Gross_Sale column (scroll right) has a value on every row.

How the three tasks run in order

3 Tasks                                ← Pipeline panel header
Source                                 ← Your original data
├── 1. Conditional Filter              ← Runs first
│   Keep rows where total_revenue > 100
│
├── 2. Bulk Replace                    ← Runs second
│   product_name: Jackets group
│
└── 3. Math Function                   ← Runs last
    New column Gross_Sale

Each task works on the output of the task above it, starting from your original data, like a recipe.

Check the results before and after the pipeline

BeforeAfter
Rows51, with all revenue values20, all with total_revenue over 100
Product namesLeather Jacket and Blazer separateBoth replaced with Jackets
Gross_SaleNo columnA value on every row (20 columns in all)
Two stacked screenshots of the View: the source data with 51 rows and no tasks above, and the same View after three tasks with 20 rows and a Gross_Sale column below

Preview the data at one task

  1. Click the row count in a task card's footer (tooltip "Preview Data at this Task").
  2. A banner reads "Previewing Data at Task 1..." (with that task's number), and the grid shows the data right after that task.
  3. Click Exit Preview [Esc] or press Esc to go back.

Checking each task in turn shows where an issue starts. For single numbers, such as the sum of Gross_Sale, open the Metrics panel (Metrics).

Was this page helpful?

Something wrong? support@mammoth.io