What Is Relevance AI, Really?
You need to automate a process that requires a bit of thinking—like summarizing articles, categorizing leads, or drafting personalized emails. You’ve tried stringing together Zaps, but the logic gets messy fast. Writing Python scripts using OpenAI’s API is an option, but you don’t want to manage servers and dependencies. This is the exact gap Relevance AI is built to fill.
Think of it as a visual canvas for building AI-powered workflows, which they call agents. You drag and drop blocks representing tools (like a web scraper), language models (like GPT-4), and logic (like if/then conditions). You connect these blocks to pass data between them. It’s a proper AI agent framework designed for operators, not just developers. Honestly, for this kind of multi-step AI logic, it’s a much better fit than trying to chain a bunch of Zaps together. You get more control over the prompts and the data flow without the overhead of a full-blown coding environment.
The Anatomy of a Simple Research Agent
Before we build, let’s map out the components. Every useful agent I’ve ever built follows a similar pattern. You don’t just throw one big prompt at a model and hope for the best. You break the problem into a chain of specialized tasks. It’s more reliable and easier to debug.
AI Side Hustles
Practical setups for building real income streams with AI tools. No coding needed. 12 tested models with real numbers.
Get the Guide → $14
Our simple research agent will have five distinct parts:
- 1. Trigger: This is the starting point. It’s the data you provide to kick off the workflow. In our case, it will be a simple form where we input a topic and a URL to analyze.
- 2. Tool 1 (Scrape): The agent needs information. The first real step is to use a tool to fetch the raw content from the provided URL. This is often the first point of failure.
- 3. LLM Step (Summarize): We’ll feed the raw, scraped text to a language model. The prompt for this step will be highly specific: summarize the content from the perspective of a business analyst.
- 4. LLM Step (Categorize): We then take that clean summary—not the messy original text—and feed it to a second, different LLM step. Its only job is to classify the summary into one of a few predefined categories. One tool, one job.
- 5. Output: The final result. The agent presents the summary and the assigned category.
This multi-step approach is the core of building automations that don’t constantly break. Each node in the chain has one responsibility, making it predictable and fixable when something goes wrong.
What Most No-Code AI Guides Get Wrong
Most tutorials you’ll find show a perfect, one-shot demo. They paste in a URL, click run, and a beautiful summary appears. This is a lie. Production systems are never that clean. They ignore the three things that will absolutely wreck your automation: messy data, bad prompts, and tool failures.
They don’t tell you that half the websites out there will break a simple web scraper, feeding your agent a useless lump of JavaScript and menu links. They don’t explain that your prompt’s performance will degrade if the input text is full of garbage. They suggest your agent will just magically “understand” what to do.
They treat prompts like magic spells.
A real operator playbook focuses on defense. You have to assume the scraper will fail. You have to assume the LLM will hallucinate or return data in the wrong format. A good workflow isn’t just about the happy path; it’s about anticipating the unhappy paths and building in checks and balances.
Building the Research Agent: A Step-by-Step Example
Let’s build that competitor research agent. The goal: you provide your competitor’s homepage URL, and the agent returns a summary of their product and classifies them as B2B or B2C. Open up a new agent in Relevance AI and follow along.
1. Set Up Your Trigger (Inputs)
Every agent starts with inputs. In the visual editor, you’ll see a ‘Trigger’ node. Click it and define two inputs: a text field named topic_of_interest and another text field named url_to_research. This creates the form that starts the agent.
2. Add the Scraper Tool
Click the ‘+’ sign to add a new step. Search for the “Get Content from URL” tool. In its settings, you need to tell it which URL to fetch. You’ll use a variable from the trigger step. The field will look something like this: {{trigger.url_to_research}}. This dynamically pulls the URL you entered in the form.
3. Create the Summarization Prompt
Add another step, this time selecting the “LLM” node. This is where you talk to a model like GPT. We’re going to give it a very specific persona and task. Here’s the prompt:
You are a sharp business analyst. Your task is to read the text scraped from a company's website and provide a concise, one-paragraph summary. Focus only on three things: the core product being sold, the likely target customer, and any mention of a pricing model. Ignore marketing fluff. TEXT: {{steps.get_content_from_url.output.text}}
Notice we’re injecting the output from the scraper step directly into the prompt.
4. Create the Categorization Prompt
Add a second “LLM” node. This one will take the *output* of the summarizer, not the raw scraped text. This is key. A clean input yields a clean output.
Read the following business summary. Based on the text, categorize the company as one of the following: 'B2B SaaS', 'B2C Mobile App', 'Consulting Agency', or 'E-commerce Store'. Respond with ONLY the category name and nothing else. SUMMARY: {{steps.llm_1.output.text}}
Forcing the output format like this makes the result machine-readable, so you can use it in later steps (like updating a CRM field).
5. Define the Final Output
Finally, add an “Output” node. Create two output fields: summary and category. Map the output from the first LLM step to summary and the output from the second LLM step to category. Now when you run the agent, you get a clean, structured result.
