{"workflow":{"id":13038,"name":"Query GA4 data with Google Gemini AI in a Slack channel","views":25,"recentViews":0,"totalViews":25,"createdAt":"2026-01-27T13:11:52.135Z","description":"\n![ScalolabsTN4.jpg 1.jpeg](fileId:4096)\n\nThis workflow integrates Google Analytics 4 (GA4) with Slack, enabling users to query their website data using natural language inside a dedicated Slack channel. An AI Agent interprets user queries, fetches relevant reports from GA4, and responds in Slack as a reply.\n\nHow it works\nWhen a user sends a message in a specified Slack channel, the workflow is triggered. The message is filtered to remove @bot mentions, and then passed to an AI Agent. The AI Agent, powered by a Google Gemini Chat Model and utilizing conversational memory (to have back-and-forth with user on follow up questions, limit of 10), determines if the user's query requires data from Google Analytics 4. If so, it leverages a pre-configured GA4 tool to fetch the necessary report (e.g., page views, users, conversions for a specific date range). Finally, the AI Agent's response, containing the requested data, is sent back to the original Slack channel as a reply.\n\nSetup Steps\nSlack Trigger: Configure the Slack API credential and specify the channel n8n should monitor for new messages.\n\nCredentials: Create and configure the following credentials in n8n:\n\nSlack API: For sending and receiving messages.\n\nGoogle Analytics 4: For accessing GA4 reports. Requires a Google Cloud Project with the Analytics Data API enabled and a Service Account Key (JSON).\n\nGoogle Gemini Chat Model: For the AI Agent's intelligence. Requires an API key from Google AI Studio.\n\nAI Agent System Prompt: Craft a robust system prompt for the AI agent. This prompt should define the agent's role, constraints (e.g., \"do not estimate or lie on data, if GA4 is unavailable, inform so\"), and guidance on mapping natural language metrics/dimensions to GA4 equivalents (e.g., \"when the user mentions 'leads', they mean 'conversions' in GA4\").\n\nSlack Reply: Ensure the final Slack \"Send a message\" node is configured to reply to the original channel, providing the data in a clear, concise format.","workflow":{"id":"lmotacwXoBreGo6VcVh5-","meta":{"instanceId":"8e4e196c818206436a1557e9e041e1f6504d6a62be5f6b1376226894d3a645f0","templateCredsSetupCompleted":true},"name":"Query GA4 data with AI and natural language in Slack channel","tags":[{"id":"aUJ0jmgTbUJikuZl","name":"slack","createdAt":"2026-01-25T15:28:51.109Z","updatedAt":"2026-01-25T15:28:51.109Z"},{"id":"dA7L2nOfM12IEvMj","name":"google analytics","createdAt":"2026-01-25T15:28:54.487Z","updatedAt":"2026-01-25T15:28:54.487Z"},{"id":"m5iCWoJAMNpsodp3","name":"ga4","createdAt":"2026-01-25T15:28:48.821Z","updatedAt":"2026-01-25T15:28:48.821Z"}],"nodes":[{"id":"5f649028-62b1-4ebe-a1ec-02eca7d007aa","name":"Slack Trigger","type":"n8n-nodes-base.slackTrigger","position":[-1456,-2064],"webhookId":"dabfb1e3-ec21-4eb2-952e-5bbc92a35547","parameters":{"options":{},"trigger":["app_mention"],"channelId":{"__rl":true,"mode":"list","value":"C0AA6U5F095","cachedResultName":"all-ga4-n8n-llm"}},"credentials":{"slackApi":{"id":"IaWjszISoL8MGlaQ","name":"Slack account"}},"typeVersion":1},{"id":"47fb84b8-1a4a-4ad5-9aea-cb9169d7a25f","name":"Edit Fields","type":"n8n-nodes-base.set","position":[-1248,-2064],"parameters":{"options":{},"assignments":{"assignments":[{"id":"32a37711-d394-4ff3-8fb0-b01d1c49e25f","name":"text","type":"string","value":"={{ $json.text.replace(/<@.*?>/g, '').trim() }}"}]}},"typeVersion":3.4},{"id":"5c980803-2e81-4770-9a72-64c00859c384","name":"AI Agent","type":"@n8n/n8n-nodes-langchain.agent","position":[-1040,-2064],"parameters":{"text":"={{ $node[\"Edit Fields\"].json[\"text\"] }}","options":{"systemMessage":"=### ROLE\nYou are the Scalo AI Labs Senior GA4 Analyst. You are prohibited from estimating or inventing data.\n\n### TIME & DATA INTEGRITY\n- Today is {{ $now.toFormat('cccc, MMMM dd, yyyy') }}.\n-CRITICAL: You are only allowed to report numbers returned by the 'Get a report in Google Analytics' tool. If the tool returns no data, you MUST say '0' or 'No data found.' Under no circumstances should you estimate the number. \n\n### THE SCHEMA LOOKUP RULE (MANDATORY)\nYou have access to the full GA4 API Schema (~300 items). Before calling a tool, you must perform a semantic match:\n\n1. ACQUISITION: \n   - Visits/Traffic -> sessions\n   - Where they came from -> sessionSource / sessionMedium\n   - Channel Groups -> defaultChannelGroup\n\n2. ENGAGEMENT:\n   - Views/Hits -> screenPageViews\n   - Engagement Rate -> engagementRate\n   - Time on Site -> averageSessionDuration\n   - Bounce -> bounceRate\n\n3. REVENUE & ECOMMERCE:\n   - Total Sales/Income -> purchaseRevenue\n   - Product Revenue -> grossItemRevenue\n   - Items -> itemName, itemId, itemCategory (1-5)\n   - Cart Actions -> addToCarts, checkouts\n\n4. UNLISTED ITEMS:\n   - If the user asks for a specific dimension or metric not listed above (e.g., \"Ad format\", \"Language\"), you MUST find the exact camelCase API Name from the official schema (e.g., adFormat, language).\n\n### EXECUTION GUARDRAIL\n- Only call the tool with valid camelCase strings.\n- If a metric name like \"product_revenue\" is sent, it will FAIL. Use \"grossItemRevenue\".\nAlways include the start/end dates used in your reply to avoid any confusion with the user"},"promptType":"define","hasOutputParser":true},"typeVersion":3.1},{"id":"43787510-2642-4c58-8835-85801c1699f0","name":"Get a report in Google Analytics","type":"n8n-nodes-base.googleAnalyticsTool","position":[-800,-1856],"parameters":{"endDate":"={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('End', ``, 'string') }}","dateRange":"custom","returnAll":true,"startDate":"={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('Start', ``, 'string') }}","metricsGA4":{"metricValues":[{"name":"custom_metric","listName":"={{ $fromAI(\"metric\", \"The GA4 metric to retrieve such as sessions or activeUsers\") }}"}]},"propertyId":{"__rl":true,"mode":"id","value":"521315571"},"dimensionsGA4":{"dimensionValues":[{"listName":"={{ $fromAI(\"dimension\", \"The GA4 dimension like date or pagePath\") }}"}]},"additionalFields":{}},"credentials":{"googleAnalyticsOAuth2":{"id":"Io4hTl4RLmsOwn89","name":"Google Analytics account 2"}},"typeVersion":2},{"id":"fa360f13-2343-4aed-8e67-2b0163453848","name":"Google Gemini Chat Model","type":"@n8n/n8n-nodes-langchain.lmChatGoogleGemini","position":[-1184,-1840],"parameters":{"options":{},"modelName":"models/gemini-2.5-pro"},"credentials":{"googlePalmApi":{"id":"Tb2ZL0oNwCUJY95G","name":"Google Gemini(PaLM) Api account"}},"typeVersion":1},{"id":"59037e5c-7658-42c3-9f98-fb1d137c8ca0","name":"Simple Memory","type":"@n8n/n8n-nodes-langchain.memoryBufferWindow","onError":"continueRegularOutput","position":[-992,-1840],"parameters":{"sessionKey":"=JAN_26_FINAL_ACTUAL","sessionIdType":"customKey","contextWindowLength":10},"typeVersion":1.3},{"id":"73c0219f-4251-4af5-b7d4-f4a1ac82ac27","name":"Send a message","type":"n8n-nodes-base.slack","position":[-688,-2064],"webhookId":"879b8038-b7dc-483d-8b80-c96c8b8d37ca","parameters":{"text":"={{ $node[\"AI Agent\"].json[\"output\"] }}","select":"channel","channelId":{"__rl":true,"mode":"id","value":"={{ $node[\"Slack Trigger\"].json[\"channel\"] }}"},"otherOptions":{"thread_ts":{"replyValues":{"thread_ts":"={{ $node[\"Slack Trigger\"].json[\"ts\"] }}"}}}},"credentials":{"slackApi":{"id":"IaWjszISoL8MGlaQ","name":"Slack account"}},"typeVersion":2.4},{"id":"798a2455-e09b-4b63-bb51-408bc8d787a7","name":"Sticky Note","type":"n8n-nodes-base.stickyNote","position":[-1664,-2512],"parameters":{"width":1440,"height":848,"content":"## How it works\n\nThis workflow seamlessly integrates Google Analytics 4 (GA4) with Slack, allowing users to query their website data using natural language inside a dedicated Slack channel. Video walkthrough: https://www.youtube.com/watch?v=oWXDc6uASfA\n\n## Setup steps\n\n1.  **Slack trigger**: Configure Slack API inside n8n to watch out for new messages that are sent in a specific channel. \n2.  **Credentials**: Configure credentials for Slack, GA4, Gemini .\n3.  **AI agent system prompt**: Create an AI agent that is not allowed to estimate or lie on data. If GA4 is unavailable, inform so. Also map natural language metrics to GA4 metrics (e.g. when the user mentions leads, they mean conversions in GA4)\n4.  **Slack reply**: Send a short natural text inside Slack as a reply to the user containing the numbers and dates used while fetching data"},"typeVersion":1}],"active":true,"pinData":{},"settings":{"availableInMCP":false,"executionOrder":"v1"},"versionId":"6d8b192e-8751-4514-b640-3d9acf2952ac","connections":{"AI Agent":{"main":[[{"node":"Send a message","type":"main","index":0}]]},"Edit Fields":{"main":[[{"node":"AI Agent","type":"main","index":0}]]},"Simple Memory":{"ai_memory":[[{"node":"AI Agent","type":"ai_memory","index":0}]]},"Slack Trigger":{"main":[[{"node":"Edit Fields","type":"main","index":0}]]},"Google Gemini Chat Model":{"ai_languageModel":[[{"node":"AI Agent","type":"ai_languageModel","index":0}]]},"Get a report in Google Analytics":{"ai_tool":[[{"node":"AI Agent","type":"ai_tool","index":0}]]}}},"lastUpdatedBy":1,"workflowInfo":{"nodeCount":8,"nodeTypes":{"n8n-nodes-base.set":{"count":1},"n8n-nodes-base.slack":{"count":1},"n8n-nodes-base.stickyNote":{"count":1},"n8n-nodes-base.slackTrigger":{"count":1},"@n8n/n8n-nodes-langchain.agent":{"count":1},"n8n-nodes-base.googleAnalyticsTool":{"count":1},"@n8n/n8n-nodes-langchain.lmChatGoogleGemini":{"count":1},"@n8n/n8n-nodes-langchain.memoryBufferWindow":{"count":1}}},"status":"published","readyToDemo":null,"user":{"name":"Adil Khan","username":"scalo-labs","bio":"Growth Marketing and Analytics specialist with over 10 years of experience in paid acquisition, optimizations and managing technical implementations for advanced analytics in web/app environments for web2 and web3 brands.","verified":true,"links":["https://www.linkedin.com/in/madilkhan/"],"avatar":"https://gravatar.com/avatar/f70a5c899e98237402bde50f1c4089aa17a5fda9f9391f346fe64c59f8196832?r=pg&d=retro&size=200"},"nodes":[{"id":38,"icon":"fa:pen","name":"n8n-nodes-base.set","codex":{"data":{"alias":["Set","JS","JSON","Filter","Transform","Map"],"resources":{"generic":[{"url":"https://n8n.io/blog/learn-to-automate-your-factorys-incident-reporting-a-step-by-step-guide/","icon":"🏭","label":"Learn to Automate Your Factory's Incident Reporting: A Step by Step Guide"},{"url":"https://n8n.io/blog/2021-the-year-to-automate-the-new-you-with-n8n/","icon":"☀️","label":"2021: The Year to Automate the New You with n8n"},{"url":"https://n8n.io/blog/automatically-pulling-and-visualizing-data-with-n8n/","icon":"📈","label":"Automatically pulling and visualizing data with n8n"},{"url":"https://n8n.io/blog/database-monitoring-and-alerting-with-n8n/","icon":"📡","label":"Database Monitoring and Alerting with n8n"},{"url":"https://n8n.io/blog/automatically-adding-expense-receipts-to-google-sheets-with-telegram-mindee-twilio-and-n8n/","icon":"🧾","label":"Automatically Adding Expense Receipts to Google Sheets with Telegram, Mindee, Twilio, and n8n"},{"url":"https://n8n.io/blog/no-code-ecommerce-workflow-automations/","icon":"store","label":"6 e-commerce workflows to power up your Shopify s"},{"url":"https://n8n.io/blog/how-to-build-a-low-code-self-hosted-url-shortener/","icon":"🔗","label":"How to build a low-code, self-hosted URL shortener in 3 steps"},{"url":"https://n8n.io/blog/automate-your-data-processing-pipeline-in-9-steps-with-n8n/","icon":"⚙️","label":"Automate your data processing pipeline in 9 steps"},{"url":"https://n8n.io/blog/how-to-get-started-with-crm-automation-and-no-code-workflow-ideas/","icon":"👥","label":"How to get started with CRM automation (with 3 no-code workflow ideas"},{"url":"https://n8n.io/blog/5-tasks-you-can-automate-with-notion-api/","icon":"⚡️","label":"5 tasks you can automate with the new Notion API "},{"url":"https://n8n.io/blog/automate-google-apps-for-productivity/","icon":"💡","label":"15 Google apps you can combine and automate to increase productivity"},{"url":"https://n8n.io/blog/how-uproc-scraped-a-multi-page-website-with-a-low-code-workflow/","icon":" 🕸️","label":"How uProc scraped a multi-page website with a low-code workflow"},{"url":"https://n8n.io/blog/building-an-expense-tracking-app-in-10-minutes/","icon":"📱","label":"Building an expense tracking app in 10 minutes"},{"url":"https://n8n.io/blog/the-ultimate-guide-to-automate-your-video-collaboration-with-whereby-mattermost-and-n8n/","icon":"📹","label":"The ultimate guide to automate your video collaboration with Whereby, Mattermost, and n8n"},{"url":"https://n8n.io/blog/5-workflow-automations-for-mattermost-that-we-love-at-n8n/","icon":"🤖","label":"5 workflow automations for Mattermost that we love at n8n"},{"url":"https://n8n.io/blog/learn-to-build-powerful-api-endpoints-using-webhooks/","icon":"🧰","label":"Learn to Build Powerful API Endpoints Using Webhooks"},{"url":"https://n8n.io/blog/how-a-membership-development-manager-automates-his-work-and-investments/","icon":"📈","label":"How a Membership Development Manager automates his work and investments"},{"url":"https://n8n.io/blog/a-low-code-bitcoin-ticker-built-with-questdb-and-n8n-io/","icon":"📈","label":"A low-code bitcoin ticker built with QuestDB and n8n.io"},{"url":"https://n8n.io/blog/how-to-set-up-a-ci-cd-pipeline-with-no-code/","icon":"🎡","label":"How to set up a no-code CI/CD pipeline with GitHub and TravisCI"},{"url":"https://n8n.io/blog/benefits-of-automation-and-n8n-an-interview-with-hubspots-hugh-durkin/","icon":"🎖","label":"Benefits of automation and n8n: An interview with HubSpot's Hugh Durkin"},{"url":"https://n8n.io/blog/how-goomer-automated-their-operations-with-over-200-n8n-workflows/","icon":"🛵","label":"How Goomer automated their operations with over 200 n8n workflows"},{"url":"https://n8n.io/blog/aws-workflow-automation/","label":"7 no-code workflow automations for Amazon Web Services"}],"primaryDocumentation":[{"url":"https://docs.n8n.io/integrations/builtin/core-nodes/n8n-nodes-base.set/"}]},"categories":["Core Nodes"],"nodeVersion":"1.0","codexVersion":"1.0","subcategories":{"Core Nodes":["Data Transformation"]}}},"group":"[\"input\"]","defaults":{"name":"Edit Fields"},"iconData":{"icon":"pen","type":"icon"},"displayName":"Edit Fields (Set)","typeVersion":3,"nodeCategories":[{"id":9,"name":"Core Nodes"}]},{"id":40,"icon":"file:slack.svg","name":"n8n-nodes-base.slack","codex":{"data":{"alias":["human","form","wait","hitl","approval"],"resources":{"generic":[{"url":"https://n8n.io/blog/no-code-ecommerce-workflow-automations/","icon":"store","label":"6 e-commerce workflows to power up your Shopify s"},{"url":"https://n8n.io/blog/automate-your-data-processing-pipeline-in-9-steps-with-n8n/","icon":"⚙️","label":"Automate your data processing pipeline in 9 steps"},{"url":"https://n8n.io/blog/how-to-get-started-with-crm-automation-and-no-code-workflow-ideas/","icon":"👥","label":"How to get started with CRM automation (with 3 no-code workflow ideas"},{"url":"https://n8n.io/blog/5-tasks-you-can-automate-with-notion-api/","icon":"⚡️","label":"5 tasks you can automate with the new Notion API "},{"url":"https://n8n.io/blog/build-your-own-virtual-assistant-with-n8n-a-step-by-step-guide/","icon":"👦","label":"Build your own virtual assistant with n8n: A step by step guide"},{"url":"https://n8n.io/blog/how-to-automatically-give-kudos-to-contributors-with-github-slack-and-n8n/","icon":"👏","label":"How to automatically give kudos to contributors with GitHub, Slack, and n8n"},{"url":"https://n8n.io/blog/automations-for-activists/","icon":"✨","label":"How Common Knowledge use workflow automation for activism"}],"primaryDocumentation":[{"url":"https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.slack/"}],"credentialDocumentation":[{"url":"https://docs.n8n.io/integrations/builtin/credentials/slack/"}]},"categories":["Communication","HITL"],"nodeVersion":"1.0","codexVersion":"1.0","subcategories":{"HITL":["Human in the Loop"]}}},"group":"[\"output\"]","defaults":{"name":"Slack"},"iconData":{"type":"file","fileBuffer":"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiBmaWxsPSIjZmZmIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiIHN0cm9rZT0iIzAwMCIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiB2aWV3Qm94PSIwIDAgMTUwLjg1MiAxNTAuODUyIj48dXNlIHhsaW5rOmhyZWY9IiNhIiB4PSIuOTI2IiB5PSIuOTI2Ii8+PHN5bWJvbCBpZD0iYSIgb3ZlcmZsb3c9InZpc2libGUiPjxnIHN0cm9rZS13aWR0aD0iMS44NTIiPjxwYXRoIGZpbGw9IiNlMDFlNWEiIHN0cm9rZT0iI2UwMWU1YSIgZD0iTTQwLjc0MSA5My41NWMwLTguNzM1IDYuNjA3LTE1Ljc3MiAxNC44MTU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TYuNjA3IDE0LjgxNS0xNC44MTUtNi42MDctMTQuODE1LTE0LjgxNS0xNC44MTVINzcuNzc4eiIvPjxwYXRoIGZpbGw9IiMyZmI2N2MiIHN0cm9rZT0iIzJmYjY3YyIgZD0iTTEzMy4zMzQgNzAuMzcxaC0xNC44MTVWNTUuNTU2YzAtOC4yMDcgNi42MDctMTQuODE1IDE0LjgxNS0xNC44MTVzMTQuODE1IDYuNjA3IDE0LjgxNSAxNC44MTUtNi42MDcgMTQuODE1LTE0LjgxNSAxNC44MTV6Ii8+PHBhdGggZmlsbD0iI2UwMWU1YSIgc3Ryb2tlPSIjZTAxZTVhIiBkPSJNMTQuODE1IDc3Ljc3OEgyOS42M3YxNC44MTVjMCA4LjIwNy02LjYwNyAxNC44MTUtMTQuODE1IDE0LjgxNVMwIDEwMC44IDAgOTIuNTkzczYuNjA3LTE0LjgxNSAxNC44MTUtMTQuODE1eiIvPjxwYXRoIGZpbGw9IiMzNmM1ZjEiIHN0cm9rZT0iIzM2YzVmMSIgZD0iTTcwLjM3MSAxNC44MTVWMjkuNjNINTUuNTU2Yy04LjIwNyAwLTE0LjgxNS02LjYwNy0xNC44MTUtMTQuODE1UzQ3LjM0OCAwIDU1LjU1NiAwczE0LjgxNSA2LjYwNyAxNC44MTUgMTQuODE1eiIvPjwvZz48L2c+PC9zeW1ib2w+PC9zdmc+"},"displayName":"Slack","typeVersion":2,"nodeCategories":[{"id":6,"name":"Communication"},{"id":28,"name":"HITL"}]},{"id":565,"icon":"fa:sticky-note","name":"n8n-nodes-base.stickyNote","codex":{"data":{"alias":["Comments","Notes","Sticky"],"categories":["Core Nodes"],"nodeVersion":"1.0","codexVersion":"1.0","subcategories":{"Core Nodes":["Helpers"]}}},"group":"[\"input\"]","defaults":{"name":"Sticky Note","color":"#FFD233"},"iconData":{"icon":"sticky-note","type":"icon"},"displayName":"Sticky Note","typeVersion":1,"nodeCategories":[{"id":9,"name":"Core Nodes"}]},{"id":1119,"icon":"fa:robot","name":"@n8n/n8n-nodes-langchain.agent","codex":{"data":{"alias":["LangChain","Chat","Conversational","Plan and Execute","ReAct","Tools"],"resources":{"primaryDocumentation":[{"url":"https://docs.n8n.io/integrations/builtin/cluster-nodes/root-nodes/n8n-nodes-langchain.agent/"}]},"categories":["AI","Langchain"],"subcategories":{"AI":["Agents","Root Nodes"]}}},"group":"[\"transform\"]","defaults":{"name":"AI Agent","color":"#404040"},"iconData":{"icon":"robot","type":"icon"},"displayName":"AI Agent","typeVersion":3,"nodeCategories":[{"id":25,"name":"AI"},{"id":26,"name":"Langchain"}]},{"id":1163,"icon":"fa:database","name":"@n8n/n8n-nodes-langchain.memoryBufferWindow","codex":{"data":{"resources":{"primaryDocumentation":[{"url":"https://docs.n8n.io/integrations/builtin/cluster-nodes/sub-nodes/n8n-nodes-langchain.memorybufferwindow/"}]},"categories":["AI","Langchain"],"subcategories":{"AI":["Memory"],"Memory":["For beginners"]}}},"group":"[\"transform\"]","defaults":{"name":"Simple Memory"},"iconData":{"icon":"database","type":"icon"},"displayName":"Simple Memory","typeVersion":1,"nodeCategories":[{"id":25,"name":"AI"},{"id":26,"name":"Langchain"}]},{"id":1262,"icon":"file:google.svg","name":"@n8n/n8n-nodes-langchain.lmChatGoogleGemini","codex":{"data":{"resources":{"primaryDocumentation":[{"url":"https://docs.n8n.io/integrations/builtin/cluster-nodes/sub-nodes/n8n-nodes-langchain.lmchatgooglegemini/"}]},"categories":["AI","Langchain"],"subcategories":{"AI":["Language Models","Root Nodes"],"Language Models":["Chat Models (Recommended)"]}}},"group":"[\"transform\"]","defaults":{"name":"Google Gemini Chat Model"},"iconData":{"type":"file","fileBuffer":"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2aWV3Qm94PSIwIDAgNDggNDgiPjxkZWZzPjxwYXRoIGlkPSJhIiBkPSJNNDQuNSAyMEgyNHY4LjVoMTEuOEMzNC43IDMzLjkgMzAuMSAzNyAyNCAzN2MtNy4yIDAtMTMtNS44LTEzLTEzczUuOC0xMyAxMy0xM2MzLjEgMCA1LjkgMS4xIDguMSAyLjlsNi40LTYuNEMzNC42IDQuMSAyOS42IDIgMjQgMiAxMS44IDIgMiAxMS44IDIgMjRzOS44IDIyIDIyIDIyYzExIDAgMjEtOCAyMS0yMiAwLTEuMy0uMi0yLjctLjUtNCIvPjwvZGVmcz48Y2xpcFBhdGggaWQ9ImIiPjx1c2UgeGxpbms6aHJlZj0iI2EiIG92ZXJmbG93PSJ2aXNpYmxlIi8+PC9jbGlwUGF0aD48cGF0aCBmaWxsPSIjRkJCQzA1IiBkPSJNMCAzN1YxMWwxNyAxM3oiIGNsaXAtcGF0aD0idXJsKCNiKSIvPjxwYXRoIGZpbGw9IiNFQTQzMzUiIGQ9Im0wIDExIDE3IDEzIDctNi4xTDQ4IDE0VjBIMHoiIGNsaXAtcGF0aD0idXJsKCNiKSIvPjxwYXRoIGZpbGw9IiMzNEE4NTMiIGQ9Im0wIDM3IDMwLTIzIDcuOSAxTDQ4IDB2NDhIMHoiIGNsaXAtcGF0aD0idXJsKCNiKSIvPjxwYXRoIGZpbGw9IiM0Mjg1RjQiIGQ9Ik00OCA0OCAxNyAyNGwtNC0zIDM1LTEweiIgY2xpcC1wYXRoPSJ1cmwoI2IpIi8+PC9zdmc+"},"displayName":"Google Gemini Chat Model","typeVersion":1,"nodeCategories":[{"id":25,"name":"AI"},{"id":26,"name":"Langchain"}]},{"id":1264,"icon":"file:slack.svg","name":"n8n-nodes-base.slackTrigger","codex":{"data":{"resources":{"primaryDocumentation":[{"url":"https://docs.n8n.io/integrations/builtin/trigger-nodes/n8n-nodes-base.slacktrigger/"}],"credentialDocumentation":[{"url":"https://docs.n8n.io/integrations/builtin/credentials/slack/"}]},"categories":["Communication"],"nodeVersion":"1.0","codexVersion":"1.0"}},"group":"[\"trigger\"]","defaults":{"name":"Slack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IiMzNmM1ZjEiIHN0cm9rZT0iIzM2YzVmMSIgZD0iTTcwLjM3MSAxNC44MTVWMjkuNjNINTUuNTU2Yy04LjIwNyAwLTE0LjgxNS02LjYwNy0xNC44MTUtMTQuODE1UzQ3LjM0OCAwIDU1LjU1NiAwczE0LjgxNSA2LjYwNyAxNC44MTUgMTQuODE1eiIvPjwvZz48L2c+PC9zeW1ib2w+PC9zdmc+"},"displayName":"Slack Trigger","typeVersion":1,"nodeCategories":[{"id":6,"name":"Communication"}]}],"categories":[{"id":32,"name":"Market Research"},{"id":47,"name":"AI Chatbot"}],"image":[{"id":4096,"url":"https://n8niostorageaccount.blob.core.windows.net/n8nio-strapi-blobs-prod/assets/Scalolabs_TN_4_jpg_1_db5947a130.jpeg"}]}}