Início/Agentes & Fundamentos/Módulo 2.2

Agentes & Fundamentos · Módulo 2/6

Agente de pesquisa com SerpAPI

Workflow pronto para importar no n8n.

Descrição

_(sem descrição)_

Recursos baixados

Texto de 31-build-an-ai-agent-with-serpapi.json

{
  "name": "Serp AI Agent",
  "nodes": [
    {
      "parameters": {},
      "id": "ba67fbed-a1d8-4c37-844b-b05f63794586",
      "name": "When chat message received",
      "type": "@n8n/n8n-nodes-langchain.manualChatTrigger",
      "typeVersion": 1.1,
      "position": [
        440,
        360
      ]
    },
    {
      "parameters": {
        "options": {}
      },
      "id": "4af4ac58-e135-4eb0-b33e-24caee24504f",
      "name": "AI Agent",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "typeVersion": 1.6,
      "position": [
        660,
        360
      ]
    },
    {
      "parameters": {
        "model": "gpt-4",
        "options": {}
      },
      "id": "8be33aae-159b-47b2-8cde-14a9ef57797c",
      "name": "OpenAI Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "typeVersion": 1,
      "position": [
        560,
        600
      ],
      "credentials": {
        "openAiApi": {
          "id": "y0AJhOYgMZwDjwTx",
          "name": "OpenAi account"
        }
      }
    },
    {
      "parameters": {},
      "id": "0a87f185-ab92-4613-bc7d-f4be89d61a00",
      "name": "Window Buffer Memory",
      "type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
      "typeVersion": 1.2,
      "position": [
        680,
        600
      ]
    },
    {
      "parameters": {},
      "id": "2a8e3f1a-78ef-479e-88f3-f9e616a15b75",
      "name": "Calculator",
      "type": "@n8n/n8n-nodes-langchain.toolCalculator",
      "typeVersion": 1,
      "position": [
        840,
        600
      ]
    },
    {
      "parameters": {
        "options": {}
      },
      "id": "f3411803-0093-4a2b-8a72-770e6a0a69f7",
      "name": "SerpAPI",
      "type": "@n8n/n8n-nodes-langchain.toolSerpApi",
      "typeVersion": 1,
      "position": [
        940,
        600
      ],
      "credentials": {
        "serpApi": {
          "id": "WES4WDYHDbn6qtWl",
          "name": "SerpAPI account"
        }
      }
    }
  ],
  "pinData": {},
  "connections": {
    "When chat message received": {
      "main": [
        [
          {
            "node": "AI Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "AI Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Window Buffer Memory": {
      "ai_memory": [
        [
          {
            "node": "AI Agent",
            "type": "ai_memory",
            "index": 0
          }
        ]
      ]
    },
    "Calculator": {
      "ai_tool": [
        [
          {
            "node": "AI Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "SerpAPI": {
      "ai_tool": [
        [
          {
            "node": "AI Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    }
  },
  "active": false,
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "351c81d7-8e97-4e3c-9eca-2437e665c9c8",
  "meta": {
    "templateCredsSetupCompleted": true,
    "instanceId": "ae56acec072bc16273543d89bb011ed9ab6cf3dacd823d15e41231870330f72a"
  },
  "id": "ANp2uSfDzq7vloKM",
  "tags": []
}
← Anterior
Agente de rotulação no Gmail
Próximo →
Agente com outro workflow n8n como ferramenta