How to Build AI Agents with OpenAI Agent Builder vs n8n — Step-by-Step Tutorial
By Zubair Trabzada | AI Workshop
Key Concepts
- No-code AI Agent: An artificial intelligence agent built and deployed without writing traditional programming code, relying on visual interfaces and pre-built components.
- OpenAI Agent Builder: A new, proprietary platform by OpenAI designed for creating AI agents with a visual workflow interface.
- N8N: A powerful and popular open-source no-code automation platform that allows users to connect various applications and build complex workflows, including AI agents.
- Node: A fundamental building block in a visual workflow, representing a specific action, trigger, or component (e.g., "Agent" node, "Start" node).
- Trigger Node: The initial node in a workflow that starts the execution process, often based on an event or input.
- AI Agent Node: A specific node within a workflow that encapsulates the logic and behavior of an AI agent, including its instructions, model, memory, and tools.
- Instructions (System Message): Textual directives provided to an AI model or agent to define its desired behavior, tone, tool usage, and response style.
- Chat History (Memory): A feature that enables an AI agent to remember and refer to previous interactions within a conversation, providing context for ongoing dialogue.
- Large Language Model (LLM): An advanced AI model capable of understanding, generating, and processing human language (e.g., GPT-5, Claude Sonnet, Google Gemini, Llama).
- Tools: External functionalities or integrations that an AI agent can access and utilize to perform specific tasks (e.g., web search, Wikipedia, Google Calendar, CRM systems).
- Output Format (JSON, Enum): The structured way an AI agent delivers its response. JSON (JavaScript Object Notation) is a common format for structured data, while Enum (Enumeration) defines a fixed set of possible values.
- MCP Servers (Multi-Cloud Platform Servers): A feature in OpenAI Agent Builder that allows connection to third-party services and applications (e.g., Zapier, Shopify, Gmail).
- VPS (Virtual Private Server): A virtualized server environment that provides dedicated resources and allows users to host applications, offering greater control, privacy, and often cost-effectiveness compared to cloud-managed services.
- Hostinger VPS N8N: A specific solution for hosting N8N workflows and AI agents on a Hostinger Virtual Private Server.
Comprehensive Guide to Building No-Code AI Agents with OpenAI Agent Builder and N8N
This video provides a detailed, beginner-friendly tutorial on constructing no-code AI agents using two prominent platforms: OpenAI's new Agent Builder and N8N, a leading no-code automation platform. It explores their features, demonstrates step-by-step agent creation, and compares their key differences to help users choose the best tool for their projects.
1. OpenAI's Agent Builder: Step-by-Step Agent Creation
The tutorial begins with OpenAI's Agent Builder, accessible via platform.openai.com/agent-builder. Users need an OpenAI account to proceed.
1.1. Workflow Initialization and Node Management
- Creating a Workflow: Upon logging in, users click "Create" to start a new workflow, which automatically includes a "Start my agent" trigger node. This node cannot be deleted as it initiates the workflow.
- Adding an Agent Node: From the left-hand sidebar, users can drag and drop an "Agent" node onto the canvas.
- Connecting Nodes: The "Start" trigger node is connected to the "Agent" node by dragging a connection from the trigger's output to the agent's input, establishing the workflow's initiation.
1.2. Agent Configuration (Customer Service Classification Agent Example)
- Naming the Agent: The agent node can be renamed; for the example, it's named "Classification Agent."
- Instructions: This crucial section defines the agent's behavior. The example instruction is: "classify the user's intent into one of the following categories: Return item, cancel subscription, or get information." This dictates the agent's core function.
- Include Chat History: Toggling this on provides the agent with memory, allowing it to remember past conversations for more coherent interactions.
- Model Selection: Users can choose from available OpenAI models (e.g., GPT-5 is selected for this example). "Reasoning effort" is kept at "low."
- Tools: While not used in this simple example, the platform allows adding tools like web search.
- Output Format (JSON with Enum Schema): To ensure structured responses, "JSON" is selected as the output format. A schema is then added:
- Property Name:
classification - Description:
classify users intent - Type:
enum(Enumeration) - Enum Values:
Return item,Cancel subscription,Get information(matching the instructions). This forces the agent to classify user intent into one of these predefined categories.
- Property Name:
1.3. Testing the OpenAI Agent
- Preview Mode: Clicking "Preview" opens a test chat interface.
- Interaction:
- Input 1: "Hello, I want to cancel my subscription."
- Output 1: The agent correctly classifies the intent as
cancel subscription. - Input 2: "Hi, I want to return my purchase."
- Output 2: The agent correctly classifies the intent as
return item.
- Extensibility: The video notes that further nodes (e.g., "if/else" statements) can be added to create more complex workflows based on the classification output.
2. N8N AI Agent: Step-by-Step Agent Creation
The tutorial then shifts to N8N, emphasizing its flexibility and broader tool access. Users can create a free account via the provided link.
2.1. Workflow Initialization and Agent Setup
- Blank Canvas: Users start with a blank N8N canvas.
- Adding an AI Agent Node: Click the plus button, search for "AI agent," and select it. This automatically inserts the AI agent node.
- Chat Model Configuration:
- Click "Chat Model" within the agent node.
- Click the plus button to reveal various LLM options: Anthropic, Google's Gemini, OpenAI, etc.
- OpenAI Selection: OpenAI is chosen for consistency with the previous example.
- Credentials: Users must add their OpenAI API key by creating new credentials, pasting the key, and saving.
- Model Choice: GPT-5 is selected.
- Memory: "Simple memory" is enabled to give the agent the ability to remember past conversations.
- Tools: The video demonstrates adding "Wikipedia" as a tool, granting the agent internet access for information retrieval. N8N offers a wide array of tools, including Google Calendar and other applications.
2.2. Agent Configuration (Wikipedia Search Agent Example)
- System Message (Instructions): Double-clicking inside the AI agent node opens its interface. The default "You're a helpful assistant" system message is modified to: "use the Wikipedia tool... to answer users inquiries." This instructs the agent to leverage the Wikipedia tool for information.
2.3. Testing the N8N Agent
- Open Chat: Click "Open Chat" to initiate a test conversation.
- Interaction:
- Input: "Hello, what is the capital of Spain?"
- Output: The agent uses the Wikipedia tool to find the answer and responds with "Madrid."
3. Comparison: OpenAI Agent Builder vs. N8N AI Agent
The video concludes with a side-by-side comparison, highlighting key differences and advantages of each platform.
3.1. User Interface (UI)
- N8N Preference: The presenter prefers N8N's UI due to its visual feedback during workflow execution, showing which nodes are being initiated.
- OpenAI Agent Builder: Described as newer, with fewer visual tools and customization options currently available.
3.2. Customization and Tools
- OpenAI Agent Builder: Offers access to various tools, including "MCP servers" for connecting to third-party services like Zapier, Shopify, Gmail, and Google Calendar.
- N8N: Provides access to a significantly wider range of built-in tools and integrations, making it highly versatile.
3.3. Large Language Model (LLM) Flexibility
- OpenAI Agent Builder: Restricted to OpenAI's own LLMs (e.g., GPT series).
- N8N: Offers access to multiple LLMs from different providers, including Anthropic (Claude Sonnet), Google (Gemini), and Llama. This allows users to select the best model for specific tasks (e.g., Claude Sonnet 4.5 is noted as excellent for coding). This is a major advantage for N8N.
3.4. Hosting Options and Privacy
- OpenAI Agent Builder: Cloud-hosted by OpenAI, with no option for self-hosting.
- N8N: Can be hosted on the cloud, a private server, or locally.
- VPS Hosting (Hostinger Example): The video details how to host N8N on a Virtual Private Server (VPS) using Hostinger.
- Process:
- Select a Hostinger VPS plan (e.g., KVM2, 24 months for best deal).
- Apply coupon code
AI workshopfor an additional 10% off (e.g., 24 months for $150). - Choose server location and select "N8N" as the application for the operating system.
- Complete signup/login and payment.
- Access the Hostinger dashboard, click "Manage" for the VPS, then "Manage App" to open the N8N instance.
- Benefits: Offers privacy and cost-effectiveness compared to cloud accounts, as the N8N instance runs on the user's own private server (e.g.,
n8n.srv.hostinger.cloud).
- Process:
- VPS Hosting (Hostinger Example): The video details how to host N8N on a Virtual Private Server (VPS) using Hostinger.
4. Synthesis and Conclusion
Both OpenAI's Agent Builder and N8N offer powerful ways to create no-code AI agents. OpenAI's platform is new and user-friendly for those already within the OpenAI ecosystem, but it is currently limited to OpenAI's LLMs and cloud hosting. N8N, on the other hand, provides greater flexibility with access to a broader range of LLMs and tools, along with the significant advantage of self-hosting options like VPS, which offers enhanced privacy and potentially lower long-term costs. The choice between the two depends on specific project requirements, desired LLM flexibility, and hosting preferences. The video encourages viewers interested in advanced AI agent development and launching an AI agency to explore the community link provided for comprehensive courses.
Chat with this Video
AI-PoweredLoad the transcript when you're ready to chat so the initial page stays lighter.
Related Videos

Why Does This Guy Appear In Kids Videos?
sphynx

TIC en las Organizaciones - Electiva Complementaria II Unisimon
Julieth Güell S

How to Tame Your Advice Monster | Michael Bungay Stanier | TED
TED

Margaret Heffernan: Why it's time to forget the pecking order at work
TED

The importance of psychological safety: Amy Edmondson
The King's Fund

What Is Psychological Safety?
Harvard Business Review

13-Conflict Management: Listening in Conflict
Deliberate Development