Marketing Data Pipelines: How I Build Mine Without SQL

A data man in 2019. Too much paper, too little sleep, and still not sure which number was right.

“Marketing data pipeline, this article should be the easiest option to read for this cluster, but the hardest one to write, since I will explain everything I know about data in primary-school English, so that you can do it once you’ve finished reading this article.

Simple definition: a marketing data pipeline is the path your marketing data takes, from the source into a raw copy, then cleaned, then compared in a report.

I am writing this while AI agents are scraping the web in the background. My MacBook hasn’t been fully asleep for the last 12 months. I only shut it down twice because of overloaded RAM and to update macOS.

Data is becoming a part of every role

Data people can be fun too. We just needed someone else to check the rows for us.
Data people can be fun too. We just needed someone else to check the rows together with us.

Big companies in banking, manufacturing or logistics hire full data teams. Smaller e-commerce, SaaS or service companies need the same work too, but it often has no job title: the marketer, the product person or the owner ends up doing it.

That sounds sad for data people. But to be honest, data analysis is becoming an essential skill in every role. In smaller companies, I don’t think it will be a separate role.

Let’s think about it this way: to evaluate your work, your company does a performance review. And where do the numbers that review you come from? It’s from your past work, and the achievement you have accomplished. Those achievements are measured in numbers, since it’s easier for owners and investors. Therefore, at least you will need to know a little bit of data to do your performance review.

I didn’t even have to master SQL to do data

I know this may sound scary to data people: a newbie like me can now learn data with Terminal AI like Claude Code.

I thought that I had to know SQL from top to toe in the middle of last year, in order to approach a data specialist position. Then I realized that, with the rise of AI, now I only need to know the logic of data, its basic principles, a little bit of coding language, then voila I can build my own marketing data pipelines. I only need to read the query AI writes: which tables it uses, how they join, and whether the final number makes sense. Otherwise, it is very easy to trust a wrong number.

Before I show you how I do it, let’s set up your stack

You will need at least one laptop with 16GB of RAM, along with a paid Claude subscription, since Claude Code (Claude in Terminal) needs a paid plan or API credits. Plans change often, so check Claude’s pricing page before you pay.

Why do we need Claude in Terminal?

A Claude desktop app wouldn’t work for this. Think of it this way: the app runs through a graphical user interface (UI). Yes, it looks prettier, but AI agents inside a chat window can’t easily reach the files, scripts and tools on your laptop. The desktop app can now connect to some local tools, but the terminal still gives the agent the most direct access. Letting Claude work inside your laptop’s terminal removes that barrier.

Why is RAM so important nowadays?

Usually, when you use AI in a web browser, another company’s giant computer does all the hard work. That doesn’t change in the terminal: Claude still thinks on Anthropic’s servers, not on your laptop. But your laptop now does everything around it: the browser that scrapes websites, the scripts that clean files, and the data you keep on disk. That is the work that needs RAM.

Think of your laptop like a tiny office:

  • Your hard drive (SSD) is a locked filing cabinet. It holds all your files safely when your laptop is off, but opening drawers to look for papers is slow.
  • Your RAM is the top of your desk. It is where you spread out the papers you are reading and working on right now.
  • Your processor (CPU) is you - a super-fast worker who can only grab things sitting right on top of the desk.

When Claude scrapes websites, cleans huge spreadsheets, or digs through your files, it pulls thousands of pieces of data onto your “desk” all at once.

If you only have 8GB of RAM, your desk is the size of a dinner tray. The moment you open Chrome, Slack, and an AI agent, papers start falling on the floor. Your laptop panics, starts stuffing things back into the slow filing cabinet just to make room, and your screen freezes or crashes.

Having at least 16GB of RAM gives you a big, wide dining table. Your AI agents can spread out all their work at the same time without knocking anything over - and when you close the app or turn off your laptop, the desk wipes itself clean for tomorrow.

So, what is data?

Every data point is a small light from the past. A data pipeline for marketers connects them, until they tell a story.
Every data point is a small light from the past. A data pipeline for marketers connects them, until they tell a story.

To me, data points are like milestones from the past. When we connect them, they form stories and lessons - essentially, history.

