{
  "id": "jDUtQ2fgs8EOqU95",
  "name": "Promo Seeker",
  "tags": [],
  "nodes": [
    {
      "id": "a18c8dd2-bcd0-4827-a0cd-14655042faa1",
      "name": "SerpAPI",
      "type": "@n8n/n8n-nodes-langchain.toolSerpApi",
      "position": [
        224,
        496
      ],
      "parameters": {
        "options": {}
      },
      "credentials": {
        "serpApi": {
          "name": "<your credential>"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "387c922c-1079-4851-9ad1-5f7d40a0ddb6",
      "name": "Message",
      "type": "@n8n/n8n-nodes-langchain.chatTrigger",
      "position": [
        -272,
        288
      ],
      "parameters": {
        "options": {}
      },
      "typeVersion": 1.3
    },
    {
      "id": "dd79d174-dc45-4e40-81c6-a57c511f85dd",
      "name": "Gpt 5 Mini",
      "type": "@n8n/n8n-nodes-langchain.lmChatAzureOpenAi",
      "position": [
        -208,
        496
      ],
      "parameters": {
        "model": "gpt5mini",
        "options": {}
      },
      "credentials": {
        "azureOpenAiApi": {
          "name": "<your credential>"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "7e9b5e7f-4c6b-49b5-932a-153eea9d3a51",
      "name": "Chat Memory",
      "type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
      "position": [
        -64,
        496
      ],
      "parameters": {},
      "typeVersion": 1.3
    },
    {
      "id": "002588a9-78fc-43f1-a8cf-d9025c9b40a0",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        352,
        240
      ],
      "parameters": {
        "color": 5,
        "width": 464,
        "height": 656,
        "content": "## How to Get Credentials \n\n### 1. SerpAPI Node\n\n- Go to [SerpAPI](https://serpapi.com/) and sign up.\n- After logging in, find your **API Key** in your dashboard.\n- In n8n, go to **Credentials** > **Create New** > **SerpAPI**.\n- Paste your API Key and save.\n\n### 2. Azure OpenAI (Gpt 5 Mini) Node\n\n- Go to [Azure Portal](https://portal.azure.com/) and create an Azure OpenAI resource.\n- In your resource, go to **Keys and Endpoint**.\n- Copy your **API Key** and **Endpoint URL**.\n- In n8n, go to **Credentials** > **Create New** > **Azure OpenAI API**.\n- Enter your API Key and Endpoint, then save.\n\n### 3. Decodo Scrapper Node\n\n- Go to [Decodo](https://dashboard.decodo.com/register) and sign up\n- Navigate to \"Scraping\" in the left panel and register for a 7-day free trial of Advanced plan\n- Find the user credentials in the scraper page.\n---\n**Note:**  \nKeep your API keys secure and never share them publicly.\n"
      },
      "typeVersion": 1
    },
    {
      "id": "90dbb80a-9f8d-489c-9447-51867cae9557",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -352,
        656
      ],
      "parameters": {
        "width": 672,
        "height": 240,
        "content": "## How This Workflow Works (Sticky Note)\n\n- This workflow is designed to help you find valid and working promo codes and vouchers from across the internet.\n- When you send a message, the AI Agent uses search tools (SerpAPI, Decodo Scrapper API) to look for the latest discounts and vouchers.\n- The AI Agent checks and filters results to show only new and active promos.\n- All results are displayed in the chat for easy access.\n- Just type what kind of promo you want and let the workflow do the rest!"
      },
      "typeVersion": 1
    },
    {
      "id": "b50e4a97-1ace-4f73-9b39-9987f5e3aa9c",
      "name": "Promo Seeker Agent",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        -80,
        288
      ],
      "parameters": {
        "options": {
          "systemMessage": "you are a voucher and discount seeker expert. use provided tools to find a new, valid and working voucher accross internet"
        }
      },
      "typeVersion": 2.2
    },
    {
      "id": "67c40717-c9f4-454d-a053-5b3575aae727",
      "name": "Decodo Scrapper API",
      "type": "@decodo/n8n-nodes-decodo.decodoTool",
      "position": [
        80,
        496
      ],
      "parameters": {},
      "credentials": {
        "decodoApi": {
          "name": "<your credential>"
        }
      },
      "typeVersion": 1
    }
  ],
  "active": false,
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "b707f228-36f1-4983-b7c8-73f2266fba09",
  "connections": {
    "Message": {
      "main": [
        [
          {
            "node": "Promo Seeker Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "SerpAPI": {
      "ai_tool": [
        [
          {
            "node": "Promo Seeker Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Gpt 5 Mini": {
      "ai_languageModel": [
        [
          {
            "node": "Promo Seeker Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Chat Memory": {
      "ai_memory": [
        [
          {
            "node": "Promo Seeker Agent",
            "type": "ai_memory",
            "index": 0
          }
        ]
      ]
    },
    "Decodo Scrapper API": {
      "ai_tool": [
        [
          {
            "node": "Promo Seeker Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    }
  }
}