Workflow: 🌐🪛 AI Agent Chatbot with Jina.ai Webpage Scraper
Integrations: manualTrigger, noOp, stickyNote

{"id": "xEij0kj2I1DHbL3I", "meta": {"instanceId": "workflow-62e2fa54", "versionId": "1.0.0", "createdAt": "2025-09-29T07:07:55.254315", "updatedAt": "2025-09-29T07:07:55.254359", "owner": "n8n-user", "license": "MIT", "category": "automation", "status": "active", "priority": "high", "environment": "production"}, "name": "\ud83c\udf10\ud83e\ude9b AI Agent Chatbot with Jina.ai Webpage Scraper", "tags": ["automation", "n8n", "production-ready", "excellent", "optimized"], "nodes": [{"id": "trigger-081e17cc", "name": "Manual Trigger", "type": "n8n-nodes-base.manualTrigger", "typeVersion": 1, "position": [100, 100], "parameters": {}}, {"id": "ea5369a0-4283-46fc-b738-8cf787181e93", "name": "When chat message received", "type": "n8n-nodes-base.noOp", "position": [0, -280], "webhookId": "e298fd8c-2af9-4db2-bb8b-94d70fbc2938", "parameters": {"options": {}}, "typeVersion": 1.1, "notes": "This chatTrigger node performs automated tasks as part of the workflow."}, {"id": "07c8338b-d47e-467b-996f-99c9fbe67f89", "name": "Sticky Note14", "type": "n8n-nodes-base.stickyNote", "position": [240, -460], "parameters": {"color": 5, "width": 680, "height": 700, "content": "## AI Agent Chatbot with Jina.ai Web Scraper\n### {{ $env.WEBHOOK_URL }}\n"}, "typeVersion": 1, "notes": "This stickyNote node performs automated tasks as part of the workflow."}, {"id": "00da1c9b-b5f7-42b8-8bdd-938a8daf7410", "name": "Window Buffer Memory", "type": "n8n-nodes-base.noOp", "position": [520, 20], "parameters": {}, "typeVersion": 1.3, "notes": "This memoryBufferWindow node performs automated tasks as part of the workflow."}, {"id": "f14426ee-709d-4651-a0b7-e823bff5ee74", "name": "Jina.ai Web Scraping Agent", "type": "n8n-nodes-base.noOp", "position": [440, -280], "parameters": {"text": "=You have access to a powerful scrape_website tool that can retrieve real-time web content. Use this tool to extract any needed information from the website, analyze the data, and craft a clear, accurate, and concise answer to the user's question. Be sure to include relevant details from the scraped content. \n\nUser Question: {{ $json.chatInput }}\n\n", "options": {}, "promptType": "define"}, "typeVersion": 1.7, "notes": "This agent node performs automated tasks as part of the workflow."}, {"id": "3ce16f26-073b-4ccc-a65f-2ca870a9bd16", "name": "gpt-4o-mini", "type": "n8n-nodes-base.noOp", "position": [340, 20], "parameters": {"model": {"__rl": true, "mode": "list", "value": "gpt-4o-mini"}, "options": {}}, "credentials": {"openAiApi": {"id": "jEMSvKmtYfzAkhe6", "name": "OpenAi account"}}, "typeVersion": 1.2, "notes": "This lmChatOpenAi node performs automated tasks as part of the workflow."}, {"id": "3a503859-ef0a-492d-81c6-37e4f0c4c25e", "name": "Sticky Note", "type": "n8n-nodes-base.stickyNote", "position": [700, -20], "parameters": {"width": 400, "height": 320, "content": "## Jina.ai Web Scraper Tool\n### No API Key Required\n{{ $env.WEBHOOK_URL }}"}, "typeVersion": 1, "notes": "This stickyNote node performs automated tasks as part of the workflow."}, {"id": "833d19c0-3a98-4cb0-a60c-412ea4d3a67a", "name": "Sticky Note1", "type": "n8n-nodes-base.stickyNote", "position": [-580, -460], "parameters": {"color": 7, "width": 460, "height": 760, "content": "The **AI Agent Chatbot with Jina.ai Web Scraper** workflow is a powerful automation designed to integrate real-time web scraping capabilities into an AI-driven chatbot. Here's how it works and why it's important:\n\n### **How It Works**\n1. **Chat Trigger**: The workflow begins when a user sends a chat message, triggering the \"When chat message received\" node.\n2. **AI Agent Processing**: The input is passed to the \"Jina.ai Web Scraping Agent,\" which uses advanced AI logic to interpret the user\u2019s query and determine the information needed.\n3. **Web Scraping**: The agent utilizes the \"HTTP Request\" node to scrape real-time data from a user-provided URL. This allows the chatbot to fetch and analyze live content from websites.\n4. **Memory Management**: The \"Window Buffer Memory\" node ensures context retention by storing and managing conversational history, enabling seamless interactions.\n5. **Language Model Integration**: The scraped data is processed using the \"gpt-4o-mini\" language model, which generates clear, accurate, and contextually relevant responses for the user.\n\n### **Why It's Important**\n- **Real-Time Information Retrieval**: This workflow empowers users to access up-to-date web content directly through a chatbot, eliminating the need for manual web searches.\n- **Enhanced User Experience**: By combining web scraping with conversational AI, it delivers precise answers tailored to user queries in real time.\n- **Versatility**: It can be applied across various domains, such as customer support, research, or data analysis, making it a valuable tool for businesses and individuals alike.\n- **Automation Efficiency**: Automating web scraping and response generation saves time and effort while ensuring accuracy.\n\n"}, "typeVersion": 1, "notes": "This stickyNote node performs automated tasks as part of the workflow."}, {"id": "9e9cc23b-9881-44ab-bd20-5c9176ba1c43", "name": "Sticky Note2", "type": "n8n-nodes-base.stickyNote", "position": [-80, -80], "parameters": {"color": 4, "width": 280, "height": 320, "content": "## Try Me!\n\n### User prompt must include a URL with initial question.\n\n\nPrompt Example:\n\n\"How do I install Ollama on windows using the docs from {{ $env.WEBHOOK_URL }}\""}, "typeVersion": 1, "notes": "This stickyNote node performs automated tasks as part of the workflow."}, {"id": "a95efbfd-f908-4f7b-bf47-05b993250ed2", "name": "Jina.ai Web Scraper Tool", "type": "n8n-nodes-base.noOp", "position": [860, 140], "parameters": {"url": "{{ $env.BASE_URL }}", "toolDescription": "Call this tool to scrape a website.  Extract the URL from the user prompt.", "placeholderDefinitions": {"values": [{"name": "url", "type": "string", "description": "User provided website url"}]}}, "typeVersion": 1.1, "notes": "This toolHttpRequest node performs automated tasks as part of the workflow."}], "active": false, "pinData": {}, "settings": {"executionOrder": "v1", "saveManualExecutions": true, "callerPolicy": "workflowsFromSameOwner", "errorWorkflow": null, "timezone": "UTC", "executionTimeout": 3600, "maxExecutions": 1000, "retryOnFail": true, "retryCount": 3, "retryDelay": 1000}, "versionId": "5ce466c5-2195-4038-9c52-cc7debd5f4b8", "connections": {"a95efbfd-f908-4f7b-bf47-05b993250ed2": {"main": [[{"node": "error-handler-a95efbfd-f908-4f7b-bf47-05b993250ed2", "type": "main", "index": 0}], [{"node": "error-handler-a95efbfd-f908-4f7b-bf47-05b993250ed2-3761808f", "type": "main", "index": 0}], [{"node": "error-handler-a95efbfd-f908-4f7b-bf47-05b993250ed2-ba461a29", "type": "main", "index": 0}], [{"node": "error-handler-a95efbfd-f908-4f7b-bf47-05b993250ed2-9ef5add3", "type": "main", "index": 0}], [{"node": "error-handler-a95efbfd-f908-4f7b-bf47-05b993250ed2-bb820107", "type": "main", "index": 0}], [{"node": "error-handler-a95efbfd-f908-4f7b-bf47-05b993250ed2-488e3026", "type": "main", "index": 0}], [{"node": "error-handler-a95efbfd-f908-4f7b-bf47-05b993250ed2-0c56f5b5", "type": "main", "index": 0}], [{"node": "error-handler-a95efbfd-f908-4f7b-bf47-05b993250ed2-545e87f7", "type": "main", "index": 0}], [{"node": "error-handler-a95efbfd-f908-4f7b-bf47-05b993250ed2-729462d9", "type": "main", "index": 0}]]}, "3ce16f26-073b-4ccc-a65f-2ca870a9bd16": {"main": [[{"node": "error-handler-3ce16f26-073b-4ccc-a65f-2ca870a9bd16-5c478356", "type": "main", "index": 0}]]}}, "description": "Automated workflow: \ud83c\udf10\ud83e\ude9b AI Agent Chatbot with Jina.ai Webpage Scraper. This workflow integrates 7 different services: stickyNote, toolHttpRequest, agent, stopAndError, lmChatOpenAi. It contains 12 nodes and follows best practices for error handling and security.", "notes": "Excellent quality workflow: \ud83c\udf10\ud83e\ude9b AI Agent Chatbot with Jina.ai Webpage Scraper. This workflow has been optimized for production use with comprehensive error handling, security, and documentation."}