{
  "name": "Import Faire products to Shopify using BrowserAct, Gemini, and Telegram",
  "nodes": [
    {
      "id": "a0e2f8c1-de38-42a1-8d6c-d04100ebde05",
      "name": "Validate user Input",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        -1888,
        144
      ]
    },
    {
      "id": "4d969ac5-8b39-491e-8eaf-5063b7392c3f",
      "name": "Google Gemini",
      "type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
      "position": [
        -1888,
        336
      ]
    },
    {
      "id": "271ef11f-ae43-4e60-97ca-5f5d0ab0470b",
      "name": "Structured Output",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        -1760,
        320
      ]
    },
    {
      "id": "c1db5076-1eb5-4198-a0a6-86756450f508",
      "name": "Create a product",
      "type": "n8n-nodes-base.shopify",
      "position": [
        560,
        112
      ]
    },
    {
      "id": "8994219b-f674-4937-96d2-de1a7ad59106",
      "name": "Structured Output Parser",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        112,
        304
      ]
    },
    {
      "id": "ccbf0a71-38f2-4ca6-8b6b-c35ef4e79d7e",
      "name": "Human verification Switch",
      "type": "n8n-nodes-base.switch",
      "position": [
        -912,
        128
      ]
    },
    {
      "id": "d41a82f4-306d-4469-ada5-fb5bc56019de",
      "name": "User Sends Message to Bot",
      "type": "n8n-nodes-base.telegramTrigger",
      "position": [
        -2080,
        144
      ]
    },
    {
      "id": "2f12144f-e715-4ca7-8137-2461a84e95af",
      "name": "Validation Type Switch",
      "type": "n8n-nodes-base.switch",
      "position": [
        -1536,
        128
      ]
    },
    {
      "id": "2f108343-b4ef-4f9d-bf0b-2f0a10c0dd12",
      "name": "Process Initialization Alert",
      "type": "n8n-nodes-base.telegram",
      "position": [
        -1088,
        -16
      ]
    },
    {
      "id": "2324fe9b-7560-4633-a06d-5dd7fbadf4cc",
      "name": "Scrape Product Data",
      "type": "n8n-nodes-browseract.browserAct",
      "position": [
        -1088,
        144
      ]
    },
    {
      "id": "ceb58def-bb06-491c-aa9e-1254d013f822",
      "name": "Send Failure Alert",
      "type": "n8n-nodes-base.telegram",
      "position": [
        -688,
        320
      ]
    },
    {
      "id": "83d13354-d22e-4037-9572-b31b5a568ce2",
      "name": "Ask User for Verification",
      "type": "n8n-nodes-base.telegram",
      "position": [
        -688,
        144
      ]
    },
    {
      "id": "a6068804-3e64-41d8-b674-adc1b5b27faf",
      "name": "Give Time to Complete Verification",
      "type": "n8n-nodes-base.wait",
      "position": [
        -464,
        144
      ]
    },
    {
      "id": "32234dfe-f785-48ae-98c8-fbb57c9e5984",
      "name": "Get Data From BrowserAct",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -240,
        144
      ]
    },
    {
      "id": "b0bba8cd-bbb9-4906-8fd8-0a9942f04a27",
      "name": "Analyze Products and Generate Data",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        0,
        112
      ]
    },
    {
      "id": "68fe9bcd-27a9-4357-9c75-ef6b87840216",
      "name": "Add Price to Product",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        832,
        112
      ]
    },
    {
      "id": "c7875c1a-d3ab-444e-a0cc-2c05bbfef6bf",
      "name": "Wait for All Inputs",
      "type": "n8n-nodes-base.merge",
      "position": [
        736,
        288
      ]
    },
    {
      "id": "231584e8-0381-45b2-bed2-85e92e1e8b38",
      "name": "Split Out Images",
      "type": "n8n-nodes-base.splitOut",
      "position": [
        912,
        288
      ]
    },
    {
      "id": "f33a4ffb-2750-472c-abbc-a592f8f014a8",
      "name": "Add Images to Product",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1072,
        288
      ]
    },
    {
      "id": "d0c15976-d8b8-4258-ade1-48bc9c57285d",
      "name": "Google Gemini3",
      "type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
      "position": [
        0,
        304
      ]
    },
    {
      "id": "689539bb-53ed-48c9-a3bc-3aa6dab1673d",
      "name": "Google Gemini2",
      "type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
      "position": [
        -1136,
        720
      ]
    },
    {
      "id": "472b9a6f-5817-447b-873f-2e64e29811ba",
      "name": "Answering Agent",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        -1136,
        560
      ]
    },
    {
      "id": "d8bb3e70-d724-4dde-ac31-30344035ea9e",
      "name": "Answer the User",
      "type": "n8n-nodes-base.telegram",
      "position": [
        -720,
        560
      ]
    },
    {
      "id": "d32bc9b8-867e-40b0-b1d1-e5f8d1ff6c20",
      "name": "Documentation",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -2496,
        -448
      ],
      "parameters": {
        "width": 380,
        "height": 540,
        "content": "## ⚡ Workflow Overview & Setup\n\n**Summary:** This automation takes a Faire product link from Telegram, scrapes the details using BrowserAct, and automatically creates a new product in Shopify with an "
      }
    },
    {
      "id": "fffb577e-eb28-4b1b-8b56-de9596f7ff34",
      "name": "Step 1 Explanation",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -2096,
        -16
      ],
      "parameters": {
        "width": 700,
        "height": 108,
        "content": "### 🔍 Step 1: Input Analysis & Security\n\nThe workflow intercepts Telegram messages to identify Faire product links. It uses an AI agent to validate the input. If a valid link is found, it triggers a \""
      }
    },
    {
      "id": "c2b05ebf-bc24-4b22-94ab-bac6cbfdad45",
      "name": "Step 2 Explanation",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1088,
        -160
      ],
      "parameters": {
        "width": 1356,
        "height": 92,
        "content": "### 🛍️ Step 2: Scraping & Content Synthesis\n\nBrowserAct scrapes the product page for title, price, description, and images. An AI agent then rewrites the raw data into a persuasive, SEO-friendly Shopi"
      }
    },
    {
      "id": "b1cdc391-75e7-4c8c-bcd9-3f1fe91f5726",
      "name": "Step 3 Explanation",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        432,
        -64
      ],
      "parameters": {
        "width": 888,
        "height": 108,
        "content": "### 📦 Step 3: Product Creation & Image Upload\n\nThe system creates the base product in Shopify using the AI-generated content. It then adds variants (like size/color) and uploads all product images to "
      }
    },
    {
      "id": "e8c60674-73f2-4c7d-b8dc-dee33115f2b1",
      "name": "Step 4 Explanation",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1184,
        832
      ],
      "parameters": {
        "width": 676,
        "height": 120,
        "content": "### 💬 Step 2-2: Conversational Fallback\n\nIf no Faire link is present in the user's message, this branch engages the user in natural conversation or prompts them to provide a Faire link for processing."
      }
    },
    {
      "id": "ae04ff28-5df2-4852-bcf1-600ebd720efa",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -2080,
        -448
      ],
      "parameters": {
        "width": 672,
        "height": 400,
        "content": "@[youtube](1Q9-XGlaoFA)"
      }
    }
  ],
  "connections": {
    "Google Gemini": {
      "ai_languageModel": [
        [
          {
            "node": "Validate user Input",
            "type": "ai_languageModel",
            "index": 0
          },
          {
            "node": "Structured Output",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Google Gemini2": {
      "ai_languageModel": [
        [
          {
            "node": "Answering Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Google Gemini3": {
      "ai_languageModel": [
        [
          {
            "node": "Analyze Products and Generate Data",
            "type": "ai_languageModel",
            "index": 0
          },
          {
            "node": "Structured Output Parser",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Answering Agent": {
      "main": [
        [
          {
            "node": "Answer the User",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Create a product": {
      "main": [
        [
          {
            "node": "Add Price to Product",
            "type": "main",
            "index": 0
          },
          {
            "node": "Wait for All Inputs",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Split Out Images": {
      "main": [
        [
          {
            "node": "Add Images to Product",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Structured Output": {
      "ai_outputParser": [
        [
          {
            "node": "Validate user Input",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "Scrape Product Data": {
      "main": [
        [
          {
            "node": "Human verification Switch",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Validate user Input": {
      "main": [
        [
          {
            "node": "Validation Type Switch",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Wait for All Inputs": {
      "main": [
        [
          {
            "node": "Split Out Images",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Validation Type Switch": {
      "main": [
        [
          {
            "node": "Process Initialization Alert",
            "type": "main",
            "index": 0
          },
          {
            "node": "Scrape Product Data",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Answering Agent",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Answering Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Data From BrowserAct": {
      "main": [
        [
          {
            "node": "Analyze Products and Generate Data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Structured Output Parser": {
      "ai_outputParser": [
        [
          {
            "node": "Analyze Products and Generate Data",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "Ask User for Verification": {
      "main": [
        [
          {
            "node": "Give Time to Complete Verification",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Human verification Switch": {
      "main": [
        [
          {
            "node": "Analyze Products and Generate Data",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Ask User for Verification",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Send Failure Alert",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "User Sends Message to Bot": {
      "main": [
        [
          {
            "node": "Validate user Input",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Analyze Products and Generate Data": {
      "main": [
        [
          {
            "node": "Create a product",
            "type": "main",
            "index": 0
          },
          {
            "node": "Wait for All Inputs",
            "type": "main",
            "index": 1
          }
        ]
      ]
    },
    "Give Time to Complete Verification": {
      "main": [
        [
          {
            "node": "Get Data From BrowserAct",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}