Historically, our understanding of the past comes from the records left behind by previous dynasties. The catch is that many different people record the same moment, leaving us with competing versions of events where no one truly knows the whole truth.

Data works the exact same way, especially when comparing old and new technology. Even just five years ago, before AI was popular, countless SEO tools claimed to extract the “most accurate” website metrics. Ironically, they all interpreted the exact same source, but with completely different logic. To find out which provider was actually right, I had to manually audit the numbers one by one.

Having worked in both the pre- and post-AI eras, I’ve learned how to read between the lines, compare the discrepancies, and most importantly, never trust presented data 100%.

So before I trust a number, I check five things:

  1. The row count matches the source
  2. I open at least 10 random rows and check them by hand
  3. I compare one key number with a second source
  4. The scraper keeps a log of pages that failed
  5. Both sides of a comparison use the same dates and the same metrics.

My process of building marketing data pipelines

To form any kind of data project inside your computer, there’s one solid way to do it. You may find different names for that, but trust me, there’s only one workflow:

Identify sources of data. It could be one, it also could be multiple. For me, it’s always multiple sources, and there are always two cases:

  1. Learning on our competitors:
    1. Each competitor will need its own folder. Big data teams call this a data lake; for one person, a folder with clear names is enough. But inside that folder, there are different data sources. For example: Website, Product research and Social Media.
    2. I would assign an AI agent to each competitor, then from one AI agent, I will use sub-agents to work on different sources, all under that competitor brand.
  2. Self-audit report:
    1. The folder is now our own brand, but we wouldn’t need to research our products or service. We will need to look at our past performance on different channels, to see where we stand.

To crawl the above two cases, I will need to create a plan. The plan normally includes two major parts: Acquire and Extract

Acquire means that you will need a copy of the data in your computer. That copy needs to be mirrored, as exact as it can, when comparing with the source. Keep this raw copy untouched, and put the date in its folder name (for example raw/2026-11-25/). Then you can always run the analysis again from the same starting point.

Then, it’s about extraction. You will need to have the same set of metrics for comparing items, to make sense out of it. If the key indicators are not equivalent, then the findings wouldn’t make sense.

For example, keeping the timeframe, key metrics, and seasonal factors consistent is essential to ensureyour final comparison to be meaningful.

The amazing thing is that, in my 101 data project, after removing all the messy noise, like heavy videos or images, left only with text and numbers, I realized that clean data is so light, that we can keep all of it on a laptop.

My folder for one project looks like this:

  • raw/ (copies of the sources, never edited)
  • clean/ (only text and numbers, after cleaning)
  • report/ (the tables and charts I show the boss).

A short marketing data pipeline has three steps: scrape into raw, clean into clean, compare into report. Acquire is the raw step. Extract is the clean and compare steps.

One warning before you scrape anything: read the website’s terms and its robots.txt, slow your scraper down so it doesn’t overload the site, and stay away from personal data like names, phone numbers and emails.

In Vietnam, personal data is protected by the Personal Data Protection Law (No. 91/2025/QH15), in force since 1 January 2026. Together with its guiding Decree 356/2025, it replaced Decree 13/2023. Brand pages and public numbers are what you need anyway.

With AI, I found things from my past work

My second data project was a brand audit. Sounds like a lot, and scary, right? I did all the steps, exactly like what I have explained earlier. Then this is what I found:

  1. For the past 16 months, organic impressions were much higher than paid, but most inbox messages came from paid campaigns.
  2. The posts with the most impressions got lots of interaction, but the posts with the fewest impressions brought the most leads. [ADD: the real numbers (rounded, brand name hidden), how you counted a lead (e.g. inbox messages tagged by campaign), and the exact time frame. Without this, readers can’t trust or repeat the finding.]

The wonderful thing here is that I don’t need to spend days or months to do the report. Now I just need a day or two, alongside my AI agents.

Advice for newbies

With data, you have to admit to yourself that you know nothing about it upfront. Start with a basic mindset, connect dots together, draw the logic on paper, then get AI involved once you have the basic understanding. Don’t do things in reverse! Without context and guidance AI can easily lead you to a wrong path. AI helps you do the work, not the thinking.

In the end, to do data well, you must know the business logic.

Instead of “What do I have to report today?”, let’s ask: “What is this business really about?”

Scroll to Top