{
  "nodes": [
    {
      "id": "1c57131a-7ff0-4851-ab6c-7b41eb4d3e17",
      "name": "Google Gemini Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
      "position": [
        1136,
        1424
      ],
      "parameters": {
        "options": {
          "temperature": 0.2
        }
      },
      "credentials": {
        "googlePalmApi": {
          "id": "F32qcfxJp6uMZ2Ln",
          "name": "Google Gemini(PaLM) Api account"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "04df2820-f5fa-464d-b9d5-23e871299fca",
      "name": "Lead Search Trigger",
      "type": "n8n-nodes-base.formTrigger",
      "position": [
        -496,
        1248
      ],
      "webhookId": "c6474ed0-2697-4903-9302-96c8e8eee81b",
      "parameters": {
        "options": {},
        "formTitle": "Búscador de Negocios",
        "formFields": {
          "values": [
            {
              "fieldLabel": "Qué tipo de negocios y en qué zona buscas?",
              "placeholder": "Ejemplo: restaurantes en san isidro lima",
              "requiredField": true
            }
          ]
        },
        "formDescription": "Este formulario permite buscar negocios en los distintos lugares del país."
      },
      "executeOnce": false,
      "notesInFlow": false,
      "typeVersion": 2.5,
      "alwaysOutputData": false
    },
    {
      "id": "1222c612-92c6-4360-b54f-e1b2c0e417f4",
      "name": "Fetch Google Maps Data (SerpApi)",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -272,
        1248
      ],
      "parameters": {
        "url": "=https://serpapi.com/search.json",
        "options": {
          "response": {
            "response": {
              "responseFormat": "json"
            }
          }
        },
        "sendQuery": true,
        "authentication": "genericCredentialType",
        "genericAuthType": "httpQueryAuth",
        "queryParameters": {
          "parameters": [
            {
              "name": "engine",
              "value": "google_maps"
            },
            {
              "name": "q",
              "value": "={{ $json['Qué tipo de negocios y en qué zona buscas?'] }}"
            }
          ]
        }
      },
      "credentials": {
        "httpQueryAuth": {
          "id": "2eJ0DfbVv8aREbGz",
          "name": "Query Auth account"
        }
      },
      "typeVersion": 4.4
    }
  ],
  "connections": {
    "Lead Search Trigger": {
      "main": [
        [
          {
            "node": "Fetch Google Maps Data (SerpApi)",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}