{
  "name": "Track AI Mode visibility with Local Falcon",
  "nodes": [
    {
      "parameters": {
        "content": "## Track AI Mode Visibility with Local Falcon\n\n**Who is this for:** SEO professionals tracking visibility in Google's AI Mode - the conversational search experience that's replacing traditional search for many queries.\n\n**What this workflow does:**\n1. Runs AI Mode platform scans via Local Falcon\n2. Tracks your business visibility in AI Mode responses\n3. Monitors how AI Mode presents your business\n4. Compares to traditional search results\n5. Alerts on visibility changes\n\n**How to set up:**\n1. Add your Local Falcon API credentials (get your key at https://www.localfalcon.com/api/credentials)\n2. Configure your location and keywords in Settings\n3. Connect Slack for visibility alerts\n4. Activate the workflow\n\n**Requirements:**\n- Local Falcon account with API access\n- AI Mode platform scanning credits\n- Keywords that trigger AI Mode results\n\n**How to customize:**\n- Compare AI Mode vs traditional Google results\n- Track specific conversational queries\n- Build AI search evolution dashboard\n- Create historical visibility trends",
        "height": 500,
        "width": 460,
        "color": 5
      },
      "id": "sticky-main",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "typeVersion": 1,
      "position": [
        100,
        -160
      ]
    },
    {
      "parameters": {
        "content": "### What is AI Mode?\n\nGoogle AI Mode is the conversational search experience that provides AI-generated answers with cited sources.\n\nFor local businesses:\n- AI Mode may recommend or cite you\n- Position in AI responses matters\n- Traditional rankings may differ",
        "height": 180,
        "width": 300
      },
      "id": "sticky-context",
      "name": "Sticky Note Context",
      "type": "n8n-nodes-base.stickyNote",
      "typeVersion": 1,
      "position": [
        580,
        -160
      ]
    },
    {
      "parameters": {
        "content": "### Step 1: Schedule\nRuns weekly for AI Mode tracking.",
        "height": 100,
        "width": 200
      },
      "id": "sticky-step1",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "typeVersion": 1,
      "position": [
        40,
        640
      ]
    },
    {
      "parameters": {
        "content": "### Step 2: Settings\nConfigure tracking parameters.",
        "height": 100,
        "width": 200
      },
      "id": "sticky-step2",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "typeVersion": 1,
      "position": [
        300,
        640
      ]
    },
    {
      "parameters": {
        "content": "### Step 3: Scan\nRuns AI Mode platform scan.",
        "height": 100,
        "width": 200
      },
      "id": "sticky-step3",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "typeVersion": 1,
      "position": [
        560,
        640
      ]
    },
    {
      "parameters": {
        "content": "### Step 4: Analyze\nProcesses visibility results.",
        "height": 100,
        "width": 200
      },
      "id": "sticky-step4",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "typeVersion": 1,
      "position": [
        820,
        640
      ]
    },
    {
      "parameters": {
        "rule": {
          "interval": [
            {
              "field": "weeks",
              "triggerAtDay": [
                5
              ],
              "triggerAtHour": 10
            }
          ]
        }
      },
      "id": "schedule",
      "name": "Every Friday 10am",
      "type": "n8n-nodes-base.scheduleTrigger",
      "typeVersion": 1.2,
      "position": [
        140,
        420
      ]
    },
    {
      "parameters": {
        "mode": "raw",
        "jsonOutput": "{\n  \"location\": {\n    \"name\": \"Your Business Name\",\n    \"place_id\": \"YOUR_GOOGLE_PLACE_ID\",\n    \"lat\": \"40.7128\",\n    \"lng\": \"-74.0060\"\n  },\n  \"keywords\": [\n    \"best [service] near me\",\n    \"where to find [service] in [city]\",\n    \"[service] recommendations\"\n  ],\n  \"slackChannel\": \"#ai-mode-tracking\"\n}",
        "options": {}
      },
      "id": "settings",
      "name": "AI Mode Settings",
      "type": "n8n-nodes-base.set",
      "typeVersion": 3.4,
      "position": [
        400,
        420
      ]
    },
    {
      "parameters": {
        "jsCode": "const settings = $input.first().json;\n\nreturn settings.keywords.map(keyword => ({\n  json: {\n    ...settings.location,\n    keyword: keyword,\n    slackChannel: settings.slackChannel\n  }\n}));"
      },
      "id": "prepare",
      "name": "Prepare AI Mode Scans",
      "type": "n8n-nodes-base.code",
      "typeVersion": 2,
      "position": [
        660,
        420
      ]
    },
    {
      "parameters": {
        "resource": "scan",
        "operation": "run",
        "platform": "aimode",
        "placeId": "={{ $json.place_id }}",
        "keyword": "={{ $json.keyword }}",
        "lat": "={{ $json.lat }}",
        "lng": "={{ $json.lng }}",
        "gridSize": 3,
        "radius": 1,
        "measurement": "mi"
      },
      "id": "scan",
      "name": "Scan AI Mode",
      "type": "@local-falcon/n8n-nodes-localfalcon.localFalcon",
      "typeVersion": 1,
      "position": [
        920,
        420
      ],
      "credentials": {
        "localFalconApi": {
          "name": "<your credential>"
        }
      }
    }
  ],
  "connections": {
    "Every Friday 10am": {
      "main": [
        [
          {
            "node": "AI Mode Settings",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "AI Mode Settings": {
      "main": [
        [
          {
            "node": "Prepare AI Mode Scans",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Prepare AI Mode Scans": {
      "main": [
        [
          {
            "node": "Scan AI Mode",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "meta": {
    "templateCredsSetupCompleted": true
  }
}