“I built 500+ AI agents, here’s everything I know” - Nate Herk

David OndrejAbout 6 min readJun 23, 2025Watch original
THE SUMMARYAI-generated

Key Concepts:

  • AI Agents: Software entities designed to perform specific tasks autonomously, often leveraging large language models (LLMs).
  • N8N: A no-code/low-code platform for building automation workflows.
  • Human-in-the-Loop: A process where human input is integrated into an automated workflow for quality control, decision-making, or feedback.
  • System Prompting: Defining the behavior and objectives of an AI agent through a set of instructions.
  • Tool Calling: Enabling AI agents to access and utilize external tools or APIs to enhance their capabilities.
  • Data Manipulation: Transforming and organizing data to make it suitable for use in automated processes.
  • JSON: A lightweight data-interchange format commonly used in APIs.
  • APIs: Application Programming Interfaces, which allow different software systems to communicate and exchange data.
  • LLMs: Large Language Models, AI models trained on vast amounts of text data to generate human-like text.
  • Open Source: Software with publicly available source code, allowing for modification and distribution.
  • Dogfooding: Using one's own products or services to test and improve them.
  • QA Agents: AI agents designed to test and evaluate the performance of other AI systems.

AI-Powered Sales Automation Workflow

  • Overview: The video demonstrates an N8N workflow designed to automate the initial stages of a sales process using AI agents, incorporating human feedback for quality control. The workflow involves generating email copy, revising it based on human input, and sending it to leads.
  • Workflow Trigger: The workflow is initiated by an AirTable trigger, which is updated when a lead submits a form. This trigger can be swapped out for other triggers such as Slack or WhatsApp.
  • Sales Agent (Initial Copy):
    • The sales agent, powered by Claude 3.5 Sonnet, analyzes lead information (name, email, intent, budget, company name, project description, and timeline) to generate personalized email copy.
    • The agent's behavior is defined by a system message that instructs it to act as an expert salesperson with the goal of booking a meeting with the lead.
    • The agent uses a "project database" tool to access information about previous projects, which it incorporates into the email to build confidence.
    • The agent outputs a subject line and the email copy.
  • Set Node (Email Variable):
    • A "set node" is used to store the most recent version of the email copy in a variable called "email." This ensures that revisions are always based on the latest version, even after multiple iterations.
    • This node acts as the "source of truth" for the email copy.
  • Human Feedback Node:
    • The workflow sends an email to a designated approver (e.g., a sales manager) containing the generated email copy and lead information.
    • The approver can provide feedback via free text, which is captured by the workflow.
    • The human-in-the-loop node can be configured to use various communication channels, including Gmail, Discord, Slack, and Telegram.
  • Check Feedback Node:
    • An AI agent, using Flash 2.0, analyzes the human feedback to determine if the email is approved or denied.
    • The agent categorizes the feedback as either "approved" or "denied" based on predefined examples of approval and denial messages.
  • Revision Agent (Declined Path):
    • If the feedback is "denied," a revision agent, also powered by Claude 3.5 Sonnet, takes the most recent email copy and the human feedback as input.
    • The agent's system prompt instructs it to revise the email based on the feedback.
    • The revised email is then fed back into the "set node" to update the email variable.
  • Approved Path:
    • If the feedback is "approved," the workflow proceeds to send the final email copy to the lead.
  • Example:
    • A lead, Robert California, submits a form with a budget of $10-15K.
    • The sales agent generates an initial email copy.
    • The approver provides feedback: "Make this a bit more concise. Let's chat on Thursday."
    • The revision agent generates a revised email: "Would you be available this Thursday for a 30-minute call?"
    • The approver approves the revised email with the message "Good to go."
    • The final email is sent to Robert California.

Building AI Automations with N8N

  • Ease of Use: The presenter emphasizes that the workflow is relatively simple and linear, making it suitable for beginners.
  • Modular Design: N8N's modular design allows users to easily copy and paste building blocks from different workflows.
  • Templates: N8N offers thousands of templates that users can customize to fit their specific needs.
  • Customization: Users can customize the trigger, AI agent prompts, and communication channels to adapt the workflow to various use cases, such as hiring or customer support.
  • Foundational Skills: The presenter highlights the importance of developing foundational skills such as creative problem-solving and data manipulation, rather than focusing solely on specific tools.
  • Mastery vs. Tool Switching: It's more important to master a tool than to constantly switch between different tools.

The Future of AI Automation

  • AI Agents + Humans: The presenter believes that AI agents working in conjunction with humans will be the dominant workflow for the next 3-4 years.
  • Exponential Growth: The rapid development of AI can be intimidating, but users can maintain control by implementing AI correctly.
  • Compounding Time Savings: Automating processes that compound over time, such as lead response, can significantly grow a business.
  • Customization and Integrations: Despite the potential for larger companies to implement similar features, N8N's customization and integration capabilities will remain valuable.
  • Open Source Advantage: N8N's open-source nature fosters trust and allows users to understand and modify the platform.
  • AI-First Approach: N8N's AI-first approach and rapid implementation of new AI features give it a competitive edge.
  • System Prompting Evolution: As AI models become more intelligent, the need for extensive system prompting may decrease.
  • Data Importance: The value of data and context will continue to be crucial for building effective AI systems.
  • Judgment and Taste: As AI automation becomes more accessible, the ability to identify which processes to automate and optimize will become increasingly important.
  • Adaptability: The ability to adapt to new tools and AI models is essential for staying at the cutting edge.
  • Community: Joining communities of like-minded individuals is a valuable way to learn and stay informed.

Nate's Recommendations for Staying at the Cutting Edge:

  • Stay as close to the AI space as possible.
  • Experiment with different tools and technologies.
  • Focus on no-code solutions.
  • Learn from others in the community.

Common Mistakes Made by N8N Beginners:

  • Jumping straight into agents without understanding workflows.
  • Moving too fast without understanding basic concepts like APIs.
  • Failing to document the steps of the workflow before building it.
  • Not understanding error messages.

Key Quotes:

  • "AI agents plus humans that really is the next few years."
  • "The mastery is way more important than choosing the tool."
  • "Data is priceless."
  • "If you're not the number one user of your own product, you're going to get destroyed."
  • "Stay as close to it as possible."
  • "Explain it to me like I'm five."
  • "If you're not using GPT-4 three hours a day to skill max, you're not going to make it." - Sam Altman (paraphrased)

Conclusion:

The video provides a detailed overview of an AI-powered sales automation workflow built with N8N, highlighting the platform's ease of use, customization capabilities, and AI-first approach. It emphasizes the importance of human-in-the-loop processes, foundational skills, and continuous learning for success in the rapidly evolving field of AI automation. The speakers encourage viewers to embrace the opportunity to build and deploy AI-powered solutions, emphasizing that the value lies not only in the tools themselves but also in the judgment, taste, and adaptability of the individuals who wield them.

AI summaries can miss context or contain errors. Check important details against the original video.

MAKE IT YOURS

Read. Remember. Reuse.

Free tools

Go a little deeper.

Have a question about this video? Load its transcript to open the video chat.