Claude Code can build any AI Agent in n8n… just watch

David OndrejAbout 5 min readAug 3, 2025Watch original
THE SUMMARYAI-generated

Key Concepts

  • Cloth Code: An AI tool that generates NA10 workflows from plain English prompts.
  • NA10: A no-code workflow automation platform.
  • MCP (Managed Code Package): A tool that provides Cloud Code with the necessary information and documentation to build reliable NA10 automations.
  • VPS (Virtual Private Server): A hosting solution for running NA10 workflows 24/7.
  • Vectal: David Andre's AI-powered task management tool.

Creating NA10 Workflows with Cloth Code

Introduction

David Andre demonstrates how to use Cloth Code to create NA10 workflows by simply typing in plain English. He emphasizes that this approach doesn't require programming skills and can significantly speed up automation development.

Initial Attempt: Building a JSON File

  1. Prompting Cloth Code: The initial approach involves using Cloth Code to generate a JSON file that can be imported into NA10.
  2. Example Prompt: The example prompt aims to create an "advanced calendar optimizer agent."
  3. Importing into NA10: The generated JSON file is imported into NA10 by clicking "Create Workflow," then the three dots, and selecting "Import from file."
  4. Limitations: The resulting workflow is incomplete, with unconfigured nodes and incorrect tool selections (e.g., using an HTTP node instead of a dedicated tool). This method requires significant manual correction.

Improved Method: Using MCP (Managed Code Package)

  1. MCP Introduction: David introduces the concept of MCPs as a more reliable way to build NA10 automations with Cloth Code.
  2. MCP Setup:
    • Install MCP: Run the command npx n10 mcp in the terminal to activate the MCP server.
    • Configure MCP: Create an mcp.json file and paste the basic configuration from the provided GitHub repository (link in the video description).
  3. Cloth Code Integration: Create a new Cloth Code instance to detect the configured MCP server. Approve the use of the MCP server when prompted.
  4. Prompting with MCP: Use a prompt that instructs Cloth Code to utilize the MCP.
  5. Benefits of MCP: MCP enables Cloth Code to access the latest documentation and node essentials, resulting in more complete and reliable automations.

Hosting NA10 Workflows on Hostinger VPS

  1. Hosting Requirement: NA10 automations need to be hosted on a server to run continuously.
  2. Hostinger Recommendation: David recommends Hostinger VPS for hosting NA10 workflows due to unlimited workflows and executions.
  3. VPS Plan: The KVM2 plan is suggested for running multiple AI agents.
  4. Discount Code: Use the coupon code "David" for an additional 10% off on annual or 2-year plans.
  5. Server Setup:
    • Select a server location.
    • Choose the NA10 one-click install template as the operating system.
    • Complete billing details and payment information.
  6. VPS Management: The Hostinger panel allows you to manage the VPS and monitor its usage.

Demonstrating the MCP-Enhanced Workflow

  1. Prompt Comparison: The second prompt is similar to the first but instructs Cloth Code to use the MCP.
  2. Cloth Code's Process with MCP:
    • Cloth Code uses the MCP to search for the official documentation of the required nodes.
    • It uses the "get node essentials" MCP tool to understand the basic input and structure of each node.
    • It validates the workflow to ensure it meets the requirements.
  3. Improved Workflow Output: The resulting workflow is significantly better than the one created without the MCP.
  4. NA10 Import and Comparison: The new JSON file is imported into NA10, showcasing improvements such as correctly configured calendar events and the use of the proper Telegram trigger node.
  5. Credential Configuration: The user needs to manually connect their credentials for services like Telegram and Google Calendar.
  6. Telegram Bot Setup: Instructions are provided for setting up a Telegram bot using BotFather and connecting it to NA10. Cloth Code can provide step-by-step instructions if needed.

Testing the Automated Workflow

  1. Workflow Execution: The workflow is executed, waiting for a Telegram message.
  2. Telegram Input: A message is sent to the Telegram bot: "find a task I can do in the next 30 minutes."
  3. Workflow Logic:
    • The workflow checks if the message is a voice note. If so, it transcribes it using OpenAI.
    • It uses the Vectal tool to get a list of tasks.
    • It identifies a task that can be completed within the specified time frame.
    • It adds the selected task to the user's Google Calendar.
  4. Vectal Integration: The video highlights the benefits of using Vectal for task management, emphasizing its AI-powered prioritization capabilities.
  5. Real-World Example: The demonstration shows how the agent automatically scheduled a 15-minute task from Vectal into a 30-minute gap in the user's Google Calendar.

Additional Tips and Resources

  1. AI Agent System Prompt: The system prompt used for the AI agent is shared for users to adapt and use.
  2. Cloth Code Assistance: Users are encouraged to use Cloth Code to get help with any step of the process, including connecting credentials or understanding specific tools.

Conclusion

David Andre concludes by emphasizing the power and ease of using Cloth Code with the NA10 MCP to build NA10 automations. He encourages viewers to use Hostinger VPS for reliable hosting and to subscribe for more tutorials. The key takeaway is that Cloth Code, especially when combined with an MCP, significantly simplifies and accelerates the creation of complex NA10 workflows, making automation accessible to a wider audience.

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

Go a little deeper.

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