How to Run an AI Browser Agent with Make.com and n8n (No-code)

The AI AutomatorsAbout 5 min readMar 15, 2025Watch original
THE SUMMARYAI-generated

Key Concepts:

AI Browser Agent, Make.com, n8n, No-code automation, Web scraping, Data extraction, GPT (Generative Pre-trained Transformer), Web automation, Workflow automation, API integration, Headless browser, Prompt engineering, Data parsing, JSON, HTTP requests, Webhooks.

Introduction: AI Browser Agents and No-Code Automation

The video demonstrates how to build and run an AI Browser Agent using no-code platforms Make.com and n8n. The core idea is to leverage AI, specifically GPT models, to automate web browsing tasks, such as data extraction, form filling, and navigation, without writing any code. The presenter emphasizes the power of combining AI with no-code tools to create sophisticated web automation workflows.

Building the AI Browser Agent with Make.com

  • Scenario Setup: The video starts by outlining the process of creating a new scenario in Make.com. The initial trigger is typically a webhook or a scheduled event.
  • HTTP Request Module: The first key module is the HTTP request module. This module is used to send instructions to the AI Browser Agent. The presenter explains how to configure the HTTP request, including setting the URL, method (usually POST), and headers (Content-Type: application/json).
  • JSON Payload: The body of the HTTP request is a JSON payload containing the instructions for the AI Browser Agent. This payload includes parameters such as:
    • url: The URL of the website to be visited.
    • task: A natural language description of the task to be performed (e.g., "Extract the product name and price from this page").
    • gpt_parameters: Parameters for the GPT model, such as model (e.g., "gpt-3.5-turbo"), temperature, and max_tokens.
  • Data Parsing: After the AI Browser Agent processes the request, it returns a response, typically in JSON format. The video demonstrates how to use the JSON module in Make.com to parse the response and extract the relevant data.
  • Data Storage/Action: The extracted data can then be used in subsequent modules, such as storing it in a Google Sheet, sending it via email, or triggering another workflow.

Building the AI Browser Agent with n8n

  • Workflow Creation: The video then transitions to demonstrating the same process in n8n. A new workflow is created, and a similar approach is used.
  • Webhook Trigger: An HTTP Request node is used as a trigger, listening for incoming webhooks.
  • HTTP Request Node: Similar to Make.com, an HTTP Request node is configured to send instructions to the AI Browser Agent. The configuration includes the URL, method (POST), and headers (Content-Type: application/json).
  • JSON Data: The JSON payload is constructed in a similar manner to Make.com, containing the url, task, and gpt_parameters.
  • Function Node (JavaScript): n8n often uses Function nodes (JavaScript) to manipulate data. The video shows how to use a Function node to parse the JSON response from the AI Browser Agent and extract the desired information.
  • Data Output: The extracted data can then be used in subsequent nodes, such as writing to a database or sending an email.

Example Use Case: Product Price Monitoring

The video uses the example of monitoring product prices on an e-commerce website. The AI Browser Agent is instructed to visit a specific product page and extract the product name and price. This data is then stored in a Google Sheet, allowing for price tracking over time.

Prompt Engineering

The presenter emphasizes the importance of prompt engineering. The task parameter in the JSON payload is crucial. A well-crafted prompt will lead to more accurate and reliable results from the AI Browser Agent. Examples of good prompts include:

  • "Extract the product name and price from this page."
  • "Fill out the contact form with the following information: name = John Doe, email = [email protected], message = Hello."
  • "Navigate to the 'About Us' page and extract the company's mission statement."

Technical Details and Considerations

  • Headless Browser: The AI Browser Agent typically uses a headless browser (e.g., Puppeteer, Playwright) to interact with the website. This allows for automated browsing without a visible browser window.
  • API Integration: The communication between Make.com/n8n and the AI Browser Agent is done via API calls (HTTP requests).
  • GPT Models: The choice of GPT model (e.g., gpt-3.5-turbo, gpt-4) affects the performance and cost of the AI Browser Agent.
  • Rate Limiting: It's important to be aware of rate limits imposed by both the AI Browser Agent provider and the target website.
  • Error Handling: The video briefly touches on error handling, suggesting the use of error handling modules in Make.com and n8n to gracefully handle failures.

Key Arguments and Perspectives

The video argues that AI Browser Agents, combined with no-code platforms, democratize web automation. They allow non-technical users to automate complex web tasks without writing code. This can save time and resources, and enable new use cases that were previously inaccessible.

Notable Quotes

While the transcript provided doesn't include direct quotes, the implicit message is: "No-code platforms empower users to leverage the power of AI for web automation, unlocking new possibilities for efficiency and innovation."

Conclusion

The video provides a practical guide to building and running AI Browser Agents using Make.com and n8n. It demonstrates how to configure the necessary modules, construct the JSON payload, and parse the response. The example use case of product price monitoring illustrates the potential of this technology. The presenter emphasizes the importance of prompt engineering and highlights the benefits of combining AI with no-code tools for web automation. The key takeaway is that AI Browser Agents can significantly streamline web-based tasks, making them 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.