workflow_id
stringlengths 1
82
| workflow_name
stringlengths 1
125
| node_count
stringclasses 71
values | integrations
stringlengths 2
836
| category
stringclasses 7
values | workflow_json
stringlengths 2
192k
|
|---|---|---|---|---|---|
5opbTWPZRN05bYdz
|
Build an MCP Server with Google Calendar
|
23
|
["googleCalendarTool", "stickyNote"]
|
ai-automation-lab
|
{"id": "5opbTWPZRN05bYdz", "meta": {"instanceId": "2ca62dfdbee183085041310c6198e97a69dbf85e4843e42c21169e2f5e3db806", "templateCredsSetupCompleted": true}, "name": "Build an MCP Server with Google Calendar", "tags": [], "nodes": [{"id": "4be79e3f-3e83-4432-b23f-4e4e9cac171b", "name": "Sticky Note8", "type": "n8n-nodes-base.stickyNote", "position": [-360, -800], "parameters": {"color": 2, "width": 2720, "height": 140, "content": ""}, "typeVersion": 1}, {"id": "439a0233-c8ec-4ea5-8630-0f6e62c76bef", "name": "Sticky Note9", "type": "n8n-nodes-base.stickyNote", "position": [520, -780], "parameters": {"color": 2, "width": 960, "height": 80, "content": "# Learn How to Build a MCP Server with Google Calendar"}, "typeVersion": 1}, {"id": "08996f0a-4a2d-438f-a8d7-aca78968d33f", "name": "Sticky Note2", "type": "n8n-nodes-base.stickyNote", "position": [-360, -600], "parameters": {"color": 7, "width": 620, "height": 280, "content": "# Introduce\n\nThis tutorial focuses on guiding users through the process of deploying MCP service with Google Calendar. By following this step - by - step guide, you'll be able to leverage the powerful features of MCP Server with Google Calendar, such as creating, reading, updating, and deleting events."}, "typeVersion": 1}, {"id": "0f866ad6-d1af-4732-be64-8c97af7e55ac", "name": "Sticky Note5", "type": "n8n-nodes-base.stickyNote", "position": [-360, -240], "parameters": {"color": 6, "width": 620, "height": 760, "content": "# Author\n\n### SunGuannan\nFreelance consultant from China, specializing in automations and data analysis. I work with select clients, addressing their toughest projects.\n\nFor business inquiries, email me at sguann2023@gmail.com.\n"}, "typeVersion": 1}, {"id": "4e2cdec7-8d04-40a7-9270-0f408ebf2efb", "name": "Sticky Note4", "type": "n8n-nodes-base.stickyNote", "position": [300, -600], "parameters": {"color": 5, "width": 620, "content": "## Step1: Google Calendar tools require credentials\nIf you don't have your Google Credentials set up in n8n yet, watch [this](https://www.youtube.com/watch?v=3Ai1EPznlAc) video to learn how to do it.\n\nIf you are using n8n Cloud plans, it's very intuitive to setup and you may not even need the tutorial."}, "typeVersion": 1}, {"id": "0a3941f5-959f-499c-b5a6-b2b66b203b1e", "name": "Sticky Note", "type": "n8n-nodes-base.stickyNote", "position": [300, -420], "parameters": {"color": 5, "width": 620, "height": 220, "content": "## Step 2: Create MCP Server Trigger and activate\nLog in to n8n and create a new workflow. On the new workflow page, click \u201cAdd First Step\u201d to open a searchable menu of nodes and triggers. \n\nType \u201cMCP Server Trigger\u201d in the search bar and select it from the results to start your workflow. \n\nThis sets up how n8n receives events from the MCP Server, laying the groundwork for integrating Google Calendar into your automation. "}, "typeVersion": 1}, {"id": "42800020-7ed3-4419-9847-d2a751aa3071", "name": "SearchEvent", "type": "n8n-nodes-base.googleCalendarTool", "position": [400, 260], "parameters": {"limit": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('Limit', ``, 'number') }}", "options": {}, "timeMax": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('Before', ``, 'string') }}", "timeMin": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('After', ``, 'string') }}", "calendar": {"__rl": true, "mode": "list", "value": "sguann2023@gmail.com", "cachedResultName": "sguann2023@gmail.com"}, "operation": "getAll"}, "credentials": {"googleCalendarOAuth2Api": {"id": "Wi0S7gZu9R8zFjTC", "name": "Google Calendar account"}}, "typeVersion": 1.3}, {"id": "5d2bce57-f77d-4fd1-9342-d81107a6009d", "name": "CreateEvent", "type": "n8n-nodes-base.googleCalendarTool", "position": [520, 260], "parameters": {"end": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('End', ``, 'string') }}", "start": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('Start', ``, 'string') }}", "calendar": {"__rl": true, "mode": "list", "value": "sguann2023@gmail.com", "cachedResultName": "sguann2023@gmail.com"}, "additionalFields": {"summary": "={{ $fromAI(\"event_title\", \"The event title\", \"string\") }}", "description": "={{ $fromAI(\"event_description\", \"The event description\", \"string\") }}"}}, "credentials": {"googleCalendarOAuth2Api": {"id": "Wi0S7gZu9R8zFjTC", "name": "Google Calendar account"}}, "typeVersion": 1.3}, {"id": "dbebec9c-fecc-4154-ba77-cfbb519ba40a", "name": "UpdateEvent", "type": "n8n-nodes-base.googleCalendarTool", "position": [640, 260], "parameters": {"eventId": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('Event_ID', ``, 'string') }}", "calendar": {"__rl": true, "mode": "list", "value": "sguann2023@gmail.com", "cachedResultName": "sguann2023@gmail.com"}, "operation": "update", "updateFields": {"end": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('End', ``, 'string') }}", "start": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('Start', ``, 'string') }}", "summary": "={{ $fromAI(\"event_title\", \"The event title\", \"string\") }}", "description": "={{ $fromAI(\"event_description\", \"The event description\", \"string\") }}"}}, "credentials": {"googleCalendarOAuth2Api": {"id": "Wi0S7gZu9R8zFjTC", "name": "Google Calendar account"}}, "typeVersion": 1.3}, {"id": "24ef1fd5-29dc-4208-a33b-5337307d01e0", "name": "DeleteEvent", "type": "n8n-nodes-base.googleCalendarTool", "position": [760, 260], "parameters": {"eventId": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('Event_ID', ``, 'string') }}", "options": {}, "calendar": {"__rl": true, "mode": "list", "value": "sguann2023@gmail.com", "cachedResultName": "sguann2023@gmail.com"}, "operation": "delete"}, "credentials": {"googleCalendarOAuth2Api": {"id": "Wi0S7gZu9R8zFjTC", "name": "Google Calendar account"}}, "typeVersion": 1.3}, {"id": "ec4aa55d-c6ee-4990-9c51-6ee1892600dd", "name": "Google Calendar MCP", "type": "@n8n/n8n-nodes-langchain.mcpTrigger", "position": [400, 60], "webhookId": "f9d9d5ea-6f83-42c8-ae50-ee6c71789bca", "parameters": {"path": "my-calendar"}, "typeVersion": 1}, {"id": "7e49bc5e-c3c1-47b3-8a0a-8f3b91ad954b", "name": "Sticky Note6", "type": "n8n-nodes-base.stickyNote", "position": [300, -180], "parameters": {"color": 5, "width": 620, "height": 600, "content": "## Step 3: Incorporate Google Calendar Tools\nAfter creating the MCP Server Trigger, rename it to \"Google Calendar MCP \" for clarity. \n\nClick \"Tools\" and type \"Google Calendar\" in the search bar to find tools for various Google Calendar operations. \n\nYou can add multiple tools, each for a specific task. For example, \"Get Many\" retrieves multiple events, \"Create\" makes new ones, \"Update\" modifies existing events, and \"Delete\" removes them. Use these tools to build customized, efficient workflows for your Google Calendar data. "}, "typeVersion": 1}, {"id": "6a86eb61-0e1f-4de1-a77f-0470fe1cd3ec", "name": "Sticky Note1", "type": "n8n-nodes-base.stickyNote", "position": [300, 440], "parameters": {"color": 5, "width": 620, "height": 580, "content": "## Step 4: Copy Your MCP Server Trigger URL and Activate Your Workflow\nDouble - click on the \"Google Calendar MCP\" node. On the node detail page, you'll locate the production URL, which might look something like \"https://xxx/mcp/my - calendar/sse\". Make sure to copy this URL as it will be used later in your workflow setup.\n\nAfter obtaining the URL, save the workflow. Then, check the \"Inactive\" button to activate the trigger. \n\n\nOnce activated, your workflow will start listening for events from the MCP Server, enabling seamless integration with the Google Calendar service."}, "typeVersion": 1}, {"id": "aed25c42-78e1-4984-8831-768e2bbe6888", "name": "Sticky Note7", "type": "n8n-nodes-base.stickyNote", "position": [960, -600], "parameters": {"color": 4, "width": 620, "height": 140, "content": "## Step 5: Create a New Workflow for AI Agent\nAt this stage, you're required to create a new workflow. Once the new workflow interface is open, click on the \"Add First Step\" option. In the list of available nodes and triggers that appears, search for and select the \"on Chat Message\" option to add it to your workflow. This sets the initial trigger for your AI-Agent-related workflow."}, "typeVersion": 1}, {"id": "214dbba6-dffe-4c43-8c14-77babd52107f", "name": "Sticky Note10", "type": "n8n-nodes-base.stickyNote", "position": [960, -440], "parameters": {"color": 4, "width": 620, "height": 1060, "content": "## Step 6: Add AI Agent Node\nAfter successfully creating the Chat Messages Trigger, you can proceed to add an \"AI Agent\" node right after it. Double - click on this newly added \"AI Agent\" node to open its configuration panel.\n\nIn the configuration, you'll need to add a specific option. Under the System Message field, enter the following text: \"You are a helpful assistant. Current datetime is {{ $now.toString() }}\". This message provides the AI with the current date and time, which can be useful for context in various interactions.\n\nNext, select an appropriate Large Language Model (LLM) from the available options. This model will be responsible for handling the chat and delivering events.\n\nTo enable continuous and context - aware conversations, add memory to the Agent. This allows the AI Agent to remember previous interactions, providing a more seamless and engaging chat experience.\n\nFinally, search for and add the \"MCP Client\" tool. In the SSE Endpoint section of the \"MCP Client\" configuration, paste the URL that you copied in Step 4. This step connects the AI Agent workflow to the MCP Server, enabling data flow and interaction between the two. "}, "typeVersion": 1}, {"id": "7ba10d96-e1cc-456d-9174-c848524466dd", "name": "AI Agent", "type": "@n8n/n8n-nodes-langchain.agent", "position": [1220, 20], "parameters": {"options": {"systemMessage": "=You are a helpful assistant.\nCurrent datetime is {{ $now.toString() }}"}}, "typeVersion": 1.8}, {"id": "2d577167-74d2-4966-8c39-79477787ed68", "name": "When chat message received", "type": "@n8n/n8n-nodes-langchain.chatTrigger", "position": [1020, 20], "webhookId": "7b02318f-1c6b-4f2a-9a4f-b17fa69ea680", "parameters": {"options": {}}, "typeVersion": 1.1}, {"id": "0c5f70f5-5156-42f1-90ab-1f294f2fa2d9", "name": "Simple Memory", "type": "@n8n/n8n-nodes-langchain.memoryBufferWindow", "position": [1320, 240], "parameters": {}, "typeVersion": 1.3}, {"id": "cf747bc2-9c08-4f8f-9408-135e17ef0d3d", "name": "Calendar MCP", "type": "@n8n/n8n-nodes-langchain.mcpClientTool", "position": [1440, 240], "parameters": {"sseEndpoint": "https://xxx.app.n8n.cloud/mcp/my-calendar/sse"}, "typeVersion": 1}, {"id": "8891a5de-e35f-4367-bfb7-0e54ce4452be", "name": "Sticky Note11", "type": "n8n-nodes-base.stickyNote", "position": [1020, 360], "parameters": {"color": 7, "height": 240, "content": "## Why model 4o? \ud83d\udc46\nAfter testing 4o-mini it had some difficulties handling the calendar requests, while the 4o model handled it with ease.\n\nDepending on your prompt and tools, 4o-mini might be able to work well too, but it requires further testing."}, "typeVersion": 1}, {"id": "f5d9ddb5-5957-4d22-8d85-a1c08eb813d8", "name": "Sticky Note12", "type": "n8n-nodes-base.stickyNote", "position": [1620, -600], "parameters": {"color": 6, "width": 740, "height": 520, "content": "# Let's Try!\n\n\n\n"}, "typeVersion": 1}, {"id": "31b467cd-1d70-4c05-ae14-9f9e455cd55c", "name": "gpt-4o", "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi", "position": [1180, 240], "parameters": {"model": {"__rl": true, "mode": "list", "value": "gpt-4o-mini"}, "options": {}}, "credentials": {"openAiApi": {"id": "40ZaiQQN82bPTck0", "name": "OpenAi account"}}, "typeVersion": 1.2}, {"id": "007f0f3f-e7ca-4ea8-acba-cfde3bd8d1dd", "name": "Sticky Note13", "type": "n8n-nodes-base.stickyNote", "position": [1620, -40], "parameters": {"color": 7, "width": 740, "height": 80, "content": "# Enjoy It! \ud83d\ude0a \ud83d\ude0a \ud83d\ude0a "}, "typeVersion": 1}], "active": false, "pinData": {}, "settings": {"executionOrder": "v1"}, "versionId": "c99542aa-af94-4e26-b255-473a26e0a962", "connections": {"gpt-4o": {"ai_languageModel": [[{"node": "AI Agent", "type": "ai_languageModel", "index": 0}]]}, "CreateEvent": {"ai_tool": [[{"node": "Google Calendar MCP", "type": "ai_tool", "index": 0}]]}, "DeleteEvent": {"ai_tool": [[{"node": "Google Calendar MCP", "type": "ai_tool", "index": 0}]]}, "SearchEvent": {"ai_tool": [[{"node": "Google Calendar MCP", "type": "ai_tool", "index": 0}]]}, "UpdateEvent": {"ai_tool": [[{"node": "Google Calendar MCP", "type": "ai_tool", "index": 0}]]}, "Calendar MCP": {"ai_tool": [[{"node": "AI Agent", "type": "ai_tool", "index": 0}]]}, "Simple Memory": {"ai_memory": [[{"node": "AI Agent", "type": "ai_memory", "index": 0}]]}, "When chat message received": {"main": [[{"node": "AI Agent", "type": "main", "index": 0}]]}}}
|
5uapJIjLLhwnhX0n
|
Perplexity Researcher
|
5
|
["executeWorkflowTrigger", "httpRequest", "set", "stickyNote"]
|
ai-automation-lab
|
{"id": "5uapJIjLLhwnhX0n", "meta": {"instanceId": "2b69b24ad1a51b447e1a0d6f8c70b16aca715ccfaf123eb531f92865766fce1c", "templateCredsSetupCompleted": true}, "name": "Perplexity Researcher", "tags": [], "nodes": [{"id": "5790066d-4157-4844-aeaa-47706140ed7a", "name": "When Executed by Another Workflow", "type": "n8n-nodes-base.executeWorkflowTrigger", "notes": "Find the latest content related to the field/knowledge you are interested in.\nIn-depth materials to prepare for the writing section", "position": [-60, -380], "parameters": {"inputSource": "passthrough"}, "typeVersion": 1.1}, {"id": "311eb2bf-3b79-46cf-abb1-9d90791167c3", "name": "Set Prompt Variables", "type": "n8n-nodes-base.set", "position": [220, -380], "parameters": {"options": {}, "assignments": {"assignments": [{"id": "bab0ccff-a856-49d5-833b-80e65874475e", "name": "System", "type": "string", "value": "Assisstant is a language model. Assistant is designed to be able to assist with a wide range of task, form answering simple question to providing in-depth explanations and discussions on a wide range of topics. As a language model, assistant is able to generate human-like text based on the imput it receives, allowing it to engage in natural-sounding evoling. It\u2019s able to process and understand large amounts of text, and can use this knowledge to provide accurate and informative responses to a wide range of question. Additionally, Assistant is able to generate its own text based on the imput it receives, allowing it to engage in discussions and provide explanations and description on a wide range of topics. Overall, Assistant is a powerfull system that can help with a wide range of task and provide valuable insights and information on a wide range of topics. What you need help with a specific question or just want to have a conversation about a particular topic, Assistant is here to assist"}, {"id": "1a6d7638-e2a4-495c-92d4-e0626b676b18", "name": "User", "type": "string", "value": "={{ $json.query }}"}]}}, "typeVersion": 3.4}, {"id": "4385053f-c9c8-4aae-b0d2-4cf7a7817164", "name": "Extract API Response", "type": "n8n-nodes-base.set", "position": [620, -380], "parameters": {"options": {}, "assignments": {"assignments": [{"id": "c5869f36-70cb-439a-8ad0-0382b37f9798", "name": "Respone Message Content", "type": "string", "value": "={{ $json.choices[0].message.content }}"}]}}, "typeVersion": 3.4}, {"id": "b8e3f54b-5148-4e04-a8b1-e3003a0ee128", "name": "Workflow Overview", "type": "n8n-nodes-base.stickyNote", "position": [-160, -480], "parameters": {"width": 1080, "height": 300, "content": "## Perplexity Research Workflow Overview\nThis workflow takes a user query, formats it using a system prompt, and sends it to the Perplexity AI Sonar model for search.\nResponses are extracted and returned as clean output."}, "typeVersion": 1}, {"id": "7b77de3d-279a-4c33-b4c1-a796ab94a7fa", "name": "Perplexity Research Content1", "type": "n8n-nodes-base.httpRequest", "position": [420, -380], "parameters": {"url": "https://api.perplexity.ai/chat/completions", "method": "POST", "options": {}, "jsonBody": "={\n \"model\": \"sonar\",\n \"messages\": [\n {\n \"role\": \"system\",\n \"content\": \"{{ $json.System }}\"\n },\n {\n \"role\": \"user\",\n \"content\": \"{{ $json.User || $json.query || $json.question || $json['Research Query'] || 'No input provided' }}\"\n }\n ],\n \"max_tokens\": 4000,\n \"temperature\": 0.2,\n \"top_p\": 0.9,\n \"return_citations\": true,\n \"search_domain_filter\": [\n \"perplexity.ai\"\n ],\n \"return_images\": false,\n \"return_related_questions\": false,\n \"search_recency_filter\": \"month\",\n \"top_k\": 0,\n \"stream\": false,\n \"presence_penalty\": 0,\n \"frequency_penalty\": 1\n}\n\n", "sendBody": true, "specifyBody": "json", "authentication": "genericCredentialType", "genericAuthType": "httpHeaderAuth"}, "credentials": {"httpHeaderAuth": {"id": "XTRc36olCHOn9XQP", "name": "Header Auth account 2"}}, "notesInFlow": false, "typeVersion": 4.2}], "active": false, "pinData": {}, "settings": {"callerPolicy": "any", "executionOrder": "v1"}, "versionId": "d506eade-acc3-40ed-9dfc-909cdf373969", "connections": {"When Executed by Another Workflow": {"main": [[{"node": "Set Prompt Variables", "type": "main", "index": 0}]]}}}
|
1073_Manual_GoogleSheets_Automate_Triggered
|
1073_Manual_GoogleSheets_Automate_Triggered
|
4
|
["googleSheets", "manualTrigger", "set"]
|
ai-automation-lab
|
{"nodes": [{"name": "On clicking 'execute'", "type": "n8n-nodes-base.manualTrigger", "position": [250, 300], "parameters": {}, "typeVersion": 1}, {"name": "Google Sheets", "type": "n8n-nodes-base.googleSheets", "position": [650, 300], "parameters": {"range": "A:B", "options": {}, "sheetId": "1ijnLMy6htVTX_68e2lsdGYiA5_6ZG72FXUbxAy_DC94", "operation": "append", "authentication": "oAuth2"}, "credentials": {"googleSheetsOAuth2Api": "Amudhan-GoogleSheets"}, "typeVersion": 1}, {"name": "Set", "type": "n8n-nodes-base.set", "position": [450, 300], "parameters": {"values": {"number": [{"name": "id"}], "string": [{"name": "name", "value": "n8n"}]}, "options": {}}, "typeVersion": 1, "alwaysOutputData": true}, {"name": "Google Sheets1", "type": "n8n-nodes-base.googleSheets", "position": [850, 300], "parameters": {"range": "A:B", "options": {}, "sheetId": "1ijnLMy6htVTX_68e2lsdGYiA5_6ZG72FXUbxAy_DC94", "authentication": "oAuth2"}, "credentials": {"googleSheetsOAuth2Api": "Amudhan-GoogleSheets"}, "typeVersion": 1}], "connections": {"Set": {"main": [[{"node": "Google Sheets", "type": "main", "index": 0}]]}, "Google Sheets": {"main": [[{"node": "Google Sheets1", "type": "main", "index": 0}]]}, "On clicking 'execute'": {"main": [[{"node": "Set", "type": "main", "index": 0}]]}}}
|
1074_Manual_HTTP_Automation_Webhook
|
1074_Manual_HTTP_Automation_Webhook
|
4
|
["httpRequest", "manualTrigger"]
|
ai-automation-lab
|
{"nodes": [{"name": "On clicking 'execute'", "type": "n8n-nodes-base.manualTrigger", "position": [290, 300], "parameters": {}, "typeVersion": 1}, {"name": "HTTP Request", "type": "n8n-nodes-base.httpRequest", "position": [540, 300], "parameters": {"url": "https://reqres.in/api/users", "options": {}}, "typeVersion": 1}, {"name": "HTTP Request1", "type": "n8n-nodes-base.httpRequest", "position": [790, 300], "parameters": {"url": "https://reqres.in/api/users", "options": {}, "requestMethod": "POST", "bodyParametersUi": {"parameter": [{"name": "name", "value": "Neo"}, {"name": "job", "value": "Programmer"}]}}, "typeVersion": 1}, {"name": "HTTP Request2", "type": "n8n-nodes-base.httpRequest", "position": [1050, 300], "parameters": {"url": "https://reqres.in/api/users/2", "options": {}, "requestMethod": "PATCH", "bodyParametersUi": {"parameter": [{"name": "job", "value": "The Chosen One"}]}}, "typeVersion": 1}], "connections": {"HTTP Request": {"main": [[{"node": "HTTP Request1", "type": "main", "index": 0}]]}, "HTTP Request1": {"main": [[{"node": "HTTP Request2", "type": "main", "index": 0}]]}, "On clicking 'execute'": {"main": [[{"node": "HTTP Request", "type": "main", "index": 0}]]}}}
|
60
|
Create a post and update the post in WordPress
|
3
|
["manualTrigger", "wordpress"]
|
ai-automation-lab
|
{"id": "60", "name": "Create a post and update the post in WordPress", "nodes": [{"name": "On clicking 'execute'", "type": "n8n-nodes-base.manualTrigger", "position": [570, 260], "parameters": {}, "typeVersion": 1}, {"name": "Wordpress", "type": "n8n-nodes-base.wordpress", "position": [770, 260], "parameters": {"title": "created from n8n", "additionalFields": {}}, "credentials": {"wordpressApi": "wordpress"}, "typeVersion": 1}, {"name": "Wordpress1", "type": "n8n-nodes-base.wordpress", "position": [970, 260], "parameters": {"postId": "={{$node[\"Wordpress\"].json[\"id\"]}}", "operation": "update", "updateFields": {"content": "This post was created using the n8n workflow."}}, "credentials": {"wordpressApi": "wordpress"}, "typeVersion": 1}], "active": false, "settings": {}, "connections": {"Wordpress": {"main": [[{"node": "Wordpress1", "type": "main", "index": 0}]]}, "On clicking 'execute'": {"main": [[{"node": "Wordpress", "type": "main", "index": 0}]]}}}
|
60
|
n8n_mysql_purge_history_greater_than_10_days
|
3
|
["cron", "manualTrigger", "mySql"]
|
ai-automation-lab
|
{"id": "60", "name": "n8n_mysql_purge_history_greater_than_10_days", "nodes": [{"name": "On clicking 'execute'", "type": "n8n-nodes-base.manualTrigger", "position": [250, 300], "parameters": {}, "typeVersion": 1}, {"name": "MySQL", "type": "n8n-nodes-base.mySql", "position": [450, 300], "parameters": {"query": "DELETE FROM execution_entity \nWHERE DATE(stoppedAt) < DATE_SUB(CURDATE(), INTERVAL 30 DAY)", "operation": "executeQuery"}, "credentials": {"mySql": "n8n"}, "typeVersion": 1}, {"name": "Cron", "type": "n8n-nodes-base.cron", "position": [250, 460], "parameters": {"triggerTimes": {"item": [{"hour": 7}]}}, "typeVersion": 1}], "active": true, "settings": {}, "connections": {"Cron": {"main": [[{"node": "MySQL", "type": "main", "index": 0}]]}, "On clicking 'execute'": {"main": [[{"node": "MySQL", "type": "main", "index": 0}]]}}}
|
1077_Mattermost_Webhook_Automate_Webhook
|
1077_Mattermost_Webhook_Automate_Webhook
|
3
|
["mattermost", "set", "webhook"]
|
ai-automation-lab
|
{"nodes": [{"name": "Webhook", "type": "n8n-nodes-base.webhook", "position": [590, 400], "webhookId": "822cce61-ff5f-4cea-b8ba-1822651786e3", "parameters": {"path": "822cce61-ff5f-4cea-b8ba-1822651786e3", "options": {}, "httpMethod": "POST"}, "typeVersion": 1}, {"name": "Set", "type": "n8n-nodes-base.set", "position": [780, 400], "parameters": {"values": {"string": [{"name": "amudhan", "value": "n8n-rocks"}]}, "options": {}, "keepOnlySet": true}, "typeVersion": 1}, {"name": "Mattermost", "type": "n8n-nodes-base.mattermost", "position": [990, 400], "parameters": {"message": "=Join me in a video call:", "channelId": "={{$node[\"Webhook\"].json[\"body\"][\"channel_id\"]}}", "attachments": [{"title": "=https://whereby.com/{{$json[$node[\"Webhook\"].json[\"body\"][\"user_name\"]]}}", "title_link": "=https://whereby.com/{{$json[$node[\"Webhook\"].json[\"body\"][\"user_name\"]]}}"}], "otherOptions": {}}, "credentials": {"mattermostApi": "mm_creds"}, "typeVersion": 1}], "connections": {"Set": {"main": [[{"node": "Mattermost", "type": "main", "index": 0}]]}, "Webhook": {"main": [[{"node": "Set", "type": "main", "index": 0}]]}}}
|
1078_Manual_Dropbox_Automation_Webhook
|
1078_Manual_Dropbox_Automation_Webhook
|
5
|
["dropbox", "httpRequest", "manualTrigger"]
|
ai-automation-lab
|
{"nodes": [{"name": "On clicking 'execute'", "type": "n8n-nodes-base.manualTrigger", "position": [50, 200], "parameters": {}, "typeVersion": 1}, {"name": "Dropbox", "type": "n8n-nodes-base.dropbox", "position": [250, 200], "parameters": {"path": "/n8n", "resource": "folder"}, "credentials": {"dropboxApi": "dropbox_accesstoken"}, "typeVersion": 1}, {"name": "Dropbox1", "type": "n8n-nodes-base.dropbox", "position": [650, 200], "parameters": {"path": "/n8n/file.png", "binaryData": true}, "credentials": {"dropboxApi": "dropbox_accesstoken"}, "typeVersion": 1}, {"name": "HTTP Request", "type": "n8n-nodes-base.httpRequest", "position": [450, 200], "parameters": {"url": "https://n8n.io/n8n-logo.png", "options": {}, "responseFormat": "file"}, "typeVersion": 1}, {"name": "Dropbox2", "type": "n8n-nodes-base.dropbox", "position": [850, 200], "parameters": {"path": "/n8n", "resource": "folder", "operation": "list"}, "credentials": {"dropboxApi": "dropbox_accesstoken"}, "typeVersion": 1}], "connections": {"Dropbox": {"main": [[{"node": "HTTP Request", "type": "main", "index": 0}]]}, "Dropbox1": {"main": [[{"node": "Dropbox2", "type": "main", "index": 0}]]}, "HTTP Request": {"main": [[{"node": "Dropbox1", "type": "main", "index": 0}]]}, "On clicking 'execute'": {"main": [[{"node": "Dropbox", "type": "main", "index": 0}]]}}}
|
61
|
Receive updates when a customer is created in HelpScout
|
1
|
["helpScoutTrigger"]
|
ai-automation-lab
|
{"id": "61", "name": "Receive updates when a customer is created in HelpScout", "nodes": [{"name": "HelpScout Trigger", "type": "n8n-nodes-base.helpScoutTrigger", "position": [690, 260], "webhookId": "aaaf8b3f-8247-4d98-ae65-8c6626aade95", "parameters": {"events": ["customer.created"]}, "credentials": {"helpScoutOAuth2Api": "helpscout"}, "typeVersion": 1}], "active": false, "settings": {}, "connections": {}}
|
1080_Manual_HTTP_Automation_Webhook
|
1080_Manual_HTTP_Automation_Webhook
|
5
|
["httpRequest", "manualTrigger", "nextCloud"]
|
ai-automation-lab
|
{"nodes": [{"name": "On clicking 'execute'", "type": "n8n-nodes-base.manualTrigger", "position": [20, 180], "parameters": {}, "typeVersion": 1}, {"name": "HTTP Request", "type": "n8n-nodes-base.httpRequest", "position": [420, 180], "parameters": {"url": "https://n8n.io/n8n-logo.png", "options": {}, "responseFormat": "file"}, "typeVersion": 1}, {"name": "NextCloud", "type": "n8n-nodes-base.nextCloud", "position": [220, 180], "parameters": {"path": "n8n", "resource": "folder"}, "credentials": {"nextCloudApi": "nextcloud_creds"}, "typeVersion": 1}, {"name": "NextCloud1", "type": "n8n-nodes-base.nextCloud", "position": [620, 180], "parameters": {"path": "n8n/logo.png", "binaryDataUpload": true}, "credentials": {"nextCloudApi": "nextcloud_creds"}, "typeVersion": 1}, {"name": "NextCloud2", "type": "n8n-nodes-base.nextCloud", "position": [820, 180], "parameters": {"path": "n8n", "resource": "folder", "operation": "list"}, "credentials": {"nextCloudApi": "nextcloud_creds"}, "typeVersion": 1}], "connections": {"NextCloud": {"main": [[{"node": "HTTP Request", "type": "main", "index": 0}]]}, "NextCloud1": {"main": [[{"node": "NextCloud2", "type": "main", "index": 0}]]}, "HTTP Request": {"main": [[{"node": "NextCloud1", "type": "main", "index": 0}]]}, "On clicking 'execute'": {"main": [[{"node": "NextCloud", "type": "main", "index": 0}]]}}}
|
1081_HubSpot_Automate_Triggered
|
1081_HubSpot_Automate_Triggered
|
1
|
["hubspotTrigger"]
|
ai-automation-lab
|
{"nodes": [{"name": "Hubspot Trigger", "type": "n8n-nodes-base.hubspotTrigger", "position": [700, 260], "webhookId": "9fe8c037-be4f-4809-a7c2-96e509bfc52e", "parameters": {"appId": "dghert3", "additionalFields": {"maxConcurrentRequests": 5}}, "credentials": {"hubspotDeveloperApi": "hubspot_trigger"}, "typeVersion": 1}], "connections": {}}
|
1082_Slack_Readbinaryfile_Create
|
1082_Slack_Readbinaryfile_Create
|
9
|
["emailReadImap", "emailSend", "function", "merge", "readBinaryFile", "slack", "spreadsheetFile", "switch"]
|
ai-automation-lab
|
{"nodes": [{"name": "Read Harvey's Email", "type": "n8n-nodes-base.emailReadImap", "position": [270, 390], "parameters": {"options": {}}, "credentials": {"imap": "Read Harvey's Mail"}, "typeVersion": 1}, {"name": "Who Is The Email From?", "type": "n8n-nodes-base.switch", "position": [460, 390], "parameters": {"rules": {"rules": [{"value2": "Louis Litt <louis_litt_1970@yahoo.com>"}]}, "value1": "={{$node[\"Read Harvey's Email\"].json[\"from\"]}}", "dataType": "string", "fallbackOutput": 3}, "typeVersion": 1, "alwaysOutputData": false}, {"name": "Read Excuses File", "type": "n8n-nodes-base.readBinaryFile", "position": [670, 230], "parameters": {"filePath": "/home/n8n/Excuse_Generator.xlsx"}, "typeVersion": 1}, {"name": "Retrieve Excuses Spreadsheet Data", "type": "n8n-nodes-base.spreadsheetFile", "position": [860, 230], "parameters": {"options": {}}, "typeVersion": 1}, {"name": "Generate Excuse", "type": "n8n-nodes-base.function", "position": [1040, 230], "parameters": {"functionCode": "var leadinmax = 24;\nvar perpmax = 25;\nvar delaymax = 23;\nvar leadin = Math.floor((Math.random() * leadinmax ) + 1);\nvar perp = Math.floor((Math.random() * perpmax ) + 1);\nvar delay = Math.floor((Math.random() * delaymax) + 1);\n\nvar excuse = items[leadin].json.Leadin + \" \" + items[perp].json.Perpetrator + \" \" + items[delay].json.Delay;\n\nitems = [{json:{}}];\n\nitems[0].json.excuse = excuse;\nreturn items;\n"}, "typeVersion": 1}, {"name": "Merge Excuse and Mail Data", "type": "n8n-nodes-base.merge", "position": [1230, 330], "parameters": {"mode": "mergeByIndex"}, "typeVersion": 1}, {"name": "Send Email", "type": "n8n-nodes-base.emailSend", "position": [1460, 250], "parameters": {"text": "= {{$node[\"Merge Excuse and Mail Data\"].json[\"excuse\"]}}\n\nMaybe next time.\n\nHarvey", "options": {}, "subject": "=RE: {{$node[\"Merge Excuse and Mail Data\"].json[\"subject\"]}}", "toEmail": "={{$node[\"Merge Excuse and Mail Data\"].json[\"from\"]}}", "fromEmail": "={{$node[\"Merge Excuse and Mail Data\"].json[\"to\"]}}"}, "credentials": {"smtp": "Send Harvey's Mail"}, "typeVersion": 1}, {"name": "Slack (Louis)", "type": "n8n-nodes-base.slack", "position": [1470, 410], "parameters": {"text": "=Here is what Louis emailed you:\n```\n{{$node[\"Merge Excuse and Mail Data\"].json[\"textPlain\"]}}\n```\n\nHere is how \"you\" responded:\n> {{$node[\"Merge Excuse and Mail Data\"].json[\"excuse\"]}}\n\n:+1: *You're Welcome!* :smirk:", "channel": "private", "attachments": [], "otherOptions": {"mrkdwn": true}}, "credentials": {"slackApi": "Nathan's Slack API Token"}, "typeVersion": 1}, {"name": "Slack (General)", "type": "n8n-nodes-base.slack", "position": [890, 470], "parameters": {"text": "You've just received an email. You may wish to check it out.", "channel": "private", "attachments": [], "otherOptions": {"mrkdwn": true}}, "credentials": {"slackApi": "Nathan's Slack API Token"}, "typeVersion": 1}], "connections": {"Generate Excuse": {"main": [[{"node": "Merge Excuse and Mail Data", "type": "main", "index": 0}]]}, "Read Excuses File": {"main": [[{"node": "Retrieve Excuses Spreadsheet Data", "type": "main", "index": 0}]]}, "Read Harvey's Email": {"main": [[{"node": "Who Is The Email From?", "type": "main", "index": 0}]]}, "Who Is The Email From?": {"main": [[{"node": "Read Excuses File", "type": "main", "index": 0}, {"node": "Merge Excuse and Mail Data", "type": "main", "index": 1}], [{"node": "Slack (General)", "type": "main", "index": 0}]]}, "Merge Excuse and Mail Data": {"main": [[{"node": "Send Email", "type": "main", "index": 0}, {"node": "Slack (Louis)", "type": "main", "index": 0}]]}, "Retrieve Excuses Spreadsheet Data": {"main": [[{"node": "Generate Excuse", "type": "main", "index": 0}]]}}}
|
1083_Mautic_GoogleSheets_Automate_Scheduled
|
1083_Mautic_GoogleSheets_Automate_Scheduled
|
4
|
["cron", "googleSheets", "mautic"]
|
ai-automation-lab
|
{"nodes": [{"name": "GS Read Data2", "type": "n8n-nodes-base.googleSheets", "position": [240, 750], "parameters": {"range": "Data!A:P", "options": {"valueRenderMode": "FORMATTED_VALUE"}, "sheetId": "1jKYwPE9DMFOYf1AeDuTvQ3GSM2GqaEJhGYNoisxSLpM"}, "credentials": {"googleApi": "n8n API"}, "typeVersion": 1}, {"name": "Mautic", "type": "n8n-nodes-base.mautic", "position": [450, 750], "parameters": {"email": "={{$node[\"GS Read Data2\"].json[\"email\"]}}", "options": {}, "firstName": "={{$node[\"GS Read Data2\"].json[\"firstname\"]}}", "additionalFields": {"mobile": "={{$node[\"GS Read Data2\"].json[\"mobile\"]}}"}}, "credentials": {"mauticApi": "MauticAPI"}, "notesInFlow": false, "typeVersion": 1}, {"name": "GS Read Data2", "type": "n8n-nodes-base.googleSheets", "position": [240, 750], "parameters": {"range": "Data!A:P", "options": {"valueRenderMode": "FORMATTED_VALUE"}, "sheetId": "1jKYwPE9DMFOYf1AeDuTvQ3GSM2GqaEJhGYNoisxSLpM"}, "credentials": {"googleApi": "n8n API"}, "typeVersion": 1}, {"name": "Cron", "type": "n8n-nodes-base.cron", "position": [40, 750], "parameters": {"triggerTimes": {"item": [{"mode": "everyX", "unit": "minutes", "value": 5}]}}, "typeVersion": 1}], "connections": {"Cron": {"main": [[{"node": "GS Read Data2", "type": "main", "index": 0}]]}, "GS Read Data2": {"main": [[{"node": "Mautic", "type": "main", "index": 0}]]}}}
|
1084_Sse_Automation_Triggered
|
1084_Sse_Automation_Triggered
|
1
|
["sseTrigger"]
|
ai-automation-lab
|
{"name": "", "nodes": [{"name": "SSE Trigger", "type": "n8n-nodes-base.sseTrigger", "position": [850, 420], "parameters": {"url": "https://n8n.io"}, "typeVersion": 1}], "active": false, "settings": {}, "connections": {}}
|
63
|
Receive updates when a new list is created in Affinity
|
1
|
["affinityTrigger"]
|
ai-automation-lab
|
{"id": "63", "name": "Receive updates when a new list is created in Affinity", "nodes": [{"name": "Affinity-Trigger", "type": "n8n-nodes-base.affinityTrigger", "position": [690, 260], "webhookId": "e9d2b8f0-9fa9-43c2-b45d-dc96c869bd20", "parameters": {"events": ["list.created"]}, "credentials": {"affinityApi": "affinity"}, "typeVersion": 1}], "active": false, "settings": {}, "connections": {}}
|
1086_Manual_Contentful_Automation_Triggered
|
1086_Manual_Contentful_Automation_Triggered
|
2
|
["contentful", "manualTrigger"]
|
ai-automation-lab
|
{"name": "", "nodes": [{"name": "On clicking 'execute'", "type": "n8n-nodes-base.manualTrigger", "position": [150, 300], "parameters": {}, "typeVersion": 1}, {"name": "Contentful", "type": "n8n-nodes-base.contentful", "position": [350, 300], "parameters": {"operation": "getAll", "returnAll": true, "additionalFields": {}}, "credentials": {"contentfulApi": "contentful"}, "typeVersion": 1}], "active": false, "settings": {}, "connections": {"On clicking 'execute'": {"main": [[{"node": "Contentful", "type": "main", "index": 0}]]}}}
|
1087_Manual_Unleashedsoftware_Automation_Triggered
|
1087_Manual_Unleashedsoftware_Automation_Triggered
|
2
|
["manualTrigger", "unleashedSoftware"]
|
ai-automation-lab
|
{"name": "", "nodes": [{"name": "On clicking 'execute'", "type": "n8n-nodes-base.manualTrigger", "position": [390, 220], "parameters": {}, "typeVersion": 1}, {"name": "Unleashed Software", "type": "n8n-nodes-base.unleashedSoftware", "position": [600, 220], "parameters": {"filters": {"orderStatus": ["Completed"]}, "returnAll": true}, "credentials": {"unleashedSoftwareApi": "unleashed"}, "typeVersion": 1}], "active": false, "settings": {}, "connections": {"On clicking 'execute'": {"main": [[{"node": "Unleashed Software", "type": "main", "index": 0}]]}}}
|
64
|
Upload a file and get a list of all the files in a bucket
|
4
|
["httpRequest", "manualTrigger", "s3"]
|
ai-automation-lab
|
{"id": "64", "name": "Upload a file and get a list of all the files in a bucket", "nodes": [{"name": "On clicking 'execute'", "type": "n8n-nodes-base.manualTrigger", "position": [390, 220], "parameters": {}, "typeVersion": 1}, {"name": "HTTP Request", "type": "n8n-nodes-base.httpRequest", "position": [590, 220], "parameters": {"url": "https://n8n.io/n8n-logo.png", "options": {}, "responseFormat": "file"}, "typeVersion": 1}, {"name": "S3", "type": "n8n-nodes-base.s3", "position": [790, 220], "parameters": {"fileName": "={{$node[\"HTTP Request\"].binary.data.fileName}}", "operation": "upload", "bucketName": "n8n", "additionalFields": {}}, "credentials": {"s3": "s3-n8n"}, "typeVersion": 1}, {"name": "S", "type": "n8n-nodes-base.s3", "position": [990, 220], "parameters": {"options": {}, "operation": "getAll", "returnAll": true, "bucketName": "n8n"}, "credentials": {"s3": "s3-n8n"}, "typeVersion": 1}], "active": false, "settings": {}, "connections": {"S3": {"main": [[{"node": "S", "type": "main", "index": 0}]]}, "HTTP Request": {"main": [[{"node": "S3", "type": "main", "index": 0}]]}, "On clicking 'execute'": {"main": [[{"node": "HTTP Request", "type": "main", "index": 0}]]}}}
|
1089_Manual_Writebinaryfile_Automation_Webhook
|
Store the data received from the CocktailDB API in JSON
|
4
|
["httpRequest", "manualTrigger", "moveBinaryData", "writeBinaryFile"]
|
ai-automation-lab
|
{"name": "Store the data received from the CocktailDB API in JSON", "nodes": [{"name": "On clicking 'execute'", "type": "n8n-nodes-base.manualTrigger", "position": [250, 300], "parameters": {}, "typeVersion": 1}, {"name": "HTTP Request", "type": "n8n-nodes-base.httpRequest", "position": [400, 300], "parameters": {"url": "https://www.thecocktaildb.com/api/json/v1/1/random.php", "options": {}}, "typeVersion": 1}, {"name": "Move Binary Data", "type": "n8n-nodes-base.moveBinaryData", "position": [550, 300], "parameters": {"mode": "jsonToBinary", "options": {}}, "typeVersion": 1}, {"name": "Write Binary File", "type": "n8n-nodes-base.writeBinaryFile", "position": [700, 300], "parameters": {"fileName": "cocktail.json"}, "typeVersion": 1}], "active": false, "settings": {}, "connections": {"HTTP Request": {"main": [[{"node": "Move Binary Data", "type": "main", "index": 0}]]}, "Move Binary Data": {"main": [[{"node": "Write Binary File", "type": "main", "index": 0}]]}, "On clicking 'execute'": {"main": [[{"node": "HTTP Request", "type": "main", "index": 0}]]}}}
|
1090_Manual_Code_Automate_Triggered
|
1090_Manual_Code_Automate_Triggered
|
4
|
["code", "manualTrigger", "merge"]
|
ai-automation-lab
|
{"meta": {"instanceId": "257476b1ef58bf3cb6a46e65fac7ee34a53a5e1a8492d5c6e4da5f87c9b82833"}, "nodes": [{"id": "f7f8068b-52c9-4038-bd67-9ee50136e4fd", "name": "When clicking \u2018Test workflow\u2019", "type": "n8n-nodes-base.manualTrigger", "position": [380, 240], "parameters": {}, "typeVersion": 1}, {"id": "860e5e46-a04d-41cb-b91a-c9f02603bcdf", "name": "Sample data (name + language)", "type": "n8n-nodes-base.code", "position": [600, 160], "parameters": {"jsCode": "return [\n {\n json: {\n name: 'Stefan',\n language: 'de',\n }\n },\n {\n json: {\n name: 'Jim',\n language: 'en',\n }\n },\n {\n json: {\n name: 'Hans',\n language: 'de',\n }\n }\n];"}, "typeVersion": 2}, {"id": "5c6a867b-fd8a-49b7-ac35-ff84ed6d89f7", "name": "Sample data (greeting + language)", "type": "n8n-nodes-base.code", "position": [600, 320], "parameters": {"jsCode": "return [\n\t {\n json: {\n greeting: 'Hello',\n language: 'en',\n }\n },\n {\n json: {\n greeting: 'Hallo',\n language: 'de',\n }\n }\n];"}, "typeVersion": 2}, {"id": "08fca489-8f4c-4327-9919-922bd1be1cd5", "name": "Merge (name + language + greeting)", "type": "n8n-nodes-base.merge", "position": [820, 240], "parameters": {"mode": "combine", "options": {}, "fieldsToMatchString": "language"}, "typeVersion": 3}], "pinData": {}, "connections": {"Sample data (name + language)": {"main": [[{"node": "Merge (name + language + greeting)", "type": "main", "index": 0}]]}, "Sample data (greeting + language)": {"main": [[{"node": "Merge (name + language + greeting)", "type": "main", "index": 1}]]}, "When clicking \u2018Test workflow\u2019": {"main": [[{"node": "Sample data (name + language)", "type": "main", "index": 0}, {"node": "Sample data (greeting + language)", "type": "main", "index": 0}]]}}}
|
65
|
Get Product Feedback
|
6
|
["airtable", "if", "noOp", "set", "trello", "typeformTrigger"]
|
ai-automation-lab
|
{"id": "65", "name": "Get Product Feedback", "nodes": [{"name": "Typeform Trigger", "type": "n8n-nodes-base.typeformTrigger", "position": [170, 260], "webhookId": "0cf82c15-eeb8-4b24-bd67-5f4b54a58b6d", "parameters": {"formId": ""}, "credentials": {"typeformApi": "typeform-harshil"}, "typeVersion": 1}, {"name": "Set", "type": "n8n-nodes-base.set", "position": [370, 260], "parameters": {"values": {"number": [{"name": "Score", "value": "={{$node[\"Typeform Trigger\"].json[\"What score would you like to give?\"]}}"}], "string": [{"name": "Name", "value": "={{$node[\"Typeform Trigger\"].json[\"What is your name?\"]}}"}, {"name": "Email", "value": "={{$node[\"Typeform Trigger\"].json[\"What is your email address?\"]}}"}, {"name": "Description", "value": "={{$node[\"Typeform Trigger\"].json[\"Anything else you want to share?\"]}}"}]}, "options": {}, "keepOnlySet": true}, "typeVersion": 1}, {"name": "Airtable", "type": "n8n-nodes-base.airtable", "position": [570, 260], "parameters": {"table": "Feedback", "options": {}, "operation": "append", "application": ""}, "credentials": {"airtableApi": "airtable-harshil"}, "typeVersion": 1}, {"name": "IF", "type": "n8n-nodes-base.if", "position": [770, 260], "parameters": {"conditions": {"number": [{"value1": "={{$node[\"Set\"].json[\"Score\"]}}", "value2": 7}]}}, "typeVersion": 1}, {"name": "Trello", "type": "n8n-nodes-base.trello", "position": [970, 160], "parameters": {"name": "=[{{$node[\"IF\"].json[\"fields\"][\"Score\"]}}] {{$node[\"IF\"].json[\"fields\"][\"Name\"]}}", "listId": "5fbb9e2eb1d5cc0a8a7ab8ac", "description": "=Name: {{$node[\"IF\"].json[\"fields\"][\"Name\"]}}\nEmail: {{$node[\"IF\"].json[\"fields\"][\"Email\"]}}\nScore: {{$node[\"IF\"].json[\"fields\"][\"Score\"]}}\nDescription: {{$node[\"IF\"].json[\"fields\"][\"Description\"]}}", "additionalFields": {}}, "credentials": {"trelloApi": "Trello Credentials"}, "typeVersion": 1}, {"name": "NoOp", "type": "n8n-nodes-base.noOp", "position": [970, 360], "parameters": {}, "typeVersion": 1}], "active": false, "settings": {}, "connections": {"IF": {"main": [[{"node": "Trello", "type": "main", "index": 0}], [{"node": "NoOp", "type": "main", "index": 0}]]}, "Set": {"main": [[{"node": "Airtable", "type": "main", "index": 0}]]}, "Airtable": {"main": [[{"node": "IF", "type": "main", "index": 0}]]}, "Typeform Trigger": {"main": [[{"node": "Set", "type": "main", "index": 0}]]}}}
|
65
|
Two Way Sync Pipedrive and MySQL
|
14
|
["compareDatasets", "dateTime", "if", "mySql", "pipedrive", "scheduleTrigger", "set"]
|
ai-automation-lab
|
{"id": 65, "meta": {"instanceId": "104a4d08d8897b8bdeb38aaca515021075e0bd8544c983c2bb8c86e6a8e6081c"}, "name": "Two Way Sync Pipedrive and MySQL", "tags": [], "nodes": [{"id": "7355c5ac-a9a6-4fa5-8036-71fd09e95cd4", "name": "Compare Datasets", "type": "n8n-nodes-base.compareDatasets", "position": [1220, 480], "parameters": {"options": {}, "resolve": "includeBoth", "mergeByFields": {"values": [{"field1": "email", "field2": "email"}]}}, "typeVersion": 1}, {"id": "7a422493-94d4-4f94-b39c-f6c3980a967c", "name": "Schedule Trigger", "type": "n8n-nodes-base.scheduleTrigger", "position": [800, 320], "parameters": {"rule": {"interval": [{}]}}, "typeVersion": 1}, {"id": "b3a0e831-7030-43dd-863a-0c2a4697a14d", "name": "MySQL", "type": "n8n-nodes-base.mySql", "position": [1000, 320], "parameters": {"query": "SELECT id, name, email, phone, updated_on FROM contact", "operation": "executeQuery"}, "credentials": {"mySql": {"id": "23", "name": "MySQL account"}}, "typeVersion": 1, "alwaysOutputData": true}, {"id": "a3a64bb5-8a6f-4011-bc2d-3996a823012c", "name": "Pipedrive", "type": "n8n-nodes-base.pipedrive", "position": [800, 620], "parameters": {"resource": "person", "operation": "getAll", "additionalFields": {}}, "credentials": {"pipedriveApi": {"id": "29", "name": "Pipedrive account"}}, "typeVersion": 1}, {"id": "089e91df-abf7-4de9-b088-357cffce6949", "name": "Create Person", "type": "n8n-nodes-base.pipedrive", "position": [1420, 300], "parameters": {"name": "={{ $json[\"name\"] }}", "resource": "person", "additionalFields": {"email": ["={{ $json[\"email\"] }}"], "phone": ["={{ $json[\"phone\"] }}"]}}, "credentials": {"pipedriveApi": {"id": "29", "name": "Pipedrive account"}}, "typeVersion": 1}, {"id": "a99c3242-8263-4a92-a1f2-dcce7a9a6d81", "name": "Create Contact", "type": "n8n-nodes-base.mySql", "position": [1420, 620], "parameters": {"table": {"__rl": true, "mode": "list", "value": "contact", "cachedResultName": "contact"}, "columns": "name, email, phone", "options": {}}, "credentials": {"mySql": {"id": "23", "name": "MySQL account"}}, "typeVersion": 1}, {"id": "7697d03a-7bc4-40b3-9e06-e38c13ccaaf3", "name": "Date & Time", "type": "n8n-nodes-base.dateTime", "position": [1760, 460], "parameters": {"value": "={{ $json[\"different\"][\"updated_on\"][\"input1\"] }}", "custom": true, "options": {}, "toFormat": "YYYY-MM-DD HH:mm:ss", "dataPropertyName": "different.updated_on.input1"}, "typeVersion": 1}, {"id": "f882a2e7-a8cf-4683-abe3-77a5b7376bb2", "name": "Update Contact", "type": "n8n-nodes-base.mySql", "position": [2340, 620], "parameters": {"query": "=UPDATE contact\nSET name = '{{$json[\"name\"]}}', phone= '{{$json[\"phone\"]}}'\nWHERE id = {{$json[\"id\"]}};", "operation": "executeQuery"}, "credentials": {"mySql": {"id": "23", "name": "MySQL account"}}, "typeVersion": 1}, {"id": "d7549678-5d35-4a8a-b440-5c347b4434f4", "name": "Set Input2", "type": "n8n-nodes-base.set", "position": [2120, 620], "parameters": {"values": {"string": [{"name": "id", "value": "={{ $json[\"different\"][\"id\"] ? $json[\"different\"][\"id\"][\"input1\"] : $json[\"same\"][\"id\"] }}"}, {"name": "name", "value": "={{ $json[\"different\"][\"name\"] ? $json[\"different\"][\"name\"][\"input2\"] : $json[\"same\"][\"name\"] }}"}, {"name": "phone", "value": "={{ $json[\"different\"][\"phone\"] ? $json[\"different\"][\"phone\"][\"input2\"] : $json[\"same\"][\"phone\"] }}"}]}, "options": {}}, "typeVersion": 1}, {"id": "0018751e-c295-4f8d-b9df-257b9538eedc", "name": "Set Input1", "type": "n8n-nodes-base.set", "position": [2120, 300], "parameters": {"values": {"string": [{"name": "id", "value": "={{ $json[\"different\"][\"id\"] ? $json[\"different\"][\"id\"][\"input2\"] : $json[\"same\"][\"id\"] }}"}, {"name": "name", "value": "={{ $json[\"different\"][\"name\"] ? $json[\"different\"][\"name\"][\"input1\"] : $json[\"same\"][\"name\"] }}"}, {"name": "phone", "value": "={{ $json[\"different\"][\"phone\"] ? $json[\"different\"][\"phone\"][\"input1\"] : $json[\"same\"][\"phone\"] }}"}]}, "options": {}}, "typeVersion": 1}, {"id": "89af3385-4788-4693-ad02-917b927e7384", "name": "Update Person", "type": "n8n-nodes-base.pipedrive", "position": [2340, 300], "parameters": {"personId": "={{ $json[\"id\"] }}", "resource": "person", "operation": "update", "updateFields": {"name": "={{ $json[\"name\"] }}", "phone": ["={{ $json[\"phone\"] }}"]}}, "credentials": {"pipedriveApi": {"id": "29", "name": "Pipedrive account"}}, "typeVersion": 1}, {"id": "8ffbbb4b-7c2f-457e-ae73-464620aa1588", "name": "IF Data Changed", "type": "n8n-nodes-base.if", "position": [1560, 480], "parameters": {"conditions": {"boolean": [{"value1": "={{ !!$json[\"different\"][\"name\"] || !!$json[\"different\"][\"phone\"] }}", "value2": true}]}}, "typeVersion": 1}, {"id": "f8d60404-942d-4bb3-96e7-a247a9447a32", "name": "IF Updated On", "type": "n8n-nodes-base.if", "position": [1940, 460], "parameters": {"conditions": {"dateTime": [{"value1": "={{ $json[\"different\"][\"updated\"][\"input1\"] }} {{ $json[\"different\"][\"updated_on\"][\"input1\"] }}", "value2": "={{ $json[\"different\"][\"updated\"][\"input2\"] }} {{ $json[\"different\"][\"updated_on\"][\"input2\"] }}"}]}}, "typeVersion": 1}, {"id": "6965e281-10bd-4e8a-b016-f788030a6d9f", "name": "Set", "type": "n8n-nodes-base.set", "position": [1000, 620], "parameters": {"values": {"string": [{"name": "id", "value": "={{ $json[\"id\"] }}"}, {"name": "name", "value": "={{ $json[\"name\"] }}"}, {"name": "email", "value": "={{ $json[\"primary_email\"] }}"}, {"name": "phone", "value": "={{ $json[\"phone\"][0][\"value\"] }}"}, {"name": "updated_on", "value": "={{ $json[\"update_time\"] }}"}]}, "options": {}, "keepOnlySet": true}, "typeVersion": 1}], "active": false, "pinData": {}, "settings": {}, "connections": {"Set": {"main": [[{"node": "Compare Datasets", "type": "main", "index": 1}]]}, "MySQL": {"main": [[{"node": "Compare Datasets", "type": "main", "index": 0}]]}, "Pipedrive": {"main": [[{"node": "Set", "type": "main", "index": 0}]]}, "Set Input1": {"main": [[{"node": "Update Person", "type": "main", "index": 0}]]}, "Set Input2": {"main": [[{"node": "Update Contact", "type": "main", "index": 0}]]}, "Date & Time": {"main": [[{"node": "IF Updated On", "type": "main", "index": 0}]]}, "IF Updated On": {"main": [[{"node": "Set Input1", "type": "main", "index": 0}], [{"node": "Set Input2", "type": "main", "index": 0}]]}, "IF Data Changed": {"main": [[{"node": "Date & Time", "type": "main", "index": 0}]]}, "Compare Datasets": {"main": [[{"node": "Create Person", "type": "main", "index": 0}], [], [{"node": "IF Data Changed", "type": "main", "index": 0}], [{"node": "Create Contact", "type": "main", "index": 0}]]}, "Schedule Trigger": {"main": [[{"node": "MySQL", "type": "main", "index": 0}]]}}}
|
1093_Manual_Ftp_Automation_Webhook
|
1093_Manual_Ftp_Automation_Webhook
|
4
|
["ftp", "httpRequest", "manualTrigger"]
|
ai-automation-lab
|
{"nodes": [{"name": "On clicking 'execute'", "type": "n8n-nodes-base.manualTrigger", "position": [250, 350], "parameters": {}, "typeVersion": 1}, {"name": "FTP", "type": "n8n-nodes-base.ftp", "position": [650, 350], "parameters": {"path": "/upload/n8n_logo.png", "operation": "upload"}, "credentials": {"ftp": "ftp_creds"}, "typeVersion": 1}, {"name": "FTP1", "type": "n8n-nodes-base.ftp", "position": [850, 350], "parameters": {"path": "/upload/", "operation": "list"}, "credentials": {"ftp": "ftp_creds"}, "typeVersion": 1}, {"name": "HTTP Request", "type": "n8n-nodes-base.httpRequest", "position": [450, 350], "parameters": {"url": "https://n8n.io/n8n-logo.png", "options": {}, "responseFormat": "file"}, "typeVersion": 1}], "connections": {"FTP": {"main": [[{"node": "FTP1", "type": "main", "index": 0}]]}, "HTTP Request": {"main": [[{"node": "FTP", "type": "main", "index": 0}]]}, "On clicking 'execute'": {"main": [[{"node": "HTTP Request", "type": "main", "index": 0}]]}}}
|
1094_Manual_Salesforce_Automate_Triggered
|
1094_Manual_Salesforce_Automate_Triggered
|
4
|
["manualTrigger", "salesforce"]
|
ai-automation-lab
|
{"nodes": [{"name": "On clicking 'execute'", "type": "n8n-nodes-base.manualTrigger", "position": [420, 260], "parameters": {}, "typeVersion": 1}, {"name": "Salesforce", "type": "n8n-nodes-base.salesforce", "position": [620, 260], "parameters": {"company": "CompanyInc", "lastname": "DudeOne", "additionalFields": {}}, "credentials": {"salesforceOAuth2Api": "salesforce_creds"}, "typeVersion": 1}, {"name": "Salesforce1", "type": "n8n-nodes-base.salesforce", "position": [810, 260], "parameters": {"leadId": "={{$node[\"Salesforce\"].json[\"id\"]}}", "operation": "update", "updateFields": {"city": "Berlin"}}, "credentials": {"salesforceOAuth2Api": "salesforce_creds"}, "typeVersion": 1}, {"name": "Salesforce2", "type": "n8n-nodes-base.salesforce", "position": [1020, 260], "parameters": {"title": "Deal Won!", "leadId": "={{$node[\"Salesforce\"].json[\"id\"]}}", "options": {}, "operation": "addNote"}, "credentials": {"salesforceOAuth2Api": "salesforce_creds"}, "typeVersion": 1}], "connections": {"Salesforce": {"main": [[{"node": "Salesforce1", "type": "main", "index": 0}]]}, "Salesforce1": {"main": [[{"node": "Salesforce2", "type": "main", "index": 0}]]}, "On clicking 'execute'": {"main": [[{"node": "Salesforce", "type": "main", "index": 0}]]}}}
|
1095_Manual_Teams_Automate_Triggered
|
1095_Manual_Teams_Automate_Triggered
|
4
|
["manualTrigger", "microsoftTeams"]
|
ai-automation-lab
|
{"nodes": [{"name": "On clicking 'execute'", "type": "n8n-nodes-base.manualTrigger", "position": [540, 360], "parameters": {}, "typeVersion": 1}, {"name": "Microsoft Teams", "type": "n8n-nodes-base.microsoftTeams", "position": [740, 360], "parameters": {"name": "n8n-docs-demo", "teamId": "d6b83b00-085d-472c-a6d9-8c2c32c1424e", "options": {}}, "credentials": {"microsoftTeamsOAuth2Api": "teams_n8n"}, "typeVersion": 1}, {"name": "Microsoft Teams1", "type": "n8n-nodes-base.microsoftTeams", "position": [940, 360], "parameters": {"teamId": "={{$node[\"Microsoft Teams\"].parameter[\"teamId\"]}}", "channelId": "={{$node[\"Microsoft Teams\"].json[\"id\"]}}", "operation": "update", "updateFields": {"name": "n8n-documentation-demo"}}, "credentials": {"microsoftTeamsOAuth2Api": "teams_n8n"}, "typeVersion": 1}, {"name": "Microsoft Teams2", "type": "n8n-nodes-base.microsoftTeams", "position": [1140, 360], "parameters": {"teamId": "={{$node[\"Microsoft Teams\"].parameter[\"teamId\"]}}", "message": "n8n rocks!", "resource": "channelMessage", "channelId": "={{$node[\"Microsoft Teams\"].json[\"id\"]}}", "messageType": "text"}, "credentials": {"microsoftTeamsOAuth2Api": "teams_n8n"}, "typeVersion": 1}], "connections": {"Microsoft Teams": {"main": [[{"node": "Microsoft Teams1", "type": "main", "index": 0}]]}, "Microsoft Teams1": {"main": [[{"node": "Microsoft Teams2", "type": "main", "index": 0}]]}, "On clicking 'execute'": {"main": [[{"node": "Microsoft Teams", "type": "main", "index": 0}]]}}}
|
1096_Manual_Linkedin_Automation_Webhook
|
1096_Manual_Linkedin_Automation_Webhook
|
3
|
["httpRequest", "linkedIn", "manualTrigger"]
|
ai-automation-lab
|
{"nodes": [{"name": "On clicking 'execute'", "type": "n8n-nodes-base.manualTrigger", "position": [250, 300], "parameters": {}, "typeVersion": 1}, {"name": "HTTP Request", "type": "n8n-nodes-base.httpRequest", "position": [440, 300], "parameters": {"url": "https://n8n.io/n8n-logo.png", "options": {}, "responseFormat": "file"}, "typeVersion": 1}, {"name": "LinkedIn", "type": "n8n-nodes-base.linkedIn", "position": [640, 300], "parameters": {"text": "this is a test image post", "person": "gZG0JALzuy", "postAs": "person", "additionalFields": {}, "shareMediaCategory": "IMAGE"}, "credentials": {"linkedInOAuth2Api": "linkedin_demo"}, "typeVersion": 1}], "connections": {"HTTP Request": {"main": [[{"node": "LinkedIn", "type": "main", "index": 0}]]}, "On clicking 'execute'": {"main": [[{"node": "HTTP Request", "type": "main", "index": 0}]]}}}
|
1097_Manual_Noop_Automate_Triggered
|
1097_Manual_Noop_Automate_Triggered
|
7
|
["function", "manualTrigger", "noOp", "set", "switch"]
|
ai-automation-lab
|
{"nodes": [{"name": "On clicking 'execute'", "type": "n8n-nodes-base.manualTrigger", "position": [0, 300], "parameters": {}, "typeVersion": 1}, {"name": "Function", "type": "n8n-nodes-base.function", "position": [200, 300], "parameters": {"functionCode": "return [\n {\n json: {\n id: 0,\n }\n },\n {\n json: {\n id: 1,\n }\n },\n {\n json: {\n id: 2,\n }\n }\n];\n"}, "typeVersion": 1}, {"name": "Set", "type": "n8n-nodes-base.set", "position": [600, 90], "parameters": {"values": {"string": [{"name": "name", "value": "n8n"}]}, "options": {}}, "typeVersion": 1}, {"name": "Set1", "type": "n8n-nodes-base.set", "position": [600, 230], "parameters": {"values": {"string": [{"name": "name", "value": "nodemation"}]}, "options": {}}, "typeVersion": 1}, {"name": "Switch", "type": "n8n-nodes-base.switch", "position": [400, 300], "parameters": {"rules": {"rules": [{"operation": "equal"}, {"output": 1, "value2": 1, "operation": "equal"}, {"output": 2, "value2": 2, "operation": "equal"}]}, "value1": "={{$node[\"Function\"].json[\"id\"]}}", "fallbackOutput": 3}, "typeVersion": 1}, {"name": "Set2", "type": "n8n-nodes-base.set", "position": [600, 370], "parameters": {"values": {"string": [{"name": "name", "value": "nathan"}]}, "options": {}}, "typeVersion": 1}, {"name": "NoOp", "type": "n8n-nodes-base.noOp", "position": [600, 510], "parameters": {}, "typeVersion": 1}], "connections": {"Switch": {"main": [[{"node": "Set", "type": "main", "index": 0}], [{"node": "Set1", "type": "main", "index": 0}], [{"node": "Set2", "type": "main", "index": 0}], [{"node": "NoOp", "type": "main", "index": 0}]]}, "Function": {"main": [[{"node": "Switch", "type": "main", "index": 0}]]}, "On clicking 'execute'": {"main": [[{"node": "Function", "type": "main", "index": 0}]]}}}
|
1098_Manual_Import_Triggered
|
1098_Manual_Import_Triggered
|
2
|
["function", "manualTrigger"]
|
ai-automation-lab
|
{"nodes": [{"name": "On clicking 'execute'", "type": "n8n-nodes-base.manualTrigger", "position": [250, 300], "parameters": {}, "typeVersion": 1}, {"name": "Get Local Datetime", "type": "n8n-nodes-base.function", "position": [450, 300], "parameters": {"functionCode": "const moment = require('moment');\n\nlet date = moment().tz($env['GENERIC_TIMEZONE']);\n\nlet year = date.year();\nlet month = date.month(); // zero-indexed!\nlet day = date.date();\nlet hour = date.hours();\nlet minute = date.minutes();\nlet second = date.seconds();\nlet millisecond = date.millisecond();\nlet formatted = date.format('YYYY-MM-DD HH:mm:ss.SSS Z');\n\nreturn [\n {\n json: {\n utc: date,\n year: year,\n month: month, // zero-indexed!\n day: day,\n hour: hour,\n minute: minute,\n second: second,\n millisecond: millisecond,\n formatted: formatted\n }\n }\n];\n"}, "typeVersion": 1}], "connections": {"On clicking 'execute'": {"main": [[{"node": "Get Local Datetime", "type": "main", "index": 0}]]}}}
|
1099_Error_Gmail_Send_Triggered
|
1099_Error_Gmail_Send_Triggered
|
2
|
["errorTrigger", "gmail"]
|
ai-automation-lab
|
{"nodes": [{"name": "Error Trigger", "type": "n8n-nodes-base.errorTrigger", "position": [450, 300], "parameters": {}, "typeVersion": 1}, {"name": "Gmail", "type": "n8n-nodes-base.gmail", "position": [650, 300], "parameters": {"toList": ["recipient@email.com"], "message": "=Workflow: {{$json[\"workflow\"][\"name\"]}}\nError: {{$json[\"execution\"][\"error\"][\"message\"]}}\nLast node executed: {{$json[\"execution\"][\"lastNodeExecuted\"]}}\nExecution URL: {{$json[\"execution\"][\"url\"]}}\nStacktrace:\n{{$json[\"execution\"][\"error\"][\"stack\"]}}", "subject": "=n8n Workflow Failure: {{$json[\"workflow\"][\"name\"]}}", "resource": "message", "additionalFields": {}}, "credentials": {"gmailOAuth2": "TBD"}, "typeVersion": 1}], "connections": {"Error Trigger": {"main": [[{"node": "Gmail", "type": "main", "index": 0}]]}}}
|
69
|
Create, update, and get an issue on Taiga
|
4
|
["manualTrigger", "taiga"]
|
ai-automation-lab
|
{"id": "69", "name": "Create, update, and get an issue on Taiga", "nodes": [{"name": "On clicking 'execute'", "type": "n8n-nodes-base.manualTrigger", "position": [430, 260], "parameters": {}, "typeVersion": 1}, {"name": "Taiga", "type": "n8n-nodes-base.taiga", "position": [630, 260], "parameters": {"subject": "n8n-docs", "projectId": 385605, "additionalFields": {}}, "credentials": {"taigaCloudApi": "taiga"}, "typeVersion": 1}, {"name": "Taiga1", "type": "n8n-nodes-base.taiga", "position": [830, 260], "parameters": {"issueId": "={{$node[\"Taiga\"].json[\"id\"]}}", "operation": "update", "projectId": "={{$node[\"Taiga\"].json[\"project\"]}}", "updateFields": {"description": "This ticket is for the documentation for the Taiga node"}}, "credentials": {"taigaCloudApi": "taiga"}, "typeVersion": 1}, {"name": "Taiga2", "type": "n8n-nodes-base.taiga", "position": [1030, 260], "parameters": {"issueId": "={{$node[\"Taiga\"].json[\"id\"]}}", "operation": "get"}, "credentials": {"taigaCloudApi": "taiga"}, "typeVersion": 1}], "active": false, "settings": {}, "connections": {"Taiga": {"main": [[{"node": "Taiga1", "type": "main", "index": 0}]]}, "Taiga1": {"main": [[{"node": "Taiga2", "type": "main", "index": 0}]]}, "On clicking 'execute'": {"main": [[{"node": "Taiga", "type": "main", "index": 0}]]}}}
|
69
|
Creating your first workflow
|
5
|
["cron", "if", "noOp", "openWeatherMap", "twilio"]
|
ai-automation-lab
|
{"id": "69", "name": "Creating your first workflow", "nodes": [{"name": "Cron", "type": "n8n-nodes-base.cron", "position": [240, 250], "parameters": {"triggerTimes": {"item": [{}]}}, "typeVersion": 1}, {"name": "OpenWeatherMap", "type": "n8n-nodes-base.openWeatherMap", "position": [450, 250], "parameters": {"cityName": "berlin,de"}, "credentials": {"openWeatherMapApi": "Weather"}, "typeVersion": 1}, {"name": "IF", "type": "n8n-nodes-base.if", "position": [650, 250], "parameters": {"conditions": {"number": [{"value1": "={{$node[\"OpenWeatherMap\"].json[\"main\"][\"feels_like\"]}}", "value2": 18}]}}, "typeVersion": 1}, {"name": "Twilio", "type": "n8n-nodes-base.twilio", "position": [850, 150], "parameters": {"to": "", "from": "", "message": "=Wear a sweater today, it is {{$node[\"OpenWeatherMap\"].json[\"main\"][\"feels_like\"]}}\u00b0C outside right now."}, "credentials": {"twilioApi": "Twilio"}, "typeVersion": 1}, {"name": "NoOp", "type": "n8n-nodes-base.noOp", "position": [850, 350], "parameters": {}, "typeVersion": 1}], "active": true, "settings": {}, "connections": {"IF": {"main": [[{"node": "Twilio", "type": "main", "index": 0}], [{"node": "NoOp", "type": "main", "index": 0}]]}, "Cron": {"main": [[{"node": "OpenWeatherMap", "type": "main", "index": 0}]]}, "OpenWeatherMap": {"main": [[{"node": "IF", "type": "main", "index": 0}]]}}}
|
6FSx5OMVxp8Ldg8A
|
Prepare CSV files with GPT-4
|
11
|
["itemLists", "manualTrigger", "moveBinaryData", "openAi", "set", "splitInBatches", "spreadsheetFile", "stickyNote", "writeBinaryFile"]
|
ai-automation-lab
|
{"id": "6FSx5OMVxp8Ldg8A", "meta": {"instanceId": "fb924c73af8f703905bc09c9ee8076f48c17b596ed05b18c0ff86915ef8a7c4a"}, "name": "Prepare CSV files with GPT-4", "tags": [], "nodes": [{"id": "5b43e57d-1fe1-4ea6-bf3d-661f7e5fc4b0", "name": "When clicking \"Execute Workflow\"", "type": "n8n-nodes-base.manualTrigger", "position": [960, 240], "parameters": {}, "typeVersion": 1}, {"id": "291466e8-1592-4080-a675-5e9f486d0d05", "name": "OpenAI", "type": "n8n-nodes-base.openAi", "position": [1160, 240], "parameters": {"model": "gpt-4", "prompt": {"messages": [{"content": "=please create a list of 10 random users. Return back ONLY a JSON array. Character names of famous fiction characters. Make Names and Surnames start with the same letter. Name and Surname can be from different characters. If subscribed is false then make date_subscribed empty. If date_subscribed is not empty then make it random and no later then 2023-10-01. Make JSON in a single line, avoid line breaks. Here's an example: [{\"user_name\": \"Jack Jones\", \"user_email\":\"jackjo@yahoo.com\",\"subscribed\": true, \"date_subscribed\":\"2023-10-01\" },{\"user_name\": \"Martin Moor\", \"user_email\":\"mmoor@gmail.com\",\"subscribed\": false, \"date_subscribed\":\"\" }]"}]}, "options": {"n": 3, "maxTokens": 2500, "temperature": 1}, "resource": "chat"}, "credentials": {"openAiApi": {"id": "63", "name": "OpenAi account"}}, "typeVersion": 1}, {"id": "edd5bed7-a8a1-4298-b026-3b0061c5064a", "name": "Split In Batches", "type": "n8n-nodes-base.splitInBatches", "position": [1340, 240], "parameters": {"options": {}, "batchSize": 1}, "typeVersion": 2}, {"id": "f0e414e6-741a-42db-86eb-ba95e220f9ef", "name": "Sticky Note", "type": "n8n-nodes-base.stickyNote", "position": [940, 80], "parameters": {"width": 600, "height": 126, "content": "## This is a helper workflow to create 3 CSV files\n### Feel free to adapt as needed\n### Some mock data from GPT is pinned for convenience"}, "typeVersion": 1}, {"id": "f1c2891f-5110-423c-9fb4-37e0a0d0f750", "name": "Parse JSON", "type": "n8n-nodes-base.set", "position": [1520, 240], "parameters": {"fields": {"values": [{"name": "content", "type": "arrayValue", "arrayValue": "={{JSON.parse($json.message.content)}}"}]}, "include": "none", "options": {}}, "typeVersion": 3}, {"id": "ce59d3e1-3916-48ad-a811-fa19ad66284a", "name": "Make JSON Table", "type": "n8n-nodes-base.itemLists", "position": [1700, 240], "parameters": {"options": {}, "fieldToSplitOut": "content"}, "typeVersion": 3}, {"id": "8b1fda14-6593-4cc2-ab74-483b7aa4d84a", "name": "Convert to CSV", "type": "n8n-nodes-base.spreadsheetFile", "position": [1880, 240], "parameters": {"options": {"fileName": "=funny_names_{{ $('Split In Batches').item.json.index+1 }}.{{ $parameter[\"fileFormat\"] }}", "headerRow": true}, "operation": "toFile", "fileFormat": "csv"}, "typeVersion": 2}, {"id": "d2a621e0-88df-4642-91ab-772f062c8682", "name": "Save to Disk", "type": "n8n-nodes-base.writeBinaryFile", "position": [2420, 240], "parameters": {"options": {}, "fileName": "=./.n8n/{{ $binary.data.fileName }}"}, "typeVersion": 1}, {"id": "20f60bb0-0527-44c4-85d5-a95c20670893", "name": "Strip UTF BOM bytes", "type": "n8n-nodes-base.moveBinaryData", "position": [2060, 240], "parameters": {"options": {"encoding": "utf8", "stripBOM": true, "jsonParse": false, "keepSource": false}, "setAllData": false}, "typeVersion": 1}, {"id": "bda91493-df5d-4b8c-b739-abca6045faf9", "name": "Create valid binary", "type": "n8n-nodes-base.moveBinaryData", "position": [2240, 240], "parameters": {"mode": "jsonToBinary", "options": {"addBOM": false, "encoding": "utf8", "fileName": "=funny_names_{{ $('Split In Batches').item.json.index+1 }}.{{ $('Convert to CSV').first().binary.data.fileExtension }}", "mimeType": "text/csv", "keepSource": false, "useRawData": true}, "convertAllData": false}, "typeVersion": 1}, {"id": "e1b54e0d-56a5-43e7-82b4-aaead2875a9d", "name": "Sticky Note1", "type": "n8n-nodes-base.stickyNote", "position": [2007, 140], "parameters": {"width": 394, "height": 254, "content": "### These 2 nodes fix an issue with BOM bytes in the beginning of the file.\nWithout them reading the CSV file back becomes tricky"}, "typeVersion": 1}], "active": false, "pinData": {"OpenAI": [{"json": {"index": 0, "message": {"role": "assistant", "content": "[{\"user_name\": \"Harry Holmes\", \"user_email\": \"harryholmes@gmail.com\", \"subscribed\": true, \"date_subscribed\": \"2022-08-15\"}, {\"user_name\": \"Frodo Fawkes\", \"user_email\": \"frodo.fawks01@gmail.com\", \"subscribed\": false, \"date_subscribed\": \"\"}, {\"user_name\": \"Luke Longbottom\", \"user_email\": \"lukeLongbottom@gmail.com\", \"subscribed\": true, \"date_subscribed\": \"2023-09-25\"}, {\"user_name\": \"Perry Potter\", \"user_email\": \"perry_potter@yahoo.com\", \"subscribed\": false, \"date_subscribed\": \"\"}, {\"user_name\": \"James Joyce\", \"user_email\": \"jjoyce@gmail.com\", \"subscribed\": true, \"date_subscribed\": \"2023-06-12\"}, {\"user_name\": \"Bilbo Baggins\", \"user_email\": \"bilbobaggins@gmail.com\", \"subscribed\": true, \"date_subscribed\": \"2023-03-12\"}, {\"user_name\": \"Tom Tompkins\", \"user_email\": \"tompkins.tom@outlook.com\", \"subscribed\": false, \"date_subscribed\": \"\"}, {\"user_name\": \"Ronald Reagan\", \"user_email\": \"ronald.reagan@gmail.com\", \"subscribed\": true, \"date_subscribed\": \"2023-01-05\"}, {\"user_name\": \"Mary Morstan\", \"user_email\": \"maryMorstan@gmail.com\", \"subscribed\": false, \"date_subscribed\": \"\"}, {\"user_name\": \"Arthur Arthur\", \"user_email\": \"arthur.arthur@aol.com\", \"subscribed\": true, \"date_subscribed\": \"2023-04-17\"}]"}, "finish_reason": "stop"}, "pairedItem": {"item": 0}}, {"json": {"index": 1, "message": {"role": "assistant", "content": "[{\"user_name\": \"Harry Holmes\", \"user_email\":\"hholmes@email.com\", \"subscribed\": true, \"date_subscribed\":\"2021-12-15\"}, {\"user_name\": \"James Jasper\", \"user_email\":\"jjasper@yahoo.com\", \"subscribed\": false, \"date_subscribed\":\"\"}, {\"user_name\": \"Frodo Fenton\", \"user_email\":\"frodonot@gmail.com\", \"subscribed\": true, \"date_subscribed\":\"2022-07-09\"}, {\"user_name\": \"Katniss Kennedy\", \"user_email\":\"kennedy@hotmail.com\", \"subscribed\": false, \"date_subscribed\":\"\"}, {\"user_name\": \"Bilbo Brandy\", \"user_email\":\"bbrandy@gmail.net\",\"subscribed\": true, \"date_subscribed\":\"2022-02-20\"}, {\"user_name\": \"Percy Pepper\", \"user_email\":\"percy@gmail.com\", \"subscribed\": false, \"date_subscribed\":\"\"}, {\"user_name\": \"Samwise Sprint\", \"user_email\":\"ssprint@outlook.com\", \"subscribed\": true, \"date_subscribed\":\"2021-06-01\"}, {\"user_name\": \"Gandalf Gatsby\", \"user_email\":\"gandalfg@gmail.com\", \"subscribed\": true, \"date_subscribed\":\"2023-01-22\"}, {\"user_name\": \"Dumbledore Dane\", \"user_email\":\"ddane@gmail.com\",\"subscribed\": false, \"date_subscribed\":\"\"}, {\"user_name\": \"Tommy Torrance\", \"user_email\":\"ttorrance@hotmail.com\", \"subscribed\": true, \"date_subscribed\":\"2023-08-15\"}]"}, "finish_reason": "stop"}, "pairedItem": {"item": 0}}, {"json": {"index": 2, "message": {"role": "assistant", "content": "[{\"user_name\": \"Harry Holmes\", \"user_email\":\"harryholmes@hotmail.com\", \"subscribed\": true, \"date_subscribed\":\"2023-01-09\"}, {\"user_name\": \"Sam Spade\", \"user_email\":\"samspade@gmail.com\", \"subscribed\": false, \"date_subscribed\":\"\"}, {\"user_name\": \"Tom Sawyer\", \"user_email\":\"tomsawyer@yahoo.com\", \"subscribed\": true, \"date_subscribed\":\"2022-12-12\"}, {\"user_name\": \"Frodo Fawkes\", \"user_email\":\"frodofawkes@gmail.com\", \"subscribed\": true, \"date_subscribed\":\"2023-09-30\"}, {\"user_name\": \"Bruce Bond\", \"user_email\":\"brucebond@gmail.com\", \"subscribed\": true, \"date_subscribed\":\"2023-08-15\"}, {\"user_name\": \"Peter Pan\", \"user_email\":\"peterpan@gmail.com\", \"subscribed\": false, \"date_subscribed\":\"\"}, {\"user_name\": \"Hermione Holmes\", \"user_email\":\"hermioneholmes@yahoo.com\", \"subscribed\": true, \"date_subscribed\":\"2023-02-21\"}, {\"user_name\": \"Walter White\", \"user_email\":\"walterwhite@hotmail.com\", \"subscribed\": false, \"date_subscribed\":\"\"}, {\"user_name\": \"Tony Twist\", \"user_email\":\"tonytwist@gmail.com\", \"subscribed\": true, \"date_subscribed\":\"2023-04-27\"}, {\"user_name\": \"Ron Ranger\", \"user_email\":\"ronranger@yahoo.com\", \"subscribed\": true, \"date_subscribed\":\"2023-07-13\"}]"}, "finish_reason": "stop"}, "pairedItem": {"item": 0}}]}, "settings": {"executionOrder": "v1"}, "versionId": "91f77342-1d0f-4033-b09a-3e3c8791107e", "connections": {"OpenAI": {"main": [[{"node": "Split In Batches", "type": "main", "index": 0}]]}, "Parse JSON": {"main": [[{"node": "Make JSON Table", "type": "main", "index": 0}]]}, "Save to Disk": {"main": [[{"node": "Split In Batches", "type": "main", "index": 0}]]}, "Convert to CSV": {"main": [[{"node": "Strip UTF BOM bytes", "type": "main", "index": 0}]]}, "Make JSON Table": {"main": [[{"node": "Convert to CSV", "type": "main", "index": 0}]]}, "Split In Batches": {"main": [[{"node": "Parse JSON", "type": "main", "index": 0}]]}, "Create valid binary": {"main": [[{"node": "Save to Disk", "type": "main", "index": 0}]]}, "Strip UTF BOM bytes": {"main": [[{"node": "Create valid binary", "type": "main", "index": 0}]]}, "When clicking \"Execute Workflow\"": {"main": [[{"node": "OpenAI", "type": "main", "index": 0}]]}}}
|
6LeAm5UyENgTdwkv
|
agente
|
38
|
["convertToFile", "googleTasksTool", "scheduleTrigger", "set", "stickyNote", "switch", "telegram", "telegramTool", "telegramTrigger", "webhook"]
|
ai-automation-lab
|
{"id": "6LeAm5UyENgTdwkv", "meta": {"instanceId": "6d46e25379ef430a7067964d1096b885c773564549240cb3ad4c087f6cf94bd3", "templateCredsSetupCompleted": true}, "name": "agente", "tags": [], "nodes": [{"id": "84ce6905-4416-4721-8627-f8c303730a4f", "name": "OpenAI Chat Model1", "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi", "position": [8260, 2260], "parameters": {"model": {"__rl": true, "mode": "list", "value": "gpt-4.1-nano-2025-04-14", "cachedResultName": "gpt-4.1-nano-2025-04-14"}, "options": {}}, "credentials": {"openAiApi": {"id": "zUnIUrOWA279vAoC", "name": "OpenAi account"}}, "typeVersion": 1.2}, {"id": "a6e9358a-a873-49f3-af38-21ca545b2bfc", "name": "Assistente clinica interno", "type": "@n8n/n8n-nodes-langchain.agent", "position": [8380, 2020], "parameters": {"text": "={{ $json.message.text }}", "options": {"systemMessage": "=Hoje \u00e9 {{$now}}\nPAPEL: \nVoc\u00ea \u00e9 um assistente interno de reagendamento na cl\u00ednica, acionado diretamente por um profissional via Telegram para gerenciar situa\u00e7\u00f5es de remarca\u00e7\u00e3o de consultas ou incluir lembretes na lista de compras.\n\nOBJETIVO GERAL: \n1. Reagendar consultas a pedido do profissional. \n2. Adicionar lembretes na lista de compras quando solicitado. \n\nRESUMO DE RESPONSABILIDADES: \n1. Reagendamento de pacientes \n - Acesse o Google Calendar por meio da ferramenta \"MCP Google Calendar\" para identificar as consultas afetadas. \n - Extraia o n\u00famero de telefone na descri\u00e7\u00e3o do evento. \n - Use a ferramenta \"Reagendar no WhatsApp\" para enviar mensagens de reagendamento aos pacientes. \n - Lembre-se de que voc\u00ea apenas envia a mensagem; a resposta do paciente \u00e9 tratada por outro agente. \n\n2. Lista de compras da cl\u00ednica \n - Se o profissional solicitar pelo Telegram a inclus\u00e3o de um item na lista de compras, utilize a ferramenta \"Google Tasks\" para adicionar o lembrete. \n\nORIENTA\u00c7\u00d5ES DE LINGUAGEM E PROCEDIMENTO: \n- Use uma abordagem emp\u00e1tica, profissional e acolhedora. \n- Nunca envie mensagens para pacientes sem autoriza\u00e7\u00e3o expl\u00edcita do profissional. \n- Quando listar eventos ou tarefas, seja objetivo e organizado. \n- Mantenha clareza e concis\u00e3o em todas as intera\u00e7\u00f5es. \n\nFERRAMENTAS DISPON\u00cdVEIS: \n- Reagendar no WhatsApp \n- Google Tasks \n- MCP Google Calendar \n\nINSTRU\u00c7\u00d5ES FINAIS: \n- Atenda exclusivamente \u00e0s solicita\u00e7\u00f5es de reagendamento e inclus\u00e3o de lembretes. \n- A remarca\u00e7\u00e3o de consultas ocorre somente quando o profissional pede, utilizando o MCP Google Calendar para identificar os pacientes e o \"Reagendar no WhatsApp\" para enviar a mensagem. \n- Para a lista de compras, sempre registre no \"Google Tasks\". \n"}, "promptType": "define"}, "typeVersion": 1.8}, {"id": "d674fb31-cf45-47ac-b33b-4abe1920e352", "name": "Google Tasks", "type": "n8n-nodes-base.googleTasksTool", "position": [8720, 2320], "parameters": {"task": "bDQ5ZlNVV2lPQ3pYT3NsNA", "title": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('Title', ``, 'string') }}", "additionalFields": {"notes": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('Notes', ``, 'string') }}", "status": "needsAction"}}, "credentials": {"googleTasksOAuth2Api": {"id": "3SQEwHb0AR81JO8y", "name": "Google Tasks account"}}, "typeVersion": 1}, {"id": "dff00a3c-6496-4104-afc4-a0556f3cabfa", "name": "MCP Google Calendar", "type": "@n8n/n8n-nodes-langchain.mcpClientTool", "position": [8560, 2320], "parameters": {"sseEndpoint": "https://engaging-seahorse-19.rshare.io/mcp/ceb17fa5-1937-405f-8000-ea3be7d2b032/mcp/:tool/calendar/sse"}, "typeVersion": 1}, {"id": "10a0bda3-94b3-487a-98a1-1e7badcc8775", "name": "Receber Mensagem Telegram", "type": "n8n-nodes-base.telegramTrigger", "position": [8100, 2020], "webhookId": "f2b29356-d5d3-4f5d-9ef1-273001c0a820", "parameters": {"updates": ["message"], "additionalFields": {}}, "credentials": {"telegramApi": {"id": "TAVUHrFXuDIMInWe", "name": "Telegram account"}}, "typeVersion": 1.2}, {"id": "46cfa6be-f896-4e33-be3d-b4ef676c043b", "name": "Postgres Chat Memory", "type": "@n8n/n8n-nodes-langchain.memoryPostgresChat", "position": [8420, 2300], "parameters": {"sessionKey": "100", "sessionIdType": "customKey", "contextWindowLength": 10}, "credentials": {"postgres": {"id": "t8gw5Kie6Oxy5TcK", "name": "Postgres account"}}, "typeVersion": 1.3}, {"id": "c79c44f6-94fa-4e56-9d94-49185f83bfb4", "name": "OpenAI Chat Model", "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi", "position": [5860, 3980], "parameters": {"model": {"__rl": true, "mode": "list", "value": "gpt-4.1-mini-2025-04-14", "cachedResultName": "gpt-4.1-mini-2025-04-14"}, "options": {}}, "credentials": {"openAiApi": {"id": "zUnIUrOWA279vAoC", "name": "OpenAi account"}}, "typeVersion": 1.2}, {"id": "5e7ac239-6ba1-414c-b11d-d637361e8f77", "name": "Assistente Cl\u00ednica", "type": "@n8n/n8n-nodes-langchain.agent", "position": [5960, 3760], "parameters": {"text": "={{ $json.text }}{{ $json.output}}", "options": {"systemMessage": "=HOJE \u00c9: {{ $now }}\nCONTATO DA CL\u00cdNICA: \n{ coloque o seu contato aqui }\n\nINSTRU\u00c7\u00c3O IMPORTANTE:\n\nAo criar ou editar qualquer evento via MCP_CALENDAR, inclua na descri\u00e7\u00e3o do agendamento:\n\nTelefone do paciente\n\nNome completo\n\nData de nascimento\n\nInforma\u00e7\u00f5es adicionais (conv\u00eanio, condi\u00e7\u00e3o de sa\u00fade etc.)\n\nPAPEL:\nVoc\u00ea \u00e9 uma atendente do WhatsApp da Cl\u00ednica Moreira, especializada em atendimento humanizado. Sua miss\u00e3o:\n\nAtender pacientes de forma \u00e1gil e eficiente\n\nResponder d\u00favidas sobre cl\u00ednica e servi\u00e7os\n\nAgendar, remarcar e cancelar consultas pelo MCP_CALENDAR\n\nPERSONALIDADE E TOM DE VOZ:\n\nSimp\u00e1tica, acolhedora e respeitosa\n\nFormal, sem emojis ou g\u00edrias\n\nFERRAMENTAS DISPON\u00cdVEIS:\n\nMCP_CALENDAR (trigger /mcp/:tool/calendar)\n\nAVALIABILITY_CALENDAR: verifica hor\u00e1rios livres entre Start_Time e End_Time\n\nGET_ALL_CALENDAR: lista todos os eventos entre After e Before\n\nCREATE_CALENDAR: cria novo evento com start, end e Description (inclua sempre telefone, nome e data de nascimento)\n\nUPDATE_CALENDAR: atualiza campos de um evento existente (Event_ID)\n\nDELETE_CALENDAR: remove evento (Event_ID)\n\nGET_CALENDAR: obt\u00e9m detalhes de um evento espec\u00edfico (Event_ID)\n\nCallToHuman (workflow id A95kslcW4H82nJuR)\n\nEncaminha atendimento humano via EvolutionAPI em n8n\n\nDisparar IMEDIATAMENTE quando:\n\nUrg\u00eancia ou mal-estar grave\n\nPedido de diagn\u00f3stico/opini\u00e3o m\u00e9dica\n\nInsatisfa\u00e7\u00e3o expressa do paciente\n\nAssuntos fora do escopo da cl\u00ednica\n\nExemplo de chamada:\n\n{\n \"tool\": \"CallToHuman\",\n \"telefone\": \"<telefone>\",\n \"nome\": \"<nome completo>\",\n \"ultima_mensagem\": \"<texto da \u00faltima mensagem>\"\n}\n\nEnviar telegram cancelamento\n\nAp\u00f3s DELETE_CALENDAR, envie ao gestor via Telegram: nome, data, hora\n\nSOP (Fluxo de Atendimento):\n\nIn\u00edcio e coleta de dados\n\nCumprimente e informe o link da agenda: https://calendar.google.com/calendar/embed?src=a57a3781407f42b1ad7fe24ce76f558dc6c86fea5f349b7fd39747a2294c1654%40group.calendar.google.com&ctz=America%2FArgentina%2FBuenos_Aires\n\nPe\u00e7a: nome completo, data de nascimento e confirme o telefone\n number: {{ $('Webhook1').item.json.body.data.key.remoteJid.replaceAll(\"@s.whatsapp.net\",\"\") }}\n\nVerifica\u00e7\u00e3o de disponibilidade\n\nPergunte data e turno preferidos\n\nChame AVALIABILITY_CALENDAR com Start_Time 08:00 e End_Time 19:00 (ou turno)\n\nInforme hor\u00e1rios livres\n\nAgendamento\n\nAp\u00f3s escolha do paciente, use CREATE_CALENDAR com start, end e Description\n\nAguarde retorno para confirmar cria\u00e7\u00e3o antes de responder\n\nRemarca\u00e7\u00e3o\n\nSolicite dados e nova prefer\u00eancia de data/turno\n\nLocalize evento antigo via GET_ALL_CALENDAR\n\nUse DELETE_CALENDAR no Event_ID antigo\n\nCrie novo com CREATE_CALENDAR\n\nConfirme ap\u00f3s sucesso\n\nCancelamento\n\nSolicite dados do paciente\n\nIdentifique Event_ID via GET_ALL_CALENDAR ou GET_CALENDAR\n\nExecute DELETE_CALENDAR\n\nUse Enviar telegram cancelamento\n\nConfirme cancelamento ao paciente\n\nConfirma\u00e7\u00e3o de consulta (follow-up)\n\nSe paciente responder \u201cConfirmar, ID\u201d: use UPDATE_CALENDAR para prefixar t\u00edtulo com [Confirmado]\n\nSe \u201cReagendar, ID\u201d: DELETE_CALENDAR e oriente para usar link da agenda\n\nREGRAS DE ESCALONAMENTO:\n\nUse CallToHuman IMEDIATAMENTE em situa\u00e7\u00f5es de:\n\nUrg\u00eancia/mal-estar\n\nPedidos de diagn\u00f3stico/opini\u00e3o m\u00e9dica\n\nInsatisfa\u00e7\u00e3o ou reclama\u00e7\u00f5es\n\nAssuntos fora do escopo\n\nMANTENHA SEMPRE:\n\nTom profissional e respeitoso\n\nLinguagem clara e objetiva\n\nAgendamentos apenas em datas futuras\n\nNunca confirmar sem retorno do MCP_CALENDAR\n\nHOR\u00c1RIOS DE FUNCIONAMENTO:\n\nSeg\u2013S\u00e1b: 08h\u201319h | Dom e feriados: fechado\n\nLOCALIZA\u00c7\u00c3O:\nRua Rio Casca, 417 \u2013 Belo Horizonte, MG\n\nLINK DA AGENDA:\nhttps://calendar.google.com/calendar/embed?src=a57a3781407f42b1ad7fe24ce76f558dc6c86fea5f349b7fd39747a2294c1654%40group.calendar.google.com&ctz=America%2FArgentina%2FBuenos_Aires\n\n"}, "promptType": "define"}, "retryOnFail": true, "typeVersion": 1.8, "waitBetweenTries": 1000}, {"id": "2f0a6ea1-7654-4ae7-884e-d5b8ff47d4f9", "name": "Enviar alerta de cancelamento", "type": "n8n-nodes-base.telegramTool", "position": [6400, 3980], "webhookId": "d045a8c1-ec1b-4d20-8226-457aa18934af", "parameters": {"text": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('Text', ``, 'string') }}", "chatId": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('Chat_ID', ``, 'string') }}", "additionalFields": {}}, "credentials": {"telegramApi": {"id": "TAVUHrFXuDIMInWe", "name": "Telegram account"}}, "typeVersion": 1.2}, {"id": "8ddaa14f-7d2f-4364-8ff7-f87e0a428e37", "name": "Gatilho di\u00e1rio", "type": "n8n-nodes-base.scheduleTrigger", "position": [8060, 2780], "parameters": {"rule": {"interval": [{"field": "cronExpression", "expression": "0 8 * * 1-5"}]}}, "typeVersion": 1.2}, {"id": "0784753d-123d-4259-abcc-8abf39e7fc07", "name": "Assistente de confirma\u00e7\u00e3o", "type": "@n8n/n8n-nodes-langchain.agent", "position": [8280, 2680], "parameters": {"text": "=Hoje \u00e9 {{ $now }}. Voc\u00ea \u00e9 um agente especializado em **confirma\u00e7\u00e3o de consultas** para a cl\u00ednica. Sua fun\u00e7\u00e3o principal \u00e9:\n\n1. **Listar os eventos** agendados para o pr\u00f3ximo dia no MCP Calendar.\n2. **Obter o numero** na descri\u00e7\u00e3o de cada evento.\n3. **Enviar uma mensagem de confirma\u00e7\u00e3o** usando a ferramenta \u201crelembraAGENDAMENTO\u201d, perguntando se o paciente confirma a consulta ou prefere reagendar.\n\nImportante:\n- Voc\u00ea **n\u00e3o recebe respostas** diretamente; o retorno do paciente \u00e9 tratado por outro agente.\n\n", "options": {"systemMessage": ""}, "promptType": "define"}, "typeVersion": 1.8}, {"id": "afa90e86-0f44-4069-976b-ca302b0d828a", "name": "AI Agent", "type": "@n8n/n8n-nodes-langchain.agent", "position": [5840, 4460], "parameters": {"text": "={{ $json.output }}", "options": {"systemMessage": "=Voc\u00ea \u00e9 especialista em formata\u00e7\u00e3o de mensagem para whataspp, trabalhando somente na formata\u00e7\u00e3o e n\u00e3o alterando o conte\u00fado da menssagem.\n\n- Substitua ** por *\n- Remova #"}, "promptType": "define"}, "typeVersion": 1.8}, {"id": "13179a70-85b6-4e18-8736-eb2cdd252591", "name": "Sticky Note", "type": "n8n-nodes-base.stickyNote", "position": [6960, 2580], "parameters": {"color": 5, "width": 1940, "height": 600, "content": "# \"Appointment Confirmation Assistant\"\nDescription:\n\nPurpose:\nThis section contains the configuration for the Appointment Confirmation Assistant, an agent specialized in confirming scheduled appointments with patients.\n\nInstructions for Use:\n\nIt is triggered automatically every weekday (Monday to Friday) at 08:00 AM via the Daily Trigger (Gatilho di\u00e1rio).\n\nThe agent retrieves all appointments scheduled for the next day using MCP Google Calendar.\n\nIt extracts each patient's phone number from the event description field.\n\nA confirmation message is sent to each patient using the relembraAGENDAMENTO tool, asking for confirmation or rescheduling.\n\nImportant: This agent does not handle responses from patients; another agent or workflow is responsible for follow-ups.\n\nMake sure event descriptions in Google Calendar are correctly filled to avoid errors.\n\n"}, "typeVersion": 1}, {"id": "4111432b-2ddc-4e96-ba6d-d25e003e2688", "name": "Sticky Note2", "type": "n8n-nodes-base.stickyNote", "position": [4760, 3620], "parameters": {"color": 3, "width": 1780, "height": 640, "content": "# \"Agent Core Components (Tools, MCP, Memory, LLM Model)\"\nDescription:\n\nPurpose:\n\nThis sticky note represents the essential structure of any intelligent agent: it includes access to external tools,\n persistent memory, the MCP system for calendar management, and a Language Model (LLM) to process natural language tasks.\n\nInstructions for Use:\n\nLanguage Model nodes (OpenAI, OpenRouter) are responsible for natural language understanding and generation.\n\nMemory nodes (Postgres Chat Memory) maintain conversation context over multiple interactions.\n\nMCP Tools interact with Google Calendar and other services to perform real-world actions.\n\nAlways ensure memory synchronization between the agent's context and actions performed.\n\nIf new tools are added, they must be connected both to the agent and properly described in the system message.\n\n"}, "typeVersion": 1}, {"id": "4b59f903-07c2-4e66-9ea1-0727beb0d85c", "name": "Sticky Note3", "type": "n8n-nodes-base.stickyNote", "position": [4640, 4300], "parameters": {"color": 4, "width": 1800, "height": 640, "content": "# \"Processing and Sending WhatsApp Responses\"\nDescription:\n\nPurpose:\nThis section is responsible for processing, formatting, and sending outbound WhatsApp messages to patients through the Evolution API.\n\nInstructions for Use:\n\nMessages received from the assistant agent are first reformatted by the AI Agent node to comply with WhatsApp markdown syntax (e.g., replacing **bold** with *bold*).\n\nOnce formatted, the messages are forwarded to WhatsApp using the Evolution API2 node.\n\nEnsure proper formatting before sending to maintain a professional communication tone and avoid delivery errors.\n\nAny future text-processing improvements should be implemented here."}, "typeVersion": 1}, {"id": "274f7f66-7613-4e9e-868d-a5705156dde6", "name": "Postgres Chat Memory1", "type": "@n8n/n8n-nodes-langchain.memoryPostgresChat", "position": [6000, 3980], "parameters": {"sessionKey": "= {{ $('Webhook1').item.json.body.data.key.id }}", "sessionIdType": "customKey", "contextWindowLength": 50}, "credentials": {"postgres": {"id": "t8gw5Kie6Oxy5TcK", "name": "Postgres account"}}, "typeVersion": 1.3}, {"id": "654ed617-df1a-48db-b9bc-833b2c1ecb80", "name": "MCP Google Calendar2", "type": "@n8n/n8n-nodes-langchain.mcpClientTool", "position": [6120, 3980], "parameters": {"sseEndpoint": "https://engaging-seahorse-19.rshare.io/mcp/ceb17fa5-1937-405f-8000-ea3be7d2b032/mcp/:tool/calendar/sse"}, "typeVersion": 1}, {"id": "b11aeec6-b446-4c02-a0b0-7f9239628df3", "name": "MCP GMAIL", "type": "@n8n/n8n-nodes-langchain.mcpClientTool", "position": [8540, 3000], "parameters": {"sseEndpoint": "https://engaging-seahorse-19.rshare.io/mcp/82a7a338-618c-44f5-a1c3-f2e32b6b4833/mcp/:tool/gmail/sse"}, "typeVersion": 1}, {"id": "f5a38b34-499e-4bbc-9282-ce5f4a3b85a3", "name": "MCP CALENDAR", "type": "@n8n/n8n-nodes-langchain.mcpClientTool", "position": [8380, 3000], "parameters": {"sseEndpoint": "https://engaging-seahorse-19.rshare.io/mcp/ceb17fa5-1937-405f-8000-ea3be7d2b032/mcp/:tool/calendar/sse"}, "typeVersion": 1}, {"id": "cd6a6147-fd18-4cd4-8aab-fcb454ab76b7", "name": "Telegram", "type": "n8n-nodes-base.telegram", "position": [8740, 2020], "webhookId": "5bba05fc-2859-4225-aa85-7c4bc5ff532d", "parameters": {"text": "={{ $json.output }}", "chatId": "={{ $('Receber Mensagem Telegram').item.json.message.chat.id }}", "additionalFields": {}}, "credentials": {"telegramApi": {"id": "TAVUHrFXuDIMInWe", "name": "Telegram account"}}, "typeVersion": 1.2}, {"id": "900b8c1a-f987-4898-9fc1-bfc673773e06", "name": "OpenRouter Chat Model1", "type": "@n8n/n8n-nodes-langchain.lmChatOpenRouter", "position": [5760, 4680], "parameters": {"model": "google/gemini-2.0-flash-exp:free", "options": {}}, "credentials": {"openRouterApi": {"id": "eGPA8rbskZCfFPBn", "name": "OpenRouter account"}}, "typeVersion": 1}, {"id": "1584b448-d8f5-4bab-ad9a-9b07edb8e102", "name": "Webhook1", "type": "n8n-nodes-base.webhook", "position": [5760, 2100], "webhookId": "405dab7c-a0ea-4f5b-a6cc-ede9d5ba78a0", "parameters": {"path": "evolutionAPIKORE", "options": {}, "httpMethod": "POST"}, "typeVersion": 2}, {"id": "74b5179f-502c-45d6-88e9-2c2d492603cd", "name": "Edit Fields1", "type": "n8n-nodes-base.set", "position": [6000, 2100], "parameters": {"options": {}, "assignments": {"assignments": [{"id": "3e6335ae-74c3-4655-b68f-cdf0c68b864f", "name": "number", "type": "string", "value": "={{ $json.body.data.key.remoteJid }}"}, {"id": "15f399cf-a98e-45e7-91ce-61b4fad340fd", "name": "name", "type": "string", "value": "={{ $json.body.data.pushName }}"}, {"id": "b1943003-1f47-40e1-b418-6a52557ec44e", "name": "key_id", "type": "string", "value": "={{ $json.body.data.key.id }}"}, {"id": "ed23194b-22ca-455b-a085-7dae706d0569", "name": "text", "type": "string", "value": "={{ $json.body.data.message.conversation }}"}, {"id": "b35f8b61-da15-42e3-a078-4cd901e1f273", "name": "type", "type": "string", "value": "={{ $json.body.data.message.imageMessage.mimetype }}"}, {"id": "a62bf96a-51aa-44c3-9e5d-f592e32a31d6", "name": "image.url", "type": "string", "value": "={{ $json.body.data.message.imageMessage.url }}"}, {"id": "b004987d-3527-4040-a5e6-5fe06b25c9b9", "name": "audio.url", "type": "string", "value": "={{ $json.body.data.message.audioMessage.url }}"}, {"id": "4c2cc03a-c104-4a87-9d31-6a7c256890ad", "name": "document.url", "type": "string", "value": "={{ $json.body.data.message.documentMessage.url }}"}]}}, "typeVersion": 3.4}, {"id": "ce22f5bc-f0e1-463d-9b9a-5112f8d91f00", "name": "Switch", "type": "n8n-nodes-base.switch", "position": [6240, 2080], "parameters": {"rules": {"values": [{"outputKey": "text", "conditions": {"options": {"version": 2, "leftValue": "", "caseSensitive": true, "typeValidation": "strict"}, "combinator": "and", "conditions": [{"id": "2f9854ac-26b3-446c-9d0d-ae25157c61bb", "operator": {"type": "string", "operation": "notEmpty", "singleValue": true}, "leftValue": "={{ $json.text }}", "rightValue": "="}]}, "renameOutput": true}, {"outputKey": "image", "conditions": {"options": {"version": 2, "leftValue": "", "caseSensitive": true, "typeValidation": "strict"}, "combinator": "and", "conditions": [{"id": "73b7d93a-928e-42ec-9c8e-ae8e9b97a867", "operator": {"type": "string", "operation": "notEmpty", "singleValue": true}, "leftValue": "={{ $json.image.url }}", "rightValue": "="}]}, "renameOutput": true}, {"outputKey": "audio", "conditions": {"options": {"version": 2, "leftValue": "", "caseSensitive": true, "typeValidation": "strict"}, "combinator": "and", "conditions": [{"id": "2f9915b9-e2b4-4528-ad36-515a848ab1be", "operator": {"type": "string", "operation": "notEmpty", "singleValue": true}, "leftValue": "={{ $json.audio.url }}", "rightValue": "[null]"}]}, "renameOutput": true}, {"outputKey": "document", "conditions": {"options": {"version": 2, "leftValue": "", "caseSensitive": true, "typeValidation": "strict"}, "combinator": "and", "conditions": [{"id": "9fcbe89a-c9d7-4dc6-bb6f-27c1cacbfddc", "operator": {"type": "string", "operation": "notEmpty", "singleValue": true}, "leftValue": "={{ $json.document.url }}", "rightValue": "[null]"}]}, "renameOutput": true}]}, "options": {}}, "typeVersion": 3.2}, {"id": "c78ee758-fb71-4a4f-9450-0ffcd67a2af2", "name": "Sticky Note5", "type": "n8n-nodes-base.stickyNote", "position": [4960, 1840], "parameters": {"color": 6, "width": 1580, "height": 640, "content": "# Incoming WhatsApp Webhook and Message Type Handling\"\nDescription:\n\nPurpose:\nManages the initial reception and classification of incoming WhatsApp messages from patients via the webhook system.\n\nInstructions for Use:\n\nThe Webhook1 node captures incoming messages.\n\nEdit Fields1 extracts structured fields such as text, image URL, audio URL, and document URL.\n\nSwitch node analyzes which type of content was received and directs the flow accordingly:\n\nText \u2192 Forwarded to the assistant for handling.\n\nImage \u2192 Sent for OCR analysis.\n\nAudio \u2192 Sent for transcription.\n\nDocument \u2192 (Currently unused, but ready for future workflows).\n\nKeep webhook credentials updated to ensure system reliability.\n\n"}, "typeVersion": 1}, {"id": "83abbf61-91e2-4d1c-a42a-4f05b18583e7", "name": "OpenAI", "type": "@n8n/n8n-nodes-langchain.openAi", "position": [6380, 3260], "parameters": {"options": {}, "resource": "audio", "operation": "transcribe", "binaryPropertyName": "=data"}, "credentials": {"openAiApi": {"id": "zUnIUrOWA279vAoC", "name": "OpenAi account"}}, "typeVersion": 1.8}, {"id": "4c2dcefc-fb65-42ca-8c63-8636f2906654", "name": "Evolution API", "type": "n8n-nodes-evolution-api.evolutionApi", "position": [5860, 3260], "parameters": {"resource": "chat-api", "messageId": "={{ $json.key_id }}", "operation": "get-media-base64", "convertToMp4": true, "instanceName": "={{ $('Webhook1').item.json.body.instance }}"}, "credentials": {"evolutionApi": {"id": "fPKdX0EITLV8HI89", "name": "Evolution account"}}, "typeVersion": 1}, {"id": "85909834-7564-478b-bce8-0c3fe7bf4159", "name": "Convert to File", "type": "n8n-nodes-base.convertToFile", "position": [6100, 3260], "parameters": {"options": {}, "operation": "toBinary", "sourceProperty": "data.base64"}, "typeVersion": 1.1}, {"id": "3e200157-fbcc-4225-b982-2dfaea54cc23", "name": "Sticky Note1", "type": "n8n-nodes-base.stickyNote", "position": [4980, 3100], "parameters": {"width": 1760, "height": 480, "content": "## \"Download Audio and Convert to MP4\"\nDescription:\n\nPurpose:\nHandles retrieval, conversion, and transcription of audio files sent by patients via WhatsApp.\n\nInstructions for Use:\n\nEvolution API downloads the audio in base64 format.\n\nConvert to File transforms base64 into a binary file compatible with transcription engines.\n\nOpenAI Whisper API (via OpenAI node) transcribes the audio into text, preparing it for natural language processing.\n\nEnsure audio formats are correctly handled (e.g., MP4/MP3) to avoid conversion or transcription failures.\n\nMonitor for potential heavy file size issues (>25MB) which may impact performance."}, "typeVersion": 1}, {"id": "5862d5f1-2df4-40ee-881f-a6d6e302602f", "name": "Sticky Note6", "type": "n8n-nodes-base.stickyNote", "position": [4920, 2540], "parameters": {"width": 1820, "height": 480, "content": "# \"Extract Text from Images\"\nDescription:\n\nPurpose:\nProcesses images received via WhatsApp to extract text (OCR) and describe their visual content for further contextual analysis.\n\nInstructions for Use:\n\nThe OpenAI1 node uses a Vision model to transcribe and describe any text or scene from incoming images.\n\nThe resulting data is interpreted by the AI Agent2, which prepares insights and recommends appropriate responses.\n\nImage-to-text extraction is especially useful for handling prescriptions, notes, or medical documents sent by patients.\n\nMaintain quality standards: images must be clear and high-resolution for best transcription results."}, "typeVersion": 1}, {"id": "8dbd4e6d-8b38-44d8-ba45-5cac2713f6ca", "name": "OpenAI1", "type": "@n8n/n8n-nodes-langchain.openAi", "position": [5980, 2620], "parameters": {"text": "TRANSCRIBE OS TEXTOS e describe a imagem", "modelId": {"__rl": true, "mode": "list", "value": "chatgpt-4o-latest", "cachedResultName": "CHATGPT-4O-LATEST"}, "options": {}, "resource": "image", "imageUrls": "={{ $json.image }}", "operation": "analyze"}, "credentials": {"openAiApi": {"id": "zUnIUrOWA279vAoC", "name": "OpenAi account"}}, "typeVersion": 1.8}, {"id": "19e8d50d-4f87-408e-96f0-236932c1d120", "name": "AI Agent2", "type": "@n8n/n8n-nodes-langchain.agent", "position": [6200, 2620], "parameters": {"text": "={{$json.output}}", "options": {"systemMessage": "voce e encarregado de analizar o texto proveniente do analisis de uma iamgem ela pode conter texto, a ideia e que voce explique ao proximo agente como debe responder as mensagens"}, "promptType": "define"}, "typeVersion": 1.9}, {"id": "0d2f9842-b011-49f5-9594-24a917dee60e", "name": "OpenRouter Chat Model2", "type": "@n8n/n8n-nodes-langchain.lmChatOpenRouter", "position": [6100, 2860], "parameters": {"model": "google/gemini-2.5-pro-exp-03-25:free", "options": {}}, "credentials": {"openRouterApi": {"id": "eGPA8rbskZCfFPBn", "name": "OpenRouter account"}}, "typeVersion": 1}, {"id": "58f7f9c7-6f86-40ff-bfad-5467e5b3a9e4", "name": "Evolution API2", "type": "n8n-nodes-evolution-api.evolutionApi", "position": [6200, 4460], "parameters": {"resource": "messages-api", "remoteJid": "={{ $('Webhook1').item.json.body.data.key.remoteJid }}", "messageText": "={{$json.output}}", "instanceName": "={{ $('Webhook1').item.json.body.instance }}", "options_message": {}}, "credentials": {"evolutionApi": {"id": "fPKdX0EITLV8HI89", "name": "Evolution account"}}, "typeVersion": 1}, {"id": "2b529ab1-2a7e-44e0-b7c8-ed05e07c6def", "name": "Sticky Note4", "type": "n8n-nodes-base.stickyNote", "position": [6960, 1840], "parameters": {"width": 1960, "height": 680, "content": "## \"Internal Clinic Assistant\"\nDescription:\n\nPurpose:\nRepresents the Internal Assistant for the clinic, used exclusively by the internal team via Telegram to manage patient rescheduling and manage a purchasing reminder list.\n\nInstructions for Use:\n\nTriggered by staff messages sent via Telegram.\n\nRescheduling tasks:\n\nAccess the MCP Google Calendar to locate and manage appointments.\n\nExtract patient contact from the event description.\n\nSend rescheduling messages through WhatsApp using the dedicated tool.\n\nShopping list tasks:\n\nInsert shopping list reminders into Google Tasks based on the staff's instructions.\n\nAlways maintain professional and empathetic tone when interacting with patients, even if the communication is indirect.\n\nAvoid unauthorized direct patient contact without staff permission."}, "typeVersion": 1}, {"id": "a4a51bd1-48a6-4e32-b696-0ae77a0e05fe", "name": "CallToHuman", "type": "@n8n/n8n-nodes-langchain.toolWorkflow", "position": [6240, 4000], "parameters": {"name": "escalar_humano", "workflowId": {"__rl": true, "mode": "list", "value": "A95kslcW4H82nJuR", "cachedResultName": "callToHuman"}, "description": "=Use essa ferramenta ao perceber que o paciente fala de:\n- Situa\u00e7\u00f5es urgentes (sentindo-se mal, etc.)\n- Assuntos n\u00e3o relacionados \u00e0 cl\u00ednica\n- Insatisfa\u00e7\u00e3o extrema ou pedidos de falar com um humano\n", "workflowInputs": {"value": {"nome": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('nome', ``, 'string') }}", "telefone": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('telefone', ``, 'string') }}", "ultima_mensagem": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('ultima_mensagem', ``, 'string') }}"}, "schema": [{"id": "telefone", "type": "string", "display": true, "required": false, "displayName": "telefone", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "nome", "type": "string", "display": true, "required": false, "displayName": "nome", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "ultima_mensagem", "type": "string", "display": true, "required": false, "displayName": "ultima_mensagem", "defaultMatch": false, "canBeUsedToMatch": true}], "mappingMode": "defineBelow", "matchingColumns": [], "attemptToConvertTypes": false, "convertFieldsToString": false}}, "typeVersion": 2.1}, {"id": "674c5c75-a954-4306-8a02-71bdda89293c", "name": "OpenAI Chat Model2", "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi", "position": [8260, 2840], "parameters": {"model": {"__rl": true, "mode": "list", "value": "gpt-4.1-mini", "cachedResultName": "gpt-4.1-mini"}, "options": {}}, "credentials": {"openAiApi": {"id": "zUnIUrOWA279vAoC", "name": "OpenAi account"}}, "typeVersion": 1.2}, {"id": "b398627e-2fbe-44e4-ac2f-523b03871eda", "name": "REMINDER", "type": "n8n-nodes-evolution-api.evolutionApi", "position": [8640, 2700], "parameters": {"resource": "messages-api", "remoteJid": "5511111111111@s.whatsapp.net", "messageText": "={{$fromAI(\"reminder\")}}", "instanceName": "instance name", "options_message": {}}, "credentials": {"evolutionApi": {"id": "fPKdX0EITLV8HI89", "name": "Evolution account"}}, "typeVersion": 1}], "active": false, "pinData": {"Webhook1": [{"json": {"body": {"data": {"key": {"id": "05D218BDE5BFC8378B5AA50BA87FDAFE", "fromMe": false, "remoteJid": "5491169701682@s.whatsapp.net"}, "source": "android", "status": "DELIVERY_ACK", "message": {"conversation": "Sim", "messageContextInfo": {"messageSecret": "RdahuRio1gbaHLsCeV24k8yFFyJWGpAJ5zHYRc2QysU=", "deviceListMetadata": {"recipientKeyHash": "KgcEIs2I9kXQgQ==", "recipientTimestamp": "1745501413"}, "deviceListMetadataVersion": 2}}, "pushName": "Luciano", "instanceId": "317a031e-567d-4c2e-9bc4-146616fe4db7", "messageType": "conversation", "messageTimestamp": 1745501855}, "event": "messages.upsert", "apikey": "59BA76B6BD78-403B-A0CC-8735B6A7ED3A", "sender": "553191282843@s.whatsapp.net", "instance": "kore", "date_time": "2025-04-24T10:37:35.514Z", "server_url": "http://localhost:8080", "destination": "https://engaging-seahorse-19.rshare.io/webhook/evolutionAPIKORE"}, "query": {}, "params": {}, "headers": {"host": "host.docker.internal:5678", "x-scheme": "https", "forwarded": "by=_exposr;for=179.0.72.34;host=engaging-seahorse-19.rshare.io;proto=https", "x-real-ip": "179.0.72.34", "connection": "keep-alive", "exposr-via": "b9e7ef031eb8fe005896193e59b1d6f6d8743b1e", "user-agent": "axios/1.7.9", "content-type": "application/json", "x-request-id": "91360975101096aa10d12cb5b8925b55", "content-length": "821", "accept-encoding": "gzip, compress, deflate, br", "x-forwarded-for": "179.0.72.34", "x-forwarded-host": "engaging-seahorse-19.rshare.io", "x-forwarded-port": "443", "x-forwarded-proto": "https", "x-forwarded-scheme": "https"}, "webhookUrl": "https://engaging-seahorse-19.rshare.io/webhook/evolutionAPIKORE", "executionMode": "production"}}], "Gatilho di\u00e1rio": [{"json": {"Hour": "10", "Year": "2025", "Month": "April", "Minute": "13", "Second": "11", "Timezone": "America/New_York (UTC-04:00)", "timestamp": "2025-04-24T10:13:11.035-04:00", "Day of week": "Thursday", "Day of month": "24", "Readable date": "April 24th 2025, 10:13:11 am", "Readable time": "10:13:11 am"}}]}, "settings": {"executionOrder": "v1"}, "versionId": "3044ad5c-d14e-4562-a454-0ad87f26dc68", "connections": {"OpenAI": {"main": [[{"node": "Assistente Cl\u00ednica", "type": "main", "index": 0}]]}, "Switch": {"main": [[{"node": "Assistente Cl\u00ednica", "type": "main", "index": 0}], [{"node": "OpenAI1", "type": "main", "index": 0}], [{"node": "Evolution API", "type": "main", "index": 0}], []]}, "OpenAI1": {"main": [[{"node": "AI Agent2", "type": "main", "index": 0}]]}, "AI Agent": {"main": [[{"node": "Evolution API2", "type": "main", "index": 0}]]}, "Webhook1": {"main": [[{"node": "Edit Fields1", "type": "main", "index": 0}]]}, "AI Agent2": {"main": [[{"node": "Assistente Cl\u00ednica", "type": "main", "index": 0}]]}, "MCP GMAIL": {"ai_tool": [[{"node": "Assistente de confirma\u00e7\u00e3o", "type": "ai_tool", "index": 0}]]}, "CallToHuman": {"ai_tool": [[{"node": "Assistente Cl\u00ednica", "type": "ai_tool", "index": 0}]]}, "Edit Fields1": {"main": [[{"node": "Switch", "type": "main", "index": 0}]]}, "Google Tasks": {"ai_tool": [[{"node": "Assistente clinica interno", "type": "ai_tool", "index": 0}]]}, "MCP CALENDAR": {"ai_tool": [[{"node": "Assistente de confirma\u00e7\u00e3o", "type": "ai_tool", "index": 0}]]}, "Evolution API": {"main": [[{"node": "Convert to File", "type": "main", "index": 0}]]}, "Convert to File": {"main": [[{"node": "OpenAI", "type": "main", "index": 0}]]}, "Gatilho di\u00e1rio": {"main": [[{"node": "Assistente de confirma\u00e7\u00e3o", "type": "main", "index": 0}]]}, "OpenAI Chat Model": {"ai_languageModel": [[{"node": "Assistente Cl\u00ednica", "type": "ai_languageModel", "index": 0}]]}, "OpenAI Chat Model1": {"ai_languageModel": [[{"node": "Assistente clinica interno", "type": "ai_languageModel", "index": 0}]]}, "OpenAI Chat Model2": {"ai_languageModel": [[{"node": "Assistente de confirma\u00e7\u00e3o", "type": "ai_languageModel", "index": 0}]]}, "Assistente Cl\u00ednica": {"main": [[{"node": "AI Agent", "type": "main", "index": 0}]]}, "MCP Google Calendar": {"ai_tool": [[{"node": "Assistente clinica interno", "type": "ai_tool", "index": 0}]]}, "MCP Google Calendar2": {"ai_tool": [[{"node": "Assistente Cl\u00ednica", "type": "ai_tool", "index": 0}]]}, "Postgres Chat Memory": {"ai_memory": [[{"node": "Assistente clinica interno", "type": "ai_memory", "index": 0}]]}, "Postgres Chat Memory1": {"ai_memory": [[{"node": "Assistente Cl\u00ednica", "type": "ai_memory", "index": 0}]]}, "OpenRouter Chat Model1": {"ai_languageModel": [[{"node": "AI Agent", "type": "ai_languageModel", "index": 0}]]}, "OpenRouter Chat Model2": {"ai_languageModel": [[{"node": "AI Agent2", "type": "ai_languageModel", "index": 0}]]}, "Receber Mensagem Telegram": {"main": [[{"node": "Assistente clinica interno", "type": "main", "index": 0}]]}, "Assistente clinica interno": {"main": [[{"node": "Telegram", "type": "main", "index": 0}]]}, "Assistente de confirma\u00e7\u00e3o": {"main": [[{"node": "REMINDER", "type": "main", "index": 0}]]}, "Enviar alerta de cancelamento": {"ai_tool": [[{"node": "Assistente Cl\u00ednica", "type": "ai_tool", "index": 0}]]}}}
|
6MRJ2tfl8c2f3AuE
|
💥🛠️Build a Web Search Chatbot with GPT-4o and MCP Brave Search
|
15
|
["stickyNote"]
|
ai-automation-lab
|
{"id": "6MRJ2tfl8c2f3AuE", "meta": {"instanceId": "31e69f7f4a77bf465b805824e303232f0227212ae922d12133a0f96ffeab4fef"}, "name": "\ud83d\udca5\ud83d\udee0\ufe0fBuild a Web Search Chatbot with GPT-4o and MCP Brave Search", "tags": [], "nodes": [{"id": "b6e5eaa8-ddb3-4c13-8069-ce360bf4a945", "name": "AI Agent", "type": "@n8n/n8n-nodes-langchain.agent", "position": [240, -180], "parameters": {"options": {}}, "typeVersion": 1.8}, {"id": "dde0154e-f7c2-4778-abcc-f79406db5e6b", "name": "When chat message received", "type": "@n8n/n8n-nodes-langchain.chatTrigger", "position": [-260, -180], "webhookId": "68e54e15-548a-44df-ad06-7fb9e4e912a9", "parameters": {"options": {}}, "typeVersion": 1.1}, {"id": "877ce640-4d08-4ba7-b1d3-bcfc79600d2c", "name": "MCP Get Brave Tools", "type": "n8n-nodes-mcp.mcpClientTool", "position": [200, 280], "parameters": {}, "credentials": {"mcpClientApi": {"id": "t2IDYWq0EcqBWvMA", "name": "MCP Client (STDIO) account 2"}}, "typeVersion": 1}, {"id": "fb3ce3c2-a809-43e5-92d0-82db0d78a971", "name": "MCP Execute Brave Search", "type": "n8n-nodes-mcp.mcpClientTool", "position": [460, 280], "parameters": {"toolName": "={{ $fromAI('tool', 'Set this with the specific tool name') }}", "operation": "executeTool", "toolParameters": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('Tool_Parameters', ``, 'json') }}"}, "credentials": {"mcpClientApi": {"id": "t2IDYWq0EcqBWvMA", "name": "MCP Client (STDIO) account 2"}}, "typeVersion": 1}, {"id": "357bde6a-66d0-48dc-972d-d0b35e3868ed", "name": "Simple Memory", "type": "@n8n/n8n-nodes-langchain.memoryBufferWindow", "position": [-120, 280], "parameters": {}, "typeVersion": 1.3}, {"id": "3eba14c5-e4ed-4c4f-8f1d-2b5671b462cc", "name": "gpt-4o", "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi", "position": [-380, 280], "parameters": {"model": {"__rl": true, "mode": "list", "value": "gpt-4o", "cachedResultName": "gpt-4o"}, "options": {}}, "credentials": {"openAiApi": {"id": "jEMSvKmtYfzAkhe6", "name": "OpenAi account"}}, "typeVersion": 1.2}, {"id": "781e5d92-6e9d-4874-93fc-5ea17d11f67f", "name": "Sticky Note", "type": "n8n-nodes-base.stickyNote", "position": [120, 160], "parameters": {"color": 4, "height": 280, "content": "## 1\ufe0f\u20e3 MCP Get Brave Tools"}, "typeVersion": 1}, {"id": "78a52697-352f-47ed-a7d2-3a65c9641fd7", "name": "Sticky Note3", "type": "n8n-nodes-base.stickyNote", "position": [380, 160], "parameters": {"color": 4, "height": 280, "content": "## 2\ufe0f\u20e3 MCP Execute Brave Search"}, "typeVersion": 1}, {"id": "876003d5-7d90-4865-af36-3c0e504b02e7", "name": "Sticky Note4", "type": "n8n-nodes-base.stickyNote", "position": [-200, 160], "parameters": {"color": 3, "height": 280, "content": "## Short Term Chat Memory"}, "typeVersion": 1}, {"id": "9f64f499-73d7-414f-a3d3-02c0417368a6", "name": "Sticky Note5", "type": "n8n-nodes-base.stickyNote", "position": [-460, 160], "parameters": {"color": 5, "height": 280, "content": "## Cloud LLM"}, "typeVersion": 1}, {"id": "fc423452-832c-4377-9bde-04ab6d5c89aa", "name": "Sticky Note6", "type": "n8n-nodes-base.stickyNote", "position": [-500, -400], "parameters": {"color": 7, "width": 1200, "height": 920, "content": "# \ud83d\udca5\ud83d\udee0\ufe0fYour First Simple MCP AI Chatbot using Brave Search\nhttps://github.com/nerding-io/n8n-nodes-mcp\nhttps://brave.com/search/api/"}, "typeVersion": 1}, {"id": "5c6c7307-3283-4698-9104-c80df8a62888", "name": "Sticky Note7", "type": "n8n-nodes-base.stickyNote", "position": [80, 40], "parameters": {"width": 580, "height": 440, "content": "## \ud83d\udee0\ufe0f MCP Toolbox\nhttps://github.com/nerding-io/n8n-nodes-mcp\nhttps://brave.com/search/api/"}, "typeVersion": 1}, {"id": "9d1bb515-f8fa-4d48-bbf5-c083f5efd89d", "name": "Sticky Note8", "type": "n8n-nodes-base.stickyNote", "position": [-360, -240], "parameters": {"color": 4, "width": 300, "height": 240, "content": "## \ud83d\udc4dTry Me!"}, "typeVersion": 1}, {"id": "b093a455-aee7-4822-b079-7d9cbac783c2", "name": "Sticky Note1", "type": "n8n-nodes-base.stickyNote", "position": [-1060, -400], "parameters": {"width": 520, "height": 1040, "content": "### **Who is this for?**\nThis workflow is ideal for developers, automation enthusiasts, and businesses looking to integrate AI-powered chat capabilities into their workflows. It's particularly useful for those leveraging Brave Search and MCP tools to enhance user interactions and streamline data retrieval.\n\n### **What problem is this workflow solving?**\nThis workflow addresses the challenge of creating an intelligent chatbot that can process user queries, execute searches using Brave Search, and provide responses enriched by AI. It simplifies the integration of multiple tools into a cohesive system, saving time and effort for users who need a robust conversational AI solution.\n\n### **What this workflow does**\n- Listens for incoming chat messages using the **Chat Trigger** node.\n- Processes user input with an **AI Agent** powered by GPT-4o.\n- Retrieves relevant tools using the **MCP Get Brave Tools** node.\n- Executes specific search queries via the **MCP Execute Brave Search** node.\n- Maintains short-term memory of conversations with the **Simple Memory** node.\n\n### **Setup**\n1. **Prerequisites**:\n - Access to an n8n instance (self-hosted).\n - API credentials for OpenAI and MCP Client Tools.\n - Brave Search API key.\n\n2. **Steps**:\n - Import the workflow JSON into your n8n instance.\n - Configure the API credentials for OpenAI and MCP Client Tools in their respective nodes.\n - Set up your Brave Search API key in the MCP nodes. https://brave.com/search/api/\n\n3. **Testing**:\n - Use the built-in chat interface to send test messages.\n - Verify that the chatbot processes queries and returns results as expected.\n\n### **How to customize this workflow to your needs**\n- Modify the AI Agent's prompt settings to tailor responses to your specific use case.\n- Adjust the memory buffer in the Simple Memory node to retain more or less conversational context.\n- Replace or add additional tools in the MCP nodes to expand functionality.\n"}, "typeVersion": 1}, {"id": "8fb4f215-da26-43ad-b187-9b52ed6485ba", "name": "Sticky Note2", "type": "n8n-nodes-base.stickyNote", "position": [80, -280], "parameters": {"width": 580, "height": 280, "content": "## \ud83e\udd16 AI Agent with Tools"}, "typeVersion": 1}], "active": false, "pinData": {}, "settings": {"executionOrder": "v1"}, "versionId": "a555f325-abd3-44bd-ac48-8b0f6910824e", "connections": {"gpt-4o": {"ai_languageModel": [[{"node": "AI Agent", "type": "ai_languageModel", "index": 0}]]}, "Simple Memory": {"ai_memory": [[{"node": "AI Agent", "type": "ai_memory", "index": 0}]]}, "MCP Get Brave Tools": {"ai_tool": [[{"node": "AI Agent", "type": "ai_tool", "index": 0}]]}, "MCP Execute Brave Search": {"ai_tool": [[{"node": "AI Agent", "type": "ai_tool", "index": 0}]]}, "When chat message received": {"main": [[{"node": "AI Agent", "type": "main", "index": 0}]]}}}
|
6Yzmlp5xF6oHo1VW
|
Text to Speech (OpenAI)
|
8
|
["httpRequest", "manualTrigger", "set", "stickyNote"]
|
ai-automation-lab
|
{"id": "6Yzmlp5xF6oHo1VW", "meta": {"instanceId": "173f55e6572798fa42ea9c5c92623a3c3308080d3fcd2bd784d26d855b1ce820"}, "name": "Text to Speech (OpenAI)", "tags": [], "nodes": [{"id": "938fedbd-e34c-40af-af2f-b9c669e1a6e9", "name": "When clicking \"Test workflow\"", "type": "n8n-nodes-base.manualTrigger", "position": [380, 380], "parameters": {}, "typeVersion": 1}, {"id": "1d59db5d-8fe6-4292-a221-a0d0194c6e0c", "name": "Set input text and TTS voice", "type": "n8n-nodes-base.set", "position": [760, 380], "parameters": {"mode": "raw", "options": {}, "jsonOutput": "{\n \"input_text\": \"The quick brown fox jumped over the lazy dog.\",\n \"voice\": \"alloy\"\n}\n"}, "typeVersion": 3.2}, {"id": "9d54de1d-59b7-4c1f-9e88-13572da5292c", "name": "Send HTTP Request to OpenAI's TTS Endpoint", "type": "n8n-nodes-base.httpRequest", "position": [1120, 380], "parameters": {"url": "https://api.openai.com/v1/audio/speech", "method": "POST", "options": {}, "sendBody": true, "sendHeaders": true, "authentication": "predefinedCredentialType", "bodyParameters": {"parameters": [{"name": "model", "value": "tts-1"}, {"name": "input", "value": "={{ $json.input_text }}"}, {"name": "voice", "value": "={{ $json.voice }}"}]}, "headerParameters": {"parameters": [{"name": "Authorization", "value": "Bearer $OPENAI_API_KEY"}]}, "nodeCredentialType": "openAiApi"}, "credentials": {"openAiApi": {"id": "VokTSv2Eg5m5aDg7", "name": "OpenAi account"}}, "typeVersion": 4.1}, {"id": "1ce72c9c-aa6f-4a18-9d5a-3971686a51ec", "name": "Sticky Note", "type": "n8n-nodes-base.stickyNote", "position": [280, 256], "parameters": {"width": 273, "height": 339, "content": "## Workflow Trigger\nYou can replace this manual trigger with another trigger type as required by your use case."}, "typeVersion": 1}, {"id": "eb487535-5f36-465e-aeee-e9ff62373e53", "name": "Sticky Note1", "type": "n8n-nodes-base.stickyNote", "position": [660, 257], "parameters": {"width": 273, "height": 335, "content": "## Manually Set OpenAI TTS Configuration\n"}, "typeVersion": 1}, {"id": "36b380bd-0703-4b60-83cb-c4ad9265864d", "name": "Sticky Note2", "type": "n8n-nodes-base.stickyNote", "position": [1020, 260], "parameters": {"width": 302, "height": 335, "content": "## Send Request to OpenAI TTS API\n"}, "typeVersion": 1}, {"id": "ff35ff28-62b5-49c8-a657-795aa916b524", "name": "Sticky Note3", "type": "n8n-nodes-base.stickyNote", "position": [660, 620], "parameters": {"color": 4, "width": 273, "height": 278, "content": "### Configuration Options\n- \"input_text\" is the text you would like to be turned into speech, and can be replaced with a programmatic value for your use case. Bear in mind that the maximum number of tokens per API call is 4,000.\n\n- \"voice\" is the voice used by the TTS model. The default is alloy, other options can be found here: [OpenAI TTS Docs](https://platform.openai.com/docs/guides/text-to-speech)"}, "typeVersion": 1}, {"id": "5f7ef80e-b5c8-41df-9411-525fafc2d910", "name": "Sticky Note4", "type": "n8n-nodes-base.stickyNote", "position": [1020, 620], "parameters": {"color": 4, "width": 299, "height": 278, "content": "### Output\nThe output returned by OpenAI's TTS endpoint is a .mp3 audio file (binary).\n\n\n### Credentials\nTo use this workflow, you'll have to configure and provide a valid OpenAI credential.\n"}, "typeVersion": 1}], "active": false, "pinData": {}, "settings": {"executionOrder": "v1"}, "versionId": "19d67805-e208-4f0e-af44-c304e66e8ce8", "connections": {"Set input text and TTS voice": {"main": [[{"node": "Send HTTP Request to OpenAI's TTS Endpoint", "type": "main", "index": 0}]]}, "When clicking \"Test workflow\"": {"main": [[{"node": "Set input text and TTS voice", "type": "main", "index": 0}]]}}}
|
1106_GoogleSheets_Cron_Automate_Scheduled
|
1106_GoogleSheets_Cron_Automate_Scheduled
|
4
|
["cron", "googleSheets"]
|
ai-automation-lab
|
{"nodes": [{"name": "Read Sheet", "type": "n8n-nodes-base.googleSheets", "position": [700, 300], "parameters": {"range": "Data!A:G", "rawData": true}, "typeVersion": 1}, {"name": "Cron", "type": "n8n-nodes-base.cron", "position": [500, 300], "parameters": {"triggerTimes": {"item": [{"mode": "custom", "cronExpression": "0 */2 * * * *"}]}}, "typeVersion": 1}, {"name": "Write Sheet 2", "type": "n8n-nodes-base.googleSheets", "position": [900, 400], "parameters": {"range": "={{$node[\"Read Sheet\"].parameter[\"range\"]}}", "rawData": true, "operation": "update"}, "typeVersion": 1}, {"name": "Write Sheet 1", "type": "n8n-nodes-base.googleSheets", "position": [900, 200], "parameters": {"range": "={{$node[\"Read Sheet\"].parameter[\"range\"]}}", "rawData": true, "operation": "update"}, "typeVersion": 1}], "connections": {"Cron": {"main": [[{"node": "Read Sheet", "type": "main", "index": 0}]]}, "Read Sheet": {"main": [[{"node": "Write Sheet 2", "type": "main", "index": 0}, {"node": "Write Sheet 1", "type": "main", "index": 0}]]}}}
|
6
|
Dashboard
|
24
|
["cron", "function", "github", "httpRequest", "set"]
|
ai-automation-lab
|
{"id": "6", "name": "Dashboard", "nodes": [{"name": "Cron", "type": "n8n-nodes-base.cron", "position": [-290, 180], "parameters": {"triggerTimes": {"item": [{"mode": "everyMinute"}]}}, "typeVersion": 1}, {"name": "Dashboard Configuration", "type": "n8n-nodes-base.set", "color": "#FF0000", "notes": "Update project settings", "position": [-10, 180], "parameters": {"values": {"string": [{"name": "dashboardHostname", "value": "http://192.168.0.14:8080"}, {"name": "dashboardAuthToken", "value": "n8n-rocks!"}, {"name": "product_hunt_post_id", "value": "170391"}, {"name": "npm_package", "value": "n8n"}, {"name": "docker_name", "value": "n8nio"}, {"name": "docker_repository", "value": "n8n"}, {"name": "github_owner", "value": "n8n-io"}, {"name": "github_repo", "value": "n8n"}]}, "options": {}}, "notesInFlow": true, "typeVersion": 1}, {"name": "Retrieve Docker Data", "type": "n8n-nodes-base.httpRequest", "position": [260, 300], "parameters": {"url": "=https://hub.docker.com/v2/repositories/{{$node[\"Dashboard Configuration\"].json[\"docker_name\"]}}/{{$node[\"Dashboard Configuration\"].json[\"docker_repository\"]}}", "options": {}, "queryParametersUi": {"parameter": []}, "headerParametersUi": {"parameter": [{"name": "User-Agent", "value": "n8n"}]}}, "typeVersion": 1}, {"name": "Docker Pulls", "type": "n8n-nodes-base.httpRequest", "position": [630, 220], "parameters": {"url": "={{$node[\"Dashboard Configuration\"].json[\"dashboardHostname\"]}}/widgets/docker_pulls", "options": {}, "requestMethod": "POST", "bodyParametersUi": {"parameter": [{"name": "auth_token", "value": "={{$node[\"Dashboard Configuration\"].json[\"dashboardAuthToken\"]}}"}, {"name": "current", "value": "={{$node[\"Massage Docker Data\"].json[\"pull_count\"]}}"}]}}, "typeVersion": 1, "alwaysOutputData": true}, {"name": "Docker Stars", "type": "n8n-nodes-base.httpRequest", "position": [630, 400], "parameters": {"url": "={{$node[\"Dashboard Configuration\"].json[\"dashboardHostname\"]}}/widgets/docker_stars", "options": {}, "requestMethod": "POST", "bodyParametersUi": {"parameter": [{"name": "auth_token", "value": "={{$node[\"Dashboard Configuration\"].json[\"dashboardAuthToken\"]}}"}, {"name": "current", "value": "={{$node[\"Massage Docker Data\"].json[\"star_count\"]}}"}]}}, "typeVersion": 1, "alwaysOutputData": true}, {"name": "Retrieve npm Data", "type": "n8n-nodes-base.httpRequest", "position": [250, 50], "parameters": {"url": "=https://api.npms.io/v2/package/{{$node[\"Dashboard Configuration\"].json[\"npm_package\"]}}", "options": {}, "headerParametersUi": {"parameter": [{"name": "User-Agent", "value": "n8n"}]}}, "typeVersion": 1}, {"name": "GitHub Watchers", "type": "n8n-nodes-base.httpRequest", "position": [820, 640], "parameters": {"url": "={{$node[\"Dashboard Configuration\"].json[\"dashboardHostname\"]}}/widgets/github_watchers", "options": {}, "requestMethod": "POST", "bodyParametersUi": {"parameter": [{"name": "auth_token", "value": "={{$node[\"Dashboard Configuration\"].json[\"dashboardAuthToken\"]}}"}, {"name": "current", "value": "={{$node[\"Massage GitHub Data\"].json[\"subscribers_count\"]}}"}]}}, "typeVersion": 1, "alwaysOutputData": true}, {"name": "GitHub Forks", "type": "n8n-nodes-base.httpRequest", "position": [820, 800], "parameters": {"url": "={{$node[\"Dashboard Configuration\"].json[\"dashboardHostname\"]}}/widgets/github_forks", "options": {}, "requestMethod": "POST", "bodyParametersUi": {"parameter": [{"name": "auth_token", "value": "={{$node[\"Dashboard Configuration\"].json[\"dashboardAuthToken\"]}}"}, {"name": "current", "value": "={{$node[\"Massage GitHub Data\"].json[\"forks_count\"]}}"}]}}, "typeVersion": 1, "alwaysOutputData": true}, {"name": "GitHub Open Issues ", "type": "n8n-nodes-base.httpRequest", "position": [620, 860], "parameters": {"url": "={{$node[\"Dashboard Configuration\"].json[\"dashboardHostname\"]}}/widgets/github_open_issues", "options": {}, "requestMethod": "POST", "bodyParametersUi": {"parameter": [{"name": "auth_token", "value": "={{$node[\"Dashboard Configuration\"].json[\"dashboardAuthToken\"]}}"}, {"name": "current", "value": "={{$node[\"Massage GitHub Data\"].json[\"open_issues_count\"]}}"}]}}, "typeVersion": 1, "alwaysOutputData": true}, {"name": "GitHub Stars", "type": "n8n-nodes-base.httpRequest", "position": [620, 560], "parameters": {"url": "={{$node[\"Dashboard Configuration\"].json[\"dashboardHostname\"]}}/widgets/github_stars", "options": {}, "requestMethod": "POST", "bodyParametersUi": {"parameter": [{"name": "auth_token", "value": "={{$node[\"Dashboard Configuration\"].json[\"dashboardAuthToken\"]}}"}, {"name": "current", "value": "={{$node[\"Massage GitHub Data\"].json[\"stargazers_count\"]}}"}]}}, "typeVersion": 1, "alwaysOutputData": true}, {"name": "npm Maintenance", "type": "n8n-nodes-base.httpRequest", "position": [830, -90], "parameters": {"url": "={{$node[\"Dashboard Configuration\"].json[\"dashboardHostname\"]}}/widgets/npm_maintenance", "options": {}, "requestMethod": "POST", "bodyParametersUi": {"parameter": [{"name": "auth_token", "value": "={{$node[\"Dashboard Configuration\"].json[\"dashboardAuthToken\"]}}"}, {"name": "value", "value": "={{$node[\"Massage npm Data\"].json[\"score\"][\"detail\"][\"maintenance\"]}}"}]}}, "typeVersion": 1, "alwaysOutputData": true}, {"name": "npm Popularity", "type": "n8n-nodes-base.httpRequest", "position": [1030, 0], "parameters": {"url": "={{$node[\"Dashboard Configuration\"].json[\"dashboardHostname\"]}}/widgets/npm_popularity", "options": {}, "requestMethod": "POST", "bodyParametersUi": {"parameter": [{"name": "auth_token", "value": "={{$node[\"Dashboard Configuration\"].json[\"dashboardAuthToken\"]}}"}, {"name": "value", "value": "={{$node[\"Massage npm Data\"].json[\"score\"][\"detail\"][\"popularity\"]}}"}]}}, "typeVersion": 1, "alwaysOutputData": true}, {"name": "npm Quality", "type": "n8n-nodes-base.httpRequest", "position": [1030, 150], "parameters": {"url": "={{$node[\"Dashboard Configuration\"].json[\"dashboardHostname\"]}}/widgets/npm_quality", "options": {}, "requestMethod": "POST", "bodyParametersUi": {"parameter": [{"name": "auth_token", "value": "={{$node[\"Dashboard Configuration\"].json[\"dashboardAuthToken\"]}}"}, {"name": "value", "value": "={{$node[\"Massage npm Data\"].json[\"score\"][\"detail\"][\"quality\"]}}"}]}}, "typeVersion": 1, "alwaysOutputData": true}, {"name": "npm Final", "type": "n8n-nodes-base.httpRequest", "position": [830, 190], "parameters": {"url": "={{$node[\"Dashboard Configuration\"].json[\"dashboardHostname\"]}}/widgets/npm_final", "options": {}, "requestMethod": "POST", "bodyParametersUi": {"parameter": [{"name": "auth_token", "value": "={{$node[\"Dashboard Configuration\"].json[\"dashboardAuthToken\"]}}"}, {"name": "value", "value": "={{$node[\"Massage npm Data\"].json[\"score\"][\"final\"]}}"}]}}, "typeVersion": 1, "alwaysOutputData": true}, {"name": "Product Hunt Rating", "type": "n8n-nodes-base.httpRequest", "position": [630, -510], "parameters": {"url": "={{$node[\"Dashboard Configuration\"].json[\"dashboardHostname\"]}}/widgets/prod_hunt_rating", "options": {}, "requestMethod": "POST", "bodyParametersUi": {"parameter": [{"name": "auth_token", "value": "={{$node[\"Dashboard Configuration\"].json[\"dashboardAuthToken\"]}}"}, {"name": "value", "value": "={{$node[\"Retrieve Product Hunt Data\"].json[\"data\"][\"post\"][\"reviewsRating\"]}}"}]}}, "typeVersion": 1, "alwaysOutputData": true}, {"name": "Product Hunt Reviews", "type": "n8n-nodes-base.httpRequest", "position": [830, -410], "parameters": {"url": "={{$node[\"Dashboard Configuration\"].json[\"dashboardHostname\"]}}/widgets/prod_hunt_reviews", "options": {}, "requestMethod": "POST", "bodyParametersUi": {"parameter": [{"name": "auth_token", "value": "={{$node[\"Dashboard Configuration\"].json[\"dashboardAuthToken\"]}}"}, {"name": "current", "value": "={{$node[\"Massage Product Hunt Data\"].json[\"data\"][\"post\"][\"reviewsCount\"]}}"}]}}, "typeVersion": 1, "alwaysOutputData": true}, {"name": "Product Hunt Votes", "type": "n8n-nodes-base.httpRequest", "position": [830, -260], "parameters": {"url": "={{$node[\"Dashboard Configuration\"].json[\"dashboardHostname\"]}}/widgets/prod_hunt_votes", "options": {}, "requestMethod": "POST", "bodyParametersUi": {"parameter": [{"name": "auth_token", "value": "={{$node[\"Dashboard Configuration\"].json[\"dashboardAuthToken\"]}}"}, {"name": "current", "value": "={{$node[\"Massage Product Hunt Data\"].json[\"data\"][\"post\"][\"votesCount\"]}}"}]}}, "typeVersion": 1, "alwaysOutputData": true}, {"name": "Product Hunt Comments", "type": "n8n-nodes-base.httpRequest", "position": [630, -210], "parameters": {"url": "={{$node[\"Dashboard Configuration\"].json[\"dashboardHostname\"]}}/widgets/prod_hunt_comments", "options": {}, "requestMethod": "POST", "bodyParametersUi": {"parameter": [{"name": "auth_token", "value": "={{$node[\"Dashboard Configuration\"].json[\"dashboardAuthToken\"]}}"}, {"name": "current", "value": "={{$node[\"Massage Product Hunt Data\"].json[\"data\"][\"post\"][\"commentsCount\"]}}"}]}}, "typeVersion": 1, "alwaysOutputData": true}, {"name": "GitHub", "type": "n8n-nodes-base.github", "color": "#FF0000", "position": [250, 710], "parameters": {"owner": "={{$node[\"Dashboard Configuration\"].json[\"github_owner\"]}}", "resource": "repository", "operation": "get", "repository": "={{$node[\"Dashboard Configuration\"].json[\"github_repo\"]}}"}, "credentials": {"githubApi": ""}, "typeVersion": 1}, {"name": "Retrieve Product Hunt Data", "type": "n8n-nodes-base.httpRequest", "color": "#FF0000", "notes": "Update authorization token", "position": [250, -360], "parameters": {"url": "https://api.producthunt.com/v2/api/graphql", "options": {}, "requestMethod": "POST", "queryParametersUi": {"parameter": [{"name": "query", "value": "={\n post(id: {{$node[\"Dashboard Configuration\"].json[\"product_hunt_post_id\"]}}) {\n commentsCount\n votesCount\n reviewsCount\n reviewsRating\n name\n }\n}"}]}, "headerParametersUi": {"parameter": [{"name": "User-Agent", "value": "n8n"}, {"name": "authorization", "value": "Bearer <Enter Product Hunt token here>"}]}}, "notesInFlow": true, "typeVersion": 1}, {"name": "Massage npm Data", "type": "n8n-nodes-base.function", "position": [440, 50], "parameters": {"functionCode": "items[0].json.score.detail.maintenance = parseFloat(items[0].json.score.detail.maintenance.toFixed(2));\nitems[0].json.score.detail.popularity= parseFloat(items[0].json.score.detail.popularity.toFixed(2));\nitems[0].json.score.detail.quality= parseFloat(items[0].json.score.detail.quality.toFixed(2));\nitems[0].json.score.final= parseFloat(items[0].json.score.final.toFixed(2));\n\nreturn items;"}, "typeVersion": 1}, {"name": "Massage Product Hunt Data", "type": "n8n-nodes-base.function", "position": [440, -360], "parameters": {"functionCode": "items[0].json.data.post.commentsCount = items[0].json.data.post.commentsCount.toString().replace(/\\B(?=(\\d{3})+(?!\\d))/g, \",\");\nitems[0].json.data.post.votesCount= items[0].json.data.post.votesCount.toString().replace(/\\B(?=(\\d{3})+(?!\\d))/g, \",\");\nitems[0].json.data.post.reviewsCount= items[0].json.data.post.reviewsCount.toString().replace(/\\B(?=(\\d{3})+(?!\\d))/g, \",\");\n\nreturn items;\n"}, "typeVersion": 1}, {"name": "Massage Docker Data", "type": "n8n-nodes-base.function", "position": [460, 300], "parameters": {"functionCode": "items[0].json.star_count = items[0].json.star_count.toString().replace(/\\B(?=(\\d{3})+(?!\\d))/g, \",\");\nitems[0].json.pull_count = items[0].json.pull_count.toString().replace(/\\B(?=(\\d{3})+(?!\\d))/g, \",\");\n\nreturn items;\n"}, "typeVersion": 1}, {"name": "Massage GitHub Data", "type": "n8n-nodes-base.function", "position": [450, 710], "parameters": {"functionCode": "items[0].json.stargazers_count = items[0].json.stargazers_count.toString().replace(/\\B(?=(\\d{3})+(?!\\d))/g, \",\");\nitems[0].json.subscribers_count = items[0].json.subscribers_count.toString().replace(/\\B(?=(\\d{3})+(?!\\d))/g, \",\");\nitems[0].json.forks_count = items[0].json.forks_count.toString().replace(/\\B(?=(\\d{3})+(?!\\d))/g, \",\");\nitems[0].json.open_issues_count = items[0].json.open_issues_count.toString().replace(/\\B(?=(\\d{3})+(?!\\d))/g, \",\");\n\nreturn items;"}, "typeVersion": 1}], "active": true, "settings": {}, "connections": {"Cron": {"main": [[{"node": "Dashboard Configuration", "type": "main", "index": 0}]]}, "GitHub": {"main": [[{"node": "Massage GitHub Data", "type": "main", "index": 0}]]}, "Massage npm Data": {"main": [[{"node": "npm Maintenance", "type": "main", "index": 0}, {"node": "npm Quality", "type": "main", "index": 0}, {"node": "npm Popularity", "type": "main", "index": 0}, {"node": "npm Final", "type": "main", "index": 0}]]}, "Retrieve npm Data": {"main": [[{"node": "Massage npm Data", "type": "main", "index": 0}]]}, "Massage Docker Data": {"main": [[{"node": "Docker Stars", "type": "main", "index": 0}, {"node": "Docker Pulls", "type": "main", "index": 0}]]}, "Massage GitHub Data": {"main": [[{"node": "GitHub Stars", "type": "main", "index": 0}, {"node": "GitHub Watchers", "type": "main", "index": 0}, {"node": "GitHub Forks", "type": "main", "index": 0}, {"node": "GitHub Open Issues ", "type": "main", "index": 0}]]}, "Retrieve Docker Data": {"main": [[{"node": "Massage Docker Data", "type": "main", "index": 0}]]}, "Dashboard Configuration": {"main": [[{"node": "Retrieve Product Hunt Data", "type": "main", "index": 0}, {"node": "Retrieve npm Data", "type": "main", "index": 0}, {"node": "Retrieve Docker Data", "type": "main", "index": 0}, {"node": "GitHub", "type": "main", "index": 0}]]}, "Massage Product Hunt Data": {"main": [[{"node": "Product Hunt Rating", "type": "main", "index": 0}, {"node": "Product Hunt Reviews", "type": "main", "index": 0}, {"node": "Product Hunt Votes", "type": "main", "index": 0}, {"node": "Product Hunt Comments", "type": "main", "index": 0}]]}, "Retrieve Product Hunt Data": {"main": [[{"node": "Massage Product Hunt Data", "type": "main", "index": 0}]]}}}
|
6
|
ETL pipeline
|
9
|
["cron", "googleCloudNaturalLanguage", "if", "mongoDb", "noOp", "postgres", "set", "slack", "twitter"]
|
ai-automation-lab
|
{"id": "6", "name": "ETL pipeline", "nodes": [{"name": "Twitter", "type": "n8n-nodes-base.twitter", "position": [300, 300], "parameters": {"limit": 3, "operation": "search", "searchText": "=#OnThisDay", "additionalFields": {}}, "credentials": {"twitterOAuth1Api": "twitter_api"}, "typeVersion": 1}, {"name": "Postgres", "type": "n8n-nodes-base.postgres", "position": [1100, 300], "parameters": {"table": "tweets", "columns": "text, score, magnitude", "returnFields": "=*"}, "credentials": {"postgres": "postgres"}, "typeVersion": 1}, {"name": "MongoDB", "type": "n8n-nodes-base.mongoDb", "position": [500, 300], "parameters": {"fields": "text", "options": {}, "operation": "insert", "collection": "tweets"}, "credentials": {"mongoDb": "mongodb"}, "typeVersion": 1}, {"name": "Slack", "type": "n8n-nodes-base.slack", "position": [1500, 200], "parameters": {"text": "=\ud83d\udc26 NEW TWEET with sentiment score {{$json[\"score\"]}} and magnitude {{$json[\"magnitude\"]}} \u2b07\ufe0f\n{{$json[\"text\"]}}", "channel": "tweets", "attachments": [], "otherOptions": {}}, "credentials": {"slackApi": "slack"}, "typeVersion": 1}, {"name": "IF", "type": "n8n-nodes-base.if", "position": [1300, 300], "parameters": {"conditions": {"number": [{"value1": "={{$json[\"score\"]}}", "operation": "larger"}]}}, "typeVersion": 1}, {"name": "NoOp", "type": "n8n-nodes-base.noOp", "position": [1500, 400], "parameters": {}, "typeVersion": 1}, {"name": "Google Cloud Natural Language", "type": "n8n-nodes-base.googleCloudNaturalLanguage", "position": [700, 300], "parameters": {"content": "={{$node[\"MongoDB\"].json[\"text\"]}}", "options": {}}, "credentials": {"googleCloudNaturalLanguageOAuth2Api": "google_nlp"}, "typeVersion": 1}, {"name": "Set", "type": "n8n-nodes-base.set", "position": [900, 300], "parameters": {"values": {"number": [{"name": "score", "value": "={{$json[\"documentSentiment\"][\"score\"]}}"}, {"name": "magnitude", "value": "={{$json[\"documentSentiment\"][\"magnitude\"]}}"}], "string": [{"name": "text", "value": "={{$node[\"Twitter\"].json[\"text\"]}}"}]}, "options": {}}, "typeVersion": 1}, {"name": "Cron", "type": "n8n-nodes-base.cron", "position": [100, 300], "parameters": {"triggerTimes": {"item": [{"hour": 6}]}}, "typeVersion": 1}], "active": false, "settings": {}, "connections": {"IF": {"main": [[{"node": "Slack", "type": "main", "index": 0}], [{"node": "NoOp", "type": "main", "index": 0}]]}, "Set": {"main": [[{"node": "Postgres", "type": "main", "index": 0}]]}, "Cron": {"main": [[{"node": "Twitter", "type": "main", "index": 0}]]}, "MongoDB": {"main": [[{"node": "Google Cloud Natural Language", "type": "main", "index": 0}]]}, "Twitter": {"main": [[{"node": "MongoDB", "type": "main", "index": 0}]]}, "Postgres": {"main": [[{"node": "IF", "type": "main", "index": 0}]]}, "Google Cloud Natural Language": {"main": [[{"node": "Set", "type": "main", "index": 0}]]}}}
|
6bMVzmrbPexvBe6q
|
YouTube to Airtable Anonym
|
13
|
["airtable", "code", "httpRequest", "scheduleTrigger", "set", "stickyNote"]
|
ai-automation-lab
|
{"id": "6bMVzmrbPexvBe6q", "meta": {"instanceId": "558d88703fb65b2d0e44613bc35916258b0f0bf983c5d4730c00c424b77ca36a", "templateCredsSetupCompleted": true}, "name": "YouTube to Airtable Anonym", "tags": [{"id": "1iR8rLF2nlFdk8Iy", "name": "Tool", "createdAt": "2025-04-10T20:38:51.198Z", "updatedAt": "2025-04-10T20:38:51.198Z"}, {"id": "kY9rLUshnq9TIJVU", "name": "Freebie", "createdAt": "2025-04-11T17:35:46.605Z", "updatedAt": "2025-04-11T17:35:46.605Z"}], "nodes": [{"id": "eb18fe74-8812-48ab-b977-41f5cedf9a76", "name": "Get video transcript", "type": "n8n-nodes-base.httpRequest", "position": [880, 0], "parameters": {"url": "https://youtube-video-summarizer-gpt-ai.p.rapidapi.com/api/v1/get-transcript-v2", "options": {}, "sendQuery": true, "sendHeaders": true, "queryParameters": {"parameters": [{"name": "video_id", "value": "={{ $json.videoId }}"}, {"name": "platform", "value": "youtube"}]}, "headerParameters": {"parameters": [{"name": "X-Rapidapi-Key", "value": "{YOUR-API-KEY}"}, {"name": "X-Rapidapi-Host", "value": "youtube-video-summarizer-gpt-ai.p.rapidapi.com"}]}}, "typeVersion": 4.2}, {"id": "7a672f41-646f-46bf-be8b-96a84c1b0dd7", "name": "Get Video ID", "type": "n8n-nodes-base.code", "position": [660, 0], "parameters": {"jsCode": "// Loop over input items\nfor (const item of $input.all()) {\n // Extract the YouTube video ID using a regular expression\n const Source = item.json.Source;\n const videoIdMatch = Source.match(/(?:v=|\\/)([a-zA-Z0-9_-]{11})/);\n\n const videoId = videoIdMatch ? videoIdMatch[1] : null; // Extracted video ID or null if not found\n\n // Add the video ID to the JSON\n item.json.videoId = videoId;\n}\n\n// Return all items with the new videoId field\nreturn $input.all();\n"}, "typeVersion": 2}, {"id": "4b026bcf-7563-4444-8ce1-9e9a89eef56d", "name": "Combine Transcripts", "type": "n8n-nodes-base.code", "position": [1320, 0], "parameters": {"jsCode": "// Initialize an empty string to hold the concatenated transcript\nlet Transcript = \"\";\n\n// Safeguard against undefined paths and ensure required properties exist\nif ($json.data && $json.data.transcripts) {\n // Loop through all transcript objects\n for (const key in $json.data.transcripts) {\n if ($json.data.transcripts[key].custom) {\n const customArray = $json.data.transcripts[key].custom;\n\n // Extract and append text from each transcript entry\n for (const item of customArray) {\n if (item.text) {\n Transcript += item.text + \" \"; // Add a space between texts\n }\n }\n }\n }\n}\n\n// Return the combined transcript as a new field\nreturn [\n {\n json: {\n Transcript: Transcript.trim(), // Trim to clean up extra spaces\n },\n },\n];\n"}, "typeVersion": 2}, {"id": "693ab15f-307e-4fdf-9752-2cc64a80307d", "name": "Schedule Trigger", "type": "n8n-nodes-base.scheduleTrigger", "position": [240, 0], "parameters": {"rule": {"interval": [{"field": "minutes"}]}}, "typeVersion": 1.2}, {"id": "1df795e2-ac7e-42a8-a1f4-2c292b704613", "name": "Airtable", "type": "n8n-nodes-base.airtable", "position": [460, 0], "parameters": {"base": {"__rl": true, "mode": "list", "value": "appgNpFtbtaGHM4g0", "cachedResultUrl": "https://airtable.com/appgNpFtbtaGHM4g0", "cachedResultName": "Content Hub"}, "limit": 1, "table": {"__rl": true, "mode": "list", "value": "tblwBVudDpOMkUGKL", "cachedResultUrl": "https://airtable.com/appgNpFtbtaGHM4g0/tblwBVudDpOMkUGKL", "cachedResultName": "Ideas"}, "options": {}, "operation": "search", "returnAll": false, "filterByFormula": "AND( {Status} = \"\", {Type} = \"Youtube Video\" )"}, "credentials": {"airtableTokenApi": {"id": "g540vJVYsNT8ZS11", "name": "Airtable Personal Access Token account"}}, "typeVersion": 2.1}, {"id": "8b2cfd44-4897-403c-9393-5cc917baa673", "name": "Get Full Transcript", "type": "n8n-nodes-base.set", "position": [1540, 0], "parameters": {"options": {}, "assignments": {"assignments": [{"id": "2eaa3e02-95f7-47d9-a27d-64974f9c1a7b", "name": "Transcript", "type": "string", "value": "={{ $json.Transcript }}"}]}}, "typeVersion": 3.4}, {"id": "8ea3c1a7-d428-467f-aff2-9b3f572f911f", "name": "Get All Transcripts", "type": "n8n-nodes-base.set", "position": [1100, 0], "parameters": {"options": {}, "assignments": {"assignments": [{"id": "01fb3072-61c6-47f6-b6dd-7cbf817f5b4a", "name": "data.transcripts", "type": "object", "value": "={{ $json.data.transcripts }}"}]}}, "typeVersion": 3.4}, {"id": "6cff40d0-18ba-4ae0-a1c9-070d8fb39347", "name": "Get Main Idea & Key Takeaways", "type": "n8n-nodes-base.set", "position": [2120, 0], "parameters": {"options": {}, "assignments": {"assignments": [{"id": "e9b7f303-562b-40bd-8c3c-8c7138bd4329", "name": "Main Idea", "type": "string", "value": "={{ $json.output.MainIdea }}"}, {"id": "572627f4-b9b3-4c59-a570-5bd810f68825", "name": "Key Takeaways", "type": "array", "value": "={{ $json.output['Key Takeaways'] }}"}]}}, "typeVersion": 3.4}, {"id": "1e71d56b-3140-4dd8-b4d8-cdbe9eb24bde", "name": "Extract detailed summary", "type": "@n8n/n8n-nodes-langchain.informationExtractor", "position": [1760, 0], "parameters": {"text": "=Your job is to generate detailed summary of \"{{ $json.Transcript }}\".\n\nAlways output your answer in the following format:\n\n- Main Idea\n- Takeaways", "options": {}, "schemaType": "fromJson", "jsonSchemaExample": "{\n\t\"MainIdea\": \"The video provides a step-by-step guide on how to build an MCP (Model Context Protocol) server to connect agents to various data sources, specifically focusing on retrieving stock prices from Yahoo Finance. It explains the setup process, including creating functions, integrating with agents, and connecting to other tools.\",\n\t\"Key Takeaways\": [\"1. **MCP Overview**: MCP allows AI engineers to define tools once and reuse them across different frameworks, simplifying the integration process. 2. **Building the Server**: The video demonstrates how to create a Python function to fetch stock prices using the Y Finance library, and how to wrap this function into an MCP server. 3. **Testing the Server**: It shows how to use a visual inspector to test the MCP server before deploying it. 4. **Connecting to Agents**: The tutorial covers how to connect the MCP server to agents using HuggingFace's smaller agents library, enabling the retrieval of stock prices through prompts. 5. **Adding More Tools**: Viewers learn how to expand the server's capabilities by adding additional tools for stock information and income statements. 6. **Integration with Other Platforms**: The video explains how to integrate the MCP server with platforms like Cursor and Langflow, showcasing the flexibility of the MCP setup. 7. **Advanced Features**: It touches on additional MCP capabilities such as storing prompts and creating resources for data access, enhancing the server's functionality.\"]\n}"}, "typeVersion": 1}, {"id": "942a77e1-5773-4657-a38c-2b1013af6544", "name": "Update Airtable", "type": "n8n-nodes-base.airtable", "position": [2320, 0], "parameters": {"base": {"__rl": true, "mode": "list", "value": "appgNpFtbtaGHM4g0", "cachedResultUrl": "https://airtable.com/appgNpFtbtaGHM4g0", "cachedResultName": "Content Hub"}, "table": {"__rl": true, "mode": "list", "value": "tblwBVudDpOMkUGKL", "cachedResultUrl": "https://airtable.com/appgNpFtbtaGHM4g0/tblwBVudDpOMkUGKL", "cachedResultName": "Ideas"}, "columns": {"value": {"id": "={{ $('Airtable').item.json.id }}", "Status": true, "Main Idea": "={{ $json['Main Idea'] }}", "Takeaways": "={{ $json['Key Takeaways'] }}"}, "schema": [{"id": "id", "type": "string", "display": true, "removed": false, "readOnly": true, "required": false, "displayName": "id", "defaultMatch": true}, {"id": "Title", "type": "string", "display": true, "removed": true, "readOnly": false, "required": false, "displayName": "Title", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "Description", "type": "string", "display": true, "removed": true, "readOnly": false, "required": false, "displayName": "Description", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "Main Idea", "type": "string", "display": true, "removed": false, "readOnly": false, "required": false, "displayName": "Main Idea", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "Takeaways", "type": "string", "display": true, "removed": false, "readOnly": false, "required": false, "displayName": "Takeaways", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "Status", "type": "boolean", "display": true, "removed": false, "readOnly": false, "required": false, "displayName": "Status", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "Source", "type": "string", "display": true, "removed": true, "readOnly": false, "required": false, "displayName": "Source", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "Type", "type": "options", "display": true, "options": [{"name": "Youtube Video", "value": "Youtube Video"}, {"name": "Web Article", "value": "Web Article"}, {"name": "Own Notes", "value": "Own Notes"}, {"name": "E-Book", "value": "E-Book"}, {"name": "Twitter", "value": "Twitter"}, {"name": "Linkedin", "value": "Linkedin"}], "removed": true, "readOnly": false, "required": false, "displayName": "Type", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "Draft", "type": "string", "display": true, "removed": true, "readOnly": false, "required": false, "displayName": "Draft", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "Attachment - Video", "type": "string", "display": true, "removed": true, "readOnly": false, "required": false, "displayName": "Attachment - Video", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "Attachment - Image", "type": "string", "display": true, "removed": true, "readOnly": false, "required": false, "displayName": "Attachment - Image", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "Created", "type": "string", "display": true, "removed": true, "readOnly": true, "required": false, "displayName": "Created", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "Last Modified", "type": "string", "display": true, "removed": true, "readOnly": true, "required": false, "displayName": "Last Modified", "defaultMatch": false, "canBeUsedToMatch": true}], "mappingMode": "defineBelow", "matchingColumns": ["id"], "attemptToConvertTypes": false, "convertFieldsToString": false}, "options": {"typecast": true}, "operation": "update"}, "credentials": {"airtableTokenApi": {"id": "g540vJVYsNT8ZS11", "name": "Airtable Personal Access Token account"}}, "typeVersion": 2.1}, {"id": "4cc08263-7293-4c2b-8684-d15a67a61d33", "name": "Sticky Note", "type": "n8n-nodes-base.stickyNote", "position": [760, -580], "parameters": {"width": 460, "height": 200, "content": "## \ud83d\udcdd Description\n\nAutomatically turn YouTube videos into clear, structured content ideas stored in Airtable. This workflow pulls new video links from Airtable, extracts transcripts using a RapidAPI service, summarizes them with your favourite LLM, and logs the main idea and key takeaways\u2014keeping your content pipeline fresh with minimal effort."}, "typeVersion": 1}, {"id": "299c6f10-c4a1-4da7-a198-121b054c8882", "name": "Sticky Note1", "type": "n8n-nodes-base.stickyNote", "position": [760, -340], "parameters": {"width": 460, "height": 220, "content": "## \u2699\ufe0f What It Does\n- **Scans** Airtable for new YouTube video links every 5 minutes..\n- **Extracts** the transcript of the video using a third-party API via RapidAPI.\n- **Summarizes** the content to generate a main idea and takeaways.\n- **Updates** the original Airtable entry with the insights and marks it as completed."}, "typeVersion": 1}, {"id": "48d11dd7-556d-4154-b580-396c55aa5645", "name": "Sticky Note2", "type": "n8n-nodes-base.stickyNote", "position": [1300, -580], "parameters": {"width": 500, "height": 460, "content": "## \ud83e\uddf0 Setup Instructions\n1. Clone this template into your n8n workspace.\n2. Open the Get YouTube Sources node and configure your Airtable credentials.\n3. In the Get video transcript node:\n - Enter your X-RapidAPI-Key under headers.\n - The API endpoint is pre-configured.\n4. Connect your LLM credentials to the Extract detailed summary node.\n\n5. (Optional) Adjust the summarization prompt in the LangChain node to better suit your tone.\n6. Set your preferred schedule in the Trigger node.\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n"}, "typeVersion": 1}], "active": false, "pinData": {}, "settings": {"executionOrder": "v1"}, "versionId": "1f4b0e52-7589-4c9c-8102-9105e296577b", "connections": {"Airtable": {"main": [[{"node": "Get Video ID", "type": "main", "index": 0}]]}, "Get Video ID": {"main": [[{"node": "Get video transcript", "type": "main", "index": 0}]]}, "Schedule Trigger": {"main": [[{"node": "Airtable", "type": "main", "index": 0}]]}, "Combine Transcripts": {"main": [[{"node": "Get Full Transcript", "type": "main", "index": 0}]]}, "Get All Transcripts": {"main": [[{"node": "Combine Transcripts", "type": "main", "index": 0}]]}, "Get Full Transcript": {"main": [[{"node": "Extract detailed summary", "type": "main", "index": 0}]]}, "Get video transcript": {"main": [[{"node": "Get All Transcripts", "type": "main", "index": 0}]]}, "Extract detailed summary": {"main": [[{"node": "Get Main Idea & Key Takeaways", "type": "main", "index": 0}]]}, "Get Main Idea & Key Takeaways": {"main": [[{"node": "Update Airtable", "type": "main", "index": 0}]]}}}
|
6pOGYw5O3iOY1Gc6
|
Remote IOT Sensor monitoring via MQTT and InfluxDB
|
6
|
["code", "httpRequest", "mqttTrigger", "stickyNote"]
|
ai-automation-lab
|
{"id": "6pOGYw5O3iOY1Gc6", "meta": {"instanceId": "7221598654c32899e94731aab144bdcd338735c2ac218dc0873131caa0be0ef8", "templateCredsSetupCompleted": true}, "name": "Remote IOT Sensor monitoring via MQTT and InfluxDB", "tags": [], "nodes": [{"id": "4997f226-f236-4d27-bea4-904744d9ff07", "name": "Sticky Note", "type": "n8n-nodes-base.stickyNote", "position": [-700, -360], "parameters": {"width": 340, "height": 120, "content": "MQTT trigger subscribed to a topic called wokwi-weather via a Mosquitto MQTT broker. The trigger receives the temperature and humidity payloads from a DHT22 sensor connected to a remote ESP32 microcontroller "}, "typeVersion": 1}, {"id": "9d4f1da6-fda3-4312-a6b1-bd0ac499dde7", "name": "Sticky Note1", "type": "n8n-nodes-base.stickyNote", "position": [-240, -360], "parameters": {"height": 100, "content": "Javascript code to extract the temperature and humidity values to ensure correct JSON format for the database"}, "typeVersion": 1}, {"id": "d8f01dba-5019-457e-8c1a-99c802282fdf", "name": "Sticky Note3", "type": "n8n-nodes-base.stickyNote", "position": [140, -360], "parameters": {"width": 260, "height": 120, "content": "HTTP request node posts temperature and humidity data from the DHT22 sensor to the InfluxDB data bucket running on a local host http://localhost:8086"}, "typeVersion": 1}, {"id": "020858a6-7771-4322-8eb6-b83e99b3563d", "name": "Remote Sensor MQTT Trigger", "type": "n8n-nodes-base.mqttTrigger", "position": [-580, -220], "parameters": {"topics": "wokwi-weather", "options": {}}, "credentials": {"mqtt": {"id": "xtd75tjk1hKlQOba", "name": "MQTT account"}}, "typeVersion": 1}, {"id": "51e6f59f-9b93-4121-8db4-7f47b929fdf5", "name": "Data ingest to InfluxDB bucket", "type": "n8n-nodes-base.httpRequest", "position": [200, -220], "parameters": {"url": "http://localhost:8086/api/v2/write?orgID=<Organization ID>&bucket=<InfluxDB bucket name>&precision=s", "body": "={{ $json.payload }}", "method": "POST", "options": {}, "sendBody": true, "contentType": "raw", "sendHeaders": true, "headerParameters": {"parameters": [{"name": "Authorization", "value": "Token <API Token value generated in InfluxDB>"}]}}, "notesInFlow": true, "typeVersion": 4.2}, {"id": "6abe1212-b128-492f-b485-401a4315fcbc", "name": "Payload data preparation node", "type": "n8n-nodes-base.code", "position": [-180, -220], "parameters": {"jsCode": "// Try to parse the incoming message as JSON\nlet data;\ntry {\n data = JSON.parse($json.message); // $json.message is expected to be a JSON string\n} catch (e) {\n // If parsing fails, throw an error\n throw new Error(\"Invalid JSON in MQTT message\");\n}\n\n// Get the topic from the input, or use a default value\nconst topic = $json.topic || \"unknown-topic\";\n\n// Make sure humidity and temp are numbers\nif (typeof data.humidity !== \"number\" || typeof data.temp !== \"number\") {\n throw new Error(\"Missing or invalid humidity/temp in MQTT message\");\n}\n\n// Create a formatted string like: \"topic_name humidity=45,temp=22\"\nconst line = `${topic} humidity=${data.humidity},temp=${data.temp}`;\n\n// Return the result in the expected format\nreturn [\n {\n json: {\n payload: line\n }\n }\n];"}, "typeVersion": 2}], "active": false, "pinData": {}, "settings": {"executionOrder": "v1"}, "versionId": "d1311dca-5edf-4f14-86b9-629937cd3416", "connections": {"Remote Sensor MQTT Trigger": {"main": [[{"node": "Payload data preparation node", "type": "main", "index": 0}]]}, "Payload data preparation node": {"main": [[{"node": "Data ingest to InfluxDB bucket", "type": "main", "index": 0}]]}}}
|
6sBxOuYYcJjIBmVJ
|
Automating Betting Data Retrieval with TheOddsAPI and Airtable
|
10
|
["airtable", "httpRequest", "merge", "scheduleTrigger", "stickyNote"]
|
ai-automation-lab
|
{"id": "6sBxOuYYcJjIBmVJ", "meta": {"instanceId": "73d9d5380db181d01f4e26492c771d4cb5c4d6d109f18e2621cf49cac4c50763", "templateCredsSetupCompleted": true}, "name": "Automating Betting Data Retrieval with TheOddsAPI and Airtable", "tags": [], "nodes": [{"id": "3f7d9313-2a46-4869-a1f5-33976352961c", "name": "Sticky Note", "type": "n8n-nodes-base.stickyNote", "position": [-520, -300], "parameters": {"width": 300, "height": 440, "content": "The following triggers start the workflow at the Start of the day and the End of the day. Times can be adjusted to user's preference. "}, "typeVersion": 1}, {"id": "a535c540-c186-466f-97e2-4d96d02c1f1d", "name": "Sticky Note1", "type": "n8n-nodes-base.stickyNote", "position": [-100, -660], "parameters": {"color": 4, "width": 460, "height": 660, "content": "Once activated, HTTP Requests pulls the upcoming data for the sport of the user's choosing. The following is set for Ice Hockey. More documentation can be found within the link below: \n\nhttps://the-odds-api.com/liveapi/guides/v4/#get-events\n\nIf you would like to add more data such as the sport books or odds, you can find documentation within the documentation below: \n\nhttps://the-odds-api.com/liveapi/guides/v4/#get-odds\n\nOnce the data is pulled, the records are created within the Airtable.\n"}, "typeVersion": 1}, {"id": "29335df8-6aab-475c-8d8b-38b27eb66bb9", "name": "Sticky Note2", "type": "n8n-nodes-base.stickyNote", "position": [440, -280], "parameters": {"color": 3, "width": 800, "height": 540, "content": "At the end of the day, the Schedule Trigger will activate a HTTP request for the scores of the events. This is set for Ice Hockey but can be adjusted for the user's preference. \n\nAfter the data is pulled, it will merge the data with upcoming events to combine the results matching the id. \n\nThe Airtable is then updated with the result records. This can be adjusted to pull in sports odds or the different sports book data. "}, "typeVersion": 1}, {"id": "01134aa4-cc3c-42ed-bc96-f737f1434ed6", "name": "Morning Trigger To Pull Data At 7:00am", "type": "n8n-nodes-base.scheduleTrigger", "position": [-420, -200], "parameters": {"rule": {"interval": [{"triggerAtHour": 7}]}}, "typeVersion": 1.2}, {"id": "c0b4c27f-bb17-4d85-a042-aa2db5060a6f", "name": "Evening Trigger To Pull Data At 11:00pm", "type": "n8n-nodes-base.scheduleTrigger", "position": [-420, -20], "parameters": {"rule": {"interval": [{"triggerAtHour": 23}]}}, "typeVersion": 1.2}, {"id": "0a38de6c-4f2e-46ba-8c10-8f12b0a4abe2", "name": "Retrieve Data Of Upcoming Sport Events For The Day", "type": "n8n-nodes-base.httpRequest", "position": [20, -200], "parameters": {"url": "=https://api.the-odds-api.com/v4/sports/icehockey_nhl/events?apiKey=60019f5ac82b8d5d508b2dc8393384c1", "options": {}, "sendHeaders": true, "authentication": "genericCredentialType", "genericAuthType": "httpHeaderAuth", "headerParameters": {"parameters": [{}]}}, "credentials": {"httpHeaderAuth": {"id": "qbYtAoCFY2cLFvOU", "name": "Header Auth account"}}, "typeVersion": 4.2}, {"id": "28393bd9-17ed-48b1-ba6f-f62b51ce137c", "name": "Create Records Of Upcoming Events For The Day", "type": "n8n-nodes-base.airtable", "position": [180, -380], "parameters": {"base": {"__rl": true, "mode": "list", "value": "appIXd8a8JeB9bPaL", "cachedResultUrl": "https://airtable.com/appIXd8a8JeB9bPaL", "cachedResultName": "Untitled Base"}, "table": {"__rl": true, "mode": "list", "value": "tbldpnP52opBEtKEy", "cachedResultUrl": "https://airtable.com/appIXd8a8JeB9bPaL/tbldpnP52opBEtKEy", "cachedResultName": "Table 1"}, "columns": {"value": {"id": "={{ $json.id }}", "away_team": "={{ $json.away_team }}", "home_team": "={{ $json.home_team }}", "sports_key": "={{ $json.sport_key }}", "sport_title": "={{ $json.sport_title }}", "commence_time": "={{ $json.commence_time }}"}, "schema": [{"id": "id", "type": "string", "display": true, "removed": false, "readOnly": false, "required": false, "displayName": "id", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "sports_key", "type": "string", "display": true, "removed": false, "readOnly": false, "required": false, "displayName": "sports_key", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "sport_title", "type": "string", "display": true, "removed": false, "readOnly": false, "required": false, "displayName": "sport_title", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "commence_time", "type": "string", "display": true, "removed": false, "readOnly": false, "required": false, "displayName": "commence_time", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "home_team", "type": "string", "display": true, "removed": false, "readOnly": false, "required": false, "displayName": "home_team", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "away_team", "type": "string", "display": true, "removed": false, "readOnly": false, "required": false, "displayName": "away_team", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "completed", "type": "string", "display": true, "removed": true, "readOnly": false, "required": false, "displayName": "completed", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "scores", "type": "string", "display": true, "removed": true, "readOnly": false, "required": false, "displayName": "scores", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "last_update", "type": "string", "display": true, "removed": true, "readOnly": false, "required": false, "displayName": "last_update", "defaultMatch": false, "canBeUsedToMatch": true}], "mappingMode": "defineBelow", "matchingColumns": [], "attemptToConvertTypes": false, "convertFieldsToString": false}, "options": {}, "operation": "create"}, "credentials": {"airtableTokenApi": {"id": "0ApVmNsLu7aFzQD6", "name": "Airtable Personal Access Token account"}}, "typeVersion": 2.1}, {"id": "086e599b-fc74-4ed5-a36f-fb80e385e625", "name": "Retrieve Sport Results Data At The End Of The Day", "type": "n8n-nodes-base.httpRequest", "position": [500, 20], "parameters": {"url": "https://api.the-odds-api.com/v4/sports/icehockey_nhl/scores?daysFrom=1&apiKey=60019f5ac82b8d5d508b2dc8393384c1", "options": {}, "sendHeaders": true, "authentication": "genericCredentialType", "genericAuthType": "httpHeaderAuth", "headerParameters": {"parameters": [{}]}}, "credentials": {"httpHeaderAuth": {"id": "qbYtAoCFY2cLFvOU", "name": "Header Auth account"}}, "typeVersion": 4.2}, {"id": "1b5ec6f2-d913-4005-89f0-d566e896c344", "name": "Combine Sport Results With Upcoming Events Records By Matching ID", "type": "n8n-nodes-base.merge", "position": [740, -120], "parameters": {"mode": "combine", "options": {}, "fieldsToMatchString": "id"}, "typeVersion": 3}, {"id": "f1765871-6f9e-416b-8ee8-696bc4dbf6bb", "name": "Update Table Records With Scores And Results For Sport Events", "type": "n8n-nodes-base.airtable", "position": [1020, -60], "parameters": {"base": {"__rl": true, "mode": "list", "value": "appIXd8a8JeB9bPaL", "cachedResultUrl": "https://airtable.com/appIXd8a8JeB9bPaL", "cachedResultName": "Untitled Base"}, "table": {"__rl": true, "mode": "list", "value": "tbldpnP52opBEtKEy", "cachedResultUrl": "https://airtable.com/appIXd8a8JeB9bPaL/tbldpnP52opBEtKEy", "cachedResultName": "Table 1"}, "columns": {"value": {"id": "={{ $json.id }}", "scores": "={{ $json.scores }}", "completed": "={{ $json.completed }}", "last_update": "={{ $json.last_update }}"}, "schema": [{"id": "id", "type": "string", "display": true, "removed": false, "readOnly": true, "required": false, "displayName": "id", "defaultMatch": true}, {"id": "id", "type": "string", "display": true, "removed": false, "readOnly": false, "required": false, "displayName": "id", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "sports_key", "type": "string", "display": true, "removed": true, "readOnly": false, "required": false, "displayName": "sports_key", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "sport_title", "type": "string", "display": true, "removed": true, "readOnly": false, "required": false, "displayName": "sport_title", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "commence_time", "type": "string", "display": true, "removed": true, "readOnly": false, "required": false, "displayName": "commence_time", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "home_team", "type": "string", "display": true, "removed": true, "readOnly": false, "required": false, "displayName": "home_team", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "away_team", "type": "string", "display": true, "removed": true, "readOnly": false, "required": false, "displayName": "away_team", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "completed", "type": "string", "display": true, "removed": false, "readOnly": false, "required": false, "displayName": "completed", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "scores", "type": "string", "display": true, "removed": false, "readOnly": false, "required": false, "displayName": "scores", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "last_update", "type": "string", "display": true, "removed": false, "readOnly": false, "required": false, "displayName": "last_update", "defaultMatch": false, "canBeUsedToMatch": true}], "mappingMode": "defineBelow", "matchingColumns": ["id"], "attemptToConvertTypes": false, "convertFieldsToString": false}, "options": {}, "operation": "update"}, "credentials": {"airtableTokenApi": {"id": "0ApVmNsLu7aFzQD6", "name": "Airtable Personal Access Token account"}}, "typeVersion": 2.1}], "active": false, "pinData": {}, "settings": {"executionOrder": "v1"}, "versionId": "bf20603b-eb12-4156-94fe-fb18ecf6a454", "connections": {"Morning Trigger To Pull Data At 7:00am": {"main": [[{"node": "Retrieve Data Of Upcoming Sport Events For The Day", "type": "main", "index": 0}]]}, "Evening Trigger To Pull Data At 11:00pm": {"main": [[{"node": "Retrieve Sport Results Data At The End Of The Day", "type": "main", "index": 0}]]}, "Retrieve Sport Results Data At The End Of The Day": {"main": [[{"node": "Combine Sport Results With Upcoming Events Records By Matching ID", "type": "main", "index": 1}]]}, "Retrieve Data Of Upcoming Sport Events For The Day": {"main": [[{"node": "Combine Sport Results With Upcoming Events Records By Matching ID", "type": "main", "index": 0}, {"node": "Create Records Of Upcoming Events For The Day", "type": "main", "index": 0}]]}, "Combine Sport Results With Upcoming Events Records By Matching ID": {"main": [[{"node": "Update Table Records With Scores And Results For Sport Events", "type": "main", "index": 0}]]}}}
|
6yNJxDjV9rSiOkj9
|
AI Agent with charts capabilities using OpenAI Structured Output
|
11
|
["executeWorkflowTrigger", "httpRequest", "set", "stickyNote"]
|
ai-automation-lab
|
{"id": "6yNJxDjV9rSiOkj9", "meta": {"instanceId": "f4f5d195bb2162a0972f737368404b18be694648d365d6c6771d7b4909d28167", "templateCredsSetupCompleted": true}, "name": "AI Agent with charts capabilities using OpenAI Structured Output", "tags": [{"id": "9tRfTc35T5pruw03", "name": "experiment", "createdAt": "2024-03-18T15:32:10.504Z", "updatedAt": "2024-03-18T15:32:10.504Z"}], "nodes": [{"id": "4b7c314a-d7c5-46cb-af6f-b3ff02a182b7", "name": "OpenAI Chat Model", "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi", "position": [980, 600], "parameters": {"model": "gpt-4o-mini-2024-07-18", "options": {}}, "credentials": {"openAiApi": {"id": "WqzqjezKh8VtxdqA", "name": "OpenAi account - Baptiste"}}, "typeVersion": 1}, {"id": "cf4ffa49-8830-4db2-9a7d-b8931e806947", "name": "Window Buffer Memory", "type": "@n8n/n8n-nodes-langchain.memoryBufferWindow", "position": [1120, 600], "parameters": {}, "typeVersion": 1.2}, {"id": "22d36226-ca37-4ccc-a2d6-826b78c2f1f3", "name": "Generate a chart", "type": "@n8n/n8n-nodes-langchain.toolWorkflow", "position": [1260, 600], "parameters": {"name": "generate_a_chart", "schemaType": "manual", "workflowId": "={{ $workflow.id }}", "description": "Call this tool whenever you need to generate a chart.", "inputSchema": "{\n\"type\": \"object\",\n\"properties\": {\n\t\"query\": {\n\t\t\"type\": \"string\",\n\t\t\"description\": \"a query describing the chart to generate\"\n\t\t}\n\t}\n}", "specifyInputSchema": true}, "typeVersion": 1.1}, {"id": "d9ea85d7-3a56-4a95-88c8-60e5c95014e7", "name": "Execute \"Generate a chart\" tool", "type": "n8n-nodes-base.executeWorkflowTrigger", "position": [580, 1100], "parameters": {}, "typeVersion": 1}, {"id": "68d538f7-acce-447f-9ab1-6975639e05f7", "name": "OpenAI - Generate Chart definition with Structured Output", "type": "n8n-nodes-base.httpRequest", "position": [880, 1100], "parameters": {"url": "https://api.openai.com/v1/chat/completions", "method": "POST", "options": {}, "jsonBody": "={\n \"model\": \"gpt-4o-2024-08-06\",\n \"messages\": [\n {\n \"role\": \"system\",\n \"content\": \"Based on the user request, generate a valid Chart.js definition. Important: - Be careful with the data scale and beginatzero that all data are visible. Example if ploted data 2 and 3 on a bar chart, the baseline should be 0. - Charts colors should be different only if there are multiple datasets. - Output valid JSON. In scales, min and max are numbers. Example: `{scales:{yAxes:[{ticks:{min:0,max:3}`\"\n },\n {\n \"role\": \"user\",\n \"content\": \"{{ $json.query.query }}\"\n }\n ],\n \"response_format\": {\n \"type\": \"json_schema\",\n \"json_schema\": {\n \"name\": \"chart_configuration\",\n \"description\": \"Configuration schema for Chart.js charts\",\n \"strict\": true,\n \"schema\": {\n \"type\": \"object\",\n \"properties\": {\n \"type\": {\n \"type\": \"string\",\n \"enum\": [\"bar\", \"line\", \"radar\", \"pie\", \"doughnut\", \"polarArea\", \"bubble\", \"scatter\", \"area\"]\n },\n \"data\": {\n \"type\": \"object\",\n \"properties\": {\n \"labels\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"string\"\n }\n },\n \"datasets\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"object\",\n \"properties\": {\n \"label\": {\n \"type\": [\"string\", \"null\"]\n },\n \"data\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"number\"\n }\n },\n \"backgroundColor\": {\n \"type\": [\"array\", \"null\"],\n \"items\": {\n \"type\": \"string\"\n }\n },\n \"borderColor\": {\n \"type\": [\"array\", \"null\"],\n \"items\": {\n \"type\": \"string\"\n }\n },\n \"borderWidth\": {\n \"type\": [\"number\", \"null\"]\n }\n },\n \"required\": [\"data\", \"label\", \"backgroundColor\", \"borderColor\", \"borderWidth\"],\n \"additionalProperties\": false\n }\n }\n },\n \"required\": [\"labels\", \"datasets\"],\n \"additionalProperties\": false\n },\n \"options\": {\n \"type\": \"object\",\n \"properties\": {\n \"scales\": {\n \"type\": [\"object\", \"null\"],\n \"properties\": {\n \"yAxes\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": [\"object\", \"null\"],\n \"properties\": {\n \"ticks\": {\n \"type\": [\"object\", \"null\"],\n \"properties\": {\n \"max\": {\n \"type\": [\"number\", \"null\"]\n },\n \"min\": {\n \"type\": [\"number\", \"null\"]\n },\n \"stepSize\": {\n \"type\": [\"number\", \"null\"]\n },\n \"beginAtZero\": {\n \"type\": [\"boolean\", \"null\"]\n }\n },\n \"required\": [\"max\", \"min\", \"stepSize\", \"beginAtZero\"],\n \"additionalProperties\": false\n },\n \"stacked\": {\n \"type\": [\"boolean\", \"null\"]\n }\n },\n \"required\": [\"ticks\", \"stacked\"],\n \"additionalProperties\": false\n }},\n \"xAxes\": {\n \"type\": [\"object\", \"null\"],\n \"properties\": {\n \"stacked\": {\n \"type\": [\"boolean\", \"null\"]\n }\n },\n \"required\": [\"stacked\"],\n \"additionalProperties\": false\n }\n },\n \"required\": [\"yAxes\", \"xAxes\"],\n \"additionalProperties\": false\n },\n \"plugins\": {\n \"type\": [\"object\", \"null\"],\n \"properties\": {\n \"title\": {\n \"type\": [\"object\", \"null\"],\n \"properties\": {\n \"display\": {\n \"type\": [\"boolean\", \"null\"]\n },\n \"text\": {\n \"type\": [\"string\", \"null\"]\n }\n },\n \"required\": [\"display\", \"text\"],\n \"additionalProperties\": false\n },\n \"legend\": {\n \"type\": [\"object\", \"null\"],\n \"properties\": {\n \"display\": {\n \"type\": [\"boolean\", \"null\"]\n },\n \"position\": {\n \"type\": [\"string\", \"null\"],\n \"enum\": [\"top\", \"left\", \"bottom\", \"right\", null]\n }\n },\n \"required\": [\"display\", \"position\"],\n \"additionalProperties\": false\n }\n },\n \"required\": [\"title\", \"legend\"],\n \"additionalProperties\": false\n }\n },\n \"required\": [\"scales\", \"plugins\"],\n \"additionalProperties\": false\n }\n },\n \"required\": [\"type\", \"data\", \"options\"],\n \"additionalProperties\": false\n}\n}\n}\n}", "sendBody": true, "sendHeaders": true, "specifyBody": "json", "authentication": "predefinedCredentialType", "headerParameters": {"parameters": [{"name": "=Content-Type", "value": "application/json"}]}, "nodeCredentialType": "openAiApi"}, "credentials": {"openAiApi": {"id": "WqzqjezKh8VtxdqA", "name": "OpenAi account - Baptiste"}}, "typeVersion": 4.2}, {"id": "0fd4ad08-ad85-4d0b-b75f-0e59f789cbfd", "name": "Set response", "type": "n8n-nodes-base.set", "position": [1120, 1100], "parameters": {"options": {}, "assignments": {"assignments": [{"id": "37512e1a-8376-4ba0-bdcd-34bb9329ae4b", "name": "response", "type": "string", "value": "={{ encodeURIComponent(\"https://quickchart.io/chart?width=200&c=\"+$json.choices[0].message.content) }}\n\n"}]}}, "typeVersion": 3.4}, {"id": "6785cadb-4875-47ac-9b57-29b583c53937", "name": "Sticky Note1", "type": "n8n-nodes-base.stickyNote", "position": [20, 260], "parameters": {"color": 7, "width": 680.7609104727082, "height": 619.3187860363884, "content": "## Workflow: AI Agent with charts capabilities using OpenAI Structured Output\n\n**Overview**\n- This workflow is a experiment to integrate charts into an AI Agent\n- The AI Agent has normal AI conversation and can invoke a tool to integrate a graph in the conversation.\n- It uses OpenAI Structured Output to generate a chart definition according to Quickchart specifications.\n\n\n**How it works**\n- Activate the workflow\n- Start chatting with the AI Agent.\n- When the AI Agent detects that the user needs a chat, it calls the tool\n- The tool calls the sub-workflow with a query.\n- The sub-workflow calls the HTTP Request node (calling OpenAI) to retrieve a chart definition\n- In the \"set response\" node, he chat definition is added at the end of a quickchart.io url - the URL to the chart image. It is sent back to the AI Agent.\n- The AI Agent uses this image in its response.\n- For example, you can ask the AI Agent to generate a chart about the top 5 movies at the box office\n\n\n**Notes**\n- The full Quickchart.io specifications have not been integrated, thus there are some possible glitches (e.g due to the size of the graph, radar graphs are not displayed properly)\n- This could be provided to any automation, not only AI Agents."}, "typeVersion": 1}, {"id": "fd507ff6-2d16-4498-ba2b-d91b02079311", "name": "Sticky Note", "type": "n8n-nodes-base.stickyNote", "position": [740, 800], "parameters": {"color": 7, "width": 768.8586342909368, "height": 503, "content": "## Generate a Quickchart definition\n\n**HTTP Request node**\n- Send the chart query to OpenAI, with a defined JSON response format - *using HTTP Request node as it has not yet been implemented in the OpenAI nodes*\n- The JSON structure is based on ChartJS and Quickchart.io definitions, that let us create nice looking graphs.\n- The output is a JSON containing the chart definition that is passed to the next node.\n\n**Set Response node**\n- Adds the chart definition at the end of a Quickchart.io URL ([see documentation](https://quickchart.io/documentation/usage/parameters/))\n- Note that in the parameters, we specify the width to 250 in order to be properly displayed in the chart interface."}, "typeVersion": 1}, {"id": "7f14532a-75ee-40f8-a45b-0f037af7cb05", "name": "Sticky Note2", "type": "n8n-nodes-base.stickyNote", "position": [740, 260], "parameters": {"color": 7, "width": 768, "height": 485.8165429718969, "content": "### Chat Agent\n- This is agent is mostly here to demonstrate how to use the sub workflow.\n- This is a basic agent with a tool \"generate a chart\"\n- The tool calls the sub-workflow\n- The sub-workflow responds with the Quickchart URL that is displayed in the conversation"}, "typeVersion": 1}, {"id": "7793a567-c4d4-4745-83c9-adf5397755e9", "name": "AI Agent", "type": "@n8n/n8n-nodes-langchain.agent", "position": [1020, 400], "parameters": {"options": {"systemMessage": "You're a general purpose ai. Using markdown, you can display images in the conversation. Don't change the width of the chart"}}, "typeVersion": 1.6}, {"id": "71bd2cb5-7b20-4d83-adba-c1fd57511155", "name": "When chat message received", "type": "@n8n/n8n-nodes-langchain.chatTrigger", "position": [840, 400], "webhookId": "1281cd48-08a0-431d-9bf5-9bb60e6b7a77", "parameters": {"options": {}}, "typeVersion": 1.1}], "active": false, "pinData": {}, "settings": {"executionOrder": "v1"}, "versionId": "3af7cf64-60dc-4ba6-9ac6-f7ed2453812c", "connections": {"Generate a chart": {"ai_tool": [[{"node": "AI Agent", "type": "ai_tool", "index": 0}]]}, "OpenAI Chat Model": {"ai_languageModel": [[{"node": "AI Agent", "type": "ai_languageModel", "index": 0}]]}, "Window Buffer Memory": {"ai_memory": [[{"node": "AI Agent", "type": "ai_memory", "index": 0}]]}, "When chat message received": {"main": [[{"node": "AI Agent", "type": "main", "index": 0}]]}, "Execute \"Generate a chart\" tool": {"main": [[{"node": "OpenAI - Generate Chart definition with Structured Output", "type": "main", "index": 0}]]}, "OpenAI - Generate Chart definition with Structured Output": {"main": [[{"node": "Set response", "type": "main", "index": 0}]]}}}
|
6zSE618gr9fDtAfF
|
🤖🧑💻 AI Agent for Top n8n Creators Leaderboard Reporting
|
49
|
["aggregate", "convertToFile", "executeWorkflowTrigger", "gmail", "googleDrive", "httpRequest", "limit", "markdown", "merge", "readWriteFile", "scheduleTrigger", "set", "sort", "splitOut", "stickyNote", "telegram"]
|
ai-automation-lab
|
{"id": "6zSE618gr9fDtAfF", "meta": {"instanceId": "31e69f7f4a77bf465b805824e303232f0227212ae922d12133a0f96ffeab4fef", "templateCredsSetupCompleted": true}, "name": "\ud83e\udd16\ud83e\uddd1\u200d\ud83d\udcbb AI Agent for Top n8n Creators Leaderboard Reporting", "tags": [], "nodes": [{"id": "5b9537db-41d3-4d8a-bf41-f875e4044224", "name": "stats_aggregate_creators", "type": "n8n-nodes-base.httpRequest", "position": [-1240, 1300], "parameters": {"url": "={{ $json.path }}{{ $json['creators-filename'] }}.json", "options": {}}, "typeVersion": 4.2}, {"id": "feb2328b-57b0-4280-98d8-6b946db0c947", "name": "stats_aggregate_workflows", "type": "n8n-nodes-base.httpRequest", "position": [-1240, 1500], "parameters": {"url": "={{ $json.path }}{{ $json['workflows-filename'] }}.json", "options": {}}, "typeVersion": 4.2}, {"id": "53f8b825-b030-4541-b12b-6df6702f7d1b", "name": "Global Variables", "type": "n8n-nodes-base.set", "position": [-1660, 1460], "parameters": {"options": {}, "assignments": {"assignments": [{"id": "4bcb91c6-d250-4cb4-8ee1-022df13550e1", "name": "path", "type": "string", "value": "https://raw.githubusercontent.com/teds-tech-talks/n8n-community-leaderboard/refs/heads/main/"}, {"id": "a910a798-0bfe-41b1-a4f1-41390c7f6997", "name": "workflows-filename", "type": "string", "value": "=stats_aggregate_workflows"}, {"id": "e977e816-dc1e-43ce-9393-d6488e6832ca", "name": "creators-filename", "type": "string", "value": "=stats_aggregate_creators"}, {"id": "14233ab4-3fa4-4e26-8032-6ffe26cb601e", "name": "datetime", "type": "string", "value": "={{ $now.format('yyyy-MM-dd') }}"}]}}, "typeVersion": 3.4}, {"id": "202026ea-054f-45ae-84f6-59ec58794f1c", "name": "Parse Workflow Data", "type": "n8n-nodes-base.set", "position": [-880, 1540], "parameters": {"options": {}, "assignments": {"assignments": [{"id": "76f4b20e-519e-4d46-aeac-c6c3f98a69fd", "name": "data", "type": "array", "value": "={{ $json.data }}"}]}}, "typeVersion": 3.4}, {"id": "54ecfc96-0f5e-4275-a53b-f87850926d7f", "name": "Parse Creators Data", "type": "n8n-nodes-base.set", "position": [-880, 1200], "parameters": {"options": {}, "assignments": {"assignments": [{"id": "76f4b20e-519e-4d46-aeac-c6c3f98a69fd", "name": "data", "type": "array", "value": "={{ $json.data }}"}]}}, "typeVersion": 3.4}, {"id": "e590677e-a8ff-4b76-8527-e5bdc0076610", "name": "Aggregate", "type": "n8n-nodes-base.aggregate", "position": [-680, 1820], "parameters": {"options": {}, "aggregate": "aggregateAllItemData"}, "typeVersion": 1}, {"id": "7d7ef0f2-dbca-4b24-b2e5-c1236c4beb81", "name": "gpt-4o-mini", "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi", "position": [-1880, 780], "parameters": {"model": {"__rl": true, "mode": "list", "value": "gpt-4o-mini"}, "options": {"temperature": 0.1}}, "credentials": {"openAiApi": {"id": "jEMSvKmtYfzAkhe6", "name": "OpenAi account"}}, "typeVersion": 1.2}, {"id": "59e7066f-da3b-4461-9a52-0f8754b696ae", "name": "When Executed by Another Workflow", "type": "n8n-nodes-base.executeWorkflowTrigger", "position": [-1980, 1460], "parameters": {"inputSource": "jsonExample", "jsonExample": "{\n \"query\": \n {\n \"username\": \n \"joe\"\n }\n}"}, "typeVersion": 1.1}, {"id": "18734480-3520-4e37-af19-977ec3bfb260", "name": "Workflow Tool", "type": "@n8n/n8n-nodes-langchain.toolWorkflow", "position": [-1540, 780], "parameters": {"name": "n8n_creator_stats", "workflowId": "={{ $workflow.id }}", "description": "Call this tool to get n8n Creator Stats.", "jsonSchemaExample": "{\n \"username\": \"n8n creator username\"\n}", "specifyInputSchema": true}, "typeVersion": 1}, {"id": "4b2195bd-d506-4cd5-bb9d-37cf84c8cebf", "name": "creator-summary", "type": "n8n-nodes-base.convertToFile", "position": [-1140, 60], "parameters": {"options": {"fileName": "=creators-report"}, "operation": "toText", "sourceProperty": "output"}, "typeVersion": 1.1}, {"id": "ca25473a-0e19-45e0-8de5-00601c95fdf9", "name": "Workflow Response", "type": "n8n-nodes-base.set", "position": [-480, 1820], "parameters": {"options": {}, "assignments": {"assignments": [{"id": "eeff1310-2e1c-4ea4-9107-a14b1979f74f", "name": "response", "type": "string", "value": "={{ $json.data }}"}]}}, "typeVersion": 3.4}, {"id": "c45c9bc8-e0d9-496a-bf8d-71c806c330de", "name": "Save creator-summary.md", "type": "n8n-nodes-base.readWriteFile", "position": [-940, 60], "parameters": {"options": {"append": true}, "fileName": "=C:\\\\Users\\\\joe\\Downloads\\\\{{ $binary.data.fileName }}-{{ $now.format('yyyy-MM-dd-hh-mm-ss') }}.md", "operation": "write"}, "typeVersion": 1}, {"id": "0cddb18b-7924-41f6-b429-a00e4c904b47", "name": "Sticky Note", "type": "n8n-nodes-base.stickyNote", "position": [-2060, 240], "parameters": {"color": 5, "width": 780, "height": 740, "content": "## AI Agent for n8n Creator Leaderboard Stats\nhttps://github.com/teds-tech-talks/n8n-community-leaderboard"}, "typeVersion": 1}, {"id": "6e1a7ffe-bac6-43d8-b7e8-866eb5fcb9f7", "name": "Sticky Note1", "type": "n8n-nodes-base.stickyNote", "position": [-1640, 620], "parameters": {"width": 280, "height": 300, "content": "## Tool Call for n8n Creators Stats\nhttps://docs.n8n.io/integrations/builtin/cluster-nodes/sub-nodes/n8n-nodes-langchain.toolworkflow/"}, "typeVersion": 1}, {"id": "892ac156-a276-4697-9b25-768301991996", "name": "Sticky Note2", "type": "n8n-nodes-base.stickyNote", "position": [-1980, 620], "parameters": {"color": 7, "width": 300, "height": 300, "content": "## OpenAI LLM\nhttps://platform.openai.com/api-keys"}, "typeVersion": 1}, {"id": "1e3cdf04-b33f-4a64-83c8-f24c424380b2", "name": "Sticky Note3", "type": "n8n-nodes-base.stickyNote", "position": [-1240, -60], "parameters": {"width": 540, "height": 320, "content": "## Save n8n Creators & Workflows Report Locally\n(optional for local install)"}, "typeVersion": 1}, {"id": "a01adc65-9425-460b-85ed-fac4c82f1e78", "name": "Sticky Note5", "type": "n8n-nodes-base.stickyNote", "position": [-1760, 1340], "parameters": {"width": 300, "height": 320, "content": "## Global Workflow Variables\n\n"}, "typeVersion": 1}, {"id": "f7523185-7d36-4839-bfd3-d101fc1164fa", "name": "Sticky Note6", "type": "n8n-nodes-base.stickyNote", "position": [-1800, 1100], "parameters": {"color": 3, "width": 780, "height": 640, "content": "## Daily n8n Leaderboard Stats\nhttps://github.com/teds-tech-talks/n8n-community-leaderboard\n\n### n8n Leaderboard\nhttps://teds-tech-talks.github.io/n8n-community-leaderboard/"}, "typeVersion": 1}, {"id": "79381486-6caf-4629-94ac-d7cfef44c437", "name": "Sticky Note7", "type": "n8n-nodes-base.stickyNote", "position": [-980, 1100], "parameters": {"color": 6, "width": 1120, "height": 300, "content": "## n8n Creators Stats"}, "typeVersion": 1}, {"id": "6099f718-37d2-45a6-806c-2196dbf6736b", "name": "Sticky Note8", "type": "n8n-nodes-base.stickyNote", "position": [-980, 1440], "parameters": {"color": 4, "width": 1120, "height": 300, "content": "## n8n Workflow Stats"}, "typeVersion": 1}, {"id": "1270338c-1a9f-4a90-a5f1-7efd7547de4e", "name": "Creators Data", "type": "n8n-nodes-base.set", "position": [-60, 1200], "parameters": {"options": {}, "assignments": {"assignments": [{"id": "02b02023-c5a2-4e22-bcf9-2284c434f5d3", "name": "name", "type": "string", "value": "={{ $json.user.name }}"}, {"id": "4582435b-3c76-45e7-a251-12055efa890a", "name": "username", "type": "string", "value": "={{ $json.user.username }}"}, {"id": "b713a971-ce29-43cf-8f42-c426a38c6582", "name": "bio", "type": "string", "value": "={{ $json.user.bio }}"}, {"id": "19a06510-802e-4bd5-9552-7afa7355ff92", "name": "sum_unique_weekly_inserters", "type": "number", "value": "={{ $json.sum_unique_weekly_inserters }}"}, {"id": "e436533a-5170-47c2-809b-7d79502eb009", "name": "sum_unique_monthly_inserters", "type": "number", "value": "={{ $json.sum_unique_monthly_inserters }}"}, {"id": "198fef5d-86b8-4009-b187-6d3e6566d137", "name": "sum_unique_inserters", "type": "number", "value": "={{ $json.sum_unique_inserters }}"}]}}, "typeVersion": 3.4}, {"id": "3fd50542-2067-4dd4-a3ae-006aa4f9b030", "name": "Workflows Data", "type": "n8n-nodes-base.set", "position": [-60, 1540], "parameters": {"options": {}, "assignments": {"assignments": [{"id": "3bc3cd11-904d-4315-974d-262c0bd5fea7", "name": "template_url", "type": "string", "value": "={{ $json.template_url }}"}, {"id": "c846c523-f077-40cd-b548-32460124ffb9", "name": "wf_detais.name", "type": "string", "value": "={{ $json.wf_detais.name }}"}, {"id": "f330de47-56fb-4657-8a30-5f5e5cfa76d7", "name": "wf_detais.createdAt", "type": "string", "value": "={{ $json.wf_detais.createdAt }}"}, {"id": "f7ed7e51-a7cf-4f2e-8819-f33115c5ad51", "name": "wf_detais.description", "type": "string", "value": "={{ $json.wf_detais.description }}"}, {"id": "02b02023-c5a2-4e22-bcf9-2284c434f5d3", "name": "name", "type": "string", "value": "={{ $json.user.name }}"}, {"id": "4582435b-3c76-45e7-a251-12055efa890a", "name": "username", "type": "string", "value": "={{ $json.user.username }}"}, {"id": "f952cad3-7e62-46b7-aeb7-a5cbf4d46c0d", "name": "unique_weekly_inserters", "type": "number", "value": "={{ $json.unique_weekly_inserters }}"}, {"id": "6123302b-5bda-48f4-9ef2-71ff52a5f3ba", "name": "unique_monthly_inserters", "type": "number", "value": "={{ $json.unique_monthly_inserters }}"}, {"id": "92dca169-e03f-42ad-8790-ebb55c1a7272", "name": "unique_weekly_visitors", "type": "number", "value": "={{ $json.unique_weekly_visitors }}"}, {"id": "ee640389-d396-4d65-8110-836372a51fb0", "name": "unique_monthly_visitors", "type": "number", "value": "={{ $json.unique_monthly_visitors }}"}, {"id": "9f1c5599-3672-4f4e-9742-d7cc564f6714", "name": "user.avatar", "type": "string", "value": "={{ $json.user.avatar }}"}]}}, "typeVersion": 3.4}, {"id": "6ad04027-1df9-402d-b98c-de7ec7e62cae", "name": "Merge Creators & Workflows", "type": "n8n-nodes-base.merge", "position": [240, 1540], "parameters": {"mode": "combine", "options": {}, "joinMode": "enrichInput1", "fieldsToMatchString": "username"}, "typeVersion": 3}, {"id": "fdf56c84-804a-46e2-8058-8a4374ba21b7", "name": "Split Out Creators", "type": "n8n-nodes-base.splitOut", "position": [-680, 1200], "parameters": {"options": {}, "fieldToSplitOut": "data"}, "typeVersion": 1}, {"id": "cac2e121-f0a9-4142-86c7-5549b8b3631d", "name": "Split Out Workflows", "type": "n8n-nodes-base.splitOut", "position": [-680, 1540], "parameters": {"options": {}, "fieldToSplitOut": "data"}, "typeVersion": 1}, {"id": "4a32eb8c-07d2-4a71-bb60-9e2c2eeda7f6", "name": "Sort By Top Weekly Creator Inserts", "type": "n8n-nodes-base.sort", "position": [-480, 1200], "parameters": {"options": {}, "sortFieldsUi": {"sortField": [{"order": "descending", "fieldName": "sum_unique_weekly_inserters"}]}}, "typeVersion": 1}, {"id": "f39b2e87-cc3a-4e90-84dc-18ae663608d6", "name": "Sort By Top Weekly Workflow Inserts", "type": "n8n-nodes-base.sort", "position": [-480, 1540], "parameters": {"options": {}, "sortFieldsUi": {"sortField": [{"order": "descending", "fieldName": "unique_weekly_inserters"}]}}, "typeVersion": 1}, {"id": "85ae9c6b-50bd-40df-bebd-e7522df61f3c", "name": "Sticky Note10", "type": "n8n-nodes-base.stickyNote", "position": [-2060, 1020], "parameters": {"color": 7, "width": 2510, "height": 1000, "content": "## Workflow for n8n Creators Stats"}, "typeVersion": 1}, {"id": "7aaf6f1b-a42b-49e6-a9bd-27c8ee2b6e83", "name": "Sticky Note11", "type": "n8n-nodes-base.stickyNote", "position": [-1340, 1140], "parameters": {"color": 7, "width": 280, "height": 560, "content": "## GET n8n Stats from GitHub repo\nhttps://docs.n8n.io/integrations/builtin/core-nodes/n8n-nodes-base.httprequest/"}, "typeVersion": 1}, {"id": "5aa6990b-c764-4d5a-ab68-c6f12b3d3b70", "name": "Schedule Trigger", "type": "n8n-nodes-base.scheduleTrigger", "position": [-2260, 380], "parameters": {"rule": {"interval": [{"triggerAtHour": 22}]}}, "typeVersion": 1.2}, {"id": "160fa10e-9697-4c84-ba13-d701baaee782", "name": "Take Top 10 Creators", "type": "n8n-nodes-base.limit", "position": [-260, 1200], "parameters": {"maxItems": 10}, "typeVersion": 1}, {"id": "09d8cc25-7ea7-4793-a891-90f8b577df81", "name": "Take Top 50 Workflows", "type": "n8n-nodes-base.limit", "position": [-260, 1540], "parameters": {"maxItems": 50}, "typeVersion": 1}, {"id": "c3ebbc08-151e-4f18-848f-ddec2a720edc", "name": "Google Drive", "type": "n8n-nodes-base.googleDrive", "position": [-1040, 460], "parameters": {"name": "=n8n Creator Stats Report - {{ $now.format('yyyy-MM-dd:hh:mm:ss') }}", "content": "={{ $json.output }}", "driveId": {"__rl": true, "mode": "list", "value": "My Drive"}, "options": {}, "folderId": {"__rl": true, "mode": "list", "value": "root", "cachedResultName": "/ (Root folder)"}, "operation": "createFromText"}, "credentials": {"googleDriveOAuth2Api": {"id": "UhdXGYLTAJbsa0xX", "name": "Google Drive account"}}, "typeVersion": 3}, {"id": "0a2ff2ea-6120-49e2-adda-547830b4f9f8", "name": "Sticky Note4", "type": "n8n-nodes-base.stickyNote", "position": [-320, 1060], "parameters": {"width": 220, "height": 720, "content": "## Settings\nChange these settings to suit your needs"}, "typeVersion": 1}, {"id": "f5db76e5-8058-4771-8a3b-0116f0abb6a3", "name": "Sticky Note9", "type": "n8n-nodes-base.stickyNote", "position": [-1240, 300], "parameters": {"color": 6, "width": 540, "height": 340, "content": "## Save n8n Creator & Workflows Report to Google Drive\nhttps://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.googledrive/"}, "typeVersion": 1}, {"id": "4594d952-8d21-40ac-8654-4a050c96a686", "name": "Sticky Note12", "type": "n8n-nodes-base.stickyNote", "position": [-1240, 680], "parameters": {"color": 4, "width": 540, "height": 300, "content": "## Email n8n Creators & Workflows Report\nhttps://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.gmail/"}, "typeVersion": 1}, {"id": "784b5047-9fdf-40db-ab07-436c12d749d0", "name": "Convert Markdown to HTML", "type": "n8n-nodes-base.markdown", "position": [-1140, 780], "parameters": {"mode": "markdownToHtml", "options": {}, "markdown": "={{ $json.output }}"}, "typeVersion": 1}, {"id": "cab1978f-9aa0-4cd8-901c-f6ad615936c6", "name": "n8n Creators Stats Agent", "type": "@n8n/n8n-nodes-langchain.agent", "position": [-1800, 380], "parameters": {"text": "=Prepare a report about the n8n creators", "options": {"systemMessage": "=You are tasked with generating a **comprehensive Markdown report** about n8n community workflows and contributors using the provided tools. Your report should include meaningful insights about the contributors positive impact on the n8n community. Follow the structure below:\n\n## Detailed Summary\n- Provide a thorough summary of ALL contributor's workflows.\n- Highlight unique features, key use cases, and notable technical components for each workflow.\n- Include hyperlinks for each workflow.\n\n## Workflows\nCreate a well-formatted markdown table with these columns:\n- **Workflow Name**: The name of the workflow. Keep the emojies of they exist. Include hyperlinks for each workflow.\n- **Description**: A brief overview of its purpose and functionality.\n- **Unique Weekly Visitors**: The number of unique users who visited this workflow weekly.\n- **Unique Monthly Visitors**: The number of unique users who visited this workflow monthly.\n- **Unique Weekly Inserters**: The number of unique users who inserted this workflow weekly.\n- **Unique Monthly Inserters**: The number of unique users who inserted this workflow monthly.\n- **Why It\u2019s Popular**: Explain what makes this workflow stand out (e.g., innovative features, ease of use, specific use cases).\n\n## Community Analysis\n- Analyze why these workflows are popular and valued by the n8n community.\n- Discuss any trends, patterns, or feedback that highlight their significance.\n\n## Additional Insights\n- If available, provide extra information about the contributor's overall impact, such as their engagement in community forums or other notable contributions.\n\n## Formatting Guidelines\n- Use Markdown formatting exclusively (headers, lists, and tables) for clarity and organization.\n- Ensure your response is concise yet comprehensive, structured for easy navigation.\n\n## Error Handling\n- If data is unavailable or incomplete, clearly state this in your response and suggest possible reasons or next steps.\n\n## TOOLS\n\n### n8n_creator_stats \n- Use this tool to retrieve detailed statistics about the n8n creators.\n\n\n \n"}, "promptType": "define"}, "typeVersion": 1.7}, {"id": "f94de0ba-4d27-4b00-8f6c-b15ea2f37af7", "name": "Sticky Note13", "type": "n8n-nodes-base.stickyNote", "position": [-80, 280], "parameters": {"width": 320, "height": 340, "content": "## Telegram \n(Optional)\nhttps://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.telegram/"}, "typeVersion": 1}, {"id": "f50913c0-6615-4a5d-a4d4-2522280bc978", "name": "Google Gemini Chat Model", "type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini", "position": [-440, 720], "parameters": {"options": {"temperature": 0.2}, "modelName": "models/gemini-2.0-flash-exp"}, "credentials": {"googlePalmApi": {"id": "L9UNQHflYlyF9Ngd", "name": "Google Gemini(PaLM) Api account"}}, "typeVersion": 1}, {"id": "137b191e-9dae-4396-a536-dd77126ef176", "name": "Create Top 10 Workflows List", "type": "@n8n/n8n-nodes-langchain.chainLlm", "position": [-520, 380], "parameters": {"text": "=Create a list with hyperlinks of the top 10 workflows by weekly instertions from this report: {{ $json.output }}\n\nDo not include any preamble or further explanation. ", "promptType": "define"}, "typeVersion": 1.5}, {"id": "6249b1e5-2f47-469a-8bcc-16f41ee1da12", "name": "Sticky Note14", "type": "n8n-nodes-base.stickyNote", "position": [-660, 280], "parameters": {"color": 5, "width": 540, "height": 700, "content": "## Create Top 10 Workflows List\n"}, "typeVersion": 1}, {"id": "9564db34-8b19-474e-812c-8a9d2cd028cb", "name": "Sticky Note15", "type": "n8n-nodes-base.stickyNote", "position": [-540, 600], "parameters": {"color": 7, "width": 300, "height": 280, "content": "## Google Gemini LLM\nhttps://aistudio.google.com/apikey"}, "typeVersion": 1}, {"id": "065624e9-7f45-4607-94e9-2bf5a4f983ef", "name": "Sticky Note16", "type": "n8n-nodes-base.stickyNote", "position": [-80, 680], "parameters": {"color": 4, "width": 520, "height": 300, "content": "## Email Top 10 Workflows List\nhttps://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.gmail/"}, "typeVersion": 1}, {"id": "532c071f-3ae0-4afd-9569-2ecc2ccebb02", "name": "Convert Top 10 Markdown to HTML", "type": "n8n-nodes-base.markdown", "position": [20, 780], "parameters": {"mode": "markdownToHtml", "options": {}, "markdown": "={{ $json.text }}"}, "typeVersion": 1}, {"id": "f3aa0206-4449-41b1-aa4e-1fec6c948250", "name": "Gmail Creators & Workflows Report", "type": "n8n-nodes-base.gmail", "position": [-940, 780], "webhookId": "2bad33f7-38f8-40ca-9bcd-2f51179c8db5", "parameters": {"sendTo": "joe@example.com", "message": "={{ $json.data }}", "options": {}, "subject": "n8n Creator Stats"}, "credentials": {"gmailOAuth2": {"id": "1xpVDEQ1yx8gV022", "name": "Gmail account"}}, "typeVersion": 2.1}, {"id": "2521435a-ad6e-4724-a07c-7762860b3f55", "name": "Telegram Top 10 Workflows List", "type": "n8n-nodes-base.telegram", "onError": "continueRegularOutput", "position": [20, 420], "webhookId": "8406b3d2-5ac6-452d-847f-c0886c8cd058", "parameters": {"text": "=n8n Creators Report - Top 10 Workflows\n{{ $now }}\n----------------------------------------------------\n{{ $json.text }}", "chatId": "={{ $env.TELEGRAM_CHAT_ID }}", "additionalFields": {"parse_mode": "HTML", "appendAttribution": false}}, "credentials": {"telegramApi": {"id": "pAIFhguJlkO3c7aQ", "name": "Telegram account"}}, "typeVersion": 1.2}, {"id": "f234a3c1-18ba-488e-a88d-4a05be9eb9f4", "name": "Gmail Top 10 Workflows List", "type": "n8n-nodes-base.gmail", "position": [220, 780], "webhookId": "2bad33f7-38f8-40ca-9bcd-2f51179c8db5", "parameters": {"sendTo": "joe@example.com", "message": "={{ $json.data }}", "options": {}, "subject": "n8n Top 10 Workflows"}, "credentials": {"gmailOAuth2": {"id": "1xpVDEQ1yx8gV022", "name": "Gmail account"}}, "typeVersion": 2.1}, {"id": "1267b550-5c8a-4fa3-8f0a-4d18f16a57c4", "name": "Sticky Note17", "type": "n8n-nodes-base.stickyNote", "position": [-2640, 580], "parameters": {"width": 540, "height": 900, "content": "# n8n Top Creators Leaderboard Reporting Workflow\n\n## Why This Workflow is Important\nThis workflow is a powerful tool for reporting on the n8n community's creators and workflows. It provides valuable insights into the most popular workflows, top contributors, and community trends. By automating data aggregation, processing, and report generation, it saves time and effort while fostering collaboration and inspiration within the n8n ecosystem.\n\n### Key Benefits:\n- **Discover Trends**: Identify top workflows based on unique visitors and inserters.\n- **Recognize Contributors**: Highlight impactful creators driving community engagement.\n- **Save Time**: Automates the entire reporting process, from data retrieval to report creation.\n\n## How to Use It\n1. **Set Up Prerequisites**: Ensure your n8n instance is running, GitHub data files are accessible, Google Gmail/Drive and OpenAI credentials are configured and Google Gemini credentials are configured.\n\n2. **Trigger the Workflow**:\n - Schedule the workflow to run daily or as needed.\n\n3. **Review Reports**:\n - The workflow generates a detailed Markdown report with summaries, tables, and insights.\n - Reports are saved locally or shared via email, Google Drive, or Telegram.\n\n\nThis workflow is ideal for creators, community managers, and new users looking to explore or optimize workflows within the n8n platform.\n"}, "typeVersion": 1}], "active": true, "pinData": {}, "settings": {"timezone": "America/Vancouver", "callerPolicy": "workflowsFromSameOwner", "executionOrder": "v1"}, "versionId": "619db74b-3f91-4d3b-b85d-e7e6bb972aca", "connections": {"Aggregate": {"main": [[{"node": "Workflow Response", "type": "main", "index": 0}]]}, "gpt-4o-mini": {"ai_languageModel": [[{"node": "n8n Creators Stats Agent", "type": "ai_languageModel", "index": 0}]]}, "Creators Data": {"main": [[{"node": "Merge Creators & Workflows", "type": "main", "index": 0}]]}, "Workflow Tool": {"ai_tool": [[{"node": "n8n Creators Stats Agent", "type": "ai_tool", "index": 0}]]}, "Workflows Data": {"main": [[{"node": "Merge Creators & Workflows", "type": "main", "index": 1}]]}, "creator-summary": {"main": [[{"node": "Save creator-summary.md", "type": "main", "index": 0}]]}, "Global Variables": {"main": [[{"node": "stats_aggregate_creators", "type": "main", "index": 0}, {"node": "stats_aggregate_workflows", "type": "main", "index": 0}]]}, "Schedule Trigger": {"main": [[{"node": "n8n Creators Stats Agent", "type": "main", "index": 0}]]}, "Split Out Creators": {"main": [[{"node": "Sort By Top Weekly Creator Inserts", "type": "main", "index": 0}]]}, "Parse Creators Data": {"main": [[{"node": "Split Out Creators", "type": "main", "index": 0}]]}, "Parse Workflow Data": {"main": [[{"node": "Split Out Workflows", "type": "main", "index": 0}]]}, "Split Out Workflows": {"main": [[{"node": "Sort By Top Weekly Workflow Inserts", "type": "main", "index": 0}]]}, "Take Top 10 Creators": {"main": [[{"node": "Creators Data", "type": "main", "index": 0}]]}, "Take Top 50 Workflows": {"main": [[{"node": "Workflows Data", "type": "main", "index": 0}]]}, "Convert Markdown to HTML": {"main": [[{"node": "Gmail Creators & Workflows Report", "type": "main", "index": 0}]]}, "Google Gemini Chat Model": {"ai_languageModel": [[{"node": "Create Top 10 Workflows List", "type": "ai_languageModel", "index": 0}]]}, "n8n Creators Stats Agent": {"main": [[{"node": "creator-summary", "type": "main", "index": 0}, {"node": "Google Drive", "type": "main", "index": 0}, {"node": "Convert Markdown to HTML", "type": "main", "index": 0}, {"node": "Create Top 10 Workflows List", "type": "main", "index": 0}]]}, "stats_aggregate_creators": {"main": [[{"node": "Parse Creators Data", "type": "main", "index": 0}]]}, "stats_aggregate_workflows": {"main": [[{"node": "Parse Workflow Data", "type": "main", "index": 0}]]}, "Merge Creators & Workflows": {"main": [[{"node": "Aggregate", "type": "main", "index": 0}]]}, "Create Top 10 Workflows List": {"main": [[{"node": "Convert Top 10 Markdown to HTML", "type": "main", "index": 0}, {"node": "Telegram Top 10 Workflows List", "type": "main", "index": 0}]]}, "Convert Top 10 Markdown to HTML": {"main": [[{"node": "Gmail Top 10 Workflows List", "type": "main", "index": 0}]]}, "When Executed by Another Workflow": {"main": [[{"node": "Global Variables", "type": "main", "index": 0}]]}, "Sort By Top Weekly Creator Inserts": {"main": [[{"node": "Take Top 10 Creators", "type": "main", "index": 0}]]}, "Sort By Top Weekly Workflow Inserts": {"main": [[{"node": "Take Top 50 Workflows", "type": "main", "index": 0}]]}}}
|
70
|
Receive updates when an event occurs in Taiga
|
1
|
["taigaTrigger"]
|
ai-automation-lab
|
{"id": "70", "name": "Receive updates when an event occurs in Taiga", "nodes": [{"name": "Taiga Trigger", "type": "n8n-nodes-base.taigaTrigger", "position": [690, 260], "webhookId": "53939c3e-7dc6-4fdf-94d8-d29f92f8fa12", "parameters": {"projectId": 385605}, "credentials": {"taigaCloudApi": "taiga"}, "typeVersion": 1}], "active": false, "settings": {}, "connections": {}}
|
1115_Manual_Wekan_Automation_Triggered
|
1115_Manual_Wekan_Automation_Triggered
|
6
|
["manualTrigger", "wekan"]
|
ai-automation-lab
|
{"name": "", "nodes": [{"name": "On clicking 'execute'", "type": "n8n-nodes-base.manualTrigger", "position": [450, 450], "parameters": {}, "typeVersion": 1}, {"name": "Wekan", "type": "n8n-nodes-base.wekan", "position": [650, 450], "parameters": {"owner": "c4nzTEvSwGPBxKTCc", "title": "Documentation", "resource": "board", "additionalFields": {}}, "credentials": {"wekanApi": "wekan-trial"}, "typeVersion": 1}, {"name": "Wekan1", "type": "n8n-nodes-base.wekan", "position": [850, 450], "parameters": {"title": "To Do", "boardId": "={{$node[\"Wekan\"].json[\"_id\"]}}", "resource": "list"}, "credentials": {"wekanApi": "wekan-trial"}, "typeVersion": 1}, {"name": "Wekan2", "type": "n8n-nodes-base.wekan", "position": [1050, 450], "parameters": {"title": "Done", "boardId": "={{$node[\"Wekan\"].json[\"_id\"]}}", "resource": "list"}, "credentials": {"wekanApi": "wekan-trial"}, "typeVersion": 1}, {"name": "Wekan3", "type": "n8n-nodes-base.wekan", "position": [1250, 450], "parameters": {"title": "Document Wekan node", "listId": "={{$node[\"Wekan1\"].json[\"_id\"]}}", "boardId": "={{$node[\"Wekan\"].json[\"_id\"]}}", "authorId": "c4nzTEvSwGPBxKTCc", "swimlaneId": "LDTcBp9fvmjSsSB69", "additionalFields": {}}, "credentials": {"wekanApi": "wekan-trial"}, "typeVersion": 1}, {"name": "Wekan4", "type": "n8n-nodes-base.wekan", "position": [1450, 450], "parameters": {"cardId": "={{$node[\"Wekan3\"].json[\"_id\"]}}", "listId": "={{$node[\"Wekan1\"].json[\"_id\"]}}", "boardId": "={{$node[\"Wekan\"].json[\"_id\"]}}", "operation": "update", "updateFields": {"listId": "={{$node[\"Wekan2\"].json[\"_id\"]}}"}}, "credentials": {"wekanApi": "wekan-trial"}, "typeVersion": 1}], "active": false, "settings": {}, "connections": {"Wekan": {"main": [[{"node": "Wekan1", "type": "main", "index": 0}]]}, "Wekan1": {"main": [[{"node": "Wekan2", "type": "main", "index": 0}]]}, "Wekan2": {"main": [[{"node": "Wekan3", "type": "main", "index": 0}]]}, "Wekan3": {"main": [[{"node": "Wekan4", "type": "main", "index": 0}]]}, "On clicking 'execute'": {"main": [[{"node": "Wekan", "type": "main", "index": 0}]]}}}
|
1116_GoogleCalendar_GoogleSheets_Create_Triggered
|
1116_GoogleCalendar_GoogleSheets_Create_Triggered
|
10
|
["function", "gmail", "googleCalendar", "googleSheets", "mattermost", "merge", "typeformTrigger"]
|
ai-automation-lab
|
{"nodes": [{"name": "Attendee Registrations", "type": "n8n-nodes-base.typeformTrigger", "position": [400, 300], "webhookId": "6314f4db-12ca-4c5e-a6c5-062bb0437734", "parameters": {"formId": "RknoIFsl"}, "credentials": {"typeformApi": "Typeform Burner Account"}, "typeVersion": 1}, {"name": "Add to Sheets", "type": "n8n-nodes-base.googleSheets", "position": [600, 300], "parameters": {"range": "Attendees!A:F", "options": {}, "sheetId": "1nlnsTQKGgQZN-Rtd07K9bn0ROm0aFBC2O4kzM2YaTBI", "operation": "append", "authentication": "oAuth2"}, "credentials": {"googleSheetsOAuth2Api": "google-sheets"}, "typeVersion": 1}, {"name": "Create Account", "type": "n8n-nodes-base.mattermost", "position": [800, 300], "parameters": {"email": "={{$json[\"And what's your email address?\"]}}", "password": "=P!_{{$json[\"And what's your email address?\"].split(\" \").join(\"\")}}-{{new Date().getHours()}}{{new Date().getDate()}}", "resource": "user", "username": "={{$json[\"Great, can we get your full name?\"].split(\" \").join(\"\")}}-{{new Date().getHours()}}", "operation": "create", "authService": "email", "additionalFields": {"first_name": "={{$json[\"Great, can we get your full name?\"]}}"}}, "credentials": {"mattermostApi": "Mattermost Credentials"}, "typeVersion": 1}, {"name": "Add to team", "type": "n8n-nodes-base.mattermost", "position": [1000, 300], "parameters": {"emails": "={{$node[\"Attendee Registrations\"].json[\"And what's your email address?\"]}}", "teamId": "ee3ddsn98i8d3xizkcttras5nw", "resource": "user", "operation": "invite"}, "credentials": {"mattermostApi": "Mattermost Credentials"}, "typeVersion": 1}, {"name": "Array to Rows", "type": "n8n-nodes-base.function", "position": [1200, 300], "parameters": {"functionCode": "const newItems = [];\nfor (let i=0;i<$node[\"Attendee Registrations\"].json[\"Which sessions would you like to attend?\"].length;i++) {\n\tnewItems.push({\n \tjson: {\n \tSession: $node[\"Attendee Registrations\"].json[\"Which sessions would you like to attend?\"][i]\n }\n });\n}\n\nreturn newItems;"}, "typeVersion": 1}, {"name": "Get Session Details", "type": "n8n-nodes-base.googleSheets", "position": [1200, 500], "parameters": {"range": "Sessions!A:F", "options": {}, "sheetId": "1nlnsTQKGgQZN-Rtd07K9bn0ROm0aFBC2O4kzM2YaTBI", "authentication": "oAuth2"}, "credentials": {"googleSheetsOAuth2Api": "google-sheets"}, "typeVersion": 1}, {"name": "Merge Data", "type": "n8n-nodes-base.merge", "position": [1376, 422], "parameters": {"mode": "mergeByKey", "propertyName1": "Session", "propertyName2": "Session"}, "typeVersion": 1}, {"name": "Add to channels", "type": "n8n-nodes-base.mattermost", "position": [1576, 422], "parameters": {"userId": "={{$node[\"Create Account\"].json[\"id\"]}}", "resource": "channel", "channelId": "={{$json[\"Mattermost Channel ID\"]}}", "operation": "addUser"}, "credentials": {"mattermostApi": "Mattermost Credentials"}, "typeVersion": 1}, {"name": "Add to Event", "type": "n8n-nodes-base.googleCalendar", "position": [1776, 422], "parameters": {"eventId": "={{$node[\"Merge Data\"].json[\"Google Calendar Event ID\"]}}", "calendar": "3ne32v2nlrrd2l3624v5qpg6qk@group.calendar.google.com", "operation": "update", "updateFields": {"attendees": ["={{$node[\"Attendee Registrations\"].json[\"And what's your email address?\"]}}"]}}, "credentials": {"googleCalendarOAuth2Api": "Google Calendar Credentials"}, "typeVersion": 1}, {"name": "Welcome Email", "type": "n8n-nodes-base.gmail", "position": [1976, 422], "parameters": {"toList": ["={{$node[\"Attendee Registrations\"].json[\"And what's your email address?\"]}}"], "message": "=Dear {{$node[\"Attendee Registrations\"].json[\"Great, can we get your full name?\"]}},\n\nWelcome to n8nConf, the world's largest no-code automation conference!\n\nThis email is to confirm your registration to the following sessions:\n- {{$node[\"Attendee Registrations\"].json[\"Which sessions would you like to attend?\"].join('\\n- ')}}\n\nYou should receive Google Calendar invites to these events on your email. Please consult those for the Google Meet joining information.\n\nYou can also interact with the rest of the community via our Mattermost chat. We created an account just for you!\nLook for the channel corresponding to your session to join the discussion!\n\nLogin URL: https://mm.failedmachine.com/\nUsername: {{$node[\"Create Account\"].json[\"username\"]}}\nPassword: {{$node[\"Create Account\"].parameter[\"password\"]}}\n\nRemember to change your password immediately after your first login!\n\nIf you have any troubles with joining the event, or using the chat rooms; please feel free to let us know on support@n8nconf.com\n\nWe look forward to your participation!\n\nBest,\nTeam n8n", "subject": "Welcome to n8nConf", "resource": "message", "additionalFields": {}}, "credentials": {"gmailOAuth2": "gmail"}, "typeVersion": 1}], "connections": {"Merge Data": {"main": [[{"node": "Add to channels", "type": "main", "index": 0}]]}, "Add to team": {"main": [[{"node": "Array to Rows", "type": "main", "index": 0}]]}, "Add to Event": {"main": [[{"node": "Welcome Email", "type": "main", "index": 0}]]}, "Add to Sheets": {"main": [[{"node": "Create Account", "type": "main", "index": 0}]]}, "Array to Rows": {"main": [[{"node": "Merge Data", "type": "main", "index": 0}]]}, "Create Account": {"main": [[{"node": "Add to team", "type": "main", "index": 0}]]}, "Add to channels": {"main": [[{"node": "Add to Event", "type": "main", "index": 0}]]}, "Get Session Details": {"main": [[{"node": "Merge Data", "type": "main", "index": 1}]]}, "Attendee Registrations": {"main": [[{"node": "Add to Sheets", "type": "main", "index": 0}]]}}}
|
1117_Mattermost_GoogleSheets_Automate_Scheduled
|
1117_Mattermost_GoogleSheets_Automate_Scheduled
|
3
|
["cron", "googleSheets", "mattermost"]
|
ai-automation-lab
|
{"nodes": [{"name": "Cron", "type": "n8n-nodes-base.cron", "position": [450, 300], "parameters": {"triggerTimes": {"item": [{"mode": "custom", "cronExpression": "0 0 17 28 9 *"}]}}, "typeVersion": 1}, {"name": "Google Sheets", "type": "n8n-nodes-base.googleSheets", "position": [650, 300], "parameters": {"range": "Sessions!A:D", "options": {}, "sheetId": "1nlnsTQKGgQZN-Rtd07K9bn0ROm0aFBC2O4kzM2YaTBI", "authentication": "oAuth2"}, "credentials": {"googleSheetsOAuth2Api": "n8ndocsburner-googlesheets"}, "typeVersion": 1}, {"name": "Mattermost", "type": "n8n-nodes-base.mattermost", "position": [850, 300], "parameters": {"message": "= Hey @channel, we hope you had a great time at **{{$node[\"Google Sheets\"].json[\"Session\"]}}**.\nLet us know how we did by sharing your feedback with us on the link below!", "channelId": "={{$node[\"Google Sheets\"].json[\"Mattermost Channel ID\"]}}", "attachments": [{"title": "=Feedback Form - {{$node[\"Google Sheets\"].json[\"Session\"]}}", "title_link": "={{$node[\"Google Sheets\"].json[\"Feedback Form Link\"]}}"}], "otherOptions": {}}, "credentials": {"mattermostApi": "mm_failedmachine"}, "typeVersion": 1}], "connections": {"Cron": {"main": [[{"node": "Google Sheets", "type": "main", "index": 0}]]}, "Google Sheets": {"main": [[{"node": "Mattermost", "type": "main", "index": 0}]]}}}
|
1118_Openweathermap_Webhook_Automate_Webhook
|
1118_Openweathermap_Webhook_Automate_Webhook
|
3
|
["openWeatherMap", "set", "webhook"]
|
ai-automation-lab
|
{"nodes": [{"name": "Set", "type": "n8n-nodes-base.set", "position": [870, 300], "parameters": {"values": {"string": [{"name": "tempC", "value": "={{$json[\"main\"][\"temp\"]}}"}, {"name": "humidity", "value": "={{$json[\"main\"][\"humidity\"]}}"}, {"name": "windspeed", "value": "={{$json[\"wind\"][\"speed\"]}}"}, {"name": "description", "value": "={{$json[\"weather\"][0][\"description\"]}}"}, {"name": "city", "value": "={{$json[\"name\"]}}, {{$json[\"sys\"][\"country\"]}}"}]}, "options": {}, "keepOnlySet": true}, "typeVersion": 1}, {"name": "OpenWeatherMap", "type": "n8n-nodes-base.openWeatherMap", "position": [650, 300], "parameters": {"cityName": "={{$json[\"body\"][\"city\"]}}"}, "credentials": {"openWeatherMapApi": "open-weather-map"}, "typeVersion": 1}, {"name": "Webhook", "type": "n8n-nodes-base.webhook", "position": [450, 300], "webhookId": "39f1b81f-f538-4b94-8788-29180d5e4016", "parameters": {"path": "39f1b81f-f538-4b94-8788-29180d5e4016", "options": {}, "responseData": "allEntries", "responseMode": "lastNode"}, "typeVersion": 1}], "connections": {"Webhook": {"main": [[{"node": "OpenWeatherMap", "type": "main", "index": 0}]]}, "OpenWeatherMap": {"main": [[{"node": "Set", "type": "main", "index": 0}]]}}}
|
1119_Openweathermap_Twilio_Automate_Webhook
|
1119_Openweathermap_Twilio_Automate_Webhook
|
5
|
["airtable", "openWeatherMap", "set", "twilio", "webhook"]
|
ai-automation-lab
|
{"nodes": [{"name": "Webhook", "type": "n8n-nodes-base.webhook", "position": [450, 300], "webhookId": "39f1b81f-f538-4b94-8788-29180d5e4016", "parameters": {"path": "39f1b81f-f538-4b94-8788-29180d5e4016", "options": {"rawBody": true}, "httpMethod": "POST", "authentication": "headerAuth"}, "credentials": {"httpHeaderAuth": "Webhook Workflow Credentials"}, "typeVersion": 1}, {"name": "Set", "type": "n8n-nodes-base.set", "position": [650, 300], "parameters": {"values": {"string": [{"name": "Name", "value": "={{$json[\"body\"][\"name\"]}}"}, {"name": "Number", "value": "={{$json[\"body\"][\"number\"]}}"}, {"name": "City", "value": "={{$json[\"body\"][\"city\"]}}"}]}, "options": {}, "keepOnlySet": true}, "typeVersion": 1}, {"name": "Airtable", "type": "n8n-nodes-base.airtable", "position": [850, 300], "parameters": {"table": "Table 1", "options": {}, "operation": "append"}, "credentials": {"airtableApi": "Airtable Credentials n8n"}, "typeVersion": 1}, {"name": "OpenWeatherMap", "type": "n8n-nodes-base.openWeatherMap", "position": [1050, 300], "parameters": {"cityName": "={{$node[\"Webhook\"].json[\"body\"][\"city\"]}}"}, "credentials": {"openWeatherMapApi": "open-weather-map"}, "typeVersion": 1}, {"name": "Twilio", "type": "n8n-nodes-base.twilio", "position": [1250, 300], "parameters": {"to": "={{$node[\"Webhook\"].json[\"body\"][\"number\"]}}", "message": "=The weather in {{$json[\"name\"]}}, {{$json[\"sys\"][\"country\"]}} is {{$json[\"main\"][\"temp\"]}} \u2103 with {{$json[\"weather\"][0][\"description\"]}}. Humidity is {{$json[\"main\"][\"humidity\"]}} and windspeed is {{$json[\"wind\"][\"speed\"]}}."}, "credentials": {"twilioApi": "twilio"}, "typeVersion": 1}], "connections": {"Set": {"main": [[{"node": "Airtable", "type": "main", "index": 0}]]}, "Webhook": {"main": [[{"node": "Set", "type": "main", "index": 0}]]}, "Airtable": {"main": [[{"node": "OpenWeatherMap", "type": "main", "index": 0}]]}, "OpenWeatherMap": {"main": [[{"node": "Twilio", "type": "main", "index": 0}]]}}}
|
1120_Airtable_Mindee_Automate_Webhook
|
1120_Airtable_Mindee_Automate_Webhook
|
4
|
["airtable", "mindee", "set", "webhook"]
|
ai-automation-lab
|
{"nodes": [{"name": "Webhook", "type": "n8n-nodes-base.webhook", "position": [450, 300], "webhookId": "39f1b81f-f538-4b94-8788-29180d5e4016", "parameters": {"path": "39f1b81f-f538-4b94-8788-29180d5e4016", "options": {"binaryData": true}, "httpMethod": "POST", "responseData": "allEntries", "responseMode": "lastNode", "authentication": "headerAuth"}, "credentials": {"httpHeaderAuth": "Webhook Workflow Credentials"}, "typeVersion": 1}, {"name": "Mindee", "type": "n8n-nodes-base.mindee", "position": [650, 300], "parameters": {"binaryPropertyName": "receipt"}, "credentials": {"mindeeReceiptApi": "expense-tracker"}, "typeVersion": 1}, {"name": "Airtable", "type": "n8n-nodes-base.airtable", "position": [850, 300], "parameters": {"table": "Receipt", "fields": ["category", "date", "currency", "locale", "merchant", "time", "total"], "options": {}, "operation": "append", "application": "appThOr4e97XjXcDu", "addAllFields": false}, "credentials": {"airtableApi": "Airtable Credentials n8n"}, "typeVersion": 1}, {"name": "Set", "type": "n8n-nodes-base.set", "position": [1050, 300], "parameters": {"values": {"string": [{"name": "data", "value": "={{$json[\"fields\"]}}"}, {"name": "message", "value": "=You spent {{$json[\"fields\"][\"currency\"]}} {{$json[\"fields\"][\"total\"]}} on {{$json[\"fields\"][\"category\"]}} at {{$json[\"fields\"][\"merchant\"]}} on {{$json[\"fields\"][\"date\"]}} at {{$json[\"fields\"][\"time\"]}}"}]}, "options": {}, "keepOnlySet": true}, "typeVersion": 1}], "connections": {"Mindee": {"main": [[{"node": "Airtable", "type": "main", "index": 0}]]}, "Webhook": {"main": [[{"node": "Mindee", "type": "main", "index": 0}]]}, "Airtable": {"main": [[{"node": "Set", "type": "main", "index": 0}]]}}}
|
744G7emgZe0pXaPB
|
Hacker News to Video Template - AlexK1919
|
48
|
["dropbox", "googleDrive", "hackerNews", "httpRequest", "if", "limit", "linkedIn", "manualTrigger", "microsoftOneDrive", "s3", "set", "splitInBatches", "stickyNote", "twitter", "wait", "youTube"]
|
ai-automation-lab
|
{"id": "744G7emgZe0pXaPB", "meta": {"instanceId": "d868e3d040e7bda892c81b17cf446053ea25d2556fcef89cbe19dd61a3e876e9"}, "name": "Hacker News to Video Template - AlexK1919", "tags": [{"id": "04PL2irdWYmF2Dg3", "name": "RunwayML", "createdAt": "2024-11-15T05:55:30.783Z", "updatedAt": "2024-11-15T05:55:30.783Z"}, {"id": "yrY6updwSCXMsT0z", "name": "Video", "createdAt": "2024-11-15T05:55:34.333Z", "updatedAt": "2024-11-15T05:55:34.333Z"}, {"id": "QsH2EXuw2e7YCv0K", "name": "OpenAI", "createdAt": "2024-11-15T04:05:20.872Z", "updatedAt": "2024-11-15T04:05:20.872Z"}, {"id": "lvPj9rYRsKOHCi4J", "name": "Creatomate", "createdAt": "2024-11-19T15:59:16.134Z", "updatedAt": "2024-11-19T15:59:16.134Z"}, {"id": "9LXACqpQLNtrM6or", "name": "Leonardo", "createdAt": "2024-11-19T15:59:21.368Z", "updatedAt": "2024-11-19T15:59:21.368Z"}], "nodes": [{"id": "c777c41b-842d-4504-a1a0-ccbb034a0fdd", "name": "When clicking \u2018Test workflow\u2019", "type": "n8n-nodes-base.manualTrigger", "position": [-320, 300], "parameters": {}, "typeVersion": 1}, {"id": "74fafd7c-55a4-46ec-b4a8-33d46f2b5b54", "name": "Hacker News", "type": "n8n-nodes-base.hackerNews", "position": [-20, 300], "parameters": {"resource": "all", "additionalFields": {}}, "typeVersion": 1}, {"id": "9cd87fd2-6a38-463a-a22e-e0c34910818f", "name": "Loop Over Items", "type": "n8n-nodes-base.splitInBatches", "position": [440, 300], "parameters": {"options": {}}, "typeVersion": 3}, {"id": "611b24cd-558b-4025-a0a8-ea355ba61988", "name": "OpenAI Chat Model3", "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi", "position": [720, 580], "parameters": {"options": {}}, "typeVersion": 1}, {"id": "f814682c-cf6f-49a8-8ea0-48fbc64a3ebe", "name": "HTTP Request1", "type": "@n8n/n8n-nodes-langchain.toolHttpRequest", "position": [900, 580], "parameters": {"url": "={{ $json.url }}", "toolDescription": "grab the article for the ai agent to use"}, "typeVersion": 1.1}, {"id": "2a4bcf69-23f0-440d-a3b0-c8261e153c62", "name": "Structured Output Parser", "type": "@n8n/n8n-nodes-langchain.outputParserStructured", "position": [1080, 580], "parameters": {"schemaType": "manual", "inputSchema": "{\n\t\"type\": \"object\",\n\t\"properties\": {\n\t\t\"summary\": {\n\t\t\t\"type\": \"string\"\n\t\t},\n\t\t\"related\": {\n\t\t\t\"type\": \"string\"\n\t\t},\n \"image urls\": {\n\t\t\t\"type\": \"string\"\n }\n\t}\n}"}, "typeVersion": 1.2}, {"id": "83c3b8f0-8d67-48a2-a5ce-b777ea1d7b32", "name": "Upload to Minio", "type": "n8n-nodes-base.s3", "position": [4240, 1080], "parameters": {"operation": "upload", "bucketName": "=", "additionalFields": {"grantRead": true, "parentFolderKey": "="}}, "typeVersion": 1}, {"id": "05b972ff-ccab-415b-8787-aafabb3b7292", "name": "News1", "type": "n8n-nodes-base.set", "position": [2180, 320], "parameters": {"options": {}, "assignments": {"assignments": [{"id": "ec8013d5-84b5-43c8-abcb-6986ef15939d", "name": "property_name", "type": "string", "value": "={{ $json.message.content['Article Title'] }}"}, {"id": "4d91c4fc-12a2-4fe2-a58e-02284314e1de", "name": "property_text", "type": "string", "value": "={{ $json.message.content['Article Blurb'] }}"}, {"id": "cad2b795-8b71-415f-a100-700d9ec62bbd", "name": "property_image_url", "type": "string", "value": "={{ $('If Topic').item.json.output['image urls'] }}"}]}}, "typeVersion": 3.4}, {"id": "d175d366-e672-4452-b78e-a06336ef242b", "name": "Leo - Improve Prompt", "type": "n8n-nodes-base.httpRequest", "position": [2720, 100], "parameters": {"url": "https://cloud.leonardo.ai/api/rest/v1/prompt/improve", "method": "POST", "options": {"response": {"response": {"fullResponse": true}}}, "jsonBody": "={\n \"prompt\": \"{{ $('Article Prep').item.json.message.content['Image Prompt 1'] }}\"\n}", "sendBody": true, "sendHeaders": true, "specifyBody": "json", "authentication": "genericCredentialType", "genericAuthType": "httpCustomAuth", "headerParameters": {"parameters": [{"name": "accept", "value": "application/json"}]}}, "typeVersion": 4.2}, {"id": "d8da7879-1a67-4da1-86db-f70e50b4e9da", "name": "Leo - Get imageId", "type": "n8n-nodes-base.httpRequest", "position": [3320, 100], "parameters": {"url": "=https://cloud.leonardo.ai/api/rest/v1/generations/{{ $json.body.sdGenerationJob.generationId }}", "options": {"response": {"response": {"fullResponse": true}}}, "sendHeaders": true, "authentication": "genericCredentialType", "genericAuthType": "httpCustomAuth", "headerParameters": {"parameters": [{"name": "content-type", "value": "application/json"}]}}, "typeVersion": 4.2}, {"id": "faf80246-3b1a-49c6-a277-0152428e46e1", "name": "Runway - Create Video", "type": "n8n-nodes-base.httpRequest", "position": [2520, 300], "parameters": {"url": "https://api.dev.runwayml.com/v1/image_to_video", "method": "POST", "options": {}, "sendBody": true, "sendHeaders": true, "authentication": "genericCredentialType", "bodyParameters": {"parameters": [{"name": "promptImage", "value": "={{ $json.body.generations_by_pk.generated_images[0].url }}"}, {"name": "promptText", "value": "string"}, {"name": "model", "value": "gen3a_turbo"}]}, "genericAuthType": "httpCustomAuth", "headerParameters": {"parameters": [{"name": "X-Runway-Version", "value": "2024-11-06"}]}}, "typeVersion": 4.2}, {"id": "e91c1f01-7870-4063-9557-24a6ba1d3db3", "name": "Runway - Get Video", "type": "n8n-nodes-base.httpRequest", "position": [2920, 300], "parameters": {"url": "=https://api.dev.runwayml.com/v1/tasks/{{ $json.id }}", "options": {}, "sendHeaders": true, "authentication": "genericCredentialType", "genericAuthType": "httpCustomAuth", "headerParameters": {"parameters": [{"name": "X-Runway-Version", "value": "2024-11-06"}]}}, "typeVersion": 4.2}, {"id": "41ee2665-e1aa-4d48-ade6-e37af568f211", "name": "Wait2", "type": "n8n-nodes-base.wait", "position": [2720, 300], "webhookId": "ddca5833-a40b-404a-9140-686cd4fa26cb", "parameters": {"unit": "minutes", "amount": 3}, "typeVersion": 1.1}, {"id": "091e9e07-89ba-4fe3-9fc5-278fc333dbff", "name": "Sticky Note", "type": "n8n-nodes-base.stickyNote", "position": [-160, -40], "parameters": {"color": 5, "width": 341, "height": 951, "content": "# Choose your data source \n## This can be swapped for any other data source of your choosing."}, "typeVersion": 1}, {"id": "9660a593-9966-4ebe-bfd7-f884dc185d56", "name": "If Topic", "type": "n8n-nodes-base.if", "position": [1100, 320], "parameters": {"options": {}, "conditions": {"options": {"version": 2, "leftValue": "", "caseSensitive": true, "typeValidation": "strict"}, "combinator": "and", "conditions": [{"id": "56219de5-244d-4b7f-a511-f3061572cf93", "operator": {"name": "filter.operator.equals", "type": "string", "operation": "equals"}, "leftValue": "={{ $json.output.related }}", "rightValue": "yes"}]}}, "typeVersion": 2.2}, {"id": "e47140ac-20cc-417b-a6cd-30f780dc8289", "name": "Get Image", "type": "n8n-nodes-base.httpRequest", "position": [1500, 320], "parameters": {"url": "={{ $('Article Analysis').first().json.output['image urls'] }}", "options": {"response": {"response": {"fullResponse": true}}}}, "typeVersion": 4.2}, {"id": "26f80f71-2c3a-46fe-a960-21cdbc18ce34", "name": "Prompt Settings1", "type": "n8n-nodes-base.set", "position": [2520, 100], "parameters": {"options": {}, "assignments": {"assignments": [{"id": "56c8f20d-d9d9-4be7-ac2a-38df6ffdd722", "name": "model", "type": "string", "value": "6b645e3a-d64f-4341-a6d8-7a3690fbf042"}]}, "includeOtherFields": true}, "typeVersion": 3.4}, {"id": "ce697f6f-f8fc-4ba7-b776-17bbc2e870b7", "name": "Leo - Generate Image", "type": "n8n-nodes-base.httpRequest", "position": [2920, 100], "parameters": {"url": "https://cloud.leonardo.ai/api/rest/v1/generations", "method": "POST", "options": {"response": {"response": {"fullResponse": true}}}, "jsonBody": "={\n \"alchemy\": true,\n \"width\": 1024,\n \"height\": 768,\n \"modelId\": \"6b645e3a-d64f-4341-a6d8-7a3690fbf042\",\n \"num_images\": 1,\n \"presetStyle\": \"MONOCHROME\",\n \"prompt\": \"{{ $json.body.promptGeneration.prompt }}; Use the rule of thirds, leading lines, & balance. DO NOT INCLUDE ANY WORDS OR LABELS.\",\n \"guidance_scale\": 7,\n \"highResolution\": true,\n \"promptMagic\": false,\n \"promptMagicStrength\": 0.5,\n \"promptMagicVersion\": \"v3\",\n \"public\": false,\n \"ultra\": false,\n \"photoReal\": false,\n \"negative_prompt\": \"\"\n} ", "sendBody": true, "sendHeaders": true, "specifyBody": "json", "authentication": "genericCredentialType", "genericAuthType": "httpCustomAuth", "headerParameters": {"parameters": [{"name": "accept", "value": "application/json"}]}}, "typeVersion": 4.2}, {"id": "e2067fe5-3fae-4f97-97c0-879967efd9b8", "name": "Wait1", "type": "n8n-nodes-base.wait", "position": [3120, 100], "webhookId": "256c3814-6a52-4eb1-969a-30f9f3b8e04e", "parameters": {"amount": 30}, "typeVersion": 1.1}, {"id": "f0ba57a5-1d27-4c75-a422-4bc0e2cead9d", "name": "Limit", "type": "n8n-nodes-base.limit", "position": [240, 300], "parameters": {"keep": "lastItems", "maxItems": 50}, "typeVersion": 1}, {"id": "e01152aa-961b-4e33-a1e3-186d47d81c55", "name": "Image Analysis", "type": "@n8n/n8n-nodes-langchain.openAi", "position": [1300, 320], "parameters": {"modelId": {"__rl": true, "mode": "list", "value": "gpt-4o-mini", "cachedResultName": "GPT-4O-MINI"}, "options": {"detail": "auto"}, "resource": "image", "imageUrls": "={{ $json.output['image urls'] }}", "operation": "analyze"}, "credentials": {"openAiApi": {"id": "ysxujEYFiY5ozRTS", "name": "AlexK OpenAi Key"}}, "typeVersion": 1.6}, {"id": "ab346129-c3d5-4f51-af5e-5d63cd154981", "name": "Wait3", "type": "n8n-nodes-base.wait", "disabled": true, "position": [3080, 1020], "webhookId": "6e4a0b8d-6c31-4a98-8ec3-2509aa2087e8", "parameters": {"unit": "minutes"}, "typeVersion": 1.1}, {"id": "872c35a3-bdd5-4eec-9bac-0959f3ff78e7", "name": "Article Analysis", "type": "@n8n/n8n-nodes-langchain.agent", "onError": "continueErrorOutput", "position": [740, 300], "parameters": {"text": "=Can you tell me if the article at {{ $json.url }} is related to automation or ai? \n\nthen, create a 250 word summary of the article\n\nAlso, list any image url's related to the article content from the url. Limit to 1 image url.", "options": {"systemMessage": "You are a helpful assistant in summarizing and identifying articles related to automation and ai. \nOutput the results as:\nsummary: \nrelated: yes or no\nimage urls: "}, "promptType": "define", "hasOutputParser": true}, "typeVersion": 1.7}, {"id": "31c3a90e-10ee-4217-9b08-ff57bf17ea10", "name": "Dropbox", "type": "n8n-nodes-base.dropbox", "position": [3640, 1080], "parameters": {}, "typeVersion": 1}, {"id": "22ccd0a0-f7f6-40ca-bd09-40ed4a7fcde1", "name": "Google Drive", "type": "n8n-nodes-base.googleDrive", "position": [3840, 1080], "parameters": {"fileId": {"__rl": true, "mode": "list", "value": ""}, "options": {}, "operation": "update"}, "credentials": {"googleDriveOAuth2Api": {"id": "m8K1mbAUn7yuiEwl", "name": "AlexK1919 Google Drive account"}}, "typeVersion": 3}, {"id": "ea75931d-c1ee-4139-9bdc-7901056ba016", "name": "Microsoft OneDrive", "type": "n8n-nodes-base.microsoftOneDrive", "position": [4040, 1080], "parameters": {}, "typeVersion": 1}, {"id": "38888521-3087-4e0a-81d6-cf4b9a5dd3dd", "name": "YouTube", "type": "n8n-nodes-base.youTube", "position": [3640, 1500], "parameters": {"options": {}, "resource": "video", "operation": "upload"}, "typeVersion": 1}, {"id": "55f3decc-f952-4d2a-804d-2aec44fb2755", "name": "X", "type": "n8n-nodes-base.twitter", "position": [3840, 1500], "parameters": {"additionalFields": {}}, "typeVersion": 2}, {"id": "54c8b762-444d-4790-97a9-a2f84518492f", "name": "Instagram", "type": "n8n-nodes-base.httpRequest", "position": [4240, 1500], "parameters": {"options": {}}, "typeVersion": 4.2}, {"id": "90040f15-95c0-4ebb-818f-dde508eb0689", "name": "LinkedIn", "type": "n8n-nodes-base.linkedIn", "position": [4040, 1500], "parameters": {"additionalFields": {}}, "typeVersion": 1}, {"id": "691eb779-5fae-4f65-89eb-b1b8e5488809", "name": "Leo - Improve Prompt2", "type": "n8n-nodes-base.httpRequest", "position": [2720, 500], "parameters": {"url": "https://cloud.leonardo.ai/api/rest/v1/prompt/improve", "method": "POST", "options": {"response": {"response": {"fullResponse": true}}}, "jsonBody": "={\n \"prompt\": \"{{ $('Article Prep').item.json.message.content['Image Prompt 2'] }}\"\n}", "sendBody": true, "sendHeaders": true, "specifyBody": "json", "authentication": "genericCredentialType", "genericAuthType": "httpCustomAuth", "headerParameters": {"parameters": [{"name": "accept", "value": "application/json"}]}}, "credentials": {"httpCustomAuth": {"id": "hIzUsjbtHLmIe6uM", "name": "RunwayML Custom Auth"}}, "typeVersion": 4.2}, {"id": "076a745a-055b-459c-8af9-fa7b6740dc6f", "name": "Wait4", "type": "n8n-nodes-base.wait", "position": [2720, 700], "webhookId": "89b31515-b403-4644-a2c1-970e5e774008", "parameters": {"unit": "minutes", "amount": 3}, "typeVersion": 1.1}, {"id": "adc2c993-3f89-40df-96fc-eb3ff5eafb1c", "name": "Wait6", "type": "n8n-nodes-base.wait", "position": [3120, 500], "webhookId": "2efb873f-bcbd-41d9-99da-b2b57ef5ad93", "parameters": {"amount": 30}, "typeVersion": 1.1}, {"id": "156f5735-bc20-46a9-871c-143b0772ca45", "name": "Leo - Generate Image2", "type": "n8n-nodes-base.httpRequest", "position": [2920, 500], "parameters": {"url": "https://cloud.leonardo.ai/api/rest/v1/generations", "method": "POST", "options": {"response": {"response": {"fullResponse": true}}}, "jsonBody": "={\n \"alchemy\": true,\n \"width\": 1024,\n \"height\": 768,\n \"modelId\": \"6b645e3a-d64f-4341-a6d8-7a3690fbf042\",\n \"num_images\": 1,\n \"presetStyle\": \"MONOCHROME\",\n \"prompt\": \"{{ $json.body.promptGeneration.prompt }}; Use the rule of thirds, leading lines, & balance. DO NOT INCLUDE ANY WORDS OR LABELS.\",\n \"guidance_scale\": 7,\n \"highResolution\": true,\n \"promptMagic\": false,\n \"promptMagicStrength\": 0.5,\n \"promptMagicVersion\": \"v3\",\n \"public\": false,\n \"ultra\": false,\n \"photoReal\": false,\n \"negative_prompt\": \"\"\n} ", "sendBody": true, "sendHeaders": true, "specifyBody": "json", "authentication": "genericCredentialType", "genericAuthType": "httpCustomAuth", "headerParameters": {"parameters": [{"name": "accept", "value": "application/json"}]}}, "typeVersion": 4.2}, {"id": "4f270fa8-4da2-44f0-927f-3509fd9f8f7d", "name": "Leo - Get imageId2", "type": "n8n-nodes-base.httpRequest", "position": [3320, 500], "parameters": {"url": "=https://cloud.leonardo.ai/api/rest/v1/generations/{{ $json.body.sdGenerationJob.generationId }}", "options": {"response": {"response": {"fullResponse": true}}}, "sendHeaders": true, "authentication": "genericCredentialType", "genericAuthType": "httpCustomAuth", "headerParameters": {"parameters": [{"name": "content-type", "value": "application/json"}]}}, "typeVersion": 4.2}, {"id": "49c0e7ba-bf9c-4819-b479-61aa099ab9ab", "name": "Runway - Create Video2", "type": "n8n-nodes-base.httpRequest", "position": [2520, 700], "parameters": {"url": "https://api.dev.runwayml.com/v1/image_to_video", "method": "POST", "options": {}, "sendBody": true, "sendHeaders": true, "authentication": "genericCredentialType", "bodyParameters": {"parameters": [{"name": "promptImage", "value": "={{ $json.body.generations_by_pk.generated_images[0].url }}"}, {"name": "promptText", "value": "string"}, {"name": "model", "value": "gen3a_turbo"}]}, "genericAuthType": "httpCustomAuth", "headerParameters": {"parameters": [{"name": "X-Runway-Version", "value": "2024-11-06"}]}}, "credentials": {"httpCustomAuth": {"id": "hIzUsjbtHLmIe6uM", "name": "RunwayML Custom Auth"}}, "typeVersion": 4.2}, {"id": "d03eb190-5fc0-4b7e-ad65-88ece3ab833d", "name": "Runway - Get Video2", "type": "n8n-nodes-base.httpRequest", "position": [2920, 700], "parameters": {"url": "=https://api.dev.runwayml.com/v1/tasks/{{ $json.id }}", "options": {}, "sendHeaders": true, "authentication": "genericCredentialType", "genericAuthType": "httpCustomAuth", "headerParameters": {"parameters": [{"name": "X-Runway-Version", "value": "2024-11-06"}]}}, "typeVersion": 4.2}, {"id": "0072563d-b87d-47c5-80fd-ed3c051b3287", "name": "Sticky Note1", "type": "n8n-nodes-base.stickyNote", "position": [3580, 940], "parameters": {"color": 6, "width": 882, "height": 372, "content": "# Upload Assets\nYou can extend this workflow further by uploading the generated assets to your storage option of choice."}, "typeVersion": 1}, {"id": "a0b2377e-57ea-47e9-83c9-3e58372610e5", "name": "Sticky Note2", "type": "n8n-nodes-base.stickyNote", "position": [3580, 1360], "parameters": {"color": 6, "width": 882, "height": 372, "content": "# Post to Social Media\nYou can extend this workflow further by posting the generated assets to social media."}, "typeVersion": 1}, {"id": "708fe6a0-4899-462b-9a08-fadea7c7e195", "name": "Sticky Note3", "type": "n8n-nodes-base.stickyNote", "position": [2420, -40], "parameters": {"color": 4, "width": 1114, "height": 943, "content": "# Generate Images and Videos"}, "typeVersion": 1}, {"id": "5bbb6552-ec3a-42ea-a911-993f67a6c8dc", "name": "Sticky Note4", "type": "n8n-nodes-base.stickyNote", "position": [2420, 940], "parameters": {"color": 5, "width": 1114, "height": 372, "content": "# Stitch it all together"}, "typeVersion": 1}, {"id": "25f4cc09-fbff-4c10-b706-30df5840b794", "name": "Cre - Generate Video1", "type": "n8n-nodes-base.httpRequest", "position": [2880, 1020], "parameters": {"url": "https://api.creatomate.com/v1/renders", "method": "POST", "options": {"response": {"response": {"fullResponse": true}}}, "jsonBody": "={\n \"max_width\": 480,\n \"template_id\": \"enterTemplateID\",\n \"modifications\": {\n \"Scenes.elements\": [\n {\n \"name\": \"Intro Comp\",\n \"type\": \"composition\",\n \"track\": 1,\n \"elements\": [\n {\n \"name\": \"Image-1\",\n \"type\": \"image\",\n \"source\": \"{{ $('Leo - Get imageId').item.json.body.generations_by_pk.generated_images[0].url }}\"\n },\n {\n \"name\": \"Subtitles-1\",\n \"type\": \"text\",\n \"transcript_source\": \"Voiceover-1\",\n \"width\": \"86.66%\",\n \"height\": \"37.71%\",\n \"x_alignment\": \"50%\",\n \"y_alignment\": \"50%\",\n \"fill_color\": \"#ffffff\",\n \"stroke_color\": \"#333333\",\n \"stroke_width\": \"1.05 vmin\",\n \"font_family\": \"Inter\",\n \"font_weight\": \"700\",\n \"font_size\": \"8 vmin\",\n \"background_color\": \"rgba(255,255,255,0.2)\",\n \"background_x_padding\": \"26%\",\n \"background_y_padding\": \"7%\",\n \"background_border_radius\": \"28%\",\n \"transcript_effect\": \"highlight\",\n \"transcript_color\": \"#ff5900\"\n },\n {\n \"name\": \"Voiceover-1\",\n \"type\": \"audio\",\n \"source\": \"{{ $('News1').item.json.property_name }}\",\n \"provider\": \"openai model=tts-1 voice=onyx\"\n }\n ]\n },\n {\n \"name\": \"Auto Scene Comp\",\n \"type\": \"composition\",\n \"track\": 1,\n \"elements\": [\n {\n \"name\": \"Video-2\",\n \"type\": \"video\",\n \"source\": \"{{ $('Runway - Get Video').first().json.output[0] }}\",\n \"loop\": true\n },\n {\n \"name\": \"Subtitles-2\",\n \"type\": \"text\",\n \"transcript_source\": \"Voiceover-2\",\n \"y\": \"78.2173%\",\n \"width\": \"86.66%\",\n \"height\": \"37.71%\",\n \"x_alignment\": \"50%\",\n \"y_alignment\": \"50%\",\n \"fill_color\": \"#ffffff\",\n \"stroke_color\": \"#333333\",\n \"stroke_width\": \"1.05 vmin\",\n \"font_family\": \"Inter\",\n \"font_weight\": \"700\",\n \"font_size\": \"8 vmin\",\n \"background_color\": \"rgba(255,255,255,0.2)\",\n \"background_x_padding\": \"26%\",\n \"background_y_padding\": \"7%\",\n \"background_border_radius\": \"28%\",\n \"transcript_effect\": \"highlight\",\n \"transcript_color\": \"#ff5900\"\n },\n {\n \"name\": \"Voiceover-2\",\n \"type\": \"audio\",\n \"source\": \"{{ $('Article Prep').item.json.message.content['Summary Blurb 1'] }}\",\n \"provider\": \"openai model=tts-1 voice=onyx\"\n }\n ]\n },\n {\n \"name\": \"Auto Scene Comp\",\n \"type\": \"composition\",\n \"track\": 1,\n \"elements\": [\n {\n \"name\": \"Video-3\",\n \"type\": \"video\",\n \"source\": \"{{ $('Runway - Get Video2').first().json.output[0] }}\",\n \"loop\": true\n },\n {\n \"name\": \"Subtitles-3\",\n \"type\": \"text\",\n \"transcript_source\": \"Voiceover-3\",\n \"y\": \"78.2173%\",\n \"width\": \"86.66%\",\n \"height\": \"37.71%\",\n \"x_alignment\": \"50%\",\n \"y_alignment\": \"50%\",\n \"fill_color\": \"#ffffff\",\n \"stroke_color\": \"#333333\",\n \"stroke_width\": \"1.05 vmin\",\n \"font_family\": \"Inter\",\n \"font_weight\": \"700\",\n \"font_size\": \"8 vmin\",\n \"background_color\": \"rgba(255,89,0,0.5)\",\n \"background_x_padding\": \"26%\",\n \"background_y_padding\": \"7%\",\n \"background_border_radius\": \"28%\",\n \"transcript_effect\": \"highlight\",\n \"transcript_color\": \"#ff0040\"\n },\n {\n \"name\": \"Voiceover-3\",\n \"type\": \"audio\",\n \"source\": \"{{ $('Article Prep').item.json.message.content['Summary Blurb 2'] }}\",\n \"provider\": \"openai model=tts-1 voice=onyx\"\n }\n ]\n }\n ]\n }\n}", "sendBody": true, "specifyBody": "json", "authentication": "genericCredentialType", "genericAuthType": "httpCustomAuth"}, "credentials": {"httpCustomAuth": {"id": "hIzUsjbtHLmIe6uM", "name": "RunwayML Custom Auth"}}, "typeVersion": 4.2}, {"id": "7093de7b-a4e3-4363-8038-1002f7b20fbc", "name": "Cre - Get Video", "type": "n8n-nodes-base.httpRequest", "position": [3280, 1020], "parameters": {"url": "=https://api.creatomate.com/v1/renders/{{ $json.body.body[0].id }}", "options": {"response": {"response": {"fullResponse": true}}}, "authentication": "genericCredentialType", "genericAuthType": "httpCustomAuth"}, "credentials": {"httpCustomAuth": {"id": "hIzUsjbtHLmIe6uM", "name": "RunwayML Custom Auth"}}, "typeVersion": 4.2}, {"id": "a57b719f-b299-431e-9c85-fa333e38b6a7", "name": "Sticky Note6", "type": "n8n-nodes-base.stickyNote", "position": [660, -40], "parameters": {"color": 3, "width": 1033, "height": 951, "content": "# Article Analysis - Is it the right topic?"}, "typeVersion": 1}, {"id": "60b879a0-8b7f-40f1-ae70-ac94e4675b38", "name": "Sticky Note7", "type": "n8n-nodes-base.stickyNote", "position": [1740, -40], "parameters": {"color": 3, "width": 630, "height": 947, "content": "# Prepare the article for content generation"}, "typeVersion": 1}, {"id": "afaf8437-ee52-434b-a267-8dbaff0e1922", "name": "Article Prep", "type": "@n8n/n8n-nodes-langchain.openAi", "position": [1820, 320], "parameters": {"modelId": {"__rl": true, "mode": "list", "value": "gpt-4o-mini", "cachedResultName": "GPT-4O-MINI"}, "options": {}, "messages": {"values": [{"content": "=prepare the following summary for a newsletter where the article will be 1 of several presented in the newsletter:\n\n{{ $('Article Analysis').first().json.output.summary }}\n\nMake sure the Article Blurb lenght is less than 15 words.\n\nThen, create 2 Summary Blurbs, making sure each is less than 15 words.\n\nAlso create 2 image prompts that is less than 15 words long for each Summary Blurb"}, {"role": "system", "content": "Output in markdown format\nArticle Title\nArticle Blurb\nSummary Blurb 1\nSummary Blurb 2\nArticle Image\nImage Prompt 1\nImage Prompt 2"}]}, "jsonOutput": true}, "credentials": {"openAiApi": {"id": "ysxujEYFiY5ozRTS", "name": "AlexK OpenAi Key"}}, "typeVersion": 1.6}, {"id": "e7c95d56-86e1-4456-a6d3-9c8b9fc3a53c", "name": "Sticky Note5", "type": "n8n-nodes-base.stickyNote", "position": [-620, -40], "parameters": {"color": 6, "width": 252, "height": 946, "content": "# AlexK1919 \n\n\n#### I\u2019m Alex Kim, an AI-Native Workflow Automation Architect Building Solutions to Optimize your Personal and Professional Life.\n\n### Workflow Overview Video\nhttps://youtu.be/XaKybLDUlLk\n\n### About Me\nhttps://beacons.ai/alexk1919\n\n### Product Used \n[Leonardo.ai](https://leonardo.ai)\n[RunwayML](https://runwayml.com/)\n[Creatomate](https://creatomate.com/)\n"}, "typeVersion": 1}, {"id": "32e2803e-bf7c-4da4-a4ae-c9b6fa5ae226", "name": "Sticky Note8", "type": "n8n-nodes-base.stickyNote", "position": [3280, 1180], "parameters": {"color": 7, "width": 180, "height": 100, "content": "Don't forget to connect this last node to the loop to process additional items"}, "typeVersion": 1}], "active": false, "pinData": {}, "settings": {"executionOrder": "v1"}, "versionId": "c7ab1ecd-50cb-4e4b-b2f7-aade804bbd63", "connections": {"X": {"main": [[{"node": "LinkedIn", "type": "main", "index": 0}]]}, "Limit": {"main": [[{"node": "Loop Over Items", "type": "main", "index": 0}]]}, "News1": {"main": [[{"node": "Prompt Settings1", "type": "main", "index": 0}]]}, "Wait1": {"main": [[{"node": "Leo - Get imageId", "type": "main", "index": 0}]]}, "Wait2": {"main": [[{"node": "Runway - Get Video", "type": "main", "index": 0}]]}, "Wait3": {"main": [[{"node": "Cre - Get Video", "type": "main", "index": 0}]]}, "Wait4": {"main": [[{"node": "Runway - Get Video2", "type": "main", "index": 0}]]}, "Wait6": {"main": [[{"node": "Leo - Get imageId2", "type": "main", "index": 0}]]}, "Dropbox": {"main": [[{"node": "Google Drive", "type": "main", "index": 0}]]}, "YouTube": {"main": [[{"node": "X", "type": "main", "index": 0}]]}, "If Topic": {"main": [[{"node": "Image Analysis", "type": "main", "index": 0}], [{"node": "Loop Over Items", "type": "main", "index": 0}]]}, "LinkedIn": {"main": [[{"node": "Instagram", "type": "main", "index": 0}]]}, "Get Image": {"main": [[{"node": "Article Prep", "type": "main", "index": 0}]]}, "Hacker News": {"main": [[{"node": "Limit", "type": "main", "index": 0}]]}, "Article Prep": {"main": [[{"node": "News1", "type": "main", "index": 0}]]}, "Google Drive": {"main": [[{"node": "Microsoft OneDrive", "type": "main", "index": 0}]]}, "HTTP Request1": {"ai_tool": [[{"node": "Article Analysis", "type": "ai_tool", "index": 0}]]}, "Image Analysis": {"main": [[{"node": "Get Image", "type": "main", "index": 0}]]}, "Loop Over Items": {"main": [[], [{"node": "Article Analysis", "type": "main", "index": 0}]]}, "Article Analysis": {"main": [[{"node": "If Topic", "type": "main", "index": 0}], [{"node": "Loop Over Items", "type": "main", "index": 0}]]}, "Prompt Settings1": {"main": [[{"node": "Leo - Improve Prompt", "type": "main", "index": 0}]]}, "Leo - Get imageId": {"main": [[{"node": "Runway - Create Video", "type": "main", "index": 0}]]}, "Leo - Get imageId2": {"main": [[{"node": "Runway - Create Video2", "type": "main", "index": 0}]]}, "Microsoft OneDrive": {"main": [[{"node": "Upload to Minio", "type": "main", "index": 0}]]}, "OpenAI Chat Model3": {"ai_languageModel": [[{"node": "Article Analysis", "type": "ai_languageModel", "index": 0}]]}, "Runway - Get Video": {"main": [[{"node": "Leo - Improve Prompt2", "type": "main", "index": 0}]]}, "Runway - Get Video2": {"main": [[{"node": "Cre - Generate Video1", "type": "main", "index": 0}]]}, "Leo - Generate Image": {"main": [[{"node": "Wait1", "type": "main", "index": 0}]]}, "Leo - Improve Prompt": {"main": [[{"node": "Leo - Generate Image", "type": "main", "index": 0}]]}, "Cre - Generate Video1": {"main": [[{"node": "Wait3", "type": "main", "index": 0}]]}, "Leo - Generate Image2": {"main": [[{"node": "Wait6", "type": "main", "index": 0}]]}, "Leo - Improve Prompt2": {"main": [[{"node": "Leo - Generate Image2", "type": "main", "index": 0}]]}, "Runway - Create Video": {"main": [[{"node": "Wait2", "type": "main", "index": 0}]]}, "Runway - Create Video2": {"main": [[{"node": "Wait4", "type": "main", "index": 0}]]}, "Structured Output Parser": {"ai_outputParser": [[{"node": "Article Analysis", "type": "ai_outputParser", "index": 0}]]}, "When clicking \u2018Test workflow\u2019": {"main": [[{"node": "Hacker News", "type": "main", "index": 0}]]}}}
|
7604ck94MeYXMHpN
|
Read RSS feed from two different sources
|
4
|
["code", "manualTrigger", "rssFeedRead", "splitInBatches"]
|
ai-automation-lab
|
{"id": "7604ck94MeYXMHpN", "meta": {"instanceId": "bd0e051174def82b88b5cd547222662900558d74b239c4048ea0f6b7ed61c642"}, "name": "Read RSS feed from two different sources", "tags": [], "nodes": [{"id": "fa8717e5-092a-4359-89cc-57cc8fa2bf25", "name": "RSS Feed Read", "type": "n8n-nodes-base.rssFeedRead", "position": [1080, 180], "parameters": {"url": "={{ $json.url }}", "options": {}}, "typeVersion": 1}, {"id": "62ce6cf3-fb83-4013-b288-40d179f35f99", "name": "When clicking \"Execute Workflow\"", "type": "n8n-nodes-base.manualTrigger", "position": [520, 100], "parameters": {}, "typeVersion": 1}, {"id": "81496a04-b986-4e13-b884-23562f953a37", "name": "Code", "type": "n8n-nodes-base.code", "position": [700, 100], "parameters": {"jsCode": "return [\n {\n json: {\n url: 'https://medium.com/feed/n8n-io',\n }\n },\n {\n json: {\n url: 'https://dev.to/feed/n8n',\n }\n }\n];"}, "typeVersion": 1}, {"id": "6e3a444f-fec3-4a7f-a063-d5b152c5f43a", "name": "Loop Over Items", "type": "n8n-nodes-base.splitInBatches", "position": [880, 100], "parameters": {"options": {}}, "typeVersion": 3}], "active": false, "pinData": {}, "settings": {"executionOrder": "v1"}, "versionId": "8ad423d4-cf25-4b30-85c0-c50a26238e81", "connections": {"Code": {"main": [[{"node": "Loop Over Items", "type": "main", "index": 0}]]}, "RSS Feed Read": {"main": [[{"node": "Loop Over Items", "type": "main", "index": 0}]]}, "Loop Over Items": {"main": [[], [{"node": "RSS Feed Read", "type": "main", "index": 0}]]}, "When clicking \"Execute Workflow\"": {"main": [[{"node": "Code", "type": "main", "index": 0}]]}}}
|
1123_Automate
|
1123_Automate
|
2
|
["function"]
|
ai-automation-lab
|
{"nodes": [{"name": "Mock Data", "type": "n8n-nodes-base.function", "position": [550, 300], "parameters": {"functionCode": "return [{json:[\"item-1\", \"item-2\", \"item-3\", \"item-4\"]}];"}, "typeVersion": 1}, {"name": "Function", "type": "n8n-nodes-base.function", "position": [750, 300], "parameters": {"functionCode": "return items[0].json.map(item => {\n return {\n json: {\n data:item\n },\n }\n});\n"}, "typeVersion": 1}], "connections": {"Mock Data": {"main": [[{"node": "Function", "type": "main", "index": 0}]]}}}
|
1124_Create
|
1124_Create
|
2
|
["function"]
|
ai-automation-lab
|
{"nodes": [{"name": "Mock Data", "type": "n8n-nodes-base.function", "position": [670, 371], "parameters": {"functionCode": "return [\n {\n json:[\n {\n id: 1,\n name: \"Jim\"\n }, \n {\n id: 2,\n name: \"Stefan\"\n },\n {\n id: 3,\n name: \"Hans\"\n }\n ]\n }\n];"}, "typeVersion": 1}, {"name": "Create JSON-items", "type": "n8n-nodes-base.function", "position": [910, 371], "parameters": {"functionCode": "return items[0].json.map(item => { \n return {\n json: item,\n }\n})\n"}, "typeVersion": 1}], "connections": {"Mock Data": {"main": [[{"node": "Create JSON-items", "type": "main", "index": 0}]]}}}
|
1125_Create
|
1125_Create
|
2
|
["function"]
|
ai-automation-lab
|
{"nodes": [{"name": "Mock Data", "type": "n8n-nodes-base.function", "position": [802, 307], "parameters": {"functionCode": "return [\n {\n json: {\n id: 1,\n name: \"Jim\"\n }\n },\n {\n json: {\n id: 2,\n name: \"Stefan\"\n }\n },\n {\n json: {\n id: 3,\n name: \"Hans\"\n }\n }\n];"}, "typeVersion": 1}, {"name": "Create an array of objects", "type": "n8n-nodes-base.function", "position": [1052, 307], "parameters": {"functionCode": "return [\n {\n json: {\n data_object: items.map(item => item.json),\n },\n }\n];\n"}, "typeVersion": 1}], "connections": {"Mock Data": {"main": [[{"node": "Create an array of objects", "type": "main", "index": 0}]]}}}
|
76
|
Create a project, tag, and time entry, and update the time entry in Clockify
|
5
|
["clockify", "manualTrigger"]
|
ai-automation-lab
|
{"id": "76", "name": "Create a project, tag, and time entry, and update the time entry in Clockify", "nodes": [{"name": "On clicking 'execute'", "type": "n8n-nodes-base.manualTrigger", "position": [250, 300], "parameters": {}, "typeVersion": 1}, {"name": "Clockify", "type": "n8n-nodes-base.clockify", "position": [450, 300], "parameters": {"name": "n8n-docs", "workspaceId": "5f7af249d33ce12a712306dd", "additionalFields": {"note": "For n8n-docs", "color": "#0000FF", "isPublic": false}}, "credentials": {"clockifyApi": "clockify-burner"}, "typeVersion": 1}, {"name": "Clockify1", "type": "n8n-nodes-base.clockify", "position": [650, 300], "parameters": {"name": "docs", "resource": "tag", "workspaceId": "5f7af249d33ce12a712306dd"}, "credentials": {"clockifyApi": "clockify-burner"}, "typeVersion": 1}, {"name": "Clockify2", "type": "n8n-nodes-base.clockify", "position": [850, 300], "parameters": {"start": "2020-10-05T08:30:00.000Z", "resource": "timeEntry", "workspaceId": "5f7af249d33ce12a712306dd", "additionalFields": {"end": "2020-10-05T09:30:00.000Z", "tagIds": ["5f7afbfc73610f56b88ee9ef"], "description": "Added Clockify Docs"}}, "credentials": {"clockifyApi": "clockify-burner"}, "typeVersion": 1}, {"name": "Clockify3", "type": "n8n-nodes-base.clockify", "position": [1050, 300], "parameters": {"resource": "timeEntry", "operation": "update", "timeEntryId": "={{$node[\"Clockify2\"].json[\"id\"]}}", "workspaceId": "5f7af249d33ce12a712306dd", "updateFields": {"projectId": "={{$node[\"Clockify\"].json[\"id\"]}}"}}, "credentials": {"clockifyApi": "clockify-burner"}, "typeVersion": 1}], "active": false, "settings": {}, "connections": {"Clockify": {"main": [[{"node": "Clockify1", "type": "main", "index": 0}]]}, "Clockify1": {"main": [[{"node": "Clockify2", "type": "main", "index": 0}]]}, "Clockify2": {"main": [[{"node": "Clockify3", "type": "main", "index": 0}]]}, "On clicking 'execute'": {"main": [[{"node": "Clockify", "type": "main", "index": 0}]]}}}
|
1127_Telegram_Wait_Automate_Triggered
|
1127_Telegram_Wait_Automate_Triggered
|
5
|
["googleSheets", "manualTrigger", "splitInBatches", "telegram", "wait"]
|
ai-automation-lab
|
{"nodes": [{"name": "On clicking 'execute'", "type": "n8n-nodes-base.manualTrigger", "position": [-60, 400], "parameters": {}, "typeVersion": 1}, {"name": "Telegram", "type": "n8n-nodes-base.telegram", "position": [500, 400], "parameters": {"text": "Hello", "chatId": "={{$node[\"SplitInBatches\"].json[\"Chat ID\"]}}", "additionalFields": {}}, "credentials": {"telegramApi": {"id": null, "name": "telegram-bot"}}, "typeVersion": 1}, {"name": "Google Sheets", "type": "n8n-nodes-base.googleSheets", "position": [120, 400], "parameters": {"range": "A:A", "options": {}, "authentication": "oAuth2"}, "credentials": {"googleSheetsOAuth2Api": {"id": null, "name": "google-sheet"}}, "typeVersion": 1}, {"name": "SplitInBatches", "type": "n8n-nodes-base.splitInBatches", "position": [320, 400], "parameters": {"options": {}, "batchSize": 30}, "typeVersion": 1}, {"name": "Wait1", "type": "n8n-nodes-base.wait", "position": [660, 180], "webhookId": "22fca54c-eac4-44bc-adf7-68b33818695c", "parameters": {"unit": "seconds", "amount": 30}, "typeVersion": 1}], "connections": {"Wait1": {"main": [[{"node": "SplitInBatches", "type": "main", "index": 0}]]}, "Telegram": {"main": [[{"node": "Wait1", "type": "main", "index": 0}]]}, "Google Sheets": {"main": [[{"node": "SplitInBatches", "type": "main", "index": 0}]]}, "SplitInBatches": {"main": [[{"node": "Telegram", "type": "main", "index": 0}]]}, "On clicking 'execute'": {"main": [[{"node": "Google Sheets", "type": "main", "index": 0}]]}}}
|
77
|
Extract information from an image of a receipt
|
3
|
["httpRequest", "manualTrigger", "mindee"]
|
ai-automation-lab
|
{"id": "77", "name": "Extract information from an image of a receipt", "nodes": [{"name": "On clicking 'execute'", "type": "n8n-nodes-base.manualTrigger", "position": [250, 340], "parameters": {}, "typeVersion": 1}, {"name": "Mindee", "type": "n8n-nodes-base.mindee", "position": [650, 340], "parameters": {}, "credentials": {"mindeeReceiptApi": "mindee"}, "typeVersion": 1}, {"name": "HTTP Request", "type": "n8n-nodes-base.httpRequest", "position": [450, 340], "parameters": {"url": "https://miro.medium.com/max/1400/0*1T9GkAb93w5NSMsf", "options": {}, "responseFormat": "file"}, "typeVersion": 1}], "active": false, "settings": {}, "connections": {"HTTP Request": {"main": [[{"node": "Mindee", "type": "main", "index": 0}]]}, "On clicking 'execute'": {"main": [[{"node": "HTTP Request", "type": "main", "index": 0}]]}}}
|
78
|
Receive updates when a form is submitted in Wufoo
|
1
|
["wufooTrigger"]
|
ai-automation-lab
|
{"id": "78", "name": "Receive updates when a form is submitted in Wufoo", "nodes": [{"name": "Wufoo Trigger", "type": "n8n-nodes-base.wufooTrigger", "position": [1290, 140], "webhookId": "106376c5-b49c-412f-8463-4db23a23c057", "parameters": {"form": "n8n"}, "credentials": {"wufooApi": "wufoo"}, "typeVersion": 1}], "active": false, "settings": {}, "connections": {}}
|
79
|
Get the price of BTC in EUR and send an SMS when the price is larger than EUR 9000
|
5
|
["coinGecko", "cron", "if", "noOp", "twilio"]
|
ai-automation-lab
|
{"id": "79", "name": "Get the price of BTC in EUR and send an SMS when the price is larger than EUR 9000", "nodes": [{"name": "Cron", "type": "n8n-nodes-base.cron", "position": [590, 500], "parameters": {"triggerTimes": {"item": [{"mode": "everyMinute"}]}}, "typeVersion": 1}, {"name": "CoinGecko", "type": "n8n-nodes-base.coinGecko", "position": [790, 500], "parameters": {"coinIds": ["bitcoin"], "options": {}, "operation": "price", "currencies": ["eur"]}, "typeVersion": 1}, {"name": "IF", "type": "n8n-nodes-base.if", "position": [990, 500], "parameters": {"conditions": {"number": [{"value1": "={{$node[\"CoinGecko\"].json[\"bitcoin\"][\"eur\"]}}", "value2": 9000, "operation": "largerEqual"}]}}, "typeVersion": 1}, {"name": "Twilio", "type": "n8n-nodes-base.twilio", "position": [1190, 400], "parameters": {"to": "1234", "from": "1234", "message": "=The price went up! The new price is {{$node[\"CoinGecko\"].json[\"bitcoin\"][\"eur\"]}}"}, "credentials": {"twilioApi": "twilio-credentials"}, "typeVersion": 1}, {"name": "NoOp", "type": "n8n-nodes-base.noOp", "position": [1190, 600], "parameters": {}, "typeVersion": 1}], "active": false, "settings": {}, "connections": {"IF": {"main": [[{"node": "Twilio", "type": "main", "index": 0}], [{"node": "NoOp", "type": "main", "index": 0}]]}, "Cron": {"main": [[{"node": "CoinGecko", "type": "main", "index": 0}]]}, "CoinGecko": {"main": [[{"node": "IF", "type": "main", "index": 0}]]}}}
|
7DPLpEkww5Uctcml
|
get_a_web_page
|
4
|
["executeWorkflowTrigger", "httpRequest", "set", "stickyNote"]
|
ai-automation-lab
|
{"id": "7DPLpEkww5Uctcml", "meta": {"instanceId": "75d76ac1fb686d403c2294ca007b62282f34c3e15dc3528cc1dbe36a827c0c6e"}, "name": "get_a_web_page", "tags": [{"id": "7v5QbLiQYkQ7zGTK", "name": "tools", "createdAt": "2025-01-08T16:33:21.887Z", "updatedAt": "2025-01-08T16:33:21.887Z"}], "nodes": [{"id": "290cc9b8-e4b1-4124-ab0e-afbb02a9072b", "name": "Execute Workflow Trigger", "type": "n8n-nodes-base.executeWorkflowTrigger", "position": [-460, -100], "parameters": {}, "typeVersion": 1}, {"id": "f256ed59-ba61-4912-9a75-4e7703547de5", "name": "FireCrawl", "type": "n8n-nodes-base.httpRequest", "position": [-220, -100], "parameters": {"url": "https://api.firecrawl.dev/v1/scrape", "method": "POST", "options": {}, "jsonBody": "={\n \"url\": \"{{ $json.query.url }}\",\n \"formats\": [\n \"markdown\"\n ]\n} ", "sendBody": true, "sendHeaders": true, "specifyBody": "json", "authentication": "genericCredentialType", "genericAuthType": "httpHeaderAuth", "headerParameters": {"parameters": [{}]}}, "credentials": {"httpHeaderAuth": {"id": "RoJ6k6pWBzSVp9JK", "name": "Firecrawl"}}, "typeVersion": 4.2}, {"id": "a28bdbe6-fa59-4bf1-b0ab-c34ebb10cf0f", "name": "Edit Fields", "type": "n8n-nodes-base.set", "position": [-20, -100], "parameters": {"options": {}, "assignments": {"assignments": [{"id": "1af62ef9-7385-411a-8aba-e4087f09c3a9", "name": "response", "type": "string", "value": "={{ $json.data.markdown }}"}]}}, "typeVersion": 3.4}, {"id": "fcd26213-038a-453f-80e5-a3936e4c2d06", "name": "Sticky Note", "type": "n8n-nodes-base.stickyNote", "position": [-480, -340], "parameters": {"width": 620, "height": 200, "content": "## Send URL got Crawl\nThis can be reused by Ai Agents and any Workspace to crawl a site. All that Workspace has to do is send a request:\n\n```json\n {\n \"url\": \"Some URL to Get\"\n }\n```"}, "typeVersion": 1}], "active": false, "pinData": {"Execute Workflow Trigger": [{"json": {"query": {"url": "https://en.wikipedia.org/wiki/Linux"}}}]}, "settings": {"executionOrder": "v1"}, "versionId": "396f46a7-3120-42f9-b3d5-2021e6e995b8", "connections": {"FireCrawl": {"main": [[{"node": "Edit Fields", "type": "main", "index": 0}]]}, "Execute Workflow Trigger": {"main": [[{"node": "FireCrawl", "type": "main", "index": 0}]]}}}
|
7Gw4IfHaVMDSj70o
|
Convert Squarespace Profiles to Shopify Customers in Google Sheets
|
8
|
["extractFromFile", "googleSheets", "manualTrigger", "splitInBatches", "stickyNote", "webhook"]
|
ai-automation-lab
|
{"id": "7Gw4IfHaVMDSj70o", "meta": {"instanceId": "e634e668fe1fc93a75c4f2a7fc0dad807ca318b79654157eadb9578496acbc76", "templateCredsSetupCompleted": true}, "name": "Convert Squarespace Profiles to Shopify Customers in Google Sheets", "tags": [], "nodes": [{"id": "17b7e952-ba9b-4067-9c98-a69ea09f7e69", "name": "Webhook", "type": "n8n-nodes-base.webhook", "position": [-800, -420], "webhookId": "e09976b5-7525-422b-9834-3bc6e1c4a1b6", "parameters": {"path": "submit-profiles", "options": {"allowedOrigins": "*"}, "httpMethod": "POST"}, "typeVersion": 2}, {"id": "7e149be3-19da-4320-8910-40ef0900628a", "name": "Shopify Customers", "type": "n8n-nodes-base.googleSheets", "position": [420, -220], "parameters": {"columns": {"value": {"Tags": "=n8n, squarespace, {{ $json['Last Order Date'] ? \"ground-control,\" : \"\" }}", "Email": "={{ $json.Email }}", "Phone": "={{ $json['Billing Phone Number'] }}", "Last Name": "={{ $json['Last Name'] }}", "First Name": "={{ $json['First Name'] }}", "Default Address Zip": "={{ $json['Billing Zip'] }}", "Default Address City": "={{ $json['Billing City'] }}", "Default Address Phone": "={{ $json['Billing Phone Number'] }}", "Accepts Email Marketing": "yes", "Default Address Company": "={{ $json['Billing Name'] }}", "Default Address Address1": "={{ $json['Billing Address 1'] }}", "Default Address Address2": "={{ $json['Billing Address 2'] }}", "Default Address Country Code": "={{ $json['Billing Country'] }}", "Default Address Province Code": "={{ $json['Billing Province/State'] }}"}, "schema": [{"id": "First Name", "type": "string", "display": true, "required": false, "displayName": "First Name", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "Last Name", "type": "string", "display": true, "required": false, "displayName": "Last Name", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "Email", "type": "string", "display": true, "removed": false, "required": false, "displayName": "Email", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "Accepts Email Marketing", "type": "string", "display": true, "required": false, "displayName": "Accepts Email Marketing", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "Default Address Company", "type": "string", "display": true, "required": false, "displayName": "Default Address Company", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "Default Address Address1", "type": "string", "display": true, "required": false, "displayName": "Default Address Address1", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "Default Address Address2", "type": "string", "display": true, "required": false, "displayName": "Default Address Address2", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "Default Address City", "type": "string", "display": true, "required": false, "displayName": "Default Address City", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "Default Address Province Code", "type": "string", "display": true, "required": false, "displayName": "Default Address Province Code", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "Default Address Country Code", "type": "string", "display": true, "required": false, "displayName": "Default Address Country Code", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "Default Address Zip", "type": "string", "display": true, "required": false, "displayName": "Default Address Zip", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "Default Address Phone", "type": "string", "display": true, "required": false, "displayName": "Default Address Phone", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "Phone", "type": "string", "display": true, "required": false, "displayName": "Phone", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "Accepts SMS Marketing", "type": "string", "display": true, "required": false, "displayName": "Accepts SMS Marketing", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "Tags", "type": "string", "display": true, "required": false, "displayName": "Tags", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "Note", "type": "string", "display": true, "required": false, "displayName": "Note", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "Tax Exempt", "type": "string", "display": true, "required": false, "displayName": "Tax Exempt", "defaultMatch": false, "canBeUsedToMatch": true}], "mappingMode": "defineBelow", "matchingColumns": ["Email"], "attemptToConvertTypes": false, "convertFieldsToString": false}, "options": {}, "operation": "appendOrUpdate", "sheetName": {"__rl": true, "mode": "list", "value": 15798644, "cachedResultUrl": "https://docs.google.com/spreadsheets/d/1yf_RYZGFHpMyOvD3RKGSvIFY2vumvI4474Qm_1t4-jM/edit#gid=15798644", "cachedResultName": "shopify_template"}, "documentId": {"__rl": true, "mode": "list", "value": "1yf_RYZGFHpMyOvD3RKGSvIFY2vumvI4474Qm_1t4-jM", "cachedResultUrl": "https://docs.google.com/spreadsheets/d/1yf_RYZGFHpMyOvD3RKGSvIFY2vumvI4474Qm_1t4-jM/edit?usp=drivesdk", "cachedResultName": "Make.com template"}}, "credentials": {"googleSheetsOAuth2Api": {"id": "JgI9maibw5DnBXRP", "name": "Google Sheets account"}}, "typeVersion": 4.5}, {"id": "e04f9a9e-b699-4cf2-aa91-56e6bfa30faa", "name": "Read Squarespace profiles", "type": "n8n-nodes-base.googleSheets", "position": [-180, 0], "parameters": {"options": {}, "sheetName": {"__rl": true, "mode": "list", "value": 144532755, "cachedResultUrl": "https://docs.google.com/spreadsheets/d/1yf_RYZGFHpMyOvD3RKGSvIFY2vumvI4474Qm_1t4-jM/edit#gid=144532755", "cachedResultName": "squarespace_profiles"}, "documentId": {"__rl": true, "mode": "list", "value": "1yf_RYZGFHpMyOvD3RKGSvIFY2vumvI4474Qm_1t4-jM", "cachedResultUrl": "https://docs.google.com/spreadsheets/d/1yf_RYZGFHpMyOvD3RKGSvIFY2vumvI4474Qm_1t4-jM/edit?usp=drivesdk", "cachedResultName": "Squarespace automation"}}, "credentials": {"googleSheetsOAuth2Api": {"id": "JgI9maibw5DnBXRP", "name": "Google Sheets account"}}, "typeVersion": 4.5}, {"id": "ffebc458-bd3c-4145-a5ef-1677815f210e", "name": "Append Squarespace profiles", "type": "n8n-nodes-base.googleSheets", "position": [-200, -420], "parameters": {"columns": {"value": {"Email": "={{ $json.Email }}", "Last Name": "={{ $json['Last Name'] }}", "Created On": "={{ $json['Created On'] }}", "First Name": "={{ $json['First Name'] }}", "Billing Zip": "={{ $json['Billing Zip'] }}", "Order Count": "={{ $json['Order Count'] }}", "Total Spent": "={{ $json['Total Spent'] }}", "Billing City": "={{ $json['Billing City'] }}", "Billing Name": "={{ $json['Billing Name'] }}", "Shipping Zip": "={{ $json['Billing Zip'] }}", "Shipping City": "={{ $json['Billing City'] }}", "Shipping Name": "={{ $json['Billing Name'] }}", "Billing Country": "={{ $json['Billing Country'] }}", "Last Order Date": "={{ $json['Last Order Date'] }}", "Shipping Country": "={{ $json['Billing Country'] }}", "Subscriber Since": "={{ $json['Subscriber Since'] }}", "Billing Address 1": "={{ $json['Billing Address 1'] }}", "Billing Address 2": "={{ $json['Billing Address 2'] }}", "Subscriber Source": "={{ $json['Subscriber Source'] }}", "Shipping Address 1": "={{ $json['Billing Address 1'] }}", "Shipping Address 2": "={{ $json['Billing Address 2'] }}", "Billing Phone Number": "={{ $json['Billing Phone Number'] }}", "Shipping Phone Number": "={{ $json['Billing Phone Number'] }}", "Billing Province/State": "={{ $json['Billing Province/State'] }}", "Shipping Province/State": "={{ $json['Billing Province/State'] }}"}, "schema": [{"id": "Email", "type": "string", "display": true, "removed": false, "required": false, "displayName": "Email", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "First Name", "type": "string", "display": true, "required": false, "displayName": "First Name", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "Last Name", "type": "string", "display": true, "required": false, "displayName": "Last Name", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "Created On", "type": "string", "display": true, "required": false, "displayName": "Created On", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "Order Count", "type": "string", "display": true, "required": false, "displayName": "Order Count", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "Last Order Date", "type": "string", "display": true, "required": false, "displayName": "Last Order Date", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "Total Spent", "type": "string", "display": true, "required": false, "displayName": "Total Spent", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "Member Since", "type": "string", "display": true, "required": false, "displayName": "Member Since", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "Subscriber Since", "type": "string", "display": true, "required": false, "displayName": "Subscriber Since", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "Subscriber Source", "type": "string", "display": true, "required": false, "displayName": "Subscriber Source", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "Tags", "type": "string", "display": true, "required": false, "displayName": "Tags", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "Mailing Lists", "type": "string", "display": true, "required": false, "displayName": "Mailing Lists", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "Member Areas", "type": "string", "display": true, "required": false, "displayName": "Member Areas", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "Donation Count", "type": "string", "display": true, "required": false, "displayName": "Donation Count", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "Last Donation Date", "type": "string", "display": true, "required": false, "displayName": "Last Donation Date", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "Total Donation Amount", "type": "string", "display": true, "required": false, "displayName": "Total Donation Amount", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "Has Account", "type": "string", "display": true, "required": false, "displayName": "Has Account", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "Customer Since", "type": "string", "display": true, "required": false, "displayName": "Customer Since", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "Shipping Name", "type": "string", "display": true, "required": false, "displayName": "Shipping Name", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "Shipping Address 1", "type": "string", "display": true, "required": false, "displayName": "Shipping Address 1", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "Shipping Address 2", "type": "string", "display": true, "required": false, "displayName": "Shipping Address 2", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "Shipping City", "type": "string", "display": true, "required": false, "displayName": "Shipping City", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "Shipping Zip", "type": "string", "display": true, "required": false, "displayName": "Shipping Zip", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "Shipping Province/State", "type": "string", "display": true, "required": false, "displayName": "Shipping Province/State", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "Shipping Country", "type": "string", "display": true, "required": false, "displayName": "Shipping Country", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "Shipping Phone Number", "type": "string", "display": true, "required": false, "displayName": "Shipping Phone Number", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "Billing Name", "type": "string", "display": true, "required": false, "displayName": "Billing Name", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "Billing Address 1", "type": "string", "display": true, "required": false, "displayName": "Billing Address 1", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "Billing Address 2", "type": "string", "display": true, "required": false, "displayName": "Billing Address 2", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "Billing City", "type": "string", "display": true, "required": false, "displayName": "Billing City", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "Billing Zip", "type": "string", "display": true, "required": false, "displayName": "Billing Zip", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "Billing Province/State", "type": "string", "display": true, "required": false, "displayName": "Billing Province/State", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "Billing Country", "type": "string", "display": true, "required": false, "displayName": "Billing Country", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "Billing Phone Number", "type": "string", "display": true, "required": false, "displayName": "Billing Phone Number", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "Accepts Marketing", "type": "string", "display": true, "required": false, "displayName": "Accepts Marketing", "defaultMatch": false, "canBeUsedToMatch": true}], "mappingMode": "defineBelow", "matchingColumns": ["Email"], "attemptToConvertTypes": false, "convertFieldsToString": false}, "options": {}, "operation": "appendOrUpdate", "sheetName": {"__rl": true, "mode": "list", "value": 144532755, "cachedResultUrl": "https://docs.google.com/spreadsheets/d/1yf_RYZGFHpMyOvD3RKGSvIFY2vumvI4474Qm_1t4-jM/edit#gid=144532755", "cachedResultName": "squarespace_profiles"}, "documentId": {"__rl": true, "mode": "list", "value": "1yf_RYZGFHpMyOvD3RKGSvIFY2vumvI4474Qm_1t4-jM", "cachedResultUrl": "https://docs.google.com/spreadsheets/d/1yf_RYZGFHpMyOvD3RKGSvIFY2vumvI4474Qm_1t4-jM/edit?usp=drivesdk", "cachedResultName": "Squarespace automation"}}, "credentials": {"googleSheetsOAuth2Api": {"id": "JgI9maibw5DnBXRP", "name": "Google Sheets account"}}, "typeVersion": 4.5, "alwaysOutputData": true}, {"id": "dc5cfb81-0d9b-47fb-a97a-fa20c673283b", "name": "Loop Over Items", "type": "n8n-nodes-base.splitInBatches", "position": [-360, -420], "parameters": {"options": {}, "batchSize": 1000}, "typeVersion": 3}, {"id": "b319cb05-6b8b-48cb-b7c9-4badee6bbf57", "name": "Sticky Note", "type": "n8n-nodes-base.stickyNote", "position": [-1240, -580], "parameters": {"width": 340, "height": 280, "content": "## Convert Squarespace profiles\nConvert exported profile from Squarespace to compatible Shopify customers data in csv format\nSample Spreadsheet template\nhttps://docs.google.com/spreadsheets/d/1ZUP7RySMCjQUBAvlZhSE1rOul1FMVHvTSF0QexuV7mQ\n- Squarespace profiles\n- Shopify customers"}, "typeVersion": 1}, {"id": "8b9d6f85-af6e-43b8-a3f1-c63c7893e064", "name": "Extract items from webhook submission", "type": "n8n-nodes-base.extractFromFile", "position": [-580, -420], "parameters": {"options": {}, "binaryPropertyName": "file"}, "typeVersion": 1}, {"id": "ce82f958-081b-4a55-a0d1-8ffb69dee68b", "name": "Manual trigger", "type": "n8n-nodes-base.manualTrigger", "position": [-580, 0], "parameters": {}, "typeVersion": 1}], "active": true, "pinData": {}, "settings": {"executionOrder": "v1"}, "versionId": "05db75a8-16f8-4191-b60b-d515d062bef9", "connections": {"Webhook": {"main": [[{"node": "Extract items from webhook submission", "type": "main", "index": 0}]]}, "Manual trigger": {"main": [[{"node": "Read Squarespace profiles", "type": "main", "index": 0}]]}, "Loop Over Items": {"main": [[{"node": "Shopify Customers", "type": "main", "index": 0}], [{"node": "Append Squarespace profiles", "type": "main", "index": 0}]]}, "Read Squarespace profiles": {"main": [[{"node": "Shopify Customers", "type": "main", "index": 0}]]}, "Append Squarespace profiles": {"main": [[{"node": "Loop Over Items", "type": "main", "index": 0}]]}, "Extract items from webhook submission": {"main": [[{"node": "Loop Over Items", "type": "main", "index": 0}]]}}}
|
7Pw91QNT4UGeNmL5
|
Customer and Sales Support
|
7
|
["googleSheetsTool"]
|
ai-automation-lab
|
{"id": "7Pw91QNT4UGeNmL5", "meta": {"instanceId": "95959af22bc98ea4ce12f3aa06514276ddf020a37e9465025051938d10308902", "templateCredsSetupCompleted": true}, "name": "Customer and Sales Support", "tags": [], "nodes": [{"id": "99d711a1-2341-493b-ba56-e40e76e07d97", "name": "When chat message received", "type": "@n8n/n8n-nodes-langchain.chatTrigger", "position": [-360, -120], "webhookId": "1de1a4dd-cea5-4c95-b489-6004601ff727", "parameters": {"public": true, "options": {"responseMode": "lastNode", "loadPreviousSession": "memory"}, "initialMessages": "Hi! I\u2019m Babish from Apple Case. How can I help?\u201d"}, "typeVersion": 1.1}, {"id": "ab809cbb-0456-4a6f-b078-8a6f7bdbd4d0", "name": "OpenAI Chat Model", "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi", "position": [60, 260], "parameters": {"model": {"__rl": true, "mode": "list", "value": "gpt-4.1", "cachedResultName": "gpt-4.1"}, "options": {"maxTokens": 1024, "temperature": 0.3}}, "credentials": {"openAiApi": {"id": "zqONgMf7CM0LERga", "name": "OpenAi DPL 2"}}, "typeVersion": 1.2}, {"id": "e74bc18b-3058-4658-83fd-85f9a45d3537", "name": "Simple Memory", "type": "@n8n/n8n-nodes-langchain.memoryBufferWindow", "position": [-220, 240], "parameters": {}, "typeVersion": 1.3}, {"id": "008d806b-e56d-4c37-b64d-2eb6792eefb5", "name": "Place order", "type": "n8n-nodes-base.googleSheetsTool", "position": [540, 240], "parameters": {"columns": {"value": {"Address": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('Address', ``, 'string') }}", "Case ID": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('Case_ID', ``, 'string') }}", "Quantity": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('Quantity', ``, 'string') }}", "Case Name": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('Case_Name', ``, 'string') }}", "Timestamp": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('Timestamp', ``, 'string') }}", "Phone Model": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('Phone_Model', ``, 'string') }}", "Phone Number": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('Phone_Number', ``, 'string') }}", "Customer Name": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('Customer_Name', ``, 'string') }}"}, "schema": [{"id": "Timestamp", "type": "string", "display": true, "removed": false, "required": false, "displayName": "Timestamp", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "Case ID", "type": "string", "display": true, "required": false, "displayName": "Case ID", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "Case Name", "type": "string", "display": true, "required": false, "displayName": "Case Name", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "Phone Model", "type": "string", "display": true, "required": false, "displayName": "Phone Model", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "Customer Name", "type": "string", "display": true, "removed": false, "required": false, "displayName": "Customer Name", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "Phone Number", "type": "string", "display": true, "required": false, "displayName": "Phone Number", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "Address", "type": "string", "display": true, "removed": false, "required": false, "displayName": "Address", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "Quantity", "type": "string", "display": true, "removed": false, "required": false, "displayName": "Quantity", "defaultMatch": false, "canBeUsedToMatch": true}], "mappingMode": "defineBelow", "matchingColumns": [], "attemptToConvertTypes": false, "convertFieldsToString": false}, "options": {}, "operation": "append", "sheetName": {"__rl": true, "mode": "list", "value": 622166849, "cachedResultUrl": "https://docs.google.com/spreadsheets/d/1btXGPudVDrG64coe5mIlw0Nd8r6YzOnNQ3wp7OVUffc/edit#gid=622166849", "cachedResultName": "Order placed"}, "documentId": {"__rl": true, "mode": "list", "value": "1btXGPudVDrG64coe5mIlw0Nd8r6YzOnNQ3wp7OVUffc", "cachedResultUrl": "https://docs.google.com/spreadsheets/d/1btXGPudVDrG64coe5mIlw0Nd8r6YzOnNQ3wp7OVUffc/edit?usp=drivesdk", "cachedResultName": "Apple Case Stock"}}, "credentials": {"googleSheetsOAuth2Api": {"id": "r16nFPNT77oA4BPq", "name": "Google Sheets account"}}, "typeVersion": 4.5}, {"id": "9f1d892a-ad76-47ce-815f-1a7cc7a46cf8", "name": "Update Stock", "type": "n8n-nodes-base.googleSheetsTool", "position": [660, 240], "parameters": {"columns": {"value": {"Sold": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('Sold', ``, 'string') }}", "Case ID": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('Case_ID__using_to_match_', ``, 'string') }}", "Updated ISO": "={{ $now.toISO() }}", "Quantity Available": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('Quantity_Available', ``, 'string') }}"}, "schema": [{"id": "Case ID", "type": "string", "display": true, "removed": false, "required": false, "displayName": "Case ID", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "Phone Model", "type": "string", "display": true, "removed": true, "required": false, "displayName": "Phone Model", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "Case Name", "type": "string", "display": true, "removed": true, "required": false, "displayName": "Case Name", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "Case Type", "type": "string", "display": true, "removed": true, "required": false, "displayName": "Case Type", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "Quantity Available", "type": "string", "display": true, "removed": false, "required": false, "displayName": "Quantity Available", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "Initial Inventory,", "type": "string", "display": true, "removed": true, "required": false, "displayName": "Initial Inventory,", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "Sold", "type": "string", "display": true, "removed": false, "required": false, "displayName": "Sold", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "Updated ISO", "type": "string", "display": true, "removed": false, "required": false, "displayName": "Updated ISO", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "row_number", "type": "string", "display": true, "removed": true, "readOnly": true, "required": false, "displayName": "row_number", "defaultMatch": false, "canBeUsedToMatch": true}], "mappingMode": "defineBelow", "matchingColumns": ["Case ID"], "attemptToConvertTypes": false, "convertFieldsToString": false}, "options": {}, "operation": "update", "sheetName": {"__rl": true, "mode": "list", "value": 2019723207, "cachedResultUrl": "https://docs.google.com/spreadsheets/d/1btXGPudVDrG64coe5mIlw0Nd8r6YzOnNQ3wp7OVUffc/edit#gid=2019723207", "cachedResultName": "Inventory"}, "documentId": {"__rl": true, "mode": "list", "value": "1btXGPudVDrG64coe5mIlw0Nd8r6YzOnNQ3wp7OVUffc", "cachedResultUrl": "https://docs.google.com/spreadsheets/d/1btXGPudVDrG64coe5mIlw0Nd8r6YzOnNQ3wp7OVUffc/edit?usp=drivesdk", "cachedResultName": "Apple Case Stock"}}, "credentials": {"googleSheetsOAuth2Api": {"id": "r16nFPNT77oA4BPq", "name": "Google Sheets account"}}, "typeVersion": 4.5}, {"id": "7f0e6e31-6bdb-4901-9c07-4fb6fa4734f0", "name": "Support Agent", "type": "@n8n/n8n-nodes-langchain.agent", "position": [120, -120], "parameters": {"options": {"systemMessage": "=SYSTEM\nYou are the customer-support agent for \u201cMy Apple Case\u201d.\n\nTOOLS\n\u2022 GetStock { \"phone_model\": string }\n \u2022 Returns: [{ \"case_id\": int, \"case_name\": string,\n \"quantity_available\": int, \"sold\": int,\n \"image_url\": string, ... }]\n\u2022 PlaceOrder { \"case_id\": int,\n \"case_name\": string,\n \"phone_model\": string,\n \"customer_name\": string,\n \"phone_number\": string,\n \"address\": string,\n \"quantity\": int }\n\u2022 UpdateStock { \"case_id\": int,\n \"quantity_sold\": int,\n \"quantity_available\": int,\n \"sold\": int }\n\u2022 The \"case_id\" you send to PlaceOrder or UpdateStock must be the one that\n appears **in the same row as the chosen case_name** from the latest\n GetStock response. Do not invent or modify it.\nRULES\n1. Begin every user-visible reply with: **Welcome to My Apple Case.**\n2. Speak English or Roman-Nepali, matching the customer.\n3. ONE tool call per turn. \n4. If GetStock returns an **image_url**, embed it after the text line using\n Markdown: \n ``\n5. Legal case_ids set\n \u2022 The only valid case_id values are the ones you just received from\n GetStock in this conversation turn.\n6. Guard clause\n \u2022 If you do not have a valid case_id for the customer\u2019s chosen case,\n ask follow-up questions or run GetStock again. DO NOT guess.\n7.Picking the correct case_id\n a. After GetStock returns, keep its rows in memory.\n b. When the customer names a case_name you just showed, locate the row\n whose case_name matches **exactly** (case-insensitive) and copy that\n row\u2019s case_id.\n c. If more than one row shares the same case_name, ask which \u201cOption #\u201d\n or show a numbered list so they can pick. Never guess.\n\nWORKFLOW\na. If you don\u2019t yet know stock data, call **GetStock** with the phone model. \nb. From GetStock output read:\n qa = quantity_available\n sold = sold\n img = image_url \n \u2022 Show the case_id, case_name, qa and (if img exists) the image. \nc. If qa < requested quantity \u2192 apologize, no PlaceOrder. \nd. Determine the correct case_id:\n \u2022 EXACT match: one row \u2192 use that row\u2019s case_id.\n \u2022 Multiple matches: show a numbered list and ask the customer to\n choose (e.g. \u201cType 1 or 2\u201d). Run no tools until they choose.\n Then call PlaceOrder using that exact case_id.\ne. Else collect missing customer fields \u2192 call **PlaceOrder**. \nf. After PlaceOrder succeeds, compute:\n qa_new = qa - quantity\n sold_new = sold + quantity\n then call **UpdateStock** with:\n { \"case_id\": ..., \"quantity_sold\": quantity,\n \"quantity_available\": qa_new, \"sold\": sold_new }\ng. After UpdateStock returns, thank the customer and show qa_new.\n\nEXAMPLES\n### Check stock with image\nUser: iPhone 12 ko cover cha? \nAssistant \u2192 tool: \n{ \"tool\": \"GetStock\", \"args\": { \"phone_model\": \"iPhone 12\" } }\n\n(GetStock output example) \n[\n {\n \"case_id\": 312,\n \"case_name\": \"Clear MagSafe Case\",\n \"quantity_available\": 25,\n \"sold\": 75,\n \"image_url\": \"https://example.com/clear-case.png\"\n }\n]\n\n### Two rows same name\n(GetStock output)\n1. case_id 101 \"Leather Flip\" qty 3\n2. case_id 202 \"Leather Flip\" qty 10\n\nUser: I want the Leather Flip case.\nAssistant: Welcome to My Apple Case. I have two \u201cLeather Flip\u201d options:\n(1) case_id 101 \u2013 3 in stock\n(2) case_id 202 \u2013 10 in stock\nWhich one would you like? Please reply 1 or 2.\n\nMy Apple Case ma swagatam. **Clear MagSafe Case** \u2013 25 stock cha. \n\n", "returnIntermediateSteps": true}}, "retryOnFail": true, "typeVersion": 1.8}, {"id": "03153a59-4971-49db-86c2-5fd245b36d28", "name": "GetStock", "type": "n8n-nodes-base.googleSheetsTool", "position": [400, 240], "parameters": {"options": {}, "filtersUI": {"values": [{"lookupValue": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('Value', ``, 'string') }}", "lookupColumn": "Phone Model"}]}, "sheetName": {"__rl": true, "mode": "list", "value": 2019723207, "cachedResultUrl": "https://docs.google.com/spreadsheets/d/1btXGPudVDrG64coe5mIlw0Nd8r6YzOnNQ3wp7OVUffc/edit#gid=2019723207", "cachedResultName": "Inventory"}, "documentId": {"__rl": true, "mode": "list", "value": "1btXGPudVDrG64coe5mIlw0Nd8r6YzOnNQ3wp7OVUffc", "cachedResultUrl": "https://docs.google.com/spreadsheets/d/1btXGPudVDrG64coe5mIlw0Nd8r6YzOnNQ3wp7OVUffc/edit?usp=drivesdk", "cachedResultName": "Apple Case Stock"}, "combineFilters": "OR"}, "credentials": {"googleSheetsOAuth2Api": {"id": "r16nFPNT77oA4BPq", "name": "Google Sheets account"}}, "typeVersion": 4.5}], "active": false, "pinData": {}, "settings": {"executionOrder": "v1"}, "versionId": "6f49665c-583f-456e-9ea9-bb95b172cac1", "connections": {"GetStock": {"ai_tool": [[{"node": "Support Agent", "type": "ai_tool", "index": 0}]]}, "Place order": {"ai_tool": [[{"node": "Support Agent", "type": "ai_tool", "index": 0}]]}, "Update Stock": {"ai_tool": [[{"node": "Support Agent", "type": "ai_tool", "index": 0}]]}, "Simple Memory": {"ai_memory": [[{"node": "Support Agent", "type": "ai_memory", "index": 0}, {"node": "When chat message received", "type": "ai_memory", "index": 0}]]}, "Support Agent": {"main": [[]]}, "OpenAI Chat Model": {"ai_languageModel": [[{"node": "Support Agent", "type": "ai_languageModel", "index": 0}]]}, "When chat message received": {"main": [[{"node": "Support Agent", "type": "main", "index": 0}]]}}}
|
7Qa2mH7PnDxy7Qat
|
Generate Exam Questions
|
37
|
["code", "convertToFile", "googleDocs", "googleSheets", "httpRequest", "manualTrigger", "splitInBatches", "stickyNote"]
|
ai-automation-lab
|
{"id": "7Qa2mH7PnDxy7Qat", "meta": {"instanceId": "a4bfc93e975ca233ac45ed7c9227d84cf5a2329310525917adaf3312e10d5462", "templateCredsSetupCompleted": true}, "name": "Generate Exam Questions", "tags": [], "nodes": [{"id": "4e037d6e-93a9-4c1b-b84a-dbbcf77beaf5", "name": "When clicking \u2018Test workflow\u2019", "type": "n8n-nodes-base.manualTrigger", "position": [-740, 120], "parameters": {}, "typeVersion": 1}, {"id": "febc8bb7-5de7-46d6-bc23-54673089cd3d", "name": "Qdrant Vector Store", "type": "@n8n/n8n-nodes-langchain.vectorStoreQdrant", "position": [900, 240], "parameters": {"mode": "insert", "options": {}, "qdrantCollection": {"__rl": true, "mode": "list", "value": "ai_article_test", "cachedResultName": "ai_article_test"}}, "credentials": {"qdrantApi": {"id": "iyQ6MQiVaF3VMBmt", "name": "QdrantApi account (Hetzner)"}}, "typeVersion": 1}, {"id": "2d7e2673-6559-49b3-9ed0-29ca2c376f00", "name": "Create collection", "type": "n8n-nodes-base.httpRequest", "position": [-440, -20], "parameters": {"url": "http://QDRANT_URL/collections/COLLECTIONS", "method": "PUT", "options": {}, "jsonBody": "{\n \"vectors\": {\n \"size\": 1536,\n \"distance\": \"Cosine\" \n },\n \"shard_number\": 1, \n \"replication_factor\": 1, \n \"write_consistency_factor\": 1 \n}", "sendBody": true, "sendHeaders": true, "specifyBody": "json", "authentication": "genericCredentialType", "genericAuthType": "httpHeaderAuth", "headerParameters": {"parameters": [{"name": "Content-Type", "value": "application/json"}]}}, "credentials": {"httpHeaderAuth": {"id": "qhny6r5ql9wwotpn", "name": "Qdrant API (Hetzner)"}}, "typeVersion": 4.2}, {"id": "615f26b2-930c-4b74-a35c-00b83460a7c9", "name": "Refresh collection", "type": "n8n-nodes-base.httpRequest", "position": [-440, 240], "parameters": {"url": "http://QDRANT_URL/collections/COLLECTIONS/points/delete", "method": "POST", "options": {}, "jsonBody": "{\n \"filter\": {}\n}", "sendBody": true, "sendHeaders": true, "specifyBody": "json", "authentication": "genericCredentialType", "genericAuthType": "httpHeaderAuth", "headerParameters": {"parameters": [{"name": "Content-Type", "value": "application/json"}]}}, "credentials": {"httpHeaderAuth": {"id": "qhny6r5ql9wwotpn", "name": "Qdrant API (Hetzner)"}}, "typeVersion": 4.2}, {"id": "eb34b8dd-353b-41c4-8a02-6565c3f8a7d3", "name": "Embeddings OpenAI", "type": "@n8n/n8n-nodes-langchain.embeddingsOpenAi", "position": [820, 440], "parameters": {"options": {"stripNewLines": false}}, "credentials": {"openAiApi": {"id": "4zwP0MSr8zkNvvV9", "name": "OpenAi account"}}, "typeVersion": 1.1}, {"id": "fb639802-e099-4857-823b-5e6d89fb3e86", "name": "Default Data Loader", "type": "@n8n/n8n-nodes-langchain.documentDefaultDataLoader", "position": [1080, 460], "parameters": {"loader": "textLoader", "options": {}, "dataType": "binary"}, "typeVersion": 1}, {"id": "0af5028d-56a4-4bbc-8af0-f088e54f178b", "name": "Token Splitter", "type": "@n8n/n8n-nodes-langchain.textSplitterTokenSplitter", "position": [1040, 640], "parameters": {"chunkSize": 450, "chunkOverlap": 50}, "typeVersion": 1}, {"id": "6a10192e-4b2e-4705-865a-fa90328ba3c1", "name": "Sticky Note3", "type": "n8n-nodes-base.stickyNote", "position": [-240, -80], "parameters": {"color": 6, "width": 880, "height": 220, "content": "# STEP 1\n\n## Create Qdrant Collection\nChange:\n- QDRANTURL\n- COLLECTION"}, "typeVersion": 1}, {"id": "1ebefe44-e5c9-43fb-b9fa-fee47b08e2c2", "name": "Sticky Note4", "type": "n8n-nodes-base.stickyNote", "position": [-460, 180], "parameters": {"color": 4, "width": 620, "height": 400, "content": "# STEP 2\n\n\n\n\n\n\n\n\n\n\n\n\n## Documents vectorization with Qdrant and Google Drive\nChange:\n- QDRANTURL\n- COLLECTION"}, "typeVersion": 1}, {"id": "88f816ae-4331-46e0-b1f9-636ec94e8bb3", "name": "Converto di MD", "type": "n8n-nodes-base.code", "position": [240, 240], "parameters": {"jsCode": "function convertToMarkdown(docContent) {\n let markdown = '';\n\n const headingMap = {\n 'HEADING_1': '#',\n 'HEADING_2': '##',\n 'HEADING_3': '###',\n 'HEADING_4': '####',\n 'HEADING_5': '#####',\n 'HEADING_6': '######',\n };\n\n for (const element of docContent.body.content) {\n if (!element.paragraph) continue;\n\n const para = element.paragraph;\n let line = '';\n\n // Tipo di paragrafo (normale o heading)\n const style = para.paragraphStyle?.namedStyleType;\n const prefix = headingMap[style] || '';\n\n for (const el of para.elements) {\n if (!el.textRun) continue;\n\n let text = el.textRun.content || '';\n const style = el.textRun.textStyle || {};\n\n if (style.bold) text = `**${text.trim()}**`;\n if (style.italic) text = `*${text.trim()}*`;\n if (!style.bold && !style.italic) text = text.trim();\n\n line += text;\n }\n\n if (prefix) {\n markdown += `${prefix} ${line}\\n\\n`;\n } else {\n markdown += `${line}\\n\\n`;\n }\n }\n\n return markdown.trim();\n}\n\n// Assumiamo che il JSON completo sia in items[0].json\nconst docJson = items[0].json;\nconst markdown = convertToMarkdown(docJson);\n\nreturn [\n {\n json: {\n markdown,\n },\n },\n];"}, "typeVersion": 2}, {"id": "5c733b2d-3d0a-4260-af88-7907907e209f", "name": "Get Doc", "type": "n8n-nodes-base.googleDocs", "position": [-60, 240], "parameters": {"simple": false, "operation": "get", "documentURL": "XXXXXXXXXXXXXXXX"}, "credentials": {"googleDocsOAuth2Api": {"id": "LpmDV1ry0BPLvW8b", "name": "Google Docs account"}}, "typeVersion": 2}, {"id": "5de82976-2376-4201-a5a4-dbdd6bfcb596", "name": "Vector Store Retriever", "type": "@n8n/n8n-nodes-langchain.retrieverVectorStore", "position": [1540, 1040], "parameters": {}, "typeVersion": 1}, {"id": "25bcb865-7b15-4272-81da-4ff41a4ccc60", "name": "Qdrant Vector Store1", "type": "@n8n/n8n-nodes-langchain.vectorStoreQdrant", "position": [1440, 1180], "parameters": {"options": {}, "qdrantCollection": {"__rl": true, "mode": "list", "value": "ai_article_test", "cachedResultName": "ai_article_test"}}, "credentials": {"qdrantApi": {"id": "iyQ6MQiVaF3VMBmt", "name": "QdrantApi account (Hetzner)"}}, "typeVersion": 1.1}, {"id": "7dacd3ac-2d25-4960-ba53-e44ae9722dca", "name": "Convert to File", "type": "n8n-nodes-base.convertToFile", "position": [560, 240], "parameters": {"options": {}, "operation": "toText", "sourceProperty": "markdown"}, "typeVersion": 1.1}, {"id": "9d7561f0-5b01-4327-ab62-68a105364155", "name": "Google Gemini Chat Model", "type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini", "position": [540, 980], "parameters": {"options": {}, "modelName": "models/gemini-2.0-flash-exp"}, "credentials": {"googlePalmApi": {"id": "0p34rXqIqy8WuoPg", "name": "Google Gemini(PaLM) Api account"}}, "typeVersion": 1}, {"id": "4f63e896-45b1-484f-9fa1-0b488691023a", "name": "Item List Output Parser", "type": "@n8n/n8n-nodes-langchain.outputParserItemList", "position": [740, 1000], "parameters": {"options": {"numberOfItems": 10}}, "typeVersion": 1}, {"id": "911e8654-dfef-4d4f-b1c8-247fe0091381", "name": "Loop Over Items", "type": "n8n-nodes-base.splitInBatches", "position": [1100, 780], "parameters": {"options": {}}, "typeVersion": 3}, {"id": "987e13f8-f8c9-4bc1-9e4f-d11a5f8af4d7", "name": "Google Gemini Chat Model1", "type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini", "position": [1360, 1020], "parameters": {"options": {}, "modelName": "models/gemini-2.0-pro-exp"}, "credentials": {"googlePalmApi": {"id": "0p34rXqIqy8WuoPg", "name": "Google Gemini(PaLM) Api account"}}, "typeVersion": 1}, {"id": "c2f70831-4d5d-403b-b92d-af82205cbbdc", "name": "Google Gemini Chat Model2", "type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini", "position": [520, 1720], "parameters": {"options": {}, "modelName": "models/gemini-2.0-flash-exp"}, "credentials": {"googlePalmApi": {"id": "0p34rXqIqy8WuoPg", "name": "Google Gemini(PaLM) Api account"}}, "typeVersion": 1}, {"id": "2f4ca583-8005-4e26-88df-ffebdc2be2f6", "name": "Item List Output Parser1", "type": "@n8n/n8n-nodes-langchain.outputParserItemList", "position": [760, 1720], "parameters": {"options": {"numberOfItems": 10}}, "typeVersion": 1}, {"id": "cacecdab-2f1c-4730-a7c5-d46dca32969c", "name": "Loop Over Items1", "type": "n8n-nodes-base.splitInBatches", "position": [1080, 1540], "parameters": {"options": {}}, "typeVersion": 3}, {"id": "2de66223-475c-4fef-aa85-13e954a5c1cc", "name": "Google Gemini Chat Model3", "type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini", "position": [1320, 1840], "parameters": {"options": {}, "modelName": "models/gemini-2.0-flash-exp"}, "credentials": {"googlePalmApi": {"id": "0p34rXqIqy8WuoPg", "name": "Google Gemini(PaLM) Api account"}}, "typeVersion": 1}, {"id": "43058954-369c-477d-beee-ece1916aebb7", "name": "Qdrant Vector Store2", "type": "@n8n/n8n-nodes-langchain.vectorStoreQdrant", "position": [1380, 2020], "parameters": {"options": {}, "qdrantCollection": {"__rl": true, "mode": "list", "value": "ai_article_test", "cachedResultName": "ai_article_test"}}, "credentials": {"qdrantApi": {"id": "iyQ6MQiVaF3VMBmt", "name": "QdrantApi account (Hetzner)"}}, "typeVersion": 1.1}, {"id": "27dddcae-e20a-41a9-879e-ce8ae8a0347f", "name": "Embeddings OpenAI2", "type": "@n8n/n8n-nodes-langchain.embeddingsOpenAi", "position": [1360, 2200], "parameters": {"options": {}}, "credentials": {"openAiApi": {"id": "4zwP0MSr8zkNvvV9", "name": "OpenAi account"}}, "typeVersion": 1.2}, {"id": "37d164a7-94aa-4273-b91a-8b22684a45fd", "name": "Structured Output Parser", "type": "@n8n/n8n-nodes-langchain.outputParserStructured", "position": [1820, 1820], "parameters": {"schemaType": "manual", "inputSchema": "{\n\t\"type\": \"object\",\n\t\"properties\": {\n\t\t\"correct\": {\n\t\t\t\"type\": \"string\"\n\t\t},\n\t\t\"answers\": {\n\t\t\t\"type\": \"array\",\n\t\t\t\"items\": {\n\t\t\t\t\"type\": \"string\"\n\t\t\t}\n\t\t}\n\t}\n}"}, "typeVersion": 1.2}, {"id": "42d627b5-c033-4b2e-8ea4-fe704601b3d6", "name": "RAG", "type": "@n8n/n8n-nodes-langchain.toolVectorStore", "position": [1500, 1820], "parameters": {"description": "In base alla domanda consulta il database vettoriale ed estrapola la risposta corretta. Elabora anche altre 3 risposte non corrette."}, "typeVersion": 1.1}, {"id": "ce763ef2-eb54-484b-8046-7bc008012ec5", "name": "Google Gemini Chat Model4", "type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini", "position": [1700, 1980], "parameters": {"options": {}, "modelName": "models/gemini-2.0-pro-exp"}, "credentials": {"googlePalmApi": {"id": "0p34rXqIqy8WuoPg", "name": "Google Gemini(PaLM) Api account"}}, "typeVersion": 1}, {"id": "076994e8-0326-424e-a5c3-3d07958af0af", "name": "Open questions", "type": "@n8n/n8n-nodes-langchain.chainLlm", "position": [560, 780], "parameters": {"text": "=Article:\n'''\n{{ $json.markdown }}\n'''", "messages": {"messageValues": [{"message": "=## Purpose\nYou are a specialized AI designed to analyze articles and create challenging questions that test comprehension and knowledge retention. Your task is to generate questions that encourage critical thinking about the article's content.\n\n## Input\nThe input will be a text article on any subject. This could be academic, news, technical, or general interest content.\n\n## Output Requirements\n- Create exactly 10 questions based on the article content\n- DO NOT number the questions\n- Questions should cover key facts, concepts, and implications from the article\n- Include a mix of question types:\n - Factual recall questions\n - Inference questions that require reading between the lines\n - Application questions that ask how concepts might be applied\n - Analysis questions that probe deeper understanding\n - Questions about relationships between different parts of the article\n- Questions should vary in difficulty level\n- Avoid creating questions with simple yes/no answers\n- Ensure questions are clearly worded and unambiguous\n- Questions should test genuine understanding rather than trivial details\n\n## Output Format\n- Present each question as a separate paragraph\n- Do not include answers\n- Do not include numbering or bullet points\n- Do not include any introductory text\n- Do not include any explanatory notes\n\n## Behavior Guidelines\n- Focus on the most significant and meaningful content in the article\n- Ensure questions thoroughly cover the entire article, not just the beginning\n- If the article contains technical terms, create questions that test understanding of these terms\n- If the article presents contrasting viewpoints, create questions about both perspectives\n- Maintain neutrality - do not frame questions that suggest a particular stance\n- If the article is highly specialized, adjust question complexity accordingly\n- Do not create questions about information not contained in the article\n- If the article is in a language other than English, generate questions in the same language\n\n## Examples of Good Questions\n- How does the author's description of X relate to the concept of Y discussed later in the article?\n- What evidence does the article provide to support the claim that X leads to Y?\n- How might the framework described in the article be applied to solve similar problems in different contexts?\n- What underlying assumptions inform the author's perspective on this issue?\n- In what ways does the article suggest the relationship between X and Y has evolved over time?"}]}, "promptType": "define", "hasOutputParser": true}, "typeVersion": 1.6}, {"id": "5df02a14-175f-4923-9a2f-ad4514f98c71", "name": "Closed questions", "type": "@n8n/n8n-nodes-langchain.chainLlm", "position": [560, 1540], "parameters": {"text": "=Article:\n'''\n{{ $json.markdown }}\n'''", "messages": {"messageValues": [{"message": "=## Purpose\nYou are a specialized AI designed to analyze articles and create high-quality multiple-choice questions that effectively test knowledge comprehension and retention. Your task is to generate questions with appropriate answer options that accurately assess understanding of the article's content.\n\n## Input\nThe input will be a text article on any subject. This could be academic, news, technical, or general interest content.\n\n## Output Requirements\n- Create exactly 10 multiple-choice questions based on the article content\n- DO NOT number the questions\n- Each question must include:\n - A clear question stem\n - Four answer options (labeled A, B, C, D)\n - One correct answer and three plausible distractors\n- Questions should cover key facts, concepts, and implications from the article\n- Include a mix of question types:\n - Factual recall questions\n - Inference questions requiring deeper understanding\n - Application questions testing practical knowledge\n - Analysis questions examining relationships between concepts\n- Questions should vary in difficulty level\n- Ensure questions are clearly worded and unambiguous\n- Distractors should be plausible but clearly incorrect upon careful reading of the article\n\n## Output Format\n- Present each question as a separate paragraph\n- Format each question as:\n [Question]\n A. [Option A]\n B. [Option B]\n C. [Option C]\n D. [Option D]\n- Do not indicate which answer is correct in the output\n- Do not include any introductory text\n- Do not include any explanatory notes\n- Do not include numbering for questions\n\n## Behavior Guidelines\n- Focus on the most significant and meaningful content in the article\n- Ensure questions thoroughly cover the entire article, not just the beginning\n- Make all answer options approximately the same length\n- Avoid using absolute terms like \"always\" or \"never\" in the options\n- Avoid grammatical clues that hint at the correct answer\n- Make distractors plausible by:\n - Using common misconceptions\n - Including partially correct information\n - Using correct information from the wrong context\n- If the article contains technical terms, create questions that test understanding of these terms\n- If the article presents contrasting viewpoints, create questions about both perspectives\n- Maintain neutrality - do not frame questions that suggest a particular stance\n- If the article is in a language other than English, generate questions in the same language\n\n## Examples of Good Multiple-Choice Questions\n- What is the primary factor contributing to the phenomenon described in the article?\n A. [Plausible but incorrect factor]\n B. [Correct factor from article]\n C. [Plausible but incorrect factor]\n D. [Plausible but incorrect factor]\n\n- According to the article, how does [concept X] impact [concept Y]?\n A. [Correct relationship described in article]\n B. [Plausible but incorrect relationship]\n C. [Plausible but incorrect relationship]\n D. [Plausible but incorrect relationship]\n\n- Which application of the described technology would align with the principles outlined in the article?\n A. [Plausible but incorrect application]\n B. [Plausible but incorrect application]\n C. [Correct application based on article]\n D. [Plausible but incorrect application]"}]}, "promptType": "define", "hasOutputParser": true}, "typeVersion": 1.6}, {"id": "53c89d9a-4a69-47f7-bbf1-f523e2763741", "name": "Answer questions", "type": "@n8n/n8n-nodes-langchain.chainRetrievalQa", "position": [1400, 800], "parameters": {"text": "={{ $json.text }}", "options": {"systemPromptTemplate": "You are an assistant for question-answering tasks. Use the following pieces of retrieved context to answer the question.\n\nIf you don't know the answer, just say that you don't know, don't try to make up an answer.\nUse text plain (not markdown).\n----------------\nContext: {context}"}, "promptType": "define"}, "typeVersion": 1.5}, {"id": "93d55b4f-2a93-474e-b431-6fd8ef868c45", "name": "Answer and create options", "type": "@n8n/n8n-nodes-langchain.agent", "position": [1420, 1560], "parameters": {"text": "={{ $json.text }}", "options": {"systemMessage": "=System Prompt for RAG-Based Multiple-Choice Exam Creation\n\nPURPOSE:\nYou are an AI assistant specialized in creating multiple-choice exams. Your task is to generate questions with one correct answer and three plausible but incorrect options using only the Retrieval Augmented Generation (RAG) tool to source accurate information.\n\nINPUT:\nYou will receive a topic, subject area, or specific question to create exam items for.\n\nOUTPUT REQUIREMENTS:\n- Create multiple-choice questions with exactly four options per question\n- Each question must have one correct answer and three false answers\n- The correct answer must be derived directly from the RAG tool's retrieved information\n- All false answers must be plausible but clearly incorrect when compared to the retrieved information\n- Use plain text only (no markdown formatting)\n- Present all content in a clean, simple format without any special formatting\n\nPROCESS:\n1. For each question:\n - Use the RAG tool to retrieve accurate information on the topic\n - Formulate a clear, unambiguous question based on the retrieved information\n - Extract the correct answer directly from the retrieved information\n - Create three false answers that are plausible but contradicted by the retrieved information\n - Mix the order of correct and incorrect answers\n\n2. For creating false answers:\n - Use common misconceptions related to the topic\n - Create answers that contain partial truths but are ultimately incorrect\n - Modify correct information slightly to make it incorrect\n - Avoid obviously wrong answers that would be too easy to eliminate\n\nOUTPUT FORMAT:\nQuestion: [Question text]\nA. [Option A]\nB. [Option B]\nC. [Option C]\nD. [Option D]\n\nGUIDELINES:\n- Questions should be clear and direct\n- Use simple, straightforward language\n- Avoid negatively phrased questions (e.g., \"Which of the following is NOT...\")\n- Ensure all answer options are approximately the same length\n- Do not include any explanations, notes, or additional information\n- Do not include any formatting beyond plain text\n- Do not indicate which answer is correct in the output\n- Ensure all questions and answers are factually accurate based on the RAG tool's information\n- Make sure distractors (false answers) are genuinely plausible to someone not familiar with the topic\n\nCONSTRAINTS:\n- You must use the RAG tool for every question\n- You must not rely on your general knowledge without verification through RAG\n- You must not use markdown formatting\n- You must not include any meta-information about the questions\n- You must ensure all answer options are mutually exclusive (no overlap in meaning)\n- You must use plain text only for all output"}, "promptType": "define", "hasOutputParser": true}, "typeVersion": 1.9}, {"id": "c7e55f54-d851-4786-839d-fe839659caea", "name": "Write open", "type": "n8n-nodes-base.googleSheets", "position": [1880, 800], "parameters": {"columns": {"value": {"ANSWER": "={{ $json.response }}", "QUESTION": "={{ $('Loop Over Items').item.json.text }}"}, "schema": [{"id": "QUESTION", "type": "string", "display": true, "required": false, "displayName": "QUESTION", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "ANSWER", "type": "string", "display": true, "removed": false, "required": false, "displayName": "ANSWER", "defaultMatch": false, "canBeUsedToMatch": true}], "mappingMode": "defineBelow", "matchingColumns": [], "attemptToConvertTypes": false, "convertFieldsToString": false}, "options": {}, "operation": "append", "sheetName": {"__rl": true, "mode": "list", "value": "gid=0", "cachedResultUrl": "https://docs.google.com/spreadsheets/d/16zkksQMG1U9U850DFC5nDy-90VYZCgxLlyVwDB9I28Q/edit#gid=0", "cachedResultName": "Open questions"}, "documentId": {"__rl": true, "mode": "list", "value": "16zkksQMG1U9U850DFC5nDy-90VYZCgxLlyVwDB9I28Q", "cachedResultUrl": "https://docs.google.com/spreadsheets/d/16zkksQMG1U9U850DFC5nDy-90VYZCgxLlyVwDB9I28Q/edit?usp=drivesdk", "cachedResultName": "Question for Exam"}}, "credentials": {"googleSheetsOAuth2Api": {"id": "JYR6a64Qecd6t8Hb", "name": "Google Sheets account"}}, "typeVersion": 4.5}, {"id": "1c72d8f0-b5b7-4e10-ad03-6c8491136cdf", "name": "Write closed", "type": "n8n-nodes-base.googleSheets", "position": [1860, 1560], "parameters": {"columns": {"value": {"CORRECT": "={{ $json.output.correct }}", "ANSWER A": "={{ $json.output.answers[0] }}", "ANSWER B": "={{ $json.output.answers[1] }}", "ANSWER C": "={{ $json.output.answers[2] }}", "ANSWER D": "={{ $json.output.answers[3] }}", "QUESTION": "={{ $('Closed questions').item.json.text }}"}, "schema": [{"id": "QUESTION", "type": "string", "display": true, "required": false, "displayName": "QUESTION", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "ANSWER A", "type": "string", "display": true, "removed": false, "required": false, "displayName": "ANSWER A", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "ANSWER B", "type": "string", "display": true, "removed": false, "required": false, "displayName": "ANSWER B", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "ANSWER C", "type": "string", "display": true, "removed": false, "required": false, "displayName": "ANSWER C", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "ANSWER D", "type": "string", "display": true, "removed": false, "required": false, "displayName": "ANSWER D", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "CORRECT", "type": "string", "display": true, "removed": false, "required": false, "displayName": "CORRECT", "defaultMatch": false, "canBeUsedToMatch": true}], "mappingMode": "defineBelow", "matchingColumns": [], "attemptToConvertTypes": false, "convertFieldsToString": false}, "options": {}, "operation": "append", "sheetName": {"__rl": true, "mode": "list", "value": 124452194, "cachedResultUrl": "https://docs.google.com/spreadsheets/d/16zkksQMG1U9U850DFC5nDy-90VYZCgxLlyVwDB9I28Q/edit#gid=124452194", "cachedResultName": "Closed questions"}, "documentId": {"__rl": true, "mode": "list", "value": "16zkksQMG1U9U850DFC5nDy-90VYZCgxLlyVwDB9I28Q", "cachedResultUrl": "https://docs.google.com/spreadsheets/d/16zkksQMG1U9U850DFC5nDy-90VYZCgxLlyVwDB9I28Q/edit?usp=drivesdk", "cachedResultName": "Question for Exam"}}, "credentials": {"googleSheetsOAuth2Api": {"id": "JYR6a64Qecd6t8Hb", "name": "Google Sheets account"}}, "typeVersion": 4.5}, {"id": "9e5e41b1-32b2-413e-b63f-13e946857569", "name": "Embeddings OpenAI1", "type": "@n8n/n8n-nodes-langchain.embeddingsOpenAi", "position": [1420, 1340], "parameters": {"options": {}}, "credentials": {"openAiApi": {"id": "4zwP0MSr8zkNvvV9", "name": "OpenAi account"}}, "typeVersion": 1.2}, {"id": "a87ab6ba-39b0-4c7c-be19-9003e38c9495", "name": "Sticky Note", "type": "n8n-nodes-base.stickyNote", "position": [-460, 780], "parameters": {"width": 620, "height": 180, "content": "# STEP 3\n\nThe chain analyzes the document and creates 10 \"open\" questions and another chain analyzes each single question and through the consultation of the vector database the optimal answer is obtained."}, "typeVersion": 1}, {"id": "ea81bccc-d204-44d7-89b2-85f7b3267e34", "name": "Sticky Note1", "type": "n8n-nodes-base.stickyNote", "position": [-460, 1540], "parameters": {"width": 620, "height": 180, "content": "# STEP 4\n\nThe chain analyzes the document and creates 10 questions with \"closed\" answers and another chain analyzes each single question and through the consultation of the vector database the correct answer and 3 other wrong answers are obtained to be used as a quiz."}, "typeVersion": 1}, {"id": "b510a77d-7436-4b84-b7a3-d42d75b15b59", "name": "Sticky Note2", "type": "n8n-nodes-base.stickyNote", "position": [-480, -360], "parameters": {"color": 3, "width": 1120, "height": 200, "content": "## Auto-Generate Exam Questions from Google Docs with AI\n\nThis workflow automates the creation of exam questions (both open-ended and multiple-choice) from educational content stored in Google Docs, using AI-powered analysis and vector database retrieval\n\nThis workflow **saves educators hours of manual work** while ensuring high-quality, curriculum-aligned assessments. Let me know if you'd like help adapting it for specific subjects!\n"}, "typeVersion": 1}], "active": false, "pinData": {}, "settings": {"executionOrder": "v1"}, "versionId": "626a1ef7-45ae-4724-af3b-8a04b37fffc8", "connections": {"RAG": {"ai_tool": [[{"node": "Answer and create options", "type": "ai_tool", "index": 0}]]}, "Get Doc": {"main": [[{"node": "Converto di MD", "type": "main", "index": 0}]]}, "Write open": {"main": [[{"node": "Loop Over Items", "type": "main", "index": 0}]]}, "Write closed": {"main": [[{"node": "Loop Over Items1", "type": "main", "index": 0}]]}, "Converto di MD": {"main": [[{"node": "Closed questions", "type": "main", "index": 0}, {"node": "Convert to File", "type": "main", "index": 0}, {"node": "Open questions", "type": "main", "index": 0}]]}, "Open questions": {"main": [[{"node": "Loop Over Items", "type": "main", "index": 0}]]}, "Token Splitter": {"ai_textSplitter": [[{"node": "Default Data Loader", "type": "ai_textSplitter", "index": 0}]]}, "Convert to File": {"main": [[{"node": "Qdrant Vector Store", "type": "main", "index": 0}]]}, "Loop Over Items": {"main": [[], [{"node": "Answer questions", "type": "main", "index": 0}]]}, "Answer questions": {"main": [[{"node": "Write open", "type": "main", "index": 0}]]}, "Closed questions": {"main": [[{"node": "Loop Over Items1", "type": "main", "index": 0}]]}, "Loop Over Items1": {"main": [[], [{"node": "Answer and create options", "type": "main", "index": 0}]]}, "Embeddings OpenAI": {"ai_embedding": [[{"node": "Qdrant Vector Store", "type": "ai_embedding", "index": 0}]]}, "Embeddings OpenAI1": {"ai_embedding": [[{"node": "Qdrant Vector Store1", "type": "ai_embedding", "index": 0}]]}, "Embeddings OpenAI2": {"ai_embedding": [[{"node": "Qdrant Vector Store2", "type": "ai_embedding", "index": 0}]]}, "Refresh collection": {"main": [[{"node": "Get Doc", "type": "main", "index": 0}]]}, "Default Data Loader": {"ai_document": [[{"node": "Qdrant Vector Store", "type": "ai_document", "index": 0}]]}, "Qdrant Vector Store1": {"ai_vectorStore": [[{"node": "Vector Store Retriever", "type": "ai_vectorStore", "index": 0}]]}, "Qdrant Vector Store2": {"ai_vectorStore": [[{"node": "RAG", "type": "ai_vectorStore", "index": 0}]]}, "Vector Store Retriever": {"ai_retriever": [[{"node": "Answer questions", "type": "ai_retriever", "index": 0}]]}, "Item List Output Parser": {"ai_outputParser": [[{"node": "Open questions", "type": "ai_outputParser", "index": 0}]]}, "Google Gemini Chat Model": {"ai_languageModel": [[{"node": "Open questions", "type": "ai_languageModel", "index": 0}]]}, "Item List Output Parser1": {"ai_outputParser": [[{"node": "Closed questions", "type": "ai_outputParser", "index": 0}]]}, "Structured Output Parser": {"ai_outputParser": [[{"node": "Answer and create options", "type": "ai_outputParser", "index": 0}]]}, "Answer and create options": {"main": [[{"node": "Write closed", "type": "main", "index": 0}]]}, "Google Gemini Chat Model1": {"ai_languageModel": [[{"node": "Answer questions", "type": "ai_languageModel", "index": 0}]]}, "Google Gemini Chat Model2": {"ai_languageModel": [[{"node": "Closed questions", "type": "ai_languageModel", "index": 0}]]}, "Google Gemini Chat Model3": {"ai_languageModel": [[{"node": "Answer and create options", "type": "ai_languageModel", "index": 0}]]}, "Google Gemini Chat Model4": {"ai_languageModel": [[{"node": "RAG", "type": "ai_languageModel", "index": 0}]]}, "When clicking \u2018Test workflow\u2019": {"main": [[{"node": "Refresh collection", "type": "main", "index": 0}]]}}}
|
7ZIG5xxEACMBgj4Z
|
Create Threads on Bluesky
|
20
|
["code", "httpRequest", "scheduleTrigger", "set", "splitInBatches", "stickyNote", "wait"]
|
ai-automation-lab
|
{"id": "7ZIG5xxEACMBgj4Z", "meta": {"instanceId": "1b1e85a338c6ce950207b3b471d43405c7b292e6b980ee5b66c1a9e5af2a50f8"}, "name": "Create Threads on Bluesky", "tags": [{"id": "f3JGorUk16BX0hZI", "name": "Bluesky", "createdAt": "2025-01-19T09:37:40.989Z", "updatedAt": "2025-01-19T09:37:40.989Z"}, {"id": "hTHZamkzaTBmF3yo", "name": "Template", "createdAt": "2025-01-16T04:45:44.377Z", "updatedAt": "2025-01-16T04:45:44.377Z"}], "nodes": [{"id": "5fea442d-80e7-4e9c-9214-12fa8bc98a71", "name": "Create Bluesky Session", "type": "n8n-nodes-base.httpRequest", "position": [-2160, 540], "parameters": {"url": "https://bsky.social/xrpc/com.atproto.server.createSession", "method": "POST", "options": {}, "sendBody": true, "bodyParameters": {"parameters": [{"name": "identifier", "value": "={{ $json.BlueskyHandle }}"}, {"name": "password", "value": "={{ $json.BlueskyAppPassword }}"}]}}, "typeVersion": 4.2}, {"id": "8339e67d-87f8-48a5-a9c9-48d90d9baf49", "name": "Create Reply", "type": "n8n-nodes-base.httpRequest", "position": [-1200, 540], "parameters": {"url": "https://bsky.social/xrpc/com.atproto.repo.createRecord", "method": "POST", "options": {}, "jsonBody": "={{ $('Create Reply Text').item.json.toJsonString() }}", "sendBody": true, "sendHeaders": true, "specifyBody": "json", "headerParameters": {"parameters": [{"name": "Authorization", "value": "=Bearer {{ $('Create Bluesky Session').item.json.accessJwt}}"}]}}, "typeVersion": 4.2}, {"id": "16fa4a6c-ab93-4ea1-9a9b-2f9e9804e25a", "name": "Run Daily at 9 AM", "type": "n8n-nodes-base.scheduleTrigger", "position": [-2640, 540], "parameters": {"rule": {"interval": [{"triggerAtHour": 9}]}}, "typeVersion": 1.2}, {"id": "7c06e67d-a524-457b-a6ce-955aab353352", "name": "Set Bluesky Credentials", "type": "n8n-nodes-base.set", "position": [-2380, 540], "parameters": {"options": {}, "assignments": {"assignments": [{"id": "ec07f538-0164-40c5-a199-45e2a8a4604a", "name": "BlueskyHandle", "type": "string", "value": "[enter your bluesky handle here]"}, {"id": "463e906c-c49b-41e0-9176-04bd2c175d0b", "name": "BlueskyAppPassword", "type": "string", "value": "[enter your app password here]"}]}}, "typeVersion": 3.4}, {"id": "156da8f4-5cc7-4a58-9a6c-75b1bd6df4cd", "name": "Sticky Note", "type": "n8n-nodes-base.stickyNote", "position": [-2440, 340], "parameters": {"color": 3, "width": 440, "height": 360, "content": "## Bluesky Authentication\nSet your Bluesky social link and also your App Password."}, "typeVersion": 1}, {"id": "2bd742a8-3955-4452-95c8-9c9a7b8071e2", "name": "Sticky Note1", "type": "n8n-nodes-base.stickyNote", "position": [-1960, 340], "parameters": {"color": 4, "width": 440, "height": 360, "content": "## Initial Post [A]\nWhen the first post is created two identifiers are returned:\n- URI (an at:// link to the post)\n- CID (a content-hash of the post)"}, "typeVersion": 1}, {"id": "e6e258e8-e4a7-4e33-bd7c-40dd4eb8842f", "name": "Sticky Note2", "type": "n8n-nodes-base.stickyNote", "position": [-1480, 340], "parameters": {"color": 5, "width": 460, "height": 360, "content": "## First Reply Post [B]\nHere we set the 'ROOT' and the 'PARENT' values.\n\nWe use both URI and CID as ROOT and PARENT, as this is the first child of the root post (Initial Post [A]).\n\nWe receive a new URI and CID in return."}, "typeVersion": 1}, {"id": "8e3808d3-ec7d-4f46-89b7-9b27350801de", "name": "Sticky Note3", "type": "n8n-nodes-base.stickyNote", "position": [-2440, 740], "parameters": {"width": 440, "height": 380, "content": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n## Sibling Post [C]\nSet 'ROOT' using URI/CID from the root post (Initial Post [A]).\n\nFor the PARENT, we use the URI and CID returned by the preceeding post (First Reply Post [B])."}, "typeVersion": 1}, {"id": "0b9d8329-2dde-4b3b-bd9e-42d5aa367225", "name": "Create Reply Text", "type": "n8n-nodes-base.code", "position": [-1420, 540], "parameters": {"jsCode": "// Create the reply text\nconst replyText = \"[reply post - hidden]\";\n\n// Calculate timestamp 1 second from now\nconst futureDate = new Date(Date.now() + 1000);\n\n// Create the reply post object\nconst replyPostData = {\n repo: $('Set Bluesky Credentials').first().json.BlueskyHandle,\n collection: \"app.bsky.feed.post\",\n record: {\n \"$type\": \"app.bsky.feed.post\",\n text: replyText,\n reply: {\n root: {\n cid: $('Create Initial Post').first().json.cid,\n uri: $('Create Initial Post').first().json.uri\n },\n parent: {\n cid: $('Create Initial Post').first().json.cid,\n uri: $('Create Initial Post').first().json.uri\n }\n },\n createdAt: futureDate.toISOString()\n }\n};\n\nreturn replyPostData;"}, "typeVersion": 2}, {"id": "abfbef84-1b94-4ec4-ae96-345d0ea888ce", "name": "Create Sibling Text", "type": "n8n-nodes-base.code", "position": [-2380, 780], "parameters": {"jsCode": "// Create the sibling text\nconst siblingText = \"[first sibling - hidden]\";\n\n// Calculate timestamp 2 seconds from now\nconst futureDate = new Date(Date.now() + 2000);\n\n// Create the sibling post object\nconst siblingPostData = {\n repo: $('Set Bluesky Credentials').first().json.BlueskyHandle,\n collection: \"app.bsky.feed.post\",\n record: {\n \"$type\": \"app.bsky.feed.post\",\n text: siblingText,\n reply: {\n root: {\n cid: $('Create Initial Post').first().json.cid,\n uri: $('Create Initial Post').first().json.uri\n },\n parent: {\n cid: $('Create Reply').first().json.cid,\n uri: $('Create Reply').first().json.uri\n }\n },\n createdAt: futureDate.toISOString()\n }\n};\n\nreturn siblingPostData;"}, "typeVersion": 2}, {"id": "f554f5bc-bd81-4b09-887b-6c4167e8f5f1", "name": "Create Sibling", "type": "n8n-nodes-base.httpRequest", "position": [-2160, 780], "parameters": {"url": "https://bsky.social/xrpc/com.atproto.repo.createRecord", "method": "POST", "options": {}, "jsonBody": "={{ $('Create Sibling Text').item.json.toJsonString() }}", "sendBody": true, "sendHeaders": true, "specifyBody": "json", "headerParameters": {"parameters": [{"name": "Authorization", "value": "=Bearer {{ $('Create Bluesky Session').item.json.accessJwt}}"}]}}, "typeVersion": 4.2}, {"id": "7a7025fe-4b35-44db-8974-2bc81c59eead", "name": "Sticky Note5", "type": "n8n-nodes-base.stickyNote", "position": [-2700, 340], "parameters": {"color": 7, "width": 220, "height": 360, "content": "## Trigger"}, "typeVersion": 1}, {"id": "097767bc-fbb2-4e71-af68-b87d354b796e", "name": "Sticky Note6", "type": "n8n-nodes-base.stickyNote", "position": [-1960, 740], "parameters": {"color": 6, "width": 940, "height": 380, "content": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n## Sibling Posts using Loop node [D]\nHere we set the 'ROOT' using both URI and CID from the root post (Initial Post [A]), and for all future siblings.\n\nFor the PARENT, we use the URI and CID returned by the preceeding post.\nSo the first loop iteration gets it from the 'Create Sibling' node, and after that from the 'Create Post' node."}, "typeVersion": 1}, {"id": "5f8e88ef-0f56-4d81-921f-17dbfea41eec", "name": "Loop Posts", "type": "n8n-nodes-base.splitInBatches", "position": [-1720, 780], "parameters": {"options": {}}, "typeVersion": 3}, {"id": "449a0269-61cb-477c-b315-943daada65ba", "name": "Create Initial Post", "type": "n8n-nodes-base.httpRequest", "position": [-1680, 540], "parameters": {"url": "https://bsky.social/xrpc/com.atproto.repo.createRecord", "method": "POST", "options": {}, "jsonBody": "={{ $('Create Post Text').item.json.toJsonString() }}", "sendBody": true, "sendHeaders": true, "specifyBody": "json", "headerParameters": {"parameters": [{"name": "Authorization", "value": "=Bearer {{ $('Create Bluesky Session').item.json.accessJwt}}"}]}}, "typeVersion": 4.2}, {"id": "e29aa109-2b11-44c7-9a85-b5199ef4923c", "name": "Create Post", "type": "n8n-nodes-base.httpRequest", "position": [-1360, 780], "parameters": {"url": "https://bsky.social/xrpc/com.atproto.repo.createRecord", "method": "POST", "options": {}, "jsonBody": "={{ $('Create Sibling Text (Loop)').item.json.toJsonString() }}", "sendBody": true, "sendHeaders": true, "specifyBody": "json", "headerParameters": {"parameters": [{"name": "Authorization", "value": "=Bearer {{ $('Create Bluesky Session').item.json.accessJwt}}"}]}}, "typeVersion": 4.2}, {"id": "51c05a08-797b-448b-b291-753be14d7c78", "name": "Wait", "type": "n8n-nodes-base.wait", "position": [-1200, 780], "webhookId": "0414c5a9-938c-427d-98a2-1295eb02380d", "parameters": {"amount": 2}, "typeVersion": 1.1}, {"id": "b9f1bd23-e8f2-472b-ab61-05e85ffece12", "name": "Create Post Text", "type": "n8n-nodes-base.code", "position": [-1900, 540], "parameters": {"mode": "runOnceForEachItem", "jsCode": "// Create the initial post text\nconst postText = \"[initial post - visible]\";\n\n// Create the parent post object\nconst postData = {\n repo: $('Set Bluesky Credentials').first().json.BlueskyHandle,\n collection: \"app.bsky.feed.post\",\n record: {\n $type: \"app.bsky.feed.post\",\n text: postText,\n createdAt: $now\n }\n};\n\nreturn postData;"}, "typeVersion": 2}, {"id": "6c1e26df-564e-4b49-8aff-bc6e5bedcbb8", "name": "Create Sibling Array", "type": "n8n-nodes-base.code", "position": [-1900, 780], "parameters": {"jsCode": "const items = [\n { id: 2, name: '[sibling two - hidden]' },\n { id: 3, name: '[sibling three - hidden]' },\n { id: 4, name: '[sibling four - hidden]' },\n { id: 5, name: '[sibling five - hidden]' },\n { id: 6, name: '[sibling six - hidden]' },\n { id: 7, name: '[sibling seven - hidden]' },\n { id: 8, name: '[sibling eight - hidden]' },\n { id: 9, name: '[sibling nine - visible]' },\n { id: 10, name: '[sibling ten - visible]' }\n];\n\nreturn items;"}, "typeVersion": 2}, {"id": "5a91aff4-1b9d-4c69-beed-fa906c2a133b", "name": "Create Sibling Text (Loop)", "type": "n8n-nodes-base.code", "position": [-1540, 780], "parameters": {"mode": "runOnceForEachItem", "jsCode": "// Create the sibling text\nconst siblingText = `[${$json.name}]`;\n\n// For the first iteration, use the parent IDs from Create Sibling node\n// For subsequent iterations, use the Create Post node\nconst isFirstIteration = $runIndex === 0;\nconst cid = isFirstIteration \n ? $('Create Sibling').first().json.cid \n : $('Create Post').first().json.cid;\nconst uri = isFirstIteration \n ? $('Create Sibling').first().json.uri \n : $('Create Post').first().json.uri;\n\n// Calculate timestamp 2 seconds from now\nconst futureDate = new Date(Date.now() + 2000);\n\n// Create the sibling post object\nconst siblingPostData = {\n repo: $('Set Bluesky Credentials').first().json.BlueskyHandle,\n collection: \"app.bsky.feed.post\",\n record: {\n \"$type\": \"app.bsky.feed.post\",\n text: siblingText,\n reply: {\n root: {\n cid: $('Create Initial Post').first().json.cid,\n uri: $('Create Initial Post').first().json.uri\n },\n parent: {\n cid: cid,\n uri: uri\n }\n },\n createdAt: futureDate.toISOString()\n }\n};\n\nreturn siblingPostData;"}, "typeVersion": 2}], "active": false, "pinData": {}, "settings": {"executionOrder": "v1"}, "versionId": "d0c40145-fbf4-46b5-9df0-5b5c9c896d9c", "connections": {"Wait": {"main": [[{"node": "Loop Posts", "type": "main", "index": 0}]]}, "Loop Posts": {"main": [[], [{"node": "Create Sibling Text (Loop)", "type": "main", "index": 0}]]}, "Create Post": {"main": [[{"node": "Wait", "type": "main", "index": 0}]]}, "Create Reply": {"main": [[{"node": "Create Sibling Text", "type": "main", "index": 0}]]}, "Create Sibling": {"main": [[{"node": "Create Sibling Array", "type": "main", "index": 0}]]}, "Create Post Text": {"main": [[{"node": "Create Initial Post", "type": "main", "index": 0}]]}, "Create Reply Text": {"main": [[{"node": "Create Reply", "type": "main", "index": 0}]]}, "Run Daily at 9 AM": {"main": [[{"node": "Set Bluesky Credentials", "type": "main", "index": 0}]]}, "Create Initial Post": {"main": [[{"node": "Create Reply Text", "type": "main", "index": 0}]]}, "Create Sibling Text": {"main": [[{"node": "Create Sibling", "type": "main", "index": 0}]]}, "Create Sibling Array": {"main": [[{"node": "Loop Posts", "type": "main", "index": 0}]]}, "Create Bluesky Session": {"main": [[{"node": "Create Post Text", "type": "main", "index": 0}]]}, "Set Bluesky Credentials": {"main": [[{"node": "Create Bluesky Session", "type": "main", "index": 0}]]}, "Create Sibling Text (Loop)": {"main": [[{"node": "Create Post", "type": "main", "index": 0}]]}}}
|
7
|
6
|
2
|
["hubspot", "manualTrigger"]
|
ai-automation-lab
|
{"id": "7", "name": "6", "nodes": [{"name": "On clicking 'execute'", "type": "n8n-nodes-base.manualTrigger", "position": [440, 320], "parameters": {}, "typeVersion": 1}, {"name": "Hubspot", "type": "n8n-nodes-base.hubspot", "position": [750, 320], "parameters": {"resource": "contact", "operation": "getAll", "returnAll": true, "additionalFields": {}}, "credentials": {"hubspotApi": "scsc"}, "typeVersion": 1}], "active": false, "settings": {}, "connections": {"On clicking 'execute'": {"main": [[{"node": "Hubspot", "type": "main", "index": 0}]]}}}
|
7
|
Coffee Bot (Mattermost)
|
6
|
["cron", "function", "googleCalendar", "mattermost"]
|
ai-automation-lab
|
{"id": "7", "name": "Coffee Bot (Mattermost)", "nodes": [{"name": "Divide into groups", "type": "n8n-nodes-base.function", "position": [1060, 300], "parameters": {"functionCode": "const ideal_group_size = 3;\nlet groups = [];\nlet data_as_array = [];\nlet newItems = [];\n\n// Take all the users and add them to an array\nfor (let j = 0; j < items.length; j++) {\n data_as_array.push({username: items[j].json.username, email: items[j].json.email});\n}\n\n// Fisher-Yates (aka Knuth) Shuffle\nfunction shuffle(array) {\n var currentIndex = array.length, temporaryValue, randomIndex;\n\n // While there remain elements to shuffle...\n while (0 !== currentIndex) {\n\n // Pick a remaining element...\n randomIndex = Math.floor(Math.random() * currentIndex);\n currentIndex -= 1;\n\n // And swap it with the current element.\n temporaryValue = array[currentIndex];\n array[currentIndex] = array[randomIndex];\n array[randomIndex] = temporaryValue;\n }\n\n return array;\n}\n\n// Randomize the sequence of names in the array\ndata_as_array = shuffle(data_as_array);\n\n// Create groups of ideal group size (3)\nfor (let i = 0; i < data_as_array.length; i += ideal_group_size) {\n groups.push(data_as_array.slice(i, i + ideal_group_size));\n}\n\n// Make sure that no group has just one person. If it does, take\n// one from previous group and add it to that group \nfor (let k = 0; k < groups.length; k++) {\n if (groups[k].length === 1) {\n groups[k].push(groups[k-1].shift());\n }\n}\n\nfor (let l = 0; l < groups.length; l++) {\n newItems.push({json: {groupsUsername: groups[l].map(a=> a.username), groupsEmail: groups[l].map(b=> b.email)}})\n}\n\nreturn newItems;"}, "typeVersion": 1}, {"name": "Greetings", "type": "n8n-nodes-base.mattermost", "position": [650, 300], "parameters": {"message": "\ud83d\udc4b Happy Monday\n\nGroups for this week's virtual coffee are:", "channelId": "Enter Your Channel ID", "attachments": [], "otherOptions": {}}, "credentials": {"mattermostApi": "Mattermost Cred"}, "typeVersion": 1}, {"name": "Weekly trigger on monday", "type": "n8n-nodes-base.cron", "position": [450, 300], "parameters": {"triggerTimes": {"item": [{"hour": 10, "mode": "everyWeek"}]}}, "typeVersion": 1}, {"name": "Announce groups", "type": "n8n-nodes-base.mattermost", "position": [1250, 200], "parameters": {"message": "=\u2600\ufe0f {{$node[\"Divide into groups\"].json[\"groupsUsername\"].join(', ')}}", "channelId": "=", "attachments": [], "otherOptions": {}}, "credentials": {"mattermostApi": "Mattermost Cred"}, "typeVersion": 1}, {"name": "Employees in coffee chat channel", "type": "n8n-nodes-base.mattermost", "position": [850, 300], "parameters": {"resource": "user", "operation": "getAll", "additionalFields": {"inChannel": "={{$node[\"Greetings\"].parameter[\"channelId\"]}}"}}, "credentials": {"mattermostApi": "Mattermost Cred"}, "typeVersion": 1}, {"name": "Send calendar invites", "type": "n8n-nodes-base.googleCalendar", "position": [1250, 400], "parameters": {"end": "2020-12-17T18:38:49.000Z", "start": "2020-12-17T18:08:49.000Z", "calendar": "Enter Your Google Calendar", "additionalFields": {"summary": "n8n coffee catchup", "attendees": ["={{$node[\"Divide into groups\"].json[\"groupsEmail\"].join(',')}}"], "guestsCanModify": true, "conferenceDataUi": {"conferenceDataValues": {"conferenceSolution": "hangoutsMeet"}}}}, "credentials": {"googleCalendarOAuth2Api": "Google Calendar Cred"}, "typeVersion": 1}], "active": false, "settings": {}, "connections": {"Greetings": {"main": [[{"node": "Employees in coffee chat channel", "type": "main", "index": 0}]]}, "Divide into groups": {"main": [[{"node": "Announce groups", "type": "main", "index": 0}, {"node": "Send calendar invites", "type": "main", "index": 0}]]}, "Weekly trigger on monday": {"main": [[{"node": "Greetings", "type": "main", "index": 0}]]}, "Employees in coffee chat channel": {"main": [[{"node": "Divide into groups", "type": "main", "index": 0}]]}}}
|
7
|
Daily Language Learning
|
8
|
["airtable", "cron", "function", "hackerNews", "lingvaNex", "set", "vonage"]
|
ai-automation-lab
|
{"id": "7", "name": "Daily Language Learning", "nodes": [{"name": "Daily trigger", "type": "n8n-nodes-base.cron", "position": [620, 750], "parameters": {"triggerTimes": {"item": [{"hour": 8}]}}, "typeVersion": 1}, {"name": "Get top 3 articles", "type": "n8n-nodes-base.hackerNews", "position": [820, 750], "parameters": {"limit": 3, "resource": "all", "additionalFields": {"tags": ["front_page"]}}, "typeVersion": 1}, {"name": "Extract words", "type": "n8n-nodes-base.function", "position": [1020, 750], "parameters": {"functionCode": "const words = [];\nconst regex = /\\d/g;\nconst newItems = [];\n\n// Splits titles into words and removes numbers\n// using regular expressions\n\nfor(let i=0; i < items.length; i++) {\n let split_titles = []; \n split_titles = items[i].json.title.split(' ');\n for(let j=0; j < split_titles.length; j++) {\n if(regex.test(split_titles[j])) {\n continue;\n } else {\n words.push(split_titles[j]);\n }\n }\n}\n\n// Removes all duplicate words by converting the\n// array into a set and then back into an array\n\nconst uniqueWords = [...new Set(words)];\n\n// Transform the array to the data structure expected\n// by n8n\n\nfor(let k=0; k < uniqueWords.length; k++) {\n newItems.push({json: { words: uniqueWords[k] }});\n}\n\nreturn newItems;"}, "typeVersion": 1}, {"name": "Translate", "type": "n8n-nodes-base.lingvaNex", "position": [1220, 750], "parameters": {"text": "={{$node[\"Extract words\"].json[\"words\"]}}", "options": {}, "translateTo": "de_DE"}, "credentials": {"lingvaNexApi": "LingvaNex"}, "typeVersion": 1}, {"name": "Filter data ", "type": "n8n-nodes-base.set", "position": [1420, 750], "parameters": {"values": {"string": [{"name": "English word", "value": "={{$node[\"Translate\"].json[\"source\"]}}"}, {"name": "Translated word", "value": "={{$node[\"Translate\"].json[\"result\"]}}"}]}, "options": {}, "keepOnlySet": true}, "typeVersion": 1}, {"name": "Save today's words", "type": "n8n-nodes-base.airtable", "position": [1620, 850], "parameters": {"table": "Table 1", "options": {}, "operation": "append", "application": "app4Y6qcCHIO1cYNB"}, "credentials": {"airtableApi": "Airtable"}, "typeVersion": 1}, {"name": "Craft message", "type": "n8n-nodes-base.function", "position": [1620, 650], "parameters": {"functionCode": "const number_of_words = 5;\nconst words = [];\n\n// Crafts the words to be sent in en_word : translated_word format\n// and adds them to an array\n\nfor(let i=0; i < number_of_words; i++) {\n words.push(items[i].json['English word'] + ' : ' + items[i].json['Translated word']);\n}\n\n// Takes all the items from the array and converts them into a comma\n// separated string\n\nconst words_of_the_day = words.join(', ');\n\nreturn [{json: {words_of_the_day: words_of_the_day}}];"}, "typeVersion": 1}, {"name": "Send SMS", "type": "n8n-nodes-base.vonage", "position": [1820, 650], "parameters": {"to": "+4915225152610", "from": "Vonage APIs", "message": "=Good morning, here are your words for today\n{{$node[\"Craft message\"].json[\"words_of_the_day\"]}}", "additionalFields": {}}, "credentials": {"vonageApi": "Vonage"}, "typeVersion": 1}], "active": false, "settings": {}, "connections": {"Translate": {"main": [[{"node": "Filter data ", "type": "main", "index": 0}]]}, "Filter data ": {"main": [[{"node": "Craft message", "type": "main", "index": 0}, {"node": "Save today's words", "type": "main", "index": 0}]]}, "Craft message": {"main": [[{"node": "Send SMS", "type": "main", "index": 0}]]}, "Daily trigger": {"main": [[{"node": "Get top 3 articles", "type": "main", "index": 0}]]}, "Extract words": {"main": [[{"node": "Translate", "type": "main", "index": 0}]]}, "Get top 3 articles": {"main": [[{"node": "Extract words", "type": "main", "index": 0}]]}}}
|
7
|
Publish post to a publication
|
2
|
["manualTrigger", "medium"]
|
ai-automation-lab
|
{"id": "7", "name": "Publish post to a publication", "nodes": [{"name": "On clicking 'execute'", "type": "n8n-nodes-base.manualTrigger", "position": [600, 300], "parameters": {}, "typeVersion": 1}, {"name": "Medium", "type": "n8n-nodes-base.medium", "position": [800, 300], "parameters": {"title": "", "content": "", "publication": true, "contentFormat": "", "publicationId": "", "additionalFields": {}}, "credentials": {"mediumApi": "medium"}, "typeVersion": 1}], "active": false, "settings": {}, "connections": {"On clicking 'execute'": {"main": [[{"node": "Medium", "type": "main", "index": 0}]]}}}
|
7
|
YouTube to Raindrop
|
6
|
["cron", "function", "functionItem", "manualTrigger", "raindrop", "youTube"]
|
ai-automation-lab
|
{"id": 7, "name": "YouTube to Raindrop", "nodes": [{"name": "On clicking 'execute'", "type": "n8n-nodes-base.manualTrigger", "position": [-610, 160], "parameters": {}, "typeVersion": 1}, {"name": "YouTube", "type": "n8n-nodes-base.youTube", "position": [-440, 240], "parameters": {"part": ["snippet"], "options": {}, "resource": "playlistItem", "operation": "getAll", "playlistId": "CHANGE_ME"}, "credentials": {"youTubeOAuth2Api": "Google n8n"}, "typeVersion": 1}, {"name": "Filter new items", "type": "n8n-nodes-base.function", "position": [-120, 240], "parameters": {"functionCode": "const staticData = getWorkflowStaticData('global');\nconst newIds = items.map(item => item.json[\"resourceId\"][\"videoId\"]);\nconst oldIds = staticData.oldIds; \n\nif (!oldIds) {\n staticData.oldIds = newIds;\n return items;\n}\n\n\nconst actualNewIds = newIds.filter((id) => !oldIds.includes(id));\nconst actualNew = items.filter((data) => actualNewIds.includes(data.json[\"resourceId\"][\"videoId\"]));\nstaticData.oldIds = [...actualNewIds, ...oldIds];\n\nreturn actualNew;\n"}, "typeVersion": 1}, {"name": "Flatten JSON", "type": "n8n-nodes-base.functionItem", "position": [-280, 240], "parameters": {"functionCode": "item = item[\"snippet\"]\n\nreturn item;"}, "typeVersion": 1}, {"name": "Raindrop Bookmark", "type": "n8n-nodes-base.raindrop", "position": [40, 240], "parameters": {"link": "=https://www.youtube.com/watch?v={{$json[\"resourceId\"][\"videoId\"]}}", "resource": "bookmark", "operation": "create", "collectionId": 0, "additionalFields": {"tags": "youtube", "title": "={{$json[\"videoOwnerChannelTitle\"]}} | {{$json[\"title\"]}}"}}, "credentials": {"raindropOAuth2Api": "Raindrop"}, "typeVersion": 1}, {"name": "Every 30 mins", "type": "n8n-nodes-base.cron", "position": [-610, 320], "parameters": {"triggerTimes": {"item": [{"mode": "everyX", "unit": "minutes", "value": 30}]}}, "typeVersion": 1}], "active": true, "settings": {}, "connections": {"YouTube": {"main": [[{"node": "Flatten JSON", "type": "main", "index": 0}]]}, "Flatten JSON": {"main": [[{"node": "Filter new items", "type": "main", "index": 0}]]}, "Every 30 mins": {"main": [[{"node": "YouTube", "type": "main", "index": 0}]]}, "Filter new items": {"main": [[{"node": "Raindrop Bookmark", "type": "main", "index": 0}]]}, "On clicking 'execute'": {"main": [[{"node": "YouTube", "type": "main", "index": 0}]]}}}
|
7cXvgkl9170QXzT2
|
RAG Workflow For Company Documents stored in Google Drive
|
18
|
["googleDrive", "googleDriveTrigger", "stickyNote"]
|
ai-automation-lab
|
{"id": "7cXvgkl9170QXzT2", "meta": {"instanceId": "69133932b9ba8e1ef14816d0b63297bb44feb97c19f759b5d153ff6b0c59e18d", "templateCredsSetupCompleted": true}, "name": "RAG Workflow For Company Documents stored in Google Drive", "tags": [], "nodes": [{"id": "753455a3-ddc8-4a74-b043-70a0af38ff9e", "name": "Pinecone Vector Store", "type": "@n8n/n8n-nodes-langchain.vectorStorePinecone", "position": [680, 0], "parameters": {"mode": "insert", "options": {}, "pineconeIndex": {"__rl": true, "mode": "list", "value": "company-files", "cachedResultName": "company-files"}}, "credentials": {"pineconeApi": {"id": "bQTNry52ypGLqt47", "name": "PineconeApi account"}}, "typeVersion": 1}, {"id": "a7c8fa7f-cad2-4497-a295-30aa2e98cacc", "name": "Embeddings Google Gemini", "type": "@n8n/n8n-nodes-langchain.embeddingsGoogleGemini", "position": [640, 280], "parameters": {"modelName": "models/text-embedding-004"}, "credentials": {"googlePalmApi": {"id": "jLOqyTR4yTT1nYKi", "name": "Google Gemini(PaLM) Api account"}}, "typeVersion": 1}, {"id": "215f0519-4359-4e4b-a90c-7e54b1cc52b5", "name": "Default Data Loader", "type": "@n8n/n8n-nodes-langchain.documentDefaultDataLoader", "position": [840, 220], "parameters": {"options": {}, "dataType": "binary", "binaryMode": "specificField"}, "typeVersion": 1}, {"id": "863d3d1d-1621-406e-8320-688f64b07b09", "name": "Recursive Character Text Splitter", "type": "@n8n/n8n-nodes-langchain.textSplitterRecursiveCharacterTextSplitter", "position": [820, 420], "parameters": {"options": {}, "chunkOverlap": 100}, "typeVersion": 1}, {"id": "5af1efb1-ea69-466e-bb3b-2b7e6b1ceef7", "name": "AI Agent", "type": "@n8n/n8n-nodes-langchain.agent", "position": [420, 840], "parameters": {"options": {"systemMessage": "You are a helpful HR assistant designed to answer employee questions based on company policies.\n\nRetrieve relevant information from the provided internal documents and provide a concise, accurate, and informative answer to the employee's question.\n\nUse the tool called \"company_documents_tool\" to retrieve any information from the company's documents.\n\nIf the answer cannot be found in the provided documents, respond with \"I cannot find the answer in the available resources.\""}}, "typeVersion": 1.7}, {"id": "825632ac-1edf-4e63-948d-b1a498b2b962", "name": "Vector Store Tool", "type": "@n8n/n8n-nodes-langchain.toolVectorStore", "position": [820, 1060], "parameters": {"name": "company_documents_tool", "description": "Retrieve information from any company documents"}, "typeVersion": 1}, {"id": "72d2f685-bcc3-4e62-a5e3-72c0fe65f8e8", "name": "Pinecone Vector Store (Retrieval)", "type": "@n8n/n8n-nodes-langchain.vectorStorePinecone", "position": [720, 1240], "parameters": {"options": {}, "pineconeIndex": {"__rl": true, "mode": "list", "value": "company-files", "cachedResultName": "company-files"}}, "credentials": {"pineconeApi": {"id": "bQTNry52ypGLqt47", "name": "PineconeApi account"}}, "typeVersion": 1}, {"id": "eeff81cb-6aec-4e7f-afe0-432d87085fb2", "name": "Embeddings Google Gemini (retrieval)", "type": "@n8n/n8n-nodes-langchain.embeddingsGoogleGemini", "position": [700, 1400], "parameters": {"modelName": "models/text-embedding-004"}, "credentials": {"googlePalmApi": {"id": "jLOqyTR4yTT1nYKi", "name": "Google Gemini(PaLM) Api account"}}, "typeVersion": 1}, {"id": "8bb6ebb1-1deb-498b-8da4-b809a736e097", "name": "Download File From Google Drive", "type": "n8n-nodes-base.googleDrive", "position": [460, 0], "parameters": {"fileId": {"__rl": true, "mode": "id", "value": "={{ $json.id }}"}, "options": {"fileName": "={{ $json.name }}"}, "operation": "download"}, "credentials": {"googleDriveOAuth2Api": {"id": "uixLsi5TmrfwXPeB", "name": "Google Drive account"}}, "typeVersion": 3}, {"id": "bd83bacf-dff1-4b7c-af5c-b249fb16c113", "name": "Sticky Note2", "type": "n8n-nodes-base.stickyNote", "position": [420, 660], "parameters": {"content": "## Chat with company documents"}, "typeVersion": 1}, {"id": "7b90daab-0fb2-4c8a-93e6-b138bb04f282", "name": "Google Drive File Updated", "type": "n8n-nodes-base.googleDriveTrigger", "position": [140, 140], "parameters": {"event": "fileUpdated", "options": {}, "pollTimes": {"item": [{"mode": "everyMinute"}]}, "triggerOn": "specificFolder", "folderToWatch": {"__rl": true, "mode": "list", "value": "1evDIoHePhjw_LgVFZXSZyK1sZm2GHp9W", "cachedResultUrl": "https://drive.google.com/drive/folders/1evDIoHePhjw_LgVFZXSZyK1sZm2GHp9W", "cachedResultName": "INNOVI PRO"}}, "credentials": {"googleDriveOAuth2Api": {"id": "uixLsi5TmrfwXPeB", "name": "Google Drive account"}}, "typeVersion": 1}, {"id": "3a6c6cef-7a19-42ef-8092-eaf57dae4cdd", "name": "Google Drive File Created", "type": "n8n-nodes-base.googleDriveTrigger", "position": [140, -120], "parameters": {"event": "fileCreated", "options": {"fileType": "all"}, "pollTimes": {"item": [{"mode": "everyMinute"}]}, "triggerOn": "specificFolder", "folderToWatch": {"__rl": true, "mode": "list", "value": "1evDIoHePhjw_LgVFZXSZyK1sZm2GHp9W", "cachedResultUrl": "https://drive.google.com/drive/folders/1evDIoHePhjw_LgVFZXSZyK1sZm2GHp9W", "cachedResultName": "INNOVI PRO"}}, "credentials": {"googleDriveOAuth2Api": {"id": "uixLsi5TmrfwXPeB", "name": "Google Drive account"}}, "typeVersion": 1}, {"id": "1e38f1c8-7bd0-4eeb-addc-62339582d350", "name": "Window Buffer Memory", "type": "@n8n/n8n-nodes-langchain.memoryBufferWindow", "position": [500, 1140], "parameters": {}, "typeVersion": 1.3}, {"id": "4b0ab858-99b1-4337-8c5c-a223519e3662", "name": "When chat message received", "type": "@n8n/n8n-nodes-langchain.chatTrigger", "position": [80, 840], "webhookId": "5f1c0c82-0ff9-40c7-9e2e-b1a96ffe24cd", "parameters": {"options": {}}, "typeVersion": 1.1}, {"id": "bfb684d1-e5c1-41da-8305-b2606a2eade6", "name": "Sticky Note", "type": "n8n-nodes-base.stickyNote", "position": [440, -240], "parameters": {"width": 320, "content": "## Add docuemnts to vector store when updating or creating new documents in Google Drive"}, "typeVersion": 1}, {"id": "8f627ec6-4b3f-43ad-a4a3-e2b199a7fe58", "name": "Google Gemini Chat Model", "type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini", "position": [320, 1140], "parameters": {"options": {}, "modelName": "models/gemini-2.0-flash-exp"}, "credentials": {"googlePalmApi": {"id": "jLOqyTR4yTT1nYKi", "name": "Google Gemini(PaLM) Api account"}}, "typeVersion": 1}, {"id": "f2133a06-0088-46de-9f74-a3f9fe478f98", "name": "Google Gemini Chat Model (retrieval)", "type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini", "position": [1080, 1240], "parameters": {"options": {}, "modelName": "models/gemini-2.0-flash-exp"}, "credentials": {"googlePalmApi": {"id": "jLOqyTR4yTT1nYKi", "name": "Google Gemini(PaLM) Api account"}}, "typeVersion": 1}, {"id": "578deb96-8393-4850-9757-fa97b2bc9992", "name": "Sticky Note1", "type": "n8n-nodes-base.stickyNote", "position": [-540, 220], "parameters": {"width": 420, "height": 720, "content": "## Set up steps\n\n1. Google Cloud Project and Vertex AI API:\n* Create a Google Cloud project.\n* Enable the Vertex AI API for your project.\n2. Google AI API Key:\n* Obtain a Google AI API key from Google AI Studio.\n3. Pinecone Account:\n* Create a free account on the Pinecone website.\nObtain your API key from your Pinecone dashboard.\n* Create an index named company-files in your Pinecone project.\n4. Google Drive:\n* Create a dedicated folder in your Google Drive where company documents will be stored.\n5. Credentials in n8n: Configure credentials in your n8n environment for:\n* Google Drive OAuth2\n* Google Gemini(PaLM) Api (using your Google AI API key)\n* Pinecone API (using your Pinecone API key)\n5. Import the Workflow:\n* Import this workflow into your n8n instance.\n6. Configure the Workflow:\n* Update both Google Drive Trigger nodes to watch the specific folder you created in your Google Drive.\n* Configure the Pinecone Vector Store nodes to use your company-files index."}, "typeVersion": 1}], "active": false, "pinData": {}, "settings": {"executionOrder": "v1"}, "versionId": "33b252fb-5d87-4a29-a0a7-97308140699c", "connections": {"AI Agent": {"main": [[]]}, "Vector Store Tool": {"ai_tool": [[{"node": "AI Agent", "type": "ai_tool", "index": 0}]]}, "Default Data Loader": {"ai_document": [[{"node": "Pinecone Vector Store", "type": "ai_document", "index": 0}]]}, "Window Buffer Memory": {"ai_memory": [[{"node": "AI Agent", "type": "ai_memory", "index": 0}]]}, "Pinecone Vector Store": {"main": [[]]}, "Embeddings Google Gemini": {"ai_embedding": [[{"node": "Pinecone Vector Store", "type": "ai_embedding", "index": 0}]]}, "Google Gemini Chat Model": {"ai_languageModel": [[{"node": "AI Agent", "type": "ai_languageModel", "index": 0}]]}, "Google Drive File Created": {"main": [[{"node": "Download File From Google Drive", "type": "main", "index": 0}]]}, "Google Drive File Updated": {"main": [[{"node": "Download File From Google Drive", "type": "main", "index": 0}]]}, "When chat message received": {"main": [[{"node": "AI Agent", "type": "main", "index": 0}]]}, "Download File From Google Drive": {"main": [[{"node": "Pinecone Vector Store", "type": "main", "index": 0}]]}, "Pinecone Vector Store (Retrieval)": {"ai_vectorStore": [[{"node": "Vector Store Tool", "type": "ai_vectorStore", "index": 0}]]}, "Recursive Character Text Splitter": {"ai_textSplitter": [[{"node": "Default Data Loader", "type": "ai_textSplitter", "index": 0}]]}, "Embeddings Google Gemini (retrieval)": {"ai_embedding": [[{"node": "Pinecone Vector Store (Retrieval)", "type": "ai_embedding", "index": 0}]]}, "Google Gemini Chat Model (retrieval)": {"ai_languageModel": [[{"node": "Vector Store Tool", "type": "ai_languageModel", "index": 0}]]}}}
|
7eyNPahKcCuqK39V
|
DeepSeek v3.1
|
10
|
["gmailTool", "notionTrigger", "set", "stickyNote", "wordpressTool"]
|
ai-automation-lab
|
{"id": "7eyNPahKcCuqK39V", "meta": {"instanceId": "a2b23892dd6989fda7c1209b381f5850373a7d2b85609624d7c2b7a092671d44", "templateCredsSetupCompleted": true}, "name": "DeepSeek v3.1", "tags": [{"id": "ZGwSiT2o3NGleZvi", "name": "DeepSeek", "createdAt": "2025-03-28T00:29:11.856Z", "updatedAt": "2025-03-28T00:29:11.856Z"}], "nodes": [{"id": "5ccc1b78-0795-4653-8438-c9a65781e516", "name": "Watch Notion Updates", "type": "n8n-nodes-base.notionTrigger", "position": [-620, -100], "parameters": {"event": "pagedUpdatedInDatabase", "pollTimes": {"item": [{"mode": "everyHour"}]}, "databaseId": {"__rl": true, "mode": "id", "value": "1c33d655-0fd9-8057-ac1a-eabf12d12f6b", "__regex": "^([0-9a-f]{8}-?[0-9a-f]{4}-?[0-9a-f]{4}-?[0-9a-f]{4}-?[0-9a-f]{12})"}}, "credentials": {"notionApi": {"id": "5rz9xchmiSCmcoOx", "name": "Notion account"}}, "typeVersion": 1}, {"id": "f6bcd3cd-6bf9-42d7-a54a-31e945d5730d", "name": "AI Task Planner", "type": "@n8n/n8n-nodes-langchain.agent", "position": [320, -100], "parameters": {"text": "=You are an expert in SEO content writing.\nYour mission is to create, publish, and notify about a search engine-optimized article for a blog.\nHere are the keywords related to my topic: {{ $('Watch Notion Updates').item.json.Name }}\n\nFollow the steps below:\n\n1. **Write an SEO-optimized article with a maximum of 20 lines** based on the provided information:\n - Structure the article with a catchy **H1 title**, one or two **H2 subtitles**, and a professional yet accessible tone.\n - Extract and include relevant keywords from the data.\n - Optimize for readability: short sentences, clear paragraphs, and a CTA if relevant.\n - Do not exceed 20 lines of content.\n\n2. **Publish the article on WordPress**, including:\n - The **title** as the article's headline\n - The **SEO content** as the body\n\n3. **Send an email** to my address : {{ $json.emailAddress }} containing:\n - The article's title\n - The **URL** of the published article on WordPress\n\n4. **Retrieve the list of available Notion tools first** using \u201cNotion Tools\u201d.\n Then, **add a update the entry to my Notion database** (ID database: {{ $json.notionDatabaseId }}) ID items : {{ $json.notionItemId }}\nwith the following fields:\n - The 'Name' column is of type 'title' \u2192 {{ $('Watch Notion Updates').item.json.Name }}\n The 'Subject' column is of type 'rich_text' \u2192 [the article's headline]\n - The 'Content'column is of type 'rich_text' \u2192 [The SEO content]\n - The 'URL' column is of type 'URL': \u2192 [The article link]\n - The 'Status' column is of type 'select' \u2192 Select: `publish`\n\nImportant: Ensure that each step is successfully completed **before proceeding to the next**.", "options": {}, "promptType": "define"}, "typeVersion": 1.7}, {"id": "1627a1ae-424e-4124-ac09-bd0f7bc92d2b", "name": "Send Email", "type": "n8n-nodes-base.gmailTool", "position": [380, 160], "webhookId": "f87279e8-34e4-4fd1-81d3-677707e215de", "parameters": {"sendTo": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('To', ``, 'string') }}", "message": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('Message', ``, 'string') }}", "options": {}, "subject": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('Subject', ``, 'string') }}"}, "credentials": {"gmailOAuth2": {"id": "rKxQHWZ2F5XLJmwF", "name": "Gmail account"}}, "typeVersion": 2.1}, {"id": "c9c6f4f5-59ff-4c58-8fbd-f7cc0bd3eb2d", "name": "Publish Blog Post", "type": "n8n-nodes-base.wordpressTool", "position": [500, 160], "parameters": {"title": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('Title', ``, 'string') }}", "additionalFields": {"status": "draft", "content": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('Content', ``, 'string') }}"}}, "credentials": {"wordpressApi": {"id": "KIuXvzjOEnOsHKQE", "name": "Wordpress account"}}, "typeVersion": 1}, {"id": "0064198f-cfe0-424b-9a75-afbdd8a67c14", "name": "Notion List Available Tools", "type": "n8n-nodes-mcp.mcpClientTool", "position": [660, 160], "parameters": {}, "credentials": {"mcpClientApi": {"id": "QQbMEB7i2XAAWTSc", "name": "Notion"}}, "typeVersion": 1}, {"id": "fac061a7-0e91-4944-82f6-463db3e418ce", "name": "Notion Run a Tool", "type": "n8n-nodes-mcp.mcpClientTool", "position": [820, 160], "parameters": {"toolName": "={{ $fromAI(\"tool\", \"the tool selected\") }}", "operation": "executeTool", "toolParameters": "={{ $fromAI('tool_parameters', ``, 'json') }}"}, "credentials": {"mcpClientApi": {"id": "QQbMEB7i2XAAWTSc", "name": "Notion"}}, "typeVersion": 1}, {"id": "378f291a-bea7-47b3-a629-07fb8d3f9110", "name": "Sticky Note", "type": "n8n-nodes-base.stickyNote", "position": [-60, -220], "parameters": {"width": 1100, "height": 580, "content": "## Smart Content Automation Workflow\nAutomatically reacts to Notion updates, uses AI to process data, and triggers actions like sending emails or publishing blog posts.\n**Openrouter** : [API](https://openrouter.ai/settings/keys)"}, "typeVersion": 1}, {"id": "5a8d00c1-752d-4573-ace8-e578b58892d4", "name": "Edit Workflow Variables", "type": "n8n-nodes-base.set", "position": [-300, -100], "parameters": {"options": {}, "assignments": {"assignments": [{"id": "c06b2d24-1fd7-40f0-aee5-b5d6553e289e", "name": "emailAddress", "type": "string", "value": ""}, {"id": "8a294900-f367-47a2-b260-344b133dc2ff", "name": "notionDatabaseId", "type": "string", "value": ""}, {"id": "a34469ad-5229-4c4d-bc5d-71c88686bd37", "name": "notionItemId", "type": "string", "value": "={{ $json.id }}"}]}}, "typeVersion": 3.4, "alwaysOutputData": true}, {"id": "3e76c55d-9052-4568-9e21-29e8fd305369", "name": "Sticky Note2", "type": "n8n-nodes-base.stickyNote", "position": [-440, -220], "parameters": {"color": 6, "width": 360, "height": 300, "content": "## Workflow Configuration Panel\n\ud83d\udee0\ufe0f **Set your variables here** (email, Slack, Notion, OpenAI model)"}, "typeVersion": 1}, {"id": "27f461de-609a-4743-829c-74705191e692", "name": "DeepSeek Chat Model", "type": "@n8n/n8n-nodes-langchain.lmChatDeepSeek", "position": [100, 160], "parameters": {"options": {}}, "credentials": {"deepSeekApi": {"id": "N4JPoebNdVQUNxXH", "name": "DeepSeek account"}}, "typeVersion": 1}], "active": false, "pinData": {}, "settings": {"executionOrder": "v1"}, "versionId": "1eae918e-03f8-49d8-9dea-cf0e441e679d", "connections": {"Send Email": {"ai_tool": [[{"node": "AI Task Planner", "type": "ai_tool", "index": 0}]]}, "Notion Run a Tool": {"ai_tool": [[{"node": "AI Task Planner", "type": "ai_tool", "index": 0}]]}, "Publish Blog Post": {"ai_tool": [[{"node": "AI Task Planner", "type": "ai_tool", "index": 0}]]}, "DeepSeek Chat Model": {"ai_languageModel": [[{"node": "AI Task Planner", "type": "ai_languageModel", "index": 0}]]}, "Watch Notion Updates": {"main": [[{"node": "Edit Workflow Variables", "type": "main", "index": 0}]]}, "Edit Workflow Variables": {"main": [[{"node": "AI Task Planner", "type": "main", "index": 0}]]}, "Notion List Available Tools": {"ai_tool": [[{"node": "AI Task Planner", "type": "ai_tool", "index": 0}]]}}}
|
7fdJOvYNILCr24fH
|
Read sitemap and filter URLs
|
10
|
["filter", "httpRequest", "manualTrigger", "set", "splitOut", "stickyNote", "xml"]
|
ai-automation-lab
|
{"id": "7fdJOvYNILCr24fH", "meta": {"instanceId": "568298fde06d3db80a2eea77fe5bf45f0c7bb898dea20b769944e9ac7c6c5a80"}, "name": "Read sitemap and filter URLs", "tags": [], "nodes": [{"id": "38910330-5286-4f3f-b62e-9216acccd503", "name": "\u2018Test workflow\u2019 trigger", "type": "n8n-nodes-base.manualTrigger", "position": [-460, -60], "parameters": {}, "typeVersion": 1}, {"id": "d4e5991b-62d9-45ca-962f-c1077f3bce19", "name": "Set sitemap URL", "type": "n8n-nodes-base.set", "position": [-280, -60], "parameters": {"options": {}, "assignments": {"assignments": [{"id": "d6c5ac86-6d67-42fb-96ec-9826caf452e2", "name": "sitemapUrl", "type": "string", "value": "https://duckduckgo.com/sitemap.xml"}]}}, "typeVersion": 3.4}, {"id": "0d957deb-5830-4077-97e4-437dc7c0e527", "name": "Split Out", "type": "n8n-nodes-base.splitOut", "position": [260, -60], "parameters": {"options": {}, "fieldToSplitOut": "urlset.url"}, "typeVersion": 1}, {"id": "7021088c-dfa1-4aae-b2e7-15b0ca10a750", "name": "Get Sitemap", "type": "n8n-nodes-base.httpRequest", "position": [-100, -60], "parameters": {"url": "={{ $json.sitemapUrl }}", "options": {}}, "typeVersion": 4.2}, {"id": "d3b86577-01fc-40f8-ab65-93ba420187b8", "name": "Convert Sitemap to JSON", "type": "n8n-nodes-base.xml", "position": [80, -60], "parameters": {"options": {"trim": true, "normalize": true, "mergeAttrs": true, "ignoreAttrs": true, "normalizeTags": true}}, "typeVersion": 1}, {"id": "bc0758ae-06eb-4a29-a91e-414407ec8ade", "name": "Filter URLs", "type": "n8n-nodes-base.filter", "position": [440, -60], "parameters": {"options": {}, "conditions": {"options": {"version": 2, "leftValue": "", "caseSensitive": true, "typeValidation": "strict"}, "combinator": "and", "conditions": [{"id": "0bf8e98c-b6c5-4129-852c-0d3e63f32f9f", "operator": {"type": "string", "operation": "endsWith"}, "leftValue": "={{ $json.loc }}", "rightValue": ".pdf"}]}}, "typeVersion": 2.2}, {"id": "1d3fed97-1e72-426c-a48d-1a9683f40c4c", "name": "Sticky Note1", "type": "n8n-nodes-base.stickyNote", "position": [-300, -140], "parameters": {"color": 6, "width": 150, "height": 240, "content": "**Set your sitemap.xml\nurl here.**"}, "typeVersion": 1}, {"id": "521ec74d-6707-47fd-992d-eecebed415ab", "name": "Sticky Note2", "type": "n8n-nodes-base.stickyNote", "position": [420, -140], "parameters": {"color": 6, "width": 150, "height": 240, "content": "**Create your filter here.**"}, "typeVersion": 1}, {"id": "07e6c3de-cc72-490d-b614-67034ce04bfb", "name": "Sticky Note3", "type": "n8n-nodes-base.stickyNote", "position": [-140, -180], "parameters": {"color": 7, "width": 540, "height": 300, "content": "## Fetch and process the sitemap.xml file\nThis part fetches and process the sitemap.xml file from XML data to JSON that we can work with."}, "typeVersion": 1}, {"id": "abf5f02d-d2a0-43f1-9a1f-386cc4f9861b", "name": "Sticky Note", "type": "n8n-nodes-base.stickyNote", "position": [-780, -220], "parameters": {"width": 280, "height": 420, "content": "## Sitemap.xml reader\nThis workflow reads an sitemap.xml and filters out the entries you want.\n\nBy default only PDF documents are returned at the end of the workflow.\n\n**SETUP**\n- Edit the **Set sitemap URL** block and add the url to the sitemap you want to read.\n\n- Edit the **Filter URLs** to your needs."}, "typeVersion": 1}], "active": false, "pinData": {}, "settings": {"executionOrder": "v1"}, "versionId": "74793599-4c7d-4532-bbd5-a2ce4761fbc8", "connections": {"Split Out": {"main": [[{"node": "Filter URLs", "type": "main", "index": 0}]]}, "Get Sitemap": {"main": [[{"node": "Convert Sitemap to JSON", "type": "main", "index": 0}]]}, "Set sitemap URL": {"main": [[{"node": "Get Sitemap", "type": "main", "index": 0}]]}, "Convert Sitemap to JSON": {"main": [[{"node": "Split Out", "type": "main", "index": 0}]]}, "\u2018Test workflow\u2019 trigger": {"main": [[{"node": "Set sitemap URL", "type": "main", "index": 0}]]}}}
|
7gRbzEzCuOzQKn4M
|
SHEETS RAG
|
23
|
["code", "executeWorkflowTrigger", "googleDriveTrigger", "googleSheets", "if", "postgres", "set", "stickyNote"]
|
ai-automation-lab
|
{"id": "7gRbzEzCuOzQKn4M", "meta": {"instanceId": "edc0464b1050024ebda3e16fceea795e4fdf67b1f61187c4f2f3a72397278df0", "templateCredsSetupCompleted": true}, "name": "SHEETS RAG", "tags": [], "nodes": [{"id": "a073154f-53ad-45e2-9937-d0a4196c7838", "name": "create table query", "type": "n8n-nodes-base.code", "position": [1280, 2360], "parameters": {"jsCode": "// Helper function to check if a string is in MM/DD/YYYY format\nfunction isDateString(value) {\n const dateRegex = /^\\d{2}\\/\\d{2}\\/\\d{4}$/;\n if (typeof value !== 'string') return false;\n if (!dateRegex.test(value)) return false;\n const [month, day, year] = value.split('/').map(Number);\n const date = new Date(year, month - 1, day);\n return !isNaN(date.getTime());\n}\n\nconst tableName = `ai_table_${$('change_this').first().json.sheet_name}`;\nconst rows = $('fetch sheet data').all();\nconst allColumns = new Set();\n\n// Collect column names dynamically\nrows.forEach(row => {\n Object.keys(row.json).forEach(col => allColumns.add(col));\n});\n\n// Ensure \"ai_table_identifier\" is always the first column\nconst originalColumns = [\"ai_table_identifier\", ...Array.from(allColumns)];\n\n// Function to detect currency type (unchanged)\nfunction detectCurrency(values) {\n const currencySymbols = {\n '\u20b9': 'INR', '$': 'USD', '\u20ac': 'EUR', '\u00a3': 'GBP', '\u00a5': 'JPY',\n '\u20a9': 'KRW', '\u0e3f': 'THB', 'z\u0142': 'PLN', 'kr': 'SEK', 'R$': 'BRL',\n 'C$': 'CAD', 'A$': 'AUD'\n };\n\n let detectedCurrency = null;\n for (const value of values) {\n if (typeof value === 'string' && value.trim() !== '') {\n for (const [symbol, code] of Object.entries(currencySymbols)) {\n if (value.trim().startsWith(symbol)) {\n detectedCurrency = code;\n break;\n }\n }\n }\n }\n return detectedCurrency;\n}\n\n// Function to generate consistent column names\nfunction generateColumnName(originalName, typeInfo) {\n if (typeInfo.isCurrency) {\n return `${originalName}_${typeInfo.currencyCode.toLowerCase()}`;\n }\n return originalName;\n}\n\n// Infer column types and transform names\nconst columnMapping = {};\noriginalColumns.forEach(col => {\n let typeInfo = { type: \"TEXT\" };\n\n if (col !== \"ai_table_identifier\") {\n const sampleValues = rows\n .map(row => row.json[col])\n .filter(value => value !== undefined && value !== null);\n\n // Check for currency first\n const currencyCode = detectCurrency(sampleValues);\n if (currencyCode) {\n typeInfo = { type: \"DECIMAL(15,2)\", isCurrency: true, currencyCode };\n }\n // If all sample values match MM/DD/YYYY, treat the column as a date\n else if (sampleValues.length > 0 && sampleValues.every(val => isDateString(val))) {\n typeInfo = { type: \"TIMESTAMP\" };\n }\n }\n\n const newColumnName = generateColumnName(col, typeInfo);\n columnMapping[col] = { newName: newColumnName, typeInfo };\n});\n\n// Final column names\nconst mappedColumns = originalColumns.map(col => columnMapping[col]?.newName || col);\n\n// Define SQL columns \u2013 note that for simplicity, this example still uses TEXT for non-special types,\n// but you can adjust it so that TIMESTAMP columns are created with a TIMESTAMP type.\nconst columnDefinitions = [`\"ai_table_identifier\" UUID PRIMARY KEY DEFAULT gen_random_uuid()`]\n .concat(mappedColumns.slice(1).map(col => {\n // If the column was inferred as TIMESTAMP, use that type in the CREATE TABLE statement.\n const originalCol = Object.keys(columnMapping).find(key => columnMapping[key].newName === col);\n const inferredType = columnMapping[originalCol]?.typeInfo?.type;\n return `\"${col}\" ${inferredType === \"TIMESTAMP\" ? \"TIMESTAMP\" : \"TEXT\"}`;\n }))\n .join(\", \");\n\nconst createTableQuery = `CREATE TABLE IF NOT EXISTS ${tableName} (${columnDefinitions});`;\n\nreturn [{ \n query: createTableQuery,\n columnMapping: columnMapping \n}];\n"}, "typeVersion": 2}, {"id": "2beb72c4-dab4-4058-b587-545a8ce8b86d", "name": "create insertion query", "type": "n8n-nodes-base.code", "position": [1660, 2360], "parameters": {"jsCode": "const tableName = `ai_table_${$('change_this').first().json.sheet_name}`;\nconst rows = $('fetch sheet data').all();\nconst allColumns = new Set();\n\n// Get column mapping from previous node\nconst columnMapping = $('create table query').first().json.columnMapping || {};\n\n// Collect column names dynamically\nrows.forEach(row => {\n Object.keys(row.json).forEach(col => allColumns.add(col));\n});\n\nconst originalColumns = Array.from(allColumns);\nconst mappedColumns = originalColumns.map(col => \n columnMapping[col] ? columnMapping[col].newName : col\n);\n\n// Helper function to check if a string is a valid timestamp\nfunction isValidTimestamp(value) {\n const date = new Date(value);\n return !isNaN(date.getTime());\n}\n\n// Helper to detect currency symbol (unchanged)\nfunction getCurrencySymbol(value) {\n if (typeof value !== 'string') return null;\n \n const currencySymbols = ['\u20b9', '$', '\u20ac', '\u00a3', '\u00a5', '\u20a9', '\u0e3f', 'z\u0142', 'kr', 'R$', 'C$', 'A$'];\n for (const symbol of currencySymbols) {\n if (value.trim().startsWith(symbol)) {\n return symbol;\n }\n }\n return null;\n}\n\n// Helper to normalize currency values (unchanged)\nfunction normalizeCurrencyValue(value, currencySymbol) {\n if (typeof value !== 'string') return null;\n if (!currencySymbol) return value;\n \n const numericPart = value.replace(currencySymbol, '').replace(/,/g, '');\n return !isNaN(parseFloat(numericPart)) ? parseFloat(numericPart) : null;\n}\n\n// Helper to normalize percentage values (unchanged)\nfunction normalizePercentageValue(value) {\n if (typeof value !== 'string') return value;\n if (!value.trim().endsWith('%')) return value;\n \n const numericPart = value.replace('%', '');\n return !isNaN(parseFloat(numericPart)) ? parseFloat(numericPart) / 100 : null;\n}\n\n// Function to parse MM/DD/YYYY strings into ISO format\nfunction parseDateString(value) {\n const dateRegex = /^\\d{2}\\/\\d{2}\\/\\d{4}$/;\n if (typeof value === 'string' && dateRegex.test(value)) {\n const [month, day, year] = value.split('/').map(Number);\n const date = new Date(year, month - 1, day);\n return !isNaN(date.getTime()) ? date.toISOString() : null;\n }\n return value;\n}\n\n// Format rows properly based on column mappings and types\nconst formattedRows = rows.map(row => {\n const formattedRow = {};\n\n originalColumns.forEach((col, index) => {\n const mappedCol = mappedColumns[index];\n let value = row.json[col];\n const typeInfo = columnMapping[col]?.typeInfo || { type: \"TEXT\" };\n\n if (value === \"\" || value === null || value === undefined) {\n value = null;\n } \n else if (typeInfo.isCurrency) {\n const symbol = getCurrencySymbol(value);\n if (symbol) {\n value = normalizeCurrencyValue(value, symbol);\n } else {\n value = null;\n }\n }\n else if (typeInfo.isPercentage) {\n if (typeof value === 'string' && value.trim().endsWith('%')) {\n value = normalizePercentageValue(value);\n } else {\n value = !isNaN(parseFloat(value)) ? parseFloat(value) / 100 : null;\n }\n }\n else if (typeInfo.type === \"DECIMAL(15,2)\" || typeInfo.type === \"INTEGER\") {\n if (typeof value === 'string') {\n const cleanedValue = value.replace(/,/g, '');\n value = !isNaN(parseFloat(cleanedValue)) ? parseFloat(cleanedValue) : null;\n } else if (typeof value === 'number') {\n value = parseFloat(value);\n } else {\n value = null;\n }\n } \n else if (typeInfo.type === \"BOOLEAN\") {\n if (typeof value === 'string') {\n const lowercased = value.toString().toLowerCase();\n value = lowercased === \"true\" ? true : \n lowercased === \"false\" ? false : null;\n } else {\n value = Boolean(value);\n }\n } \n else if (typeInfo.type === \"TIMESTAMP\") {\n // Check if the value is in MM/DD/YYYY format and parse it accordingly.\n if (/^\\d{2}\\/\\d{2}\\/\\d{4}$/.test(value)) {\n value = parseDateString(value);\n } else if (isValidTimestamp(value)) {\n value = new Date(value).toISOString();\n } else {\n value = null;\n }\n }\n else if (typeInfo.type === \"TEXT\") {\n value = value !== null && value !== undefined ? String(value) : null;\n }\n\n formattedRow[mappedCol] = value;\n });\n\n return formattedRow;\n});\n\n// Generate SQL placeholders dynamically\nconst valuePlaceholders = formattedRows.map((_, rowIndex) =>\n `(${mappedColumns.map((_, colIndex) => `$${rowIndex * mappedColumns.length + colIndex + 1}`).join(\", \")})`\n).join(\", \");\n\n// Build the insert query string\nconst insertQuery = `INSERT INTO ${tableName} (${mappedColumns.map(col => `\"${col}\"`).join(\", \")}) VALUES ${valuePlaceholders};`;\n\n// Flatten parameter values for PostgreSQL query\nconst parameters = formattedRows.flatMap(row => mappedColumns.map(col => row[col]));\n\nreturn [\n {\n query: insertQuery,\n parameters: parameters\n }\n];\n"}, "typeVersion": 2}, {"id": "ba19c350-ffb7-4fe1-9568-2a619c914434", "name": "Google Drive Trigger", "type": "n8n-nodes-base.googleDriveTrigger", "position": [600, 2060], "parameters": {"pollTimes": {"item": [{}]}, "triggerOn": "specificFile", "fileToWatch": {"__rl": true, "mode": "list", "value": "1yGx4ODHYYtPV1WZFAtPcyxGT2brcXM6pl0KJhIM1f_c", "cachedResultUrl": "https://docs.google.com/spreadsheets/d/1yGx4ODHYYtPV1WZFAtPcyxGT2brcXM6pl0KJhIM1f_c/edit?usp=drivesdk", "cachedResultName": "Spreadsheet"}}, "credentials": {"googleDriveOAuth2Api": {"id": "zOt0lyWOZz1UlS67", "name": "Google Drive account"}}, "typeVersion": 1}, {"id": "dd2108fe-0cfe-453c-ac03-c0c5b10397e6", "name": "execute_query_tool", "type": "@n8n/n8n-nodes-langchain.toolWorkflow", "position": [1340, 1720], "parameters": {"name": "query_executer", "schemaType": "manual", "workflowId": {"__rl": true, "mode": "list", "value": "oPWJZynrMME45ks4", "cachedResultName": "query_executer"}, "description": "Call this tool to execute a query. Remember that it should be in a postgreSQL query structure.", "inputSchema": "{\n\"type\": \"object\",\n\"properties\": {\n\t\"sql\": {\n\t\t\"type\": \"string\",\n\t\t\"description\": \"A SQL query based on the users question and database schema.\"\n\t\t}\n\t}\n}", "specifyInputSchema": true}, "typeVersion": 1.2}, {"id": "f2c110db-1097-4b96-830d-f028e08b6713", "name": "Google Gemini Chat Model", "type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini", "position": [880, 1680], "parameters": {"options": {}, "modelName": "models/gemini-2.0-flash"}, "credentials": {"googlePalmApi": {"id": "Kr5lNqvdmtB0Ybyo", "name": "Google Gemini(PaLM) Api account"}}, "typeVersion": 1}, {"id": "2460801c-5b64-41b3-93f7-4f2fbffabfd6", "name": "get_postgres_schema", "type": "@n8n/n8n-nodes-langchain.toolWorkflow", "position": [1160, 1720], "parameters": {"name": "get_postgres_schema", "workflowId": {"__rl": true, "mode": "list", "value": "iNLPk34SeRGHaeMD", "cachedResultName": "get database schema"}, "description": "Call this tool to retrieve the schema of all the tables inside of the database. A string will be retrieved with the name of the table and its columns, each table is separated by \\n\\n.", "workflowInputs": {"value": {}, "schema": [], "mappingMode": "defineBelow", "matchingColumns": [], "attemptToConvertTypes": false, "convertFieldsToString": false}}, "typeVersion": 2}, {"id": "4b43ff94-df0d-40f1-9f51-cf488e33ff68", "name": "change_this", "type": "n8n-nodes-base.set", "position": [800, 2060], "parameters": {"options": {}, "assignments": {"assignments": [{"id": "908ed843-f848-4290-9cdb-f195d2189d7c", "name": "table_url", "type": "string", "value": "https://docs.google.com/spreadsheets/d/1yGx4ODHYYtPV1WZFAtPcyxGT2brcXM6pl0KJhIM1f_c/edit?gid=0#gid=0"}, {"id": "50f8afaf-0a6c-43ee-9157-79408fe3617a", "name": "sheet_name", "type": "string", "value": "product_list"}]}}, "typeVersion": 3.4}, {"id": "a27a47ff-9328-4eef-99e8-280452cff189", "name": "is not in database", "type": "n8n-nodes-base.if", "position": [1380, 2060], "parameters": {"options": {}, "conditions": {"options": {"version": 2, "leftValue": "", "caseSensitive": true, "typeValidation": "strict"}, "combinator": "and", "conditions": [{"id": "619ce84c-0a50-4f88-8e55-0ce529aea1fc", "operator": {"type": "boolean", "operation": "false", "singleValue": true}, "leftValue": "={{ $('table exists?').item.json.exists }}", "rightValue": "true"}]}}, "typeVersion": 2.2}, {"id": "8ad9bc36-08b1-408e-ba20-5618a801b4ed", "name": "table exists?", "type": "n8n-nodes-base.postgres", "position": [1000, 2060], "parameters": {"query": "SELECT EXISTS (\n SELECT 1 \n FROM information_schema.tables \n WHERE table_name = 'ai_table_{{ $json.sheet_name }}'\n);\n", "options": {}, "operation": "executeQuery"}, "credentials": {"postgres": {"id": "KQiQIZTArTBSNJH7", "name": "Postgres account"}}, "typeVersion": 2.5}, {"id": "f66b7ca7-ecb7-47fc-9214-2d2b37b0fbe4", "name": "fetch sheet data", "type": "n8n-nodes-base.googleSheets", "position": [1180, 2060], "parameters": {"options": {}, "sheetName": {"__rl": true, "mode": "name", "value": "={{ $('change_this').item.json.sheet_name }}"}, "documentId": {"__rl": true, "mode": "url", "value": "={{ $('change_this').item.json.table_url }}"}}, "credentials": {"googleSheetsOAuth2Api": {"id": "3au0rUsZErkG0zc2", "name": "Google Sheets account"}}, "typeVersion": 4.5}, {"id": "11ba5da0-e7c4-49ee-8d35-24c8d3b9fea9", "name": "remove table", "type": "n8n-nodes-base.postgres", "position": [980, 2360], "parameters": {"query": "DROP TABLE IF EXISTS ai_table_{{ $('change_this').item.json.sheet_name }} CASCADE;", "options": {}, "operation": "executeQuery"}, "credentials": {"postgres": {"id": "KQiQIZTArTBSNJH7", "name": "Postgres account"}}, "typeVersion": 2.5}, {"id": "3936ecb3-f084-4f86-bd5f-abab0957ebc0", "name": "create table", "type": "n8n-nodes-base.postgres", "position": [1460, 2360], "parameters": {"query": "{{ $json.query }}", "options": {}, "operation": "executeQuery"}, "credentials": {"postgres": {"id": "KQiQIZTArTBSNJH7", "name": "Postgres account"}}, "typeVersion": 2.5}, {"id": "8a3ea239-f3fa-4c72-af99-31f4bd992b58", "name": "perform insertion", "type": "n8n-nodes-base.postgres", "position": [1860, 2360], "parameters": {"query": "{{$json.query}}", "options": {"queryReplacement": "={{$json.parameters}}"}, "operation": "executeQuery"}, "credentials": {"postgres": {"id": "KQiQIZTArTBSNJH7", "name": "Postgres account"}}, "typeVersion": 2.5}, {"id": "21239928-b573-4753-a7ca-5a9c3aa8aa3e", "name": "Execute Workflow Trigger", "type": "n8n-nodes-base.executeWorkflowTrigger", "position": [1720, 1720], "parameters": {}, "typeVersion": 1}, {"id": "c94256a9-e44e-4800-82f8-90f85ba90bde", "name": "Sticky Note", "type": "n8n-nodes-base.stickyNote", "position": [1920, 1460], "parameters": {"color": 7, "width": 500, "height": 260, "content": "Place this in a separate workflow named:\n### query_executer"}, "typeVersion": 1}, {"id": "daec928e-58ee-43da-bd91-ba8bcd639a4a", "name": "Sticky Note1", "type": "n8n-nodes-base.stickyNote", "position": [1920, 1840], "parameters": {"color": 7, "width": 500, "height": 280, "content": "place this in a separate workflow named: \n### get database schema"}, "typeVersion": 1}, {"id": "8908e342-fcbe-4820-b623-cb95a55ea5db", "name": "When chat message received", "type": "@n8n/n8n-nodes-langchain.manualChatTrigger", "position": [640, 1540], "parameters": {}, "typeVersion": 1.1}, {"id": "d0ae90c2-169e-44d7-b3c2-4aff8e7d4be9", "name": "response output", "type": "n8n-nodes-base.set", "position": [2220, 1540], "parameters": {"options": {}, "assignments": {"assignments": [{"id": "e2f94fb1-3deb-466a-a36c-e3476511d5f2", "name": "response", "type": "string", "value": "={{ $json }}"}]}}, "typeVersion": 3.4}, {"id": "81c58d9b-ded4-4b74-8227-849e665cbdff", "name": "sql query executor", "type": "n8n-nodes-base.postgres", "position": [2000, 1540], "parameters": {"query": "{{ $json.query.sql }}", "options": {}, "operation": "executeQuery"}, "credentials": {"postgres": {"id": "KQiQIZTArTBSNJH7", "name": "Postgres account"}}, "typeVersion": 2.5}, {"id": "377d1727-4577-41bb-8656-38273fc4412b", "name": "schema finder", "type": "n8n-nodes-base.postgres", "position": [2000, 1920], "parameters": {"query": "SELECT \n t.schemaname,\n t.tablename,\n c.column_name,\n c.data_type\nFROM \n pg_catalog.pg_tables t\nJOIN \n information_schema.columns c\n ON t.schemaname = c.table_schema\n AND t.tablename = c.table_name\nWHERE \n t.schemaname = 'public'\nORDER BY \n t.tablename, c.ordinal_position;", "options": {}, "operation": "executeQuery"}, "credentials": {"postgres": {"id": "KQiQIZTArTBSNJH7", "name": "Postgres account"}}, "typeVersion": 2.5}, {"id": "89d3c59c-2b67-454d-a8f3-e90e75a28a8c", "name": "schema to string", "type": "n8n-nodes-base.code", "position": [2220, 1920], "parameters": {"jsCode": "function transformSchema(input) {\n const tables = {};\n \n input.forEach(({ json }) => {\n if (!json) return;\n \n const { tablename, schemaname, column_name, data_type } = json;\n \n if (!tables[tablename]) {\n tables[tablename] = { schema: schemaname, columns: [] };\n }\n tables[tablename].columns.push(`${column_name} (${data_type})`);\n });\n \n return Object.entries(tables)\n .map(([tablename, { schema, columns }]) => `Table ${tablename} (Schema: ${schema}) has columns: ${columns.join(\", \")}`)\n .join(\"\\n\\n\");\n}\n\n// Example usage\nconst input = $input.all();\n\nconst transformedSchema = transformSchema(input);\n\nreturn { data: transformedSchema };"}, "typeVersion": 2}, {"id": "42d1b316-60ca-49db-959b-581b162ca1f9", "name": "AI Agent With SQL Query Prompt", "type": "@n8n/n8n-nodes-langchain.agent", "position": [900, 1540], "parameters": {"options": {"maxIterations": 5, "systemMessage": "=## Role\nYou are a **Database Query Assistant** specializing in generating PostgreSQL queries based on natural language questions. You analyze database schemas, construct appropriate SQL queries, and provide clear explanations of results.\n\n## Tools\n1. `get_postgres_schema`: Retrieves the complete database schema (tables and columns)\n2. `execute_query_tool`: Executes SQL queries with the following input format:\n ```json\n {\n \"sql\": \"Your SQL query here\"\n }\n ```\n\n## Process Flow\n\n### 1. Analyze the Question\n- Identify the **data entities** being requested (products, customers, orders, etc.)\n- Determine the **query type** (COUNT, AVG, SUM, SELECT, etc.)\n- Extract any **filters** or **conditions** mentioned\n\n### 2. Fetch and Analyze Schema\n- Call `get_postgres_schema` to retrieve database structure\n- Identify relevant tables and columns that match the entities in the question\n- Prioritize exact matches, then semantic matches\n\n### 3. Query Construction\n- Build case-insensitive queries using `LOWER(column) LIKE LOWER('%value%')`\n- Filter out NULL or empty values with appropriate WHERE clauses\n- Use joins when information spans multiple tables\n- Apply aggregations (COUNT, SUM, AVG) as needed\n\n### 4. Query Execution\n- Execute query using the `execute_query_tool` with proper formatting\n- If results require further processing, perform calculations as needed\n\n### 5. Result Presentation\n- Format results in a conversational, easy-to-understand manner\n- Explain how the data was retrieved and any calculations performed\n- When appropriate, suggest further questions the user might want to ask\n\n## Best Practices\n- Use parameterized queries to prevent SQL injection\n- Implement proper error handling\n- Respond with \"NOT_ENOUGH_INFO\" when the question lacks specificity\n- Always verify table/column existence before attempting queries\n- Use explicit JOINs instead of implicit joins\n- Limit large result sets when appropriate\n\n## Numeric Validation (IMPORTANT)\nWhen validating or filtering numeric values in string columns:\n1. **AVOID** complex regular expressions with `~` operator as they cause syntax errors\n2. Use these safer alternatives instead:\n ```sql\n -- Simple numeric check without regex\n WHERE column_name IS NOT NULL AND trim(column_name) != '' AND column_name NOT LIKE '%[^0-9.]%'\n \n -- For type casting with validation\n WHERE column_name IS NOT NULL AND trim(column_name) != '' AND column_name ~ '[0-9]'\n \n -- Safe numeric conversion\n WHERE CASE WHEN column_name ~ '[0-9]' THEN TRUE ELSE FALSE END\n ```\n3. For simple pattern matching, use LIKE instead of regex when possible\n4. When CAST is needed, always guard against invalid values:\n ```sql\n SELECT SUM(CASE WHEN column_name ~ '[0-9]' THEN CAST(column_name AS NUMERIC) ELSE 0 END) AS total\n ```\n\n## Response Structure\n1. **Analysis**: Brief mention of how you understood the question\n2. **Query**: The SQL statement used (in code block format)\n3. **Results**: Clear presentation of the data found\n4. **Explanation**: Simple description of how the data was retrieved\n\n## Examples\n\n### Example 1: Basic Counting Query\n**Question**: \"How many products are in the inventory?\"\n\n**Process**:\n1. Analyze schema to find product/inventory tables\n2. Construct a COUNT query on the relevant table\n3. Execute the query\n4. Present the count with context\n\n**SQL**:\n```sql\nSELECT COUNT(*) AS product_count \nFROM products \nWHERE quantity IS NOT NULL;\n```\n\n**Response**:\n\"There are 1,250 products currently in the inventory. This count includes all items with a non-null quantity value in the products table.\"\n\n### Example 2: Filtered Aggregation Query\n**Question**: \"What is the average order value for premium customers?\"\n\n**Process**:\n1. Identify relevant tables (orders, customers)\n2. Determine join conditions\n3. Apply filters for \"premium\" customers\n4. Calculate average\n\n**SQL**:\n```sql\nSELECT AVG(o.total_amount) AS avg_order_value\nFROM orders o\nJOIN customers c ON o.customer_id = c.id\nWHERE LOWER(c.customer_type) = LOWER('premium')\nAND o.total_amount IS NOT NULL;\n```\n\n**Response**:\n\"Premium customers spend an average of $85.42 per order. This was calculated by averaging the total_amount from all orders placed by customers with a 'premium' customer type.\"\n\n### Example 3: Numeric Calculation from String Column\n**Question**: \"What is the total of all ratings?\"\n\n**Process**:\n1. Find the ratings table and column\n2. Use safe numeric validation\n3. Sum the values\n\n**SQL**:\n```sql\nSELECT SUM(CASE WHEN rating ~ '[0-9]' THEN CAST(rating AS NUMERIC) ELSE 0 END) AS total_rating\nFROM ratings\nWHERE rating IS NOT NULL AND trim(rating) != '';\n```\n\n**Response**:\n\"The sum of all ratings is 4,285. This calculation includes all valid numeric ratings from the ratings table.\"\n\n### Example 4: Date Range Aggregation for Revenue \n**Question**: \"How much did I make last week?\" \n\n**Process**: \n1. Identify the sales table and relevant columns (e.g., `sale_date` for dates and `revenue_amount` for revenue). \n2. Use PostgreSQL date functions (`date_trunc` and interval arithmetic) to calculate the date range for the previous week. \n3. Sum the revenue within the computed date range. \n\n**SQL**: \n```sql\nSELECT SUM(revenue_amount) AS total_revenue\nFROM sales_data\nWHERE sale_date >= date_trunc('week', CURRENT_DATE) - INTERVAL '1 week'\n AND sale_date < date_trunc('week', CURRENT_DATE);\n``` \n\n**Response**: \n\"Last week's total revenue is calculated by summing the `revenue_amount` for records where the `sale_date` falls within the previous week. This query uses date functions to dynamically determine the correct date range.\"\n\nToday's date: {{ $now }}"}}, "typeVersion": 1.7}, {"id": "368d68d0-1fe0-4dbf-9b24-ac28fd6e74c3", "name": "Sticky Note2", "type": "n8n-nodes-base.stickyNote", "position": [560, 1420], "parameters": {"color": 6, "width": 960, "height": 460, "content": "## Use a powerful LLM to correctly build the SQL queries, which will be identified from the get schema tool and then executed by the execute query tool."}, "typeVersion": 1}], "active": false, "pinData": {}, "settings": {"executionOrder": "v1"}, "versionId": "d8045db4-2852-4bbe-9b97-0d3c0acb53f7", "connections": {"change_this": {"main": [[{"node": "table exists?", "type": "main", "index": 0}]]}, "create table": {"main": [[{"node": "create insertion query", "type": "main", "index": 0}]]}, "remove table": {"main": [[{"node": "create table query", "type": "main", "index": 0}]]}, "schema finder": {"main": [[{"node": "schema to string", "type": "main", "index": 0}]]}, "table exists?": {"main": [[{"node": "fetch sheet data", "type": "main", "index": 0}]]}, "fetch sheet data": {"main": [[{"node": "is not in database", "type": "main", "index": 0}]]}, "create table query": {"main": [[{"node": "create table", "type": "main", "index": 0}]]}, "execute_query_tool": {"ai_tool": [[{"node": "AI Agent With SQL Query Prompt", "type": "ai_tool", "index": 0}]]}, "is not in database": {"main": [[{"node": "create table query", "type": "main", "index": 0}], [{"node": "remove table", "type": "main", "index": 0}]]}, "sql query executor": {"main": [[{"node": "response output", "type": "main", "index": 0}]]}, "get_postgres_schema": {"ai_tool": [[{"node": "AI Agent With SQL Query Prompt", "type": "ai_tool", "index": 0}]]}, "Google Drive Trigger": {"main": [[{"node": "change_this", "type": "main", "index": 0}]]}, "create insertion query": {"main": [[{"node": "perform insertion", "type": "main", "index": 0}]]}, "Execute Workflow Trigger": {"main": [[{"node": "sql query executor", "type": "main", "index": 0}, {"node": "schema finder", "type": "main", "index": 0}]]}, "Google Gemini Chat Model": {"ai_languageModel": [[{"node": "AI Agent With SQL Query Prompt", "type": "ai_languageModel", "index": 0}]]}, "When chat message received": {"main": [[{"node": "AI Agent With SQL Query Prompt", "type": "main", "index": 0}]]}}}
|
7i2RqqCYaKHUt4n3
|
Google Site Index - sitemap.xml example
|
21
|
["httpRequest", "if", "manualTrigger", "scheduleTrigger", "set", "sort", "splitInBatches", "splitOut", "stickyNote", "wait", "xml"]
|
ai-automation-lab
|
{"id": "7i2RqqCYaKHUt4n3", "meta": {"instanceId": "fb924c73af8f703905bc09c9ee8076f48c17b596ed05b18c0ff86915ef8a7c4a"}, "name": "Google Site Index - sitemap.xml example", "tags": [], "nodes": [{"id": "4da50fbf-7707-42ea-badc-6748c4ee30db", "name": "When clicking \"Test workflow\"", "type": "n8n-nodes-base.manualTrigger", "position": [-927, 472], "parameters": {}, "typeVersion": 1}, {"id": "9e5bd6c8-a056-462b-b746-60d86bfbe398", "name": "Split Out", "type": "n8n-nodes-base.splitOut", "position": [480, 360], "parameters": {"options": {}, "fieldToSplitOut": "urlset.url"}, "typeVersion": 1}, {"id": "0d4acf98-31c5-4a0d-bb29-c1d045c0705c", "name": "Check status", "type": "n8n-nodes-base.httpRequest", "onError": "continueErrorOutput", "position": [1540, 400], "parameters": {"url": "=https://indexing.googleapis.com/v3/urlNotifications/metadata?url={{ encodeURIComponent($json.loc) }}", "options": {"response": {"response": {"fullResponse": true}}}, "authentication": "predefinedCredentialType", "nodeCredentialType": "googleOAuth2Api"}, "credentials": {"googleOAuth2Api": {"id": "K8Cz9Dy3TR68udv2", "name": "Google account"}}, "retryOnFail": false, "typeVersion": 4.1}, {"id": "eee0eba6-3aa3-4841-9d48-8407db1212e2", "name": "Loop Over Items", "type": "n8n-nodes-base.splitInBatches", "position": [1340, 360], "parameters": {"options": {}}, "typeVersion": 3}, {"id": "47745d33-8358-45a8-a67d-60f9f0574bae", "name": "Wait", "type": "n8n-nodes-base.wait", "position": [2080, 400], "webhookId": "44364241-e54b-4b44-aaa1-0d8121a7f497", "parameters": {"unit": "seconds", "amount": "={{ Math.min(1.5,0.3+3*Math.random()).toFixed(2) }}"}, "typeVersion": 1}, {"id": "9f1bf72e-8ecd-4239-b96f-b77be4c86b18", "name": "URL Updated", "type": "n8n-nodes-base.httpRequest", "position": [1840, 400], "parameters": {"url": "=https://indexing.googleapis.com/v3/urlNotifications:publish", "method": "POST", "options": {}, "sendBody": true, "authentication": "predefinedCredentialType", "bodyParameters": {"parameters": [{"name": "url", "value": "={{ $('Loop Over Items').item.json.loc }}"}, {"name": "type", "value": "URL_UPDATED"}]}, "nodeCredentialType": "googleOAuth2Api"}, "credentials": {"googleOAuth2Api": {"id": "K8Cz9Dy3TR68udv2", "name": "Google account"}}, "typeVersion": 4.1}, {"id": "629eaf34-ef3c-4e9c-9537-69a03310dd9c", "name": "Schedule Trigger", "type": "n8n-nodes-base.scheduleTrigger", "position": [-927, 272], "parameters": {"rule": {"interval": [{"triggerAtHour": 2, "triggerAtMinute": 5}]}}, "typeVersion": 1.1}, {"id": "2f95065c-fdc9-4773-87b0-37007ae4f9a5", "name": "Sticky Note1", "type": "n8n-nodes-base.stickyNote", "position": [-87, 192], "parameters": {"width": 851.3475816949383, "height": 340.39627039627067, "content": "## Collect list of URLs\n\nThis part extracts all pages from all sitemaps and sorts by the last modified date `lastmod` (from newest to oldest)"}, "typeVersion": 1}, {"id": "33798da1-4fd3-43dc-9ff4-753bae798535", "name": "is new?", "type": "n8n-nodes-base.if", "position": [1700, 280], "parameters": {"options": {"looseTypeValidation": true}, "conditions": {"options": {"leftValue": "", "caseSensitive": true, "typeValidation": "loose"}, "combinator": "and", "conditions": [{"id": "c8566fc4-57cf-4272-841e-014bb354a37d", "operator": {"type": "dateTime", "operation": "after"}, "leftValue": "={{ $('Loop Over Items').item.json.lastmod }}", "rightValue": "={{ $json.body.latestUpdate.notifyTime }}"}]}}, "typeVersion": 2}, {"id": "b5d538ec-d7bc-40ac-9b9e-e5ead9378387", "name": "Sticky Note2", "type": "n8n-nodes-base.stickyNote", "position": [1500, 121.07782938758908], "parameters": {"width": 504.2424242424241, "height": 431.1089918072487, "content": "## Check URL metadata and update, if:\n* Google returns error (404 error means that this URL was not previously added)\n* Date of article update is after the date of last request to re-index"}, "typeVersion": 1}, {"id": "2cc0b088-b09f-4dc2-8027-9e0ff442576b", "name": "Sticky Note3", "type": "n8n-nodes-base.stickyNote", "position": [-640, 196.4335593220339], "parameters": {"width": 515.8058994999984, "height": 335.72259887005646, "content": "## Get sitemap.xml\nVarious CMS systems often have multiple sitemaps for different content (posts, tags, pages etc). Need to fetch all sitemaps first and then extract all pages from all sitemaps.\n### Remember to update the real sitemap URL!"}, "typeVersion": 1}, {"id": "d8dc3b65-0d47-49a7-9042-33dbc5a2e245", "name": "Sticky Note", "type": "n8n-nodes-base.stickyNote", "position": [-662.5490981963931, 120.2098305084748], "parameters": {"color": 6, "width": 1458.468937875752, "height": 453.3292476478371, "content": "## Feel free to adapt this part depending on your website CMS\n"}, "typeVersion": 1}, {"id": "a763f582-500c-4cc8-b780-672ebc3d0845", "name": "Get content-specific sitemaps", "type": "n8n-nodes-base.splitOut", "position": [-260, 360], "parameters": {"options": {}, "fieldToSplitOut": "sitemapindex.sitemap"}, "typeVersion": 1}, {"id": "e7aa9728-eb9b-454d-a710-561d76841d7a", "name": "Convert sitemap to JSON", "type": "n8n-nodes-base.xml", "position": [-440, 360], "parameters": {"options": {}}, "typeVersion": 1}, {"id": "496366d7-0d4e-401c-a375-8ca8882e8a32", "name": "Force urlset.url to array", "type": "n8n-nodes-base.set", "position": [320, 360], "parameters": {"options": {}, "assignments": {"assignments": [{"id": "8d16114b-1d1a-4522-a550-6c799a44538a", "name": "=urlset.url", "type": "array", "value": "={{ $json.urlset.url[0] ? $json.urlset.url : [$json.urlset.url] }}"}]}}, "typeVersion": 3.3}, {"id": "3a8e00a6-2fa4-4903-943d-890e0078181e", "name": "Sticky Note4", "type": "n8n-nodes-base.stickyNote", "position": [820, 120], "parameters": {"color": 3, "width": 459.2224448897797, "height": 451.39712985292624, "content": "## Update the `lastmod` and `loc` fields\nThese are pre-defined fields according to [the XML schema for the Sitemap protocol](https://www.sitemaps.org/protocol.html).\n\nIf your CMS system has different field names, please rename them here:\n* the last modified field `lastmod`\n* URL of the page in `loc` field"}, "typeVersion": 1}, {"id": "9d841026-ede6-4396-a67b-e1787ffe9a17", "name": "Assign mandatiry sitemap fields", "type": "n8n-nodes-base.set", "position": [1000, 360], "parameters": {"options": {}, "assignments": {"assignments": [{"id": "bb0e1337-6fda-4a22-9963-d0b1271fc2a6", "name": "lastmod", "type": "string", "value": "={{ $json.lastmod }}"}, {"id": "e7517c23-f989-4d75-9078-d82c75e51c65", "name": "loc", "type": "string", "value": "={{ $json.loc }}"}]}}, "typeVersion": 3.3}, {"id": "99787654-f554-4650-afc0-c4fa65392c2b", "name": "convert page data to JSON", "type": "n8n-nodes-base.xml", "position": [120, 360], "parameters": {"options": {"explicitArray": false}}, "typeVersion": 1}, {"id": "f5cc1725-955c-4eb2-a66f-93153ebf35d1", "name": "Get sitemap.xml", "type": "n8n-nodes-base.httpRequest", "position": [-620, 360], "parameters": {"url": "https://wordpress.org/sitemap.xml", "options": {}}, "typeVersion": 4.1}, {"id": "789076f0-4aa1-469b-afac-af717c0b03c3", "name": "Get content of each sitemap", "type": "n8n-nodes-base.httpRequest", "position": [-60, 360], "parameters": {"url": "={{ $json.loc }}", "options": {"batching": {"batch": {"batchSize": 1, "batchInterval": 150}}}}, "typeVersion": 4.1}, {"id": "b0bdc6d6-1306-4c0c-bec2-7e59d587db69", "name": "Sort", "type": "n8n-nodes-base.sort", "position": [640, 360], "parameters": {"options": {}, "sortFieldsUi": {"sortField": [{"order": "descending", "fieldName": "lastmod"}]}}, "typeVersion": 1}], "active": false, "pinData": {}, "settings": {"callerPolicy": "workflowsFromSameOwner", "errorWorkflow": "6", "executionOrder": "v1", "saveManualExecutions": true, "saveDataSuccessExecution": "all"}, "versionId": "5c21ebb6-67df-4bde-9aea-6cc9a7621fc0", "connections": {"Sort": {"main": [[{"node": "Assign mandatiry sitemap fields", "type": "main", "index": 0}]]}, "Wait": {"main": [[{"node": "Loop Over Items", "type": "main", "index": 0}]]}, "is new?": {"main": [[{"node": "URL Updated", "type": "main", "index": 0}], [{"node": "Wait", "type": "main", "index": 0}]]}, "Split Out": {"main": [[{"node": "Sort", "type": "main", "index": 0}]]}, "URL Updated": {"main": [[{"node": "Wait", "type": "main", "index": 0}]]}, "Check status": {"main": [[{"node": "is new?", "type": "main", "index": 0}], [{"node": "URL Updated", "type": "main", "index": 0}]]}, "Get sitemap.xml": {"main": [[{"node": "Convert sitemap to JSON", "type": "main", "index": 0}]]}, "Loop Over Items": {"main": [[], [{"node": "Check status", "type": "main", "index": 0}]]}, "Schedule Trigger": {"main": [[{"node": "Get sitemap.xml", "type": "main", "index": 0}]]}, "Convert sitemap to JSON": {"main": [[{"node": "Get content-specific sitemaps", "type": "main", "index": 0}]]}, "Force urlset.url to array": {"main": [[{"node": "Split Out", "type": "main", "index": 0}]]}, "convert page data to JSON": {"main": [[{"node": "Force urlset.url to array", "type": "main", "index": 0}]]}, "Get content of each sitemap": {"main": [[{"node": "convert page data to JSON", "type": "main", "index": 0}]]}, "Get content-specific sitemaps": {"main": [[{"node": "Get content of each sitemap", "type": "main", "index": 0}]]}, "When clicking \"Test workflow\"": {"main": [[{"node": "Get sitemap.xml", "type": "main", "index": 0}]]}, "Assign mandatiry sitemap fields": {"main": [[{"node": "Loop Over Items", "type": "main", "index": 0}]]}}}
|
7wwY8wfZdNpL83QQ
|
LinkedIn Leads Scraping & Enrichment (Main)
|
66
|
["code", "formTrigger", "googleSheets", "googleSheetsTrigger", "httpRequest", "if", "merge", "scheduleTrigger", "set", "splitOut", "stickyNote"]
|
ai-automation-lab
|
{"id": "7wwY8wfZdNpL83QQ", "meta": {"instanceId": "b3c467df4053d13fe31cc98f3c66fa1d16300ba750506bfd019a0913cec71ea3", "templateCredsSetupCompleted": true}, "name": "LinkedIn Leads Scraping & Enrichment (Main)", "tags": [], "nodes": [{"id": "5d07dfa4-6e6a-41a6-a2ea-8a8787331735", "name": "On form submission", "type": "n8n-nodes-base.formTrigger", "position": [-80, -80], "webhookId": "28ff6927-5d05-4182-910b-be2381e3b2c4", "parameters": {"options": {}, "formTitle": "Leads Search", "formFields": {"values": [{"fieldLabel": "Job Title", "requiredField": true}, {"fieldLabel": "Location", "requiredField": true}, {"fieldType": "number", "fieldLabel": "Number of Leads", "requiredField": true}]}}, "typeVersion": 2.2}, {"id": "76ade63a-7b44-4fd1-85d8-6dbacd83aca7", "name": "Split Out", "type": "n8n-nodes-base.splitOut", "position": [360, -80], "parameters": {"options": {}, "fieldToSplitOut": "people"}, "typeVersion": 1, "alwaysOutputData": false}, {"id": "3c7b7179-a8b9-41d6-9617-8eb7af38f571", "name": "Google Sheets Trigger", "type": "n8n-nodes-base.googleSheetsTrigger", "position": [-100, 280], "parameters": {"event": "rowAdded", "options": {}, "pollTimes": {"item": [{"mode": "everyMinute"}]}, "sheetName": {"__rl": true, "mode": "list", "value": "gid=0", "cachedResultUrl": "https://docs.google.com/spreadsheets/d/1d99PlHkp9RPeSAtmATgQ4OC4Selcp8JSFLNuKx-n1EQ/edit#gid=0", "cachedResultName": "Sheet1"}, "documentId": {"__rl": true, "mode": "list", "value": "1d99PlHkp9RPeSAtmATgQ4OC4Selcp8JSFLNuKx-n1EQ", "cachedResultUrl": "https://docs.google.com/spreadsheets/d/1d99PlHkp9RPeSAtmATgQ4OC4Selcp8JSFLNuKx-n1EQ/edit?usp=drivesdk", "cachedResultName": "apollo ai leads & enrichment"}}, "credentials": {"googleSheetsTriggerOAuth2Api": {"id": "DKYpQQpUt3ceJiG4", "name": "Google Sheets Trigger account"}}, "typeVersion": 1}, {"id": "9a55977c-638f-49ae-a51f-420f71c15454", "name": "OpenAI1", "type": "@n8n/n8n-nodes-langchain.openAi", "position": [360, 280], "parameters": {"modelId": {"__rl": true, "mode": "list", "value": "gpt-3.5-turbo", "cachedResultName": "GPT-3.5-TURBO"}, "options": {}, "messages": {"values": [{"content": "=remove the http or https://www.linkedin.com/in/ from this {{ $json.linkedin_url }}"}]}}, "credentials": {"openAiApi": {"id": "DO9F6MAeTGLeqgoF", "name": "OpenAi account"}}, "typeVersion": 1.8}, {"id": "ca4d6b69-d4cb-4aa1-89bc-f0b5555f31cd", "name": "Google Sheets Trigger2", "type": "n8n-nodes-base.googleSheetsTrigger", "position": [-100, 680], "parameters": {"event": "rowAdded", "options": {}, "pollTimes": {"item": [{"mode": "everyMinute"}]}, "sheetName": {"__rl": true, "mode": "list", "value": "gid=0", "cachedResultUrl": "https://docs.google.com/spreadsheets/d/1d99PlHkp9RPeSAtmATgQ4OC4Selcp8JSFLNuKx-n1EQ/edit#gid=0", "cachedResultName": "Sheet1"}, "documentId": {"__rl": true, "mode": "list", "value": "1d99PlHkp9RPeSAtmATgQ4OC4Selcp8JSFLNuKx-n1EQ", "cachedResultUrl": "https://docs.google.com/spreadsheets/d/1d99PlHkp9RPeSAtmATgQ4OC4Selcp8JSFLNuKx-n1EQ/edit?usp=drivesdk", "cachedResultName": "apollo ai leads"}}, "credentials": {"googleSheetsTriggerOAuth2Api": {"id": "DKYpQQpUt3ceJiG4", "name": "Google Sheets Trigger account"}}, "typeVersion": 1}, {"id": "15422703-fa1f-42e4-8387-7d2d4f154938", "name": "Sticky Note", "type": "n8n-nodes-base.stickyNote", "position": [-200, 200], "parameters": {"color": 3, "width": 1260, "height": 300, "content": "## Extract Linkedin Username \n"}, "typeVersion": 1}, {"id": "f8ffe414-9ca9-463a-9b98-22a65a86d4c4", "name": "Sticky Note1", "type": "n8n-nodes-base.stickyNote", "position": [-200, -160], "parameters": {"width": 1260, "height": 300, "content": "## Scrape Leads from Apollo\n"}, "typeVersion": 1}, {"id": "a09d3993-99d6-488e-8bc0-76542de7b53c", "name": "Clean Data", "type": "n8n-nodes-base.set", "position": [600, -80], "parameters": {"options": {}, "assignments": {"assignments": [{"id": "e3bfe30e-9136-4ac9-b3da-c26eb678153b", "name": "id", "type": "string", "value": "={{ $json.id }}"}, {"id": "d45c81fb-1461-45fd-be95-d5d9901d72d7", "name": "name", "type": "string", "value": "={{ $json.name }}"}, {"id": "b4b8f660-7758-4a5f-a8f6-dc8ab6355132", "name": "linkedin_url", "type": "string", "value": "={{ $json.linkedin_url }}"}, {"id": "399f533a-6e6b-4f40-8ed8-aa5dd39017cd", "name": "title", "type": "string", "value": "={{ $json.title }}"}, {"id": "227d34c5-17db-4436-b0c2-f74e5ae453f2", "name": "organization", "type": "string", "value": "={{ $json.employment_history[0].organization_name }}"}]}}, "typeVersion": 3.4}, {"id": "92d03853-644e-4c73-8ecf-1e216238b37f", "name": "Add Leads to Google Sheet", "type": "n8n-nodes-base.googleSheets", "position": [840, -80], "parameters": {"columns": {"value": {"name": "={{ $json.name }}", "title": "={{ $json.title }}", "apollo_id": "={{ $json.id }}", "linkedin_url": "={{ $json.linkedin_url }}", "organization": "={{ $json.organization }}", "posts_scrape_status": "unscraped", "contacts_scrape_status": "pending", "profile_summary_scrape": "pending", "extract_username_status": "pending"}, "schema": [{"id": "apollo_id", "type": "string", "display": true, "removed": false, "required": false, "displayName": "apollo_id", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "name", "type": "string", "display": true, "required": false, "displayName": "name", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "organization", "type": "string", "display": true, "removed": false, "required": false, "displayName": "organization", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "title", "type": "string", "display": true, "required": false, "displayName": "title", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "linkedin_url", "type": "string", "display": true, "required": false, "displayName": "linkedin_url", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "linkedin_username", "type": "string", "display": true, "removed": true, "required": false, "displayName": "linkedin_username", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "extract_username_status", "type": "string", "display": true, "removed": false, "required": false, "displayName": "extract_username_status", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "email_address", "type": "string", "display": true, "removed": true, "required": false, "displayName": "email_address", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "contacts_scrape_status", "type": "string", "display": true, "removed": false, "required": false, "displayName": "contacts_scrape_status", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "about_linkedin_profile", "type": "string", "display": true, "removed": true, "required": false, "displayName": "about_linkedin_profile", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "profile_summary_scrape", "type": "string", "display": true, "removed": false, "required": false, "displayName": "profile_summary_scrape", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "recent_posts_summary", "type": "string", "display": true, "removed": true, "required": false, "displayName": "recent_posts_summary", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "posts_scrape_status", "type": "string", "display": true, "removed": false, "required": false, "displayName": "posts_scrape_status", "defaultMatch": false, "canBeUsedToMatch": true}], "mappingMode": "defineBelow", "matchingColumns": ["id"], "attemptToConvertTypes": false, "convertFieldsToString": false}, "options": {}, "operation": "append", "sheetName": {"__rl": true, "mode": "list", "value": "gid=0", "cachedResultUrl": "https://docs.google.com/spreadsheets/d/1d99PlHkp9RPeSAtmATgQ4OC4Selcp8JSFLNuKx-n1EQ/edit#gid=0", "cachedResultName": "Sheet1"}, "documentId": {"__rl": true, "mode": "list", "value": "1d99PlHkp9RPeSAtmATgQ4OC4Selcp8JSFLNuKx-n1EQ", "cachedResultUrl": "https://docs.google.com/spreadsheets/d/1d99PlHkp9RPeSAtmATgQ4OC4Selcp8JSFLNuKx-n1EQ/edit?usp=drivesdk", "cachedResultName": "apollo ai leads & enrichment"}}, "credentials": {"googleSheetsOAuth2Api": {"id": "d0qeLhShx9sGXalR", "name": "Google Sheets"}}, "typeVersion": 4.5}, {"id": "0275f8ba-78d7-4464-bc80-ee939e9575e7", "name": "Add Linkedin Username", "type": "n8n-nodes-base.googleSheets", "position": [720, 280], "parameters": {"columns": {"value": {"apollo_id": "={{ $('Get Pending Username Row').item.json.apollo_id }}", "linkedin_username": "={{ $json.message.content }}", "extract_username_status": "finished"}, "schema": [{"id": "apollo_id", "type": "string", "display": true, "removed": false, "required": false, "displayName": "apollo_id", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "name", "type": "string", "display": true, "removed": true, "required": false, "displayName": "name", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "title", "type": "string", "display": true, "removed": true, "required": false, "displayName": "title", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "linkedin_url", "type": "string", "display": true, "removed": true, "required": false, "displayName": "linkedin_url", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "linkedin_username", "type": "string", "display": true, "removed": false, "required": false, "displayName": "linkedin_username", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "extract_username_status", "type": "string", "display": true, "removed": false, "required": false, "displayName": "extract_username_status", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "email_address", "type": "string", "display": true, "removed": true, "required": false, "displayName": "email_address", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "phone_number", "type": "string", "display": true, "removed": true, "required": false, "displayName": "phone_number", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "contacts_scrape_status", "type": "string", "display": true, "removed": true, "required": false, "displayName": "contacts_scrape_status", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "about_linkedin_profile", "type": "string", "display": true, "removed": true, "required": false, "displayName": "about_linkedin_profile", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "profile_summary_scrape", "type": "string", "display": true, "removed": true, "required": false, "displayName": "profile_summary_scrape", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "recent_posts_summary", "type": "string", "display": true, "removed": true, "required": false, "displayName": "recent_posts_summary", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "posts_scrape_status", "type": "string", "display": true, "removed": true, "required": false, "displayName": "posts_scrape_status", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "row_number", "type": "string", "display": true, "removed": true, "readOnly": true, "required": false, "displayName": "row_number", "defaultMatch": false, "canBeUsedToMatch": true}], "mappingMode": "defineBelow", "matchingColumns": ["apollo_id"], "attemptToConvertTypes": false, "convertFieldsToString": false}, "options": {}, "operation": "update", "sheetName": {"__rl": true, "mode": "list", "value": "gid=0", "cachedResultUrl": "https://docs.google.com/spreadsheets/d/1d99PlHkp9RPeSAtmATgQ4OC4Selcp8JSFLNuKx-n1EQ/edit#gid=0", "cachedResultName": "Sheet1"}, "documentId": {"__rl": true, "mode": "list", "value": "1d99PlHkp9RPeSAtmATgQ4OC4Selcp8JSFLNuKx-n1EQ", "cachedResultUrl": "https://docs.google.com/spreadsheets/d/1d99PlHkp9RPeSAtmATgQ4OC4Selcp8JSFLNuKx-n1EQ/edit?usp=drivesdk", "cachedResultName": "apollo ai leads"}}, "credentials": {"googleSheetsOAuth2Api": {"id": "d0qeLhShx9sGXalR", "name": "Google Sheets"}}, "typeVersion": 4.5}, {"id": "42827be7-8727-46e6-8f12-5d517c3ce6f3", "name": "Get Pending Username Row", "type": "n8n-nodes-base.googleSheets", "position": [140, 280], "parameters": {"options": {"returnFirstMatch": true}, "filtersUI": {"values": [{"lookupValue": "pending", "lookupColumn": "extract_username_status"}]}, "sheetName": {"__rl": true, "mode": "list", "value": "gid=0", "cachedResultUrl": "https://docs.google.com/spreadsheets/d/1d99PlHkp9RPeSAtmATgQ4OC4Selcp8JSFLNuKx-n1EQ/edit#gid=0", "cachedResultName": "Sheet1"}, "documentId": {"__rl": true, "mode": "list", "value": "1d99PlHkp9RPeSAtmATgQ4OC4Selcp8JSFLNuKx-n1EQ", "cachedResultUrl": "https://docs.google.com/spreadsheets/d/1d99PlHkp9RPeSAtmATgQ4OC4Selcp8JSFLNuKx-n1EQ/edit?usp=drivesdk", "cachedResultName": "apollo ai leads & enrichment"}}, "credentials": {"googleSheetsOAuth2Api": {"id": "d0qeLhShx9sGXalR", "name": "Google Sheets"}}, "executeOnce": true, "typeVersion": 4.5}, {"id": "ffbb16a6-020e-4825-9690-3e89a8bbbbf7", "name": "Sticky Note2", "type": "n8n-nodes-base.stickyNote", "position": [-200, 560], "parameters": {"color": 5, "width": 1700, "height": 360, "content": "## Get Email Address, Validate Deliverability & Update Column Status"}, "typeVersion": 1}, {"id": "d2a1b54a-bc1b-4f63-a1a4-b9bd2017f82d", "name": "Add Email Address", "type": "n8n-nodes-base.googleSheets", "position": [1240, 600], "parameters": {"columns": {"value": {"apollo_id": "={{ $('Get Pending Email Statuses').item.json.apollo_id }}", "email_address": "={{ $json.data.email }}", "contacts_scrape_status": "finished"}, "schema": [{"id": "apollo_id", "type": "string", "display": true, "removed": false, "required": false, "displayName": "apollo_id", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "name", "type": "string", "display": true, "removed": true, "required": false, "displayName": "name", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "title", "type": "string", "display": true, "removed": true, "required": false, "displayName": "title", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "linkedin_url", "type": "string", "display": true, "removed": true, "required": false, "displayName": "linkedin_url", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "linkedin_username", "type": "string", "display": true, "removed": true, "required": false, "displayName": "linkedin_username", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "extract_username_status", "type": "string", "display": true, "removed": true, "required": false, "displayName": "extract_username_status", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "email_address", "type": "string", "display": true, "removed": false, "required": false, "displayName": "email_address", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "contacts_scrape_status", "type": "string", "display": true, "removed": false, "required": false, "displayName": "contacts_scrape_status", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "about_linkedin_profile", "type": "string", "display": true, "removed": true, "required": false, "displayName": "about_linkedin_profile", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "profile_summary_scrape", "type": "string", "display": true, "removed": true, "required": false, "displayName": "profile_summary_scrape", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "recent_posts_summary", "type": "string", "display": true, "removed": true, "required": false, "displayName": "recent_posts_summary", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "posts_scrape_status", "type": "string", "display": true, "removed": true, "required": false, "displayName": "posts_scrape_status", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "row_number", "type": "string", "display": true, "removed": true, "readOnly": true, "required": false, "displayName": "row_number", "defaultMatch": false, "canBeUsedToMatch": true}], "mappingMode": "defineBelow", "matchingColumns": ["apollo_id"], "attemptToConvertTypes": false, "convertFieldsToString": false}, "options": {}, "operation": "update", "sheetName": {"__rl": true, "mode": "list", "value": "gid=0", "cachedResultUrl": "https://docs.google.com/spreadsheets/d/1d99PlHkp9RPeSAtmATgQ4OC4Selcp8JSFLNuKx-n1EQ/edit#gid=0", "cachedResultName": "Sheet1"}, "documentId": {"__rl": true, "mode": "list", "value": "1d99PlHkp9RPeSAtmATgQ4OC4Selcp8JSFLNuKx-n1EQ", "cachedResultUrl": "https://docs.google.com/spreadsheets/d/1d99PlHkp9RPeSAtmATgQ4OC4Selcp8JSFLNuKx-n1EQ/edit?usp=drivesdk", "cachedResultName": "apollo ai leads"}}, "credentials": {"googleSheetsOAuth2Api": {"id": "d0qeLhShx9sGXalR", "name": "Google Sheets"}}, "executeOnce": true, "typeVersion": 4.5}, {"id": "7abbce6e-90fa-4ac5-9a0b-0ba2669aa77a", "name": "Mark Invalid Email", "type": "n8n-nodes-base.googleSheets", "position": [1240, 760], "parameters": {"columns": {"value": {"apollo_id": "={{ $('Get Pending Email Statuses').item.json.apollo_id }}", "contacts_scrape_status": "invalid_email"}, "schema": [{"id": "apollo_id", "type": "string", "display": true, "removed": false, "required": false, "displayName": "apollo_id", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "name", "type": "string", "display": true, "removed": true, "required": false, "displayName": "name", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "title", "type": "string", "display": true, "removed": true, "required": false, "displayName": "title", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "linkedin_url", "type": "string", "display": true, "removed": true, "required": false, "displayName": "linkedin_url", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "linkedin_username", "type": "string", "display": true, "removed": true, "required": false, "displayName": "linkedin_username", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "extract_username_status", "type": "string", "display": true, "removed": true, "required": false, "displayName": "extract_username_status", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "email_address", "type": "string", "display": true, "removed": true, "required": false, "displayName": "email_address", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "contacts_scrape_status", "type": "string", "display": true, "required": false, "displayName": "contacts_scrape_status", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "about_linkedin_profile", "type": "string", "display": true, "removed": true, "required": false, "displayName": "about_linkedin_profile", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "profile_summary_scrape", "type": "string", "display": true, "removed": true, "required": false, "displayName": "profile_summary_scrape", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "recent_posts_summary", "type": "string", "display": true, "removed": true, "required": false, "displayName": "recent_posts_summary", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "posts_scrape_status", "type": "string", "display": true, "removed": true, "required": false, "displayName": "posts_scrape_status", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "row_number", "type": "string", "display": true, "removed": true, "readOnly": true, "required": false, "displayName": "row_number", "defaultMatch": false, "canBeUsedToMatch": true}], "mappingMode": "defineBelow", "matchingColumns": ["apollo_id"], "attemptToConvertTypes": false, "convertFieldsToString": false}, "options": {}, "operation": "update", "sheetName": {"__rl": true, "mode": "list", "value": "gid=0", "cachedResultUrl": "https://docs.google.com/spreadsheets/d/1d99PlHkp9RPeSAtmATgQ4OC4Selcp8JSFLNuKx-n1EQ/edit#gid=0", "cachedResultName": "Sheet1"}, "documentId": {"__rl": true, "mode": "list", "value": "1d99PlHkp9RPeSAtmATgQ4OC4Selcp8JSFLNuKx-n1EQ", "cachedResultUrl": "https://docs.google.com/spreadsheets/d/1d99PlHkp9RPeSAtmATgQ4OC4Selcp8JSFLNuKx-n1EQ/edit?usp=drivesdk", "cachedResultName": "apollo ai leads & enrichment"}}, "credentials": {"googleSheetsOAuth2Api": {"id": "d0qeLhShx9sGXalR", "name": "Google Sheets"}}, "typeVersion": 4.5}, {"id": "2e1b9e78-8953-4059-9bbd-117c78742e4b", "name": "Sticky Note3", "type": "n8n-nodes-base.stickyNote", "position": [1560, 560], "parameters": {"color": 5, "width": 800, "height": 360, "content": "## Update Contact Scrape Status from Invalid back to Pending"}, "typeVersion": 1}, {"id": "dc603dc3-148c-4609-a698-eaae32832423", "name": "Schedule Trigger", "type": "n8n-nodes-base.scheduleTrigger", "position": [1640, 680], "parameters": {"rule": {"interval": [{"field": "weeks", "triggerAtDay": [2], "triggerAtHour": 8, "weeksInterval": 4}]}}, "typeVersion": 1.2}, {"id": "a23feccf-f6b5-4440-b12a-ea10b41f4037", "name": "Get Email from Apollo", "type": "n8n-nodes-base.httpRequest", "position": [380, 680], "parameters": {"url": "https://api.apollo.io/api/v1/people/match", "method": "POST", "options": {}, "sendBody": true, "sendQuery": true, "sendHeaders": true, "bodyParameters": {"parameters": [{"name": "id", "value": "={{ $json.apollo_id }}"}]}, "queryParameters": {"parameters": [{"name": "reveal_personal_emails", "value": "true"}, {"name": "reveal_phone_number", "value": "false"}]}, "headerParameters": {"parameters": [{"name": "Cache-Control", "value": "no-cache"}, {"name": "accept", "value": "application/json"}, {"name": "x-api-key", "value": "\"your_api_key\""}]}}, "typeVersion": 4.2}, {"id": "dfd5224d-fdb6-41f2-a219-a4a8f94930cd", "name": "Confirm Email Validity", "type": "n8n-nodes-base.httpRequest", "position": [620, 680], "parameters": {"url": "=https://api.mails.so/v1/validate?email={{ $json.person.email }}", "options": {}, "sendHeaders": true, "headerParameters": {"parameters": [{"name": "x-mails-api-key", "value": "\"your_api_key\""}]}}, "typeVersion": 4.2}, {"id": "14fab17d-b38b-43de-a38e-c8d49afcf1d0", "name": "Get Pending Email Statuses", "type": "n8n-nodes-base.googleSheets", "position": [140, 680], "parameters": {"options": {"returnFirstMatch": true}, "filtersUI": {"values": [{"lookupValue": "pending", "lookupColumn": "contacts_scrape_status"}]}, "sheetName": {"__rl": true, "mode": "list", "value": "gid=0", "cachedResultUrl": "https://docs.google.com/spreadsheets/d/1d99PlHkp9RPeSAtmATgQ4OC4Selcp8JSFLNuKx-n1EQ/edit#gid=0", "cachedResultName": "Sheet1"}, "documentId": {"__rl": true, "mode": "list", "value": "1d99PlHkp9RPeSAtmATgQ4OC4Selcp8JSFLNuKx-n1EQ", "cachedResultUrl": "https://docs.google.com/spreadsheets/d/1d99PlHkp9RPeSAtmATgQ4OC4Selcp8JSFLNuKx-n1EQ/edit?usp=drivesdk", "cachedResultName": "apollo ai leads"}}, "credentials": {"googleSheetsOAuth2Api": {"id": "d0qeLhShx9sGXalR", "name": "Google Sheets"}}, "executeOnce": true, "typeVersion": 4.5}, {"id": "09a0c5eb-d098-47f1-a85c-13c93d8b5296", "name": "Google Sheets Trigger3", "type": "n8n-nodes-base.googleSheetsTrigger", "position": [-100, 1160], "parameters": {"event": "rowAdded", "options": {}, "pollTimes": {"item": [{"mode": "everyMinute"}]}, "sheetName": {"__rl": true, "mode": "list", "value": "gid=0", "cachedResultUrl": "https://docs.google.com/spreadsheets/d/1d99PlHkp9RPeSAtmATgQ4OC4Selcp8JSFLNuKx-n1EQ/edit#gid=0", "cachedResultName": "Sheet1"}, "documentId": {"__rl": true, "mode": "list", "value": "1d99PlHkp9RPeSAtmATgQ4OC4Selcp8JSFLNuKx-n1EQ", "cachedResultUrl": "https://docs.google.com/spreadsheets/d/1d99PlHkp9RPeSAtmATgQ4OC4Selcp8JSFLNuKx-n1EQ/edit?usp=drivesdk", "cachedResultName": "apollo ai leads"}}, "credentials": {"googleSheetsTriggerOAuth2Api": {"id": "DKYpQQpUt3ceJiG4", "name": "Google Sheets Trigger account"}}, "typeVersion": 1}, {"id": "3f592a9c-f692-44c0-b5be-9c5ff1506f24", "name": "Sticky Note4", "type": "n8n-nodes-base.stickyNote", "position": [-200, 1040], "parameters": {"color": 6, "width": 1920, "height": 360, "content": "## Get Profile Summary & Update Status (Rapid API\u2705 - Primary Option)"}, "typeVersion": 1}, {"id": "6bc025b4-b150-493b-ae38-33772cb51a76", "name": "Get Profile Posts", "type": "n8n-nodes-base.httpRequest", "onError": "continueRegularOutput", "maxTries": 2, "position": [340, 1640], "parameters": {"url": "https://linkedin-data-api.p.rapidapi.com/get-profile-posts", "options": {}, "sendQuery": true, "sendHeaders": true, "queryParameters": {"parameters": [{"name": "username", "value": "={{ $json.linkedin_username }}"}, {"name": "start", "value": "0"}]}, "headerParameters": {"parameters": [{"name": "x-rapidapi-host", "value": "linkedin-data-api.p.rapidapi.com"}, {"name": "x-rapidapi-key", "value": "\"your_api_key\""}]}}, "retryOnFail": true, "typeVersion": 4.2}, {"id": "758da5bf-91e9-434d-9de5-eb3e907524e1", "name": "Get About Profile", "type": "n8n-nodes-base.httpRequest", "onError": "continueRegularOutput", "maxTries": 2, "position": [380, 1160], "parameters": {"url": "https://linkedin-data-api.p.rapidapi.com", "options": {}, "sendQuery": true, "sendHeaders": true, "queryParameters": {"parameters": [{"name": "username", "value": "={{ $json.linkedin_username }}"}]}, "headerParameters": {"parameters": [{"name": "x-rapidapi-host", "value": "linkedin-data-api.p.rapidapi.com"}, {"name": "x-rapidapi-key", "value": "\"your_api_key\""}]}}, "retryOnFail": true, "typeVersion": 4.2}, {"id": "9f88649f-3c41-4624-b94f-242d94118b0b", "name": "Get Pending About and Posts Rows", "type": "n8n-nodes-base.googleSheets", "position": [140, 1160], "parameters": {"options": {"returnFirstMatch": true}, "filtersUI": {"values": [{"lookupValue": "pending", "lookupColumn": "profile_summary_scrape"}]}, "sheetName": {"__rl": true, "mode": "list", "value": "gid=0", "cachedResultUrl": "https://docs.google.com/spreadsheets/d/1d99PlHkp9RPeSAtmATgQ4OC4Selcp8JSFLNuKx-n1EQ/edit#gid=0", "cachedResultName": "Sheet1"}, "documentId": {"__rl": true, "mode": "list", "value": "1d99PlHkp9RPeSAtmATgQ4OC4Selcp8JSFLNuKx-n1EQ", "cachedResultUrl": "https://docs.google.com/spreadsheets/d/1d99PlHkp9RPeSAtmATgQ4OC4Selcp8JSFLNuKx-n1EQ/edit?usp=drivesdk", "cachedResultName": "apollo ai leads"}}, "credentials": {"googleSheetsOAuth2Api": {"id": "d0qeLhShx9sGXalR", "name": "Google Sheets"}}, "executeOnce": true, "typeVersion": 4.5}, {"id": "2e8bb4a1-5fa9-446a-8b55-bffd6ceb5648", "name": "Clean Profile Data", "type": "n8n-nodes-base.code", "onError": "continueErrorOutput", "maxTries": 2, "position": [620, 1160], "parameters": {"jsCode": "return [{\n summary: $input.first().json.summary,\n headline: $input.first().json.headline,\n nationality: $input.first().json.geo.country,\n languaage: $input.first().json.languages[0].name,\n education: $input.first().json.educations[0].schoolName,\n fieldOfStudy: $input.first().json.educations[0].fieldOfStudy,\n employment_company: $input.first().json.position[0].companyName,\n company_industry: $input.first().json.position[0].companyIndustry,\n position: $input.first().json.position[0].title,\n company_location: $input.first().json.position[0].location,\n employment_description_1: $input.first().json.position[0].description,\n}];\n"}, "retryOnFail": true, "typeVersion": 2}, {"id": "87aa2108-44df-4b7f-8090-f2e86cbf5bf9", "name": "Google Sheets Trigger4", "type": "n8n-nodes-base.googleSheetsTrigger", "position": [-120, 1640], "parameters": {"event": "rowAdded", "options": {}, "pollTimes": {"item": [{"mode": "everyMinute"}]}, "sheetName": {"__rl": true, "mode": "list", "value": "gid=0", "cachedResultUrl": "https://docs.google.com/spreadsheets/d/1d99PlHkp9RPeSAtmATgQ4OC4Selcp8JSFLNuKx-n1EQ/edit#gid=0", "cachedResultName": "Sheet1"}, "documentId": {"__rl": true, "mode": "list", "value": "1d99PlHkp9RPeSAtmATgQ4OC4Selcp8JSFLNuKx-n1EQ", "cachedResultUrl": "https://docs.google.com/spreadsheets/d/1d99PlHkp9RPeSAtmATgQ4OC4Selcp8JSFLNuKx-n1EQ/edit?usp=drivesdk", "cachedResultName": "apollo ai leads"}}, "credentials": {"googleSheetsTriggerOAuth2Api": {"id": "DKYpQQpUt3ceJiG4", "name": "Google Sheets Trigger account"}}, "typeVersion": 1}, {"id": "e3318dd3-4b6a-4994-92bc-2e715f398397", "name": "Sticky Note5", "type": "n8n-nodes-base.stickyNote", "position": [-200, 1520], "parameters": {"color": 7, "width": 1920, "height": 360, "content": "## Get Summary of Latest Linkedin Profile Posts (Rapid API\u2705 - Primary Option)"}, "typeVersion": 1}, {"id": "b1c117e8-493a-443f-912b-dbf4718c3348", "name": "Get Pending About and Posts Rows1", "type": "n8n-nodes-base.googleSheets", "position": [100, 1640], "parameters": {"options": {"returnFirstMatch": true}, "filtersUI": {"values": [{"lookupValue": "unscraped", "lookupColumn": "posts_scrape_status"}]}, "sheetName": {"__rl": true, "mode": "list", "value": "gid=0", "cachedResultUrl": "https://docs.google.com/spreadsheets/d/1d99PlHkp9RPeSAtmATgQ4OC4Selcp8JSFLNuKx-n1EQ/edit#gid=0", "cachedResultName": "Sheet1"}, "documentId": {"__rl": true, "mode": "list", "value": "1d99PlHkp9RPeSAtmATgQ4OC4Selcp8JSFLNuKx-n1EQ", "cachedResultUrl": "https://docs.google.com/spreadsheets/d/1d99PlHkp9RPeSAtmATgQ4OC4Selcp8JSFLNuKx-n1EQ/edit?usp=drivesdk", "cachedResultName": "apollo ai leads"}}, "credentials": {"googleSheetsOAuth2Api": {"id": "d0qeLhShx9sGXalR", "name": "Google Sheets"}}, "executeOnce": true, "typeVersion": 4.5}, {"id": "c480f3ed-f316-4dd8-877b-49191d5aa694", "name": "Clean Posts Data", "type": "n8n-nodes-base.code", "onError": "continueErrorOutput", "maxTries": 2, "position": [580, 1640], "parameters": {"jsCode": "const data = $input.first().json.data || [];\n\nfunction getText(post, reshared = false) {\n if (!post) return \"\";\n return reshared ? (post.resharedPost?.text || \"\") : (post.text || \"\");\n}\n\nfunction getDate(post) {\n if (!post) return \"\";\n return post.postedDate || post.postedDateTimestamp || \"\";\n}\n\nreturn [{\n json: {\n post_1: getText(data[0]),\n post_1_date: getDate(data[0]),\n\n post_2: getText(data[1]),\n post_2_date: getDate(data[1]),\n\n post_3: getText(data[2]),\n post_3_date: getDate(data[2]),\n\n post_4: getText(data[3], true),\n post_4_date: getDate(data[3]),\n\n post_5: getText(data[4], true),\n post_5_date: getDate(data[4]),\n }\n}];\n"}, "retryOnFail": true, "typeVersion": 2, "waitBetweenTries": 3000}, {"id": "88d093e7-0180-4585-b338-11f4974fa0a7", "name": "Sticky Note6", "type": "n8n-nodes-base.stickyNote", "position": [-200, 1980], "parameters": {"color": 4, "width": 800, "height": 360, "content": "## Update Completely Enriched Profile to Final Database"}, "typeVersion": 1}, {"id": "a9a96a05-f135-4a19-827f-85a750bc1551", "name": "Google Sheets Trigger5", "type": "n8n-nodes-base.googleSheetsTrigger", "position": [-120, 2100], "parameters": {"event": "rowAdded", "options": {}, "pollTimes": {"item": [{"mode": "everyMinute"}]}, "sheetName": {"__rl": true, "mode": "list", "value": "gid=0", "cachedResultUrl": "https://docs.google.com/spreadsheets/d/1d99PlHkp9RPeSAtmATgQ4OC4Selcp8JSFLNuKx-n1EQ/edit#gid=0", "cachedResultName": "Sheet1"}, "documentId": {"__rl": true, "mode": "list", "value": "1d99PlHkp9RPeSAtmATgQ4OC4Selcp8JSFLNuKx-n1EQ", "cachedResultUrl": "https://docs.google.com/spreadsheets/d/1d99PlHkp9RPeSAtmATgQ4OC4Selcp8JSFLNuKx-n1EQ/edit?usp=drivesdk", "cachedResultName": "apollo ai leads"}}, "credentials": {"googleSheetsTriggerOAuth2Api": {"id": "DKYpQQpUt3ceJiG4", "name": "Google Sheets Trigger account"}}, "typeVersion": 1}, {"id": "ef709a3f-7e75-4904-9d3e-299db8db5d60", "name": "Sticky Note8", "type": "n8n-nodes-base.stickyNote", "position": [1780, 1040], "parameters": {"color": 6, "width": 800, "height": 360, "content": "## Update profile summary status from failed back to pending"}, "typeVersion": 1}, {"id": "91a1eaed-8645-4eeb-8558-c28a6d55f689", "name": "Schedule Trigger2", "type": "n8n-nodes-base.scheduleTrigger", "position": [1860, 1160], "parameters": {"rule": {"interval": [{"field": "weeks", "triggerAtDay": [2], "triggerAtHour": 8, "weeksInterval": 4}]}}, "typeVersion": 1.2}, {"id": "f7658227-39b3-4efb-971c-f17860d20fb8", "name": "get invalid email rows", "type": "n8n-nodes-base.googleSheets", "position": [1880, 680], "parameters": {"options": {"returnFirstMatch": false}, "filtersUI": {"values": [{"lookupValue": "invalid_email", "lookupColumn": "contacts_scrape_status"}]}, "sheetName": {"__rl": true, "mode": "list", "value": "gid=0", "cachedResultUrl": "https://docs.google.com/spreadsheets/d/1d99PlHkp9RPeSAtmATgQ4OC4Selcp8JSFLNuKx-n1EQ/edit#gid=0", "cachedResultName": "Sheet1"}, "documentId": {"__rl": true, "mode": "list", "value": "1d99PlHkp9RPeSAtmATgQ4OC4Selcp8JSFLNuKx-n1EQ", "cachedResultUrl": "https://docs.google.com/spreadsheets/d/1d99PlHkp9RPeSAtmATgQ4OC4Selcp8JSFLNuKx-n1EQ/edit?usp=drivesdk", "cachedResultName": "apollo ai leads"}}, "credentials": {"googleSheetsOAuth2Api": {"id": "d0qeLhShx9sGXalR", "name": "Google Sheets"}}, "executeOnce": true, "typeVersion": 4.5}, {"id": "fce87e8a-9eb3-4c86-a4e3-f93534333206", "name": "update_to_pending", "type": "n8n-nodes-base.googleSheets", "position": [2100, 680], "parameters": {"columns": {"value": {"apollo_id": "={{ $json.apollo_id }}", "contacts_scrape_status": "pending"}, "schema": [{"id": "apollo_id", "type": "string", "display": true, "removed": false, "required": false, "displayName": "apollo_id", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "name", "type": "string", "display": true, "removed": true, "required": false, "displayName": "name", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "title", "type": "string", "display": true, "removed": true, "required": false, "displayName": "title", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "linkedin_url", "type": "string", "display": true, "removed": true, "required": false, "displayName": "linkedin_url", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "linkedin_username", "type": "string", "display": true, "removed": true, "required": false, "displayName": "linkedin_username", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "extract_username_status", "type": "string", "display": true, "removed": true, "required": false, "displayName": "extract_username_status", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "email_address", "type": "string", "display": true, "removed": true, "required": false, "displayName": "email_address", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "contacts_scrape_status", "type": "string", "display": true, "required": false, "displayName": "contacts_scrape_status", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "about_linkedin_profile", "type": "string", "display": true, "removed": true, "required": false, "displayName": "about_linkedin_profile", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "profile_summary_scrape", "type": "string", "display": true, "removed": true, "required": false, "displayName": "profile_summary_scrape", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "recent_posts_summary", "type": "string", "display": true, "removed": true, "required": false, "displayName": "recent_posts_summary", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "posts_scrape_status", "type": "string", "display": true, "removed": true, "required": false, "displayName": "posts_scrape_status", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "row_number", "type": "string", "display": true, "removed": true, "readOnly": true, "required": false, "displayName": "row_number", "defaultMatch": false, "canBeUsedToMatch": true}], "mappingMode": "defineBelow", "matchingColumns": ["apollo_id"], "attemptToConvertTypes": false, "convertFieldsToString": false}, "options": {}, "operation": "update", "sheetName": {"__rl": true, "mode": "list", "value": "gid=0", "cachedResultUrl": "https://docs.google.com/spreadsheets/d/1d99PlHkp9RPeSAtmATgQ4OC4Selcp8JSFLNuKx-n1EQ/edit#gid=0", "cachedResultName": "Sheet1"}, "documentId": {"__rl": true, "mode": "list", "value": "1d99PlHkp9RPeSAtmATgQ4OC4Selcp8JSFLNuKx-n1EQ", "cachedResultUrl": "https://docs.google.com/spreadsheets/d/1d99PlHkp9RPeSAtmATgQ4OC4Selcp8JSFLNuKx-n1EQ/edit?usp=drivesdk", "cachedResultName": "apollo ai leads & enrichment"}}, "credentials": {"googleSheetsOAuth2Api": {"id": "d0qeLhShx9sGXalR", "name": "Google Sheets"}}, "typeVersion": 4.5}, {"id": "9583cab2-6373-4e44-b9f2-ba0e8c8871e7", "name": "get_failed_profile_summary_rows", "type": "n8n-nodes-base.googleSheets", "position": [2100, 1160], "parameters": {"options": {"returnFirstMatch": false}, "filtersUI": {"values": [{"lookupValue": "failed", "lookupColumn": "profile_summary_scrape"}]}, "sheetName": {"__rl": true, "mode": "list", "value": "gid=0", "cachedResultUrl": "https://docs.google.com/spreadsheets/d/1d99PlHkp9RPeSAtmATgQ4OC4Selcp8JSFLNuKx-n1EQ/edit#gid=0", "cachedResultName": "Sheet1"}, "documentId": {"__rl": true, "mode": "list", "value": "1d99PlHkp9RPeSAtmATgQ4OC4Selcp8JSFLNuKx-n1EQ", "cachedResultUrl": "https://docs.google.com/spreadsheets/d/1d99PlHkp9RPeSAtmATgQ4OC4Selcp8JSFLNuKx-n1EQ/edit?usp=drivesdk", "cachedResultName": "apollo ai leads"}}, "credentials": {"googleSheetsOAuth2Api": {"id": "d0qeLhShx9sGXalR", "name": "Google Sheets"}}, "executeOnce": true, "typeVersion": 4.5}, {"id": "a09d1560-2213-46ff-9668-5e98d5051e1f", "name": "update_to_pending1", "type": "n8n-nodes-base.googleSheets", "position": [2320, 1160], "parameters": {"columns": {"value": {"apollo_id": "={{ $json.apollo_id }}", "profile_summary_scrape": "pending"}, "schema": [{"id": "apollo_id", "type": "string", "display": true, "removed": false, "required": false, "displayName": "apollo_id", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "name", "type": "string", "display": true, "removed": true, "required": false, "displayName": "name", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "title", "type": "string", "display": true, "removed": true, "required": false, "displayName": "title", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "linkedin_url", "type": "string", "display": true, "removed": true, "required": false, "displayName": "linkedin_url", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "linkedin_username", "type": "string", "display": true, "removed": true, "required": false, "displayName": "linkedin_username", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "extract_username_status", "type": "string", "display": true, "removed": true, "required": false, "displayName": "extract_username_status", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "email_address", "type": "string", "display": true, "removed": true, "required": false, "displayName": "email_address", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "contacts_scrape_status", "type": "string", "display": true, "removed": true, "required": false, "displayName": "contacts_scrape_status", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "about_linkedin_profile", "type": "string", "display": true, "removed": true, "required": false, "displayName": "about_linkedin_profile", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "profile_summary_scrape", "type": "string", "display": true, "removed": false, "required": false, "displayName": "profile_summary_scrape", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "recent_posts_summary", "type": "string", "display": true, "removed": true, "required": false, "displayName": "recent_posts_summary", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "posts_scrape_status", "type": "string", "display": true, "removed": true, "required": false, "displayName": "posts_scrape_status", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "row_number", "type": "string", "display": true, "removed": true, "readOnly": true, "required": false, "displayName": "row_number", "defaultMatch": false, "canBeUsedToMatch": true}], "mappingMode": "defineBelow", "matchingColumns": ["apollo_id"], "attemptToConvertTypes": false, "convertFieldsToString": false}, "options": {}, "operation": "update", "sheetName": {"__rl": true, "mode": "list", "value": "gid=0", "cachedResultUrl": "https://docs.google.com/spreadsheets/d/1d99PlHkp9RPeSAtmATgQ4OC4Selcp8JSFLNuKx-n1EQ/edit#gid=0", "cachedResultName": "Sheet1"}, "documentId": {"__rl": true, "mode": "list", "value": "1d99PlHkp9RPeSAtmATgQ4OC4Selcp8JSFLNuKx-n1EQ", "cachedResultUrl": "https://docs.google.com/spreadsheets/d/1d99PlHkp9RPeSAtmATgQ4OC4Selcp8JSFLNuKx-n1EQ/edit?usp=drivesdk", "cachedResultName": "apollo ai leads & enrichment"}}, "credentials": {"googleSheetsOAuth2Api": {"id": "d0qeLhShx9sGXalR", "name": "Google Sheets"}}, "typeVersion": 4.5}, {"id": "809d74c0-bb21-4651-bf52-ccb7e8fac5a6", "name": "Sticky Note9", "type": "n8n-nodes-base.stickyNote", "position": [1760, 1520], "parameters": {"color": 7, "width": 800, "height": 360, "content": "## Update posts summary status from failed back to pending"}, "typeVersion": 1}, {"id": "ee1a5073-87a9-4395-9c79-b56165a5325d", "name": "Schedule Trigger3", "type": "n8n-nodes-base.scheduleTrigger", "position": [1840, 1640], "parameters": {"rule": {"interval": [{"field": "weeks", "triggerAtDay": [2], "triggerAtHour": 8, "weeksInterval": 4}]}}, "typeVersion": 1.2}, {"id": "4a89e593-adb3-4999-bb0a-cf8cc751a76a", "name": "get_failed_posts_summary_rows1", "type": "n8n-nodes-base.googleSheets", "position": [2080, 1640], "parameters": {"options": {"returnFirstMatch": false}, "filtersUI": {"values": [{"lookupValue": "failed", "lookupColumn": "posts_scrape_status"}]}, "sheetName": {"__rl": true, "mode": "list", "value": "gid=0", "cachedResultUrl": "https://docs.google.com/spreadsheets/d/1d99PlHkp9RPeSAtmATgQ4OC4Selcp8JSFLNuKx-n1EQ/edit#gid=0", "cachedResultName": "Sheet1"}, "documentId": {"__rl": true, "mode": "list", "value": "1d99PlHkp9RPeSAtmATgQ4OC4Selcp8JSFLNuKx-n1EQ", "cachedResultUrl": "https://docs.google.com/spreadsheets/d/1d99PlHkp9RPeSAtmATgQ4OC4Selcp8JSFLNuKx-n1EQ/edit?usp=drivesdk", "cachedResultName": "apollo ai leads"}}, "credentials": {"googleSheetsOAuth2Api": {"id": "d0qeLhShx9sGXalR", "name": "Google Sheets"}}, "executeOnce": true, "typeVersion": 4.5}, {"id": "369715fe-67c5-41f1-9070-af5063f80fe0", "name": "Posts AI Summarizer", "type": "@n8n/n8n-nodes-langchain.openAi", "position": [1060, 1560], "parameters": {"modelId": {"__rl": true, "mode": "list", "value": "gpt-3.5-turbo", "cachedResultName": "GPT-3.5-TURBO"}, "options": {}, "messages": {"values": [{"content": "=Below are the most recent posts and reposts from a LinkedIn user. Summarize them collectively in no more than two short paragraphs. Focus on capturing the main themes, tone, and any recurring interests or professional concerns.\n\nAvoid listing each post separately \u2014 instead, synthesize the information into a narrative that gives a clear idea of what this person is currently focused on or passionate about.\n\nPosts: {{ $json.postsString }}\n\nKeep it insightful but brief \u2014 no more than 2 concise paragraphs."}]}, "simplify": false}, "credentials": {"openAiApi": {"id": "DO9F6MAeTGLeqgoF", "name": "OpenAi account"}}, "executeOnce": true, "typeVersion": 1.8}, {"id": "a571b341-1a4b-42d7-a4fc-5dd8333e3dab", "name": "AI Profile Summarizer", "type": "@n8n/n8n-nodes-langchain.openAi", "position": [1100, 1080], "parameters": {"modelId": {"__rl": true, "mode": "list", "value": "gpt-3.5-turbo", "cachedResultName": "GPT-3.5-TURBO"}, "options": {}, "messages": {"values": [{"content": "=Please summarize the following linkedin profile data {{ $json.profileString }} for a lead I want to cold email. I want to combine this summary with another information about them to send personalied emails, so please make sure you include relevant bits in the summary"}]}, "simplify": false}, "credentials": {"openAiApi": {"id": "DO9F6MAeTGLeqgoF", "name": "OpenAi account"}}, "executeOnce": true, "typeVersion": 1.8}, {"id": "8a81b29d-0ffa-4418-9aec-21eb94df7d26", "name": "Update Profile Summary", "type": "n8n-nodes-base.googleSheets", "position": [1500, 1080], "parameters": {"columns": {"value": {"apollo_id": "={{ $('Get Pending About and Posts Rows').item.json.apollo_id }}", "about_linkedin_profile": "={{ $json.choices[0].message.content }}", "profile_summary_scrape": "completed"}, "schema": [{"id": "apollo_id", "type": "string", "display": true, "removed": false, "required": false, "displayName": "apollo_id", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "name", "type": "string", "display": true, "removed": true, "required": false, "displayName": "name", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "title", "type": "string", "display": true, "removed": true, "required": false, "displayName": "title", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "linkedin_url", "type": "string", "display": true, "removed": true, "required": false, "displayName": "linkedin_url", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "linkedin_username", "type": "string", "display": true, "removed": true, "required": false, "displayName": "linkedin_username", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "extract_username_status", "type": "string", "display": true, "removed": true, "required": false, "displayName": "extract_username_status", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "email_address", "type": "string", "display": true, "removed": true, "required": false, "displayName": "email_address", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "contacts_scrape_status", "type": "string", "display": true, "removed": true, "required": false, "displayName": "contacts_scrape_status", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "about_linkedin_profile", "type": "string", "display": true, "required": false, "displayName": "about_linkedin_profile", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "profile_summary_scrape", "type": "string", "display": true, "required": false, "displayName": "profile_summary_scrape", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "recent_posts_summary", "type": "string", "display": true, "removed": true, "required": false, "displayName": "recent_posts_summary", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "posts_scrape_status", "type": "string", "display": true, "removed": true, "required": false, "displayName": "posts_scrape_status", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "row_number", "type": "string", "display": true, "removed": true, "readOnly": true, "required": false, "displayName": "row_number", "defaultMatch": false, "canBeUsedToMatch": true}], "mappingMode": "defineBelow", "matchingColumns": ["apollo_id"], "attemptToConvertTypes": false, "convertFieldsToString": false}, "options": {}, "operation": "update", "sheetName": {"__rl": true, "mode": "list", "value": "gid=0", "cachedResultUrl": "https://docs.google.com/spreadsheets/d/1d99PlHkp9RPeSAtmATgQ4OC4Selcp8JSFLNuKx-n1EQ/edit#gid=0", "cachedResultName": "Sheet1"}, "documentId": {"__rl": true, "mode": "list", "value": "1d99PlHkp9RPeSAtmATgQ4OC4Selcp8JSFLNuKx-n1EQ", "cachedResultUrl": "https://docs.google.com/spreadsheets/d/1d99PlHkp9RPeSAtmATgQ4OC4Selcp8JSFLNuKx-n1EQ/edit?usp=drivesdk", "cachedResultName": "apollo ai leads & enrichment"}}, "credentials": {"googleSheetsOAuth2Api": {"id": "d0qeLhShx9sGXalR", "name": "Google Sheets"}}, "typeVersion": 4.5}, {"id": "4803c443-be3c-4578-90fc-ab78403a0913", "name": "Update Posts Summary", "type": "n8n-nodes-base.googleSheets", "position": [1440, 1560], "parameters": {"columns": {"value": {"apollo_id": "={{ $('Get Pending About and Posts Rows1').item.json.apollo_id }}", "posts_scrape_status": "scraped", "recent_posts_summary": "={{ $json.choices[0].message.content }}"}, "schema": [{"id": "apollo_id", "type": "string", "display": true, "removed": false, "required": false, "displayName": "apollo_id", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "name", "type": "string", "display": true, "removed": true, "required": false, "displayName": "name", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "organization", "type": "string", "display": true, "removed": true, "required": false, "displayName": "organization", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "title", "type": "string", "display": true, "removed": true, "required": false, "displayName": "title", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "linkedin_url", "type": "string", "display": true, "removed": true, "required": false, "displayName": "linkedin_url", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "linkedin_username", "type": "string", "display": true, "removed": true, "required": false, "displayName": "linkedin_username", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "extract_username_status", "type": "string", "display": true, "removed": true, "required": false, "displayName": "extract_username_status", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "email_address", "type": "string", "display": true, "removed": true, "required": false, "displayName": "email_address", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "contacts_scrape_status", "type": "string", "display": true, "removed": true, "required": false, "displayName": "contacts_scrape_status", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "about_linkedin_profile", "type": "string", "display": true, "removed": true, "required": false, "displayName": "about_linkedin_profile", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "profile_summary_scrape", "type": "string", "display": true, "removed": true, "required": false, "displayName": "profile_summary_scrape", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "recent_posts_summary", "type": "string", "display": true, "removed": false, "required": false, "displayName": "recent_posts_summary", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "posts_scrape_status", "type": "string", "display": true, "removed": false, "required": false, "displayName": "posts_scrape_status", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "row_number", "type": "string", "display": true, "removed": true, "readOnly": true, "required": false, "displayName": "row_number", "defaultMatch": false, "canBeUsedToMatch": true}], "mappingMode": "defineBelow", "matchingColumns": ["apollo_id"], "attemptToConvertTypes": false, "convertFieldsToString": false}, "options": {}, "operation": "update", "sheetName": {"__rl": true, "mode": "list", "value": "gid=0", "cachedResultUrl": "https://docs.google.com/spreadsheets/d/1d99PlHkp9RPeSAtmATgQ4OC4Selcp8JSFLNuKx-n1EQ/edit#gid=0", "cachedResultName": "Sheet1"}, "documentId": {"__rl": true, "mode": "list", "value": "1d99PlHkp9RPeSAtmATgQ4OC4Selcp8JSFLNuKx-n1EQ", "cachedResultUrl": "https://docs.google.com/spreadsheets/d/1d99PlHkp9RPeSAtmATgQ4OC4Selcp8JSFLNuKx-n1EQ/edit?usp=drivesdk", "cachedResultName": "apollo ai leads & enrichment"}}, "credentials": {"googleSheetsOAuth2Api": {"id": "d0qeLhShx9sGXalR", "name": "Google Sheets"}}, "typeVersion": 4.5}, {"id": "ccf8b76d-1aba-4c5a-b19e-30aac3ab682a", "name": "Get Completely Enriched Profiles", "type": "n8n-nodes-base.googleSheets", "position": [120, 2100], "parameters": {"options": {"returnFirstMatch": true}, "filtersUI": {"values": [{"lookupValue": "finished", "lookupColumn": "contacts_scrape_status"}, {"lookupValue": "completed", "lookupColumn": "profile_summary_scrape"}, {"lookupValue": "scraped", "lookupColumn": "posts_scrape_status"}]}, "sheetName": {"__rl": true, "mode": "list", "value": "gid=0", "cachedResultUrl": "https://docs.google.com/spreadsheets/d/1d99PlHkp9RPeSAtmATgQ4OC4Selcp8JSFLNuKx-n1EQ/edit#gid=0", "cachedResultName": "Sheet1"}, "documentId": {"__rl": true, "mode": "list", "value": "1d99PlHkp9RPeSAtmATgQ4OC4Selcp8JSFLNuKx-n1EQ", "cachedResultUrl": "https://docs.google.com/spreadsheets/d/1d99PlHkp9RPeSAtmATgQ4OC4Selcp8JSFLNuKx-n1EQ/edit?usp=drivesdk", "cachedResultName": "apollo ai leads"}}, "credentials": {"googleSheetsOAuth2Api": {"id": "d0qeLhShx9sGXalR", "name": "Google Sheets"}}, "executeOnce": true, "typeVersion": 4.5}, {"id": "bfe41bd1-3edc-456a-9bf4-8e88009060e4", "name": "update_to_unscraped", "type": "n8n-nodes-base.googleSheets", "position": [2300, 1640], "parameters": {"columns": {"value": {"apollo_id": "={{ $json.apollo_id }}", "posts_scrape_status": "unscraped"}, "schema": [{"id": "apollo_id", "type": "string", "display": true, "removed": false, "required": false, "displayName": "apollo_id", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "name", "type": "string", "display": true, "removed": true, "required": false, "displayName": "name", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "title", "type": "string", "display": true, "removed": true, "required": false, "displayName": "title", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "linkedin_url", "type": "string", "display": true, "removed": true, "required": false, "displayName": "linkedin_url", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "linkedin_username", "type": "string", "display": true, "removed": true, "required": false, "displayName": "linkedin_username", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "extract_username_status", "type": "string", "display": true, "removed": true, "required": false, "displayName": "extract_username_status", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "email_address", "type": "string", "display": true, "removed": true, "required": false, "displayName": "email_address", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "contacts_scrape_status", "type": "string", "display": true, "removed": true, "required": false, "displayName": "contacts_scrape_status", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "about_linkedin_profile", "type": "string", "display": true, "removed": true, "required": false, "displayName": "about_linkedin_profile", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "profile_summary_scrape", "type": "string", "display": true, "removed": true, "required": false, "displayName": "profile_summary_scrape", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "recent_posts_summary", "type": "string", "display": true, "removed": true, "required": false, "displayName": "recent_posts_summary", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "posts_scrape_status", "type": "string", "display": true, "removed": false, "required": false, "displayName": "posts_scrape_status", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "row_number", "type": "string", "display": true, "removed": true, "readOnly": true, "required": false, "displayName": "row_number", "defaultMatch": false, "canBeUsedToMatch": true}], "mappingMode": "defineBelow", "matchingColumns": ["apollo_id"], "attemptToConvertTypes": false, "convertFieldsToString": false}, "options": {}, "operation": "update", "sheetName": {"__rl": true, "mode": "list", "value": "gid=0", "cachedResultUrl": "https://docs.google.com/spreadsheets/d/1d99PlHkp9RPeSAtmATgQ4OC4Selcp8JSFLNuKx-n1EQ/edit#gid=0", "cachedResultName": "Sheet1"}, "documentId": {"__rl": true, "mode": "list", "value": "1d99PlHkp9RPeSAtmATgQ4OC4Selcp8JSFLNuKx-n1EQ", "cachedResultUrl": "https://docs.google.com/spreadsheets/d/1d99PlHkp9RPeSAtmATgQ4OC4Selcp8JSFLNuKx-n1EQ/edit?usp=drivesdk", "cachedResultName": "apollo ai leads & enrichment"}}, "credentials": {"googleSheetsOAuth2Api": {"id": "d0qeLhShx9sGXalR", "name": "Google Sheets"}}, "typeVersion": 4.5}, {"id": "0d6e42a6-8b7e-493e-b920-7cb4d3994151", "name": "Append to Enriched Leads Database", "type": "n8n-nodes-base.googleSheets", "position": [340, 2100], "parameters": {"columns": {"value": {"Position": "={{ $json.title }}", "Lead Name": "={{ $json.name }}", "Email Address": "={{ $json.email_address }}", "Company/Organization": "={{ $json.organization }}", "Recent Posts Summary": "={{ $json.recent_posts_summary }}", "Linkedin Profile Summary": "={{ $json.about_linkedin_profile }}"}, "schema": [{"id": "Lead Name", "type": "string", "display": true, "removed": false, "required": false, "displayName": "Lead Name", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "Email Address", "type": "string", "display": true, "removed": false, "required": false, "displayName": "Email Address", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "Company/Organization", "type": "string", "display": true, "removed": false, "required": false, "displayName": "Company/Organization", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "Position", "type": "string", "display": true, "required": false, "displayName": "Position", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "Linkedin Profile Summary", "type": "string", "display": true, "required": false, "displayName": "Linkedin Profile Summary", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "Recent Posts Summary", "type": "string", "display": true, "required": false, "displayName": "Recent Posts Summary", "defaultMatch": false, "canBeUsedToMatch": true}], "mappingMode": "defineBelow", "matchingColumns": ["Email Address"], "attemptToConvertTypes": false, "convertFieldsToString": false}, "options": {}, "operation": "appendOrUpdate", "sheetName": {"__rl": true, "mode": "list", "value": "gid=0", "cachedResultUrl": "https://docs.google.com/spreadsheets/d/1c5USULUPS-2_RdNf29cyDguuHH7A7JNwzFCjQQUJTvE/edit#gid=0", "cachedResultName": "Sheet1"}, "documentId": {"__rl": true, "mode": "list", "value": "1c5USULUPS-2_RdNf29cyDguuHH7A7JNwzFCjQQUJTvE", "cachedResultUrl": "https://docs.google.com/spreadsheets/d/1c5USULUPS-2_RdNf29cyDguuHH7A7JNwzFCjQQUJTvE/edit?usp=drivesdk", "cachedResultName": "Enriched Leads Database"}}, "credentials": {"googleSheetsOAuth2Api": {"id": "d0qeLhShx9sGXalR", "name": "Google Sheets"}}, "typeVersion": 4.5}, {"id": "dfc1a7e4-6348-4a84-b6b9-d9f53184948e", "name": "update status to failed", "type": "n8n-nodes-base.googleSheets", "position": [880, 1240], "parameters": {"columns": {"value": {"apollo_id": "={{ $('Get Pending About and Posts Rows').item.json.apollo_id }}", "profile_summary_scrape": "failed"}, "schema": [{"id": "apollo_id", "type": "string", "display": true, "removed": false, "required": false, "displayName": "apollo_id", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "name", "type": "string", "display": true, "removed": true, "required": false, "displayName": "name", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "organization", "type": "string", "display": true, "removed": true, "required": false, "displayName": "organization", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "title", "type": "string", "display": true, "removed": true, "required": false, "displayName": "title", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "linkedin_url", "type": "string", "display": true, "removed": true, "required": false, "displayName": "linkedin_url", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "linkedin_username", "type": "string", "display": true, "removed": true, "required": false, "displayName": "linkedin_username", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "extract_username_status", "type": "string", "display": true, "removed": true, "required": false, "displayName": "extract_username_status", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "email_address", "type": "string", "display": true, "removed": true, "required": false, "displayName": "email_address", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "contacts_scrape_status", "type": "string", "display": true, "removed": true, "required": false, "displayName": "contacts_scrape_status", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "about_linkedin_profile", "type": "string", "display": true, "removed": true, "required": false, "displayName": "about_linkedin_profile", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "profile_summary_scrape", "type": "string", "display": true, "required": false, "displayName": "profile_summary_scrape", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "recent_posts_summary", "type": "string", "display": true, "removed": true, "required": false, "displayName": "recent_posts_summary", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "posts_scrape_status", "type": "string", "display": true, "removed": true, "required": false, "displayName": "posts_scrape_status", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "row_number", "type": "string", "display": true, "removed": true, "readOnly": true, "required": false, "displayName": "row_number", "defaultMatch": false, "canBeUsedToMatch": true}], "mappingMode": "defineBelow", "matchingColumns": ["apollo_id"], "attemptToConvertTypes": false, "convertFieldsToString": false}, "options": {}, "operation": "update", "sheetName": {"__rl": true, "mode": "list", "value": "gid=0", "cachedResultUrl": "https://docs.google.com/spreadsheets/d/1d99PlHkp9RPeSAtmATgQ4OC4Selcp8JSFLNuKx-n1EQ/edit#gid=0", "cachedResultName": "Sheet1"}, "documentId": {"__rl": true, "mode": "list", "value": "1d99PlHkp9RPeSAtmATgQ4OC4Selcp8JSFLNuKx-n1EQ", "cachedResultUrl": "https://docs.google.com/spreadsheets/d/1d99PlHkp9RPeSAtmATgQ4OC4Selcp8JSFLNuKx-n1EQ/edit?usp=drivesdk", "cachedResultName": "apollo ai leads & enrichment"}}, "credentials": {"googleSheetsOAuth2Api": {"id": "d0qeLhShx9sGXalR", "name": "Google Sheets"}}, "typeVersion": 4.5}, {"id": "a14fce10-9a03-4005-b440-f2bb5e4c4eed", "name": "Google Sheets", "type": "n8n-nodes-base.googleSheets", "position": [840, 1720], "parameters": {"columns": {"value": {"apollo_id": "={{ $('Get Pending About and Posts Rows1').item.json.apollo_id }}", "posts_scrape_status": "failed"}, "schema": [{"id": "apollo_id", "type": "string", "display": true, "removed": false, "required": false, "displayName": "apollo_id", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "name", "type": "string", "display": true, "removed": true, "required": false, "displayName": "name", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "organization", "type": "string", "display": true, "removed": true, "required": false, "displayName": "organization", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "title", "type": "string", "display": true, "removed": true, "required": false, "displayName": "title", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "linkedin_url", "type": "string", "display": true, "removed": true, "required": false, "displayName": "linkedin_url", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "linkedin_username", "type": "string", "display": true, "removed": true, "required": false, "displayName": "linkedin_username", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "extract_username_status", "type": "string", "display": true, "removed": true, "required": false, "displayName": "extract_username_status", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "email_address", "type": "string", "display": true, "removed": true, "required": false, "displayName": "email_address", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "contacts_scrape_status", "type": "string", "display": true, "removed": true, "required": false, "displayName": "contacts_scrape_status", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "about_linkedin_profile", "type": "string", "display": true, "removed": true, "required": false, "displayName": "about_linkedin_profile", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "profile_summary_scrape", "type": "string", "display": true, "removed": true, "required": false, "displayName": "profile_summary_scrape", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "recent_posts_summary", "type": "string", "display": true, "removed": true, "required": false, "displayName": "recent_posts_summary", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "posts_scrape_status", "type": "string", "display": true, "required": false, "displayName": "posts_scrape_status", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "row_number", "type": "string", "display": true, "removed": true, "readOnly": true, "required": false, "displayName": "row_number", "defaultMatch": false, "canBeUsedToMatch": true}], "mappingMode": "defineBelow", "matchingColumns": ["apollo_id"], "attemptToConvertTypes": false, "convertFieldsToString": false}, "options": {}, "operation": "update", "sheetName": {"__rl": true, "mode": "list", "value": "gid=0", "cachedResultUrl": "https://docs.google.com/spreadsheets/d/1d99PlHkp9RPeSAtmATgQ4OC4Selcp8JSFLNuKx-n1EQ/edit#gid=0", "cachedResultName": "Sheet1"}, "documentId": {"__rl": true, "mode": "list", "value": "1d99PlHkp9RPeSAtmATgQ4OC4Selcp8JSFLNuKx-n1EQ", "cachedResultUrl": "https://docs.google.com/spreadsheets/d/1d99PlHkp9RPeSAtmATgQ4OC4Selcp8JSFLNuKx-n1EQ/edit?usp=drivesdk", "cachedResultName": "apollo ai leads & enrichment"}}, "credentials": {"googleSheetsOAuth2Api": {"id": "d0qeLhShx9sGXalR", "name": "Google Sheets"}}, "typeVersion": 4.5}, {"id": "77a48254-5972-4a41-90e9-3903219e78cc", "name": "Stringify Profile Data1", "type": "n8n-nodes-base.code", "position": [880, 1080], "parameters": {"jsCode": "const profile = items[0].json;\n\nreturn [{\n json: {\n profileString: JSON.stringify(profile, null, 2) // Pretty print with 2-space indentation\n }\n}];"}, "typeVersion": 2}, {"id": "fb8cf143-7a62-4fdc-8888-b60841354352", "name": "Stringify Posts Data", "type": "n8n-nodes-base.code", "position": [840, 1560], "parameters": {"jsCode": "const profile = items[0].json;\n\nreturn [{\n json: {\n postsString: JSON.stringify(profile, null, 2) // Pretty print with 2-space indentation\n }\n}];"}, "typeVersion": 2}, {"id": "c440d713-3371-41a5-9093-8084ecb0eabd", "name": "Generate Leads with Apollo.io", "type": "n8n-nodes-base.httpRequest", "position": [140, -80], "parameters": {"url": "https://api.apollo.io/api/v1/mixed_people/search", "method": "POST", "options": {"response": {"response": {}}}, "jsonBody": "={\n \"person_locations\": [\"{{ $json.Location }}\"],\n \"person_titles\": [\"{{ $json['Job Title'] }}\"],\n \"page\": 1,\n \"per_page\": {{$json['Number of Leads']}},\n \"projection\": [\"id\", \"name\", \"linkedin_url\", \"title\"]\n}", "sendBody": true, "sendHeaders": true, "specifyBody": "json", "headerParameters": {"parameters": [{"name": "Cache-Control", "value": "no-cache"}, {"name": "accept", "value": "application/json"}, {"name": "x-api-key", "value": "\"your_api_key\""}]}}, "typeVersion": 4.2}, {"id": "81edf4b0-cc78-4d62-ba0d-5e655c01c824", "name": "Google Sheets Trigger6", "type": "n8n-nodes-base.googleSheetsTrigger", "position": [2920, 1380], "parameters": {"event": "rowAdded", "options": {}, "pollTimes": {"item": [{"mode": "everyMinute"}]}, "sheetName": {"__rl": true, "mode": "list", "value": "gid=0", "cachedResultUrl": "https://docs.google.com/spreadsheets/d/1d99PlHkp9RPeSAtmATgQ4OC4Selcp8JSFLNuKx-n1EQ/edit#gid=0", "cachedResultName": "Sheet1"}, "documentId": {"__rl": true, "mode": "list", "value": "1d99PlHkp9RPeSAtmATgQ4OC4Selcp8JSFLNuKx-n1EQ", "cachedResultUrl": "https://docs.google.com/spreadsheets/d/1d99PlHkp9RPeSAtmATgQ4OC4Selcp8JSFLNuKx-n1EQ/edit?usp=drivesdk", "cachedResultName": "apollo ai leads"}}, "credentials": {"googleSheetsTriggerOAuth2Api": {"id": "DKYpQQpUt3ceJiG4", "name": "Google Sheets Trigger account"}}, "typeVersion": 1}, {"id": "7227fad7-9799-4159-b522-d552e0c0bd44", "name": "Sticky Note7", "type": "n8n-nodes-base.stickyNote", "position": [2840, 1060], "parameters": {"color": 3, "width": 2040, "height": 820, "content": "## Get Profile and Latest Posts Summary & Update Status (Apify Alternative - Secondary, if rapid api option doesn't work )\nSome users that dont have an account on rapid API cant sign up hence are unable to get to the api and get an api key. This alternative is tailored for you. Immediatelty you get access to rapid API, please switch back to using that one. It is more reliable in scraping detailed data. See updated [documentation](https://docs.google.com/document/d/1U0Kk0HXO-9thjPcgFPu2Jk_yMtqLTv-hZobaKIGWOxM/edit?usp=sharing)"}, "typeVersion": 1}, {"id": "c807c49c-ddea-4d63-8d06-070c13ae34f3", "name": "Get Pending About and Posts Rows2", "type": "n8n-nodes-base.googleSheets", "position": [3160, 1380], "parameters": {"options": {"returnFirstMatch": true}, "filtersUI": {"values": [{"lookupValue": "pending", "lookupColumn": "profile_summary_scrape"}]}, "sheetName": {"__rl": true, "mode": "list", "value": "gid=0", "cachedResultUrl": "https://docs.google.com/spreadsheets/d/1d99PlHkp9RPeSAtmATgQ4OC4Selcp8JSFLNuKx-n1EQ/edit#gid=0", "cachedResultName": "Sheet1"}, "documentId": {"__rl": true, "mode": "list", "value": "1d99PlHkp9RPeSAtmATgQ4OC4Selcp8JSFLNuKx-n1EQ", "cachedResultUrl": "https://docs.google.com/spreadsheets/d/1d99PlHkp9RPeSAtmATgQ4OC4Selcp8JSFLNuKx-n1EQ/edit?usp=drivesdk", "cachedResultName": "apollo ai leads"}}, "credentials": {"googleSheetsOAuth2Api": {"id": "d0qeLhShx9sGXalR", "name": "Google Sheets"}}, "executeOnce": true, "typeVersion": 4.5}, {"id": "7d79491d-5ab8-4435-b655-97e81380428f", "name": "Clean Profile Data1", "type": "n8n-nodes-base.code", "maxTries": 2, "position": [3720, 1280], "parameters": {"jsCode": "// Safe LinkedIn profile details scraper for n8n\nconst profileData = {};\nconst input = $input.first() && $input.first().json ? $input.first().json : {};\n\n// Basic profile information with fallbacks\nif (input.about) profileData.summary = input.about;\nif (input.headline) profileData.headline = input.headline;\nif (input.addressCountryOnly) profileData.nationality = input.addressCountryOnly;\n\n// Education information with fallbacks\nif (input.educations && Array.isArray(input.educations) && input.educations.length > 0) {\n const education = input.educations[0];\n if (education.title) profileData.education = education.title;\n if (education.subtitle) profileData.fieldOfStudy = education.subtitle;\n}\n\n// Employment information with fallbacks\nif (input.experiences && Array.isArray(input.experiences) && input.experiences.length > 0) {\n const experience = input.experiences[0];\n if (experience.subtitle) profileData.employment_company = experience.subtitle;\n if (experience.title) profileData.position = experience.title;\n if (experience.metadata) profileData.company_location = experience.metadata;\n}\n\n// Return the profile data in n8n expected format\nreturn [{ json: profileData }];"}, "retryOnFail": true, "typeVersion": 2}, {"id": "e13acd2c-5d4a-4683-9293-6520fc4da4a6", "name": "Stringify Data2", "type": "n8n-nodes-base.code", "position": [3900, 1280], "parameters": {"jsCode": "const profile = items[0].json;\n\nreturn [{\n json: {\n profileString: JSON.stringify(profile, null, 2) // Pretty print with 2-space indentation\n }\n}];"}, "typeVersion": 2}, {"id": "e774ffc5-2c4a-46fc-89a1-1ecb3ba2ef10", "name": "AI Profile Summarizer1", "type": "@n8n/n8n-nodes-langchain.openAi", "position": [4100, 1280], "parameters": {"modelId": {"__rl": true, "mode": "list", "value": "gpt-3.5-turbo", "cachedResultName": "GPT-3.5-TURBO"}, "options": {}, "messages": {"values": [{"content": "=Please summarize the following linkedin profile data {{ $json.profileString }} for a lead I want to cold email. I want to combine this summary with another information about them to send personalied emails, so please make sure you include relevant bits in the summary"}]}, "simplify": false}, "credentials": {"openAiApi": {"id": "DO9F6MAeTGLeqgoF", "name": "OpenAi account"}}, "executeOnce": true, "typeVersion": 1.8}, {"id": "557a763a-8388-4f34-bd35-d91cd7018b97", "name": "Update Profile Summary1", "type": "n8n-nodes-base.googleSheets", "position": [4640, 1380], "parameters": {"columns": {"value": {"apollo_id": "={{ $('Get Pending About and Posts Rows2').item.json.apollo_id }}", "posts_scrape_status": "scraped", "about_linkedin_profile": "={{ $json.choices[0].message.content }}", "profile_summary_scrape": "completed"}, "schema": [{"id": "apollo_id", "type": "string", "display": true, "removed": false, "required": false, "displayName": "apollo_id", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "name", "type": "string", "display": true, "removed": true, "required": false, "displayName": "name", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "organization", "type": "string", "display": true, "removed": true, "required": false, "displayName": "organization", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "title", "type": "string", "display": true, "removed": true, "required": false, "displayName": "title", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "linkedin_url", "type": "string", "display": true, "removed": true, "required": false, "displayName": "linkedin_url", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "linkedin_username", "type": "string", "display": true, "removed": true, "required": false, "displayName": "linkedin_username", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "extract_username_status", "type": "string", "display": true, "removed": true, "required": false, "displayName": "extract_username_status", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "email_address", "type": "string", "display": true, "removed": true, "required": false, "displayName": "email_address", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "contacts_scrape_status", "type": "string", "display": true, "removed": true, "required": false, "displayName": "contacts_scrape_status", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "about_linkedin_profile", "type": "string", "display": true, "required": false, "displayName": "about_linkedin_profile", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "profile_summary_scrape", "type": "string", "display": true, "required": false, "displayName": "profile_summary_scrape", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "recent_posts_summary", "type": "string", "display": true, "removed": true, "required": false, "displayName": "recent_posts_summary", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "posts_scrape_status", "type": "string", "display": true, "removed": false, "required": false, "displayName": "posts_scrape_status", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "row_number", "type": "string", "display": true, "removed": true, "readOnly": true, "required": false, "displayName": "row_number", "defaultMatch": false, "canBeUsedToMatch": true}], "mappingMode": "defineBelow", "matchingColumns": ["apollo_id"], "attemptToConvertTypes": false, "convertFieldsToString": false}, "options": {}, "operation": "update", "sheetName": {"__rl": true, "mode": "list", "value": "gid=0", "cachedResultUrl": "https://docs.google.com/spreadsheets/d/1d99PlHkp9RPeSAtmATgQ4OC4Selcp8JSFLNuKx-n1EQ/edit#gid=0", "cachedResultName": "Sheet1"}, "documentId": {"__rl": true, "mode": "list", "value": "1d99PlHkp9RPeSAtmATgQ4OC4Selcp8JSFLNuKx-n1EQ", "cachedResultUrl": "https://docs.google.com/spreadsheets/d/1d99PlHkp9RPeSAtmATgQ4OC4Selcp8JSFLNuKx-n1EQ/edit?usp=drivesdk", "cachedResultName": "apollo ai leads & enrichment"}}, "credentials": {"googleSheetsOAuth2Api": {"id": "d0qeLhShx9sGXalR", "name": "Google Sheets"}}, "typeVersion": 4.5}, {"id": "867e28c2-e24f-419c-838f-d1ddc97cbd84", "name": "Stringify Data3", "type": "n8n-nodes-base.code", "position": [3900, 1520], "parameters": {"jsCode": "const profile = items[0].json;\n\nreturn [{\n json: {\n postsString: JSON.stringify(profile, null, 2) // Pretty print with 2-space indentation\n }\n}];"}, "typeVersion": 2}, {"id": "ba3ba6c9-803d-4f84-ad95-314fbe68e391", "name": "Posts AI Summarizer1", "type": "@n8n/n8n-nodes-langchain.openAi", "position": [4100, 1520], "parameters": {"modelId": {"__rl": true, "mode": "list", "value": "gpt-3.5-turbo", "cachedResultName": "GPT-3.5-TURBO"}, "options": {}, "messages": {"values": [{"content": "=Below are the most recent posts and reposts from a LinkedIn user. Summarize them collectively in no more than two short paragraphs. Focus on capturing the main themes, tone, and any recurring interests or professional concerns.\n\nAvoid listing each post separately \u2014 instead, synthesize the information into a narrative that gives a clear idea of what this person is currently focused on or passionate about.\n\nPosts: {{ $json.postsString }}\n\nKeep it insightful but brief \u2014 no more than 2 concise paragraphs."}]}, "simplify": false}, "credentials": {"openAiApi": {"id": "DO9F6MAeTGLeqgoF", "name": "OpenAi account"}}, "executeOnce": true, "typeVersion": 1.8}, {"id": "8de0e703-1af4-491a-b915-391e94bc0b18", "name": "Get About Profile2", "type": "n8n-nodes-base.httpRequest", "onError": "continueErrorOutput", "position": [3400, 1380], "parameters": {"url": "\"apify-actor-endpoint\"", "options": {}, "jsonBody": "={\n \"profileUrls\": [\n \"{{ $json.linkedin_url }}\"\n ]\n}", "sendBody": true, "specifyBody": "json"}, "typeVersion": 4.2}, {"id": "2a082269-015e-4d01-850b-89db56135df1", "name": "Clean Profile Data2", "type": "n8n-nodes-base.code", "maxTries": 2, "position": [3720, 1520], "parameters": {"jsCode": "// n8n function to extract LinkedIn posts\nconst items = [];\n\n// Check if input exists and has updates\nif (!$input.first() || !$input.first().json || !$input.first().json.updates || !Array.isArray($input.first().json.updates)) {\n // Return a single item with \"no posts\" message\n items.push({\n json: {\n message: \"No posts found\"\n }\n });\n return items;\n}\n\nconst updates = $input.first().json.updates;\n\n// If no posts available, return the \"no posts\" message\nif (updates.length === 0) {\n items.push({\n json: {\n message: \"No posts found\"\n }\n });\n return items;\n}\n\n// Process available posts (up to 4)\nfor (let i = 0; i < Math.min(updates.length, 4); i++) {\n if (updates[i] && updates[i].postText) {\n // Create an item for each post with the required n8n structure\n items.push({\n json: {\n postNumber: i + 1,\n postText: updates[i].postText\n }\n });\n }\n}\n\n// If no valid posts were processed\nif (items.length === 0) {\n items.push({\n json: {\n message: \"No posts found\"\n }\n });\n}\n\nreturn items;"}, "retryOnFail": true, "typeVersion": 2}, {"id": "966bf4ba-2680-4092-b62c-d37f77ffa2fc", "name": "Merge", "type": "n8n-nodes-base.merge", "position": [4460, 1380], "parameters": {"mode": "combine", "options": {}, "combineBy": "combineAll"}, "typeVersion": 3.1}, {"id": "36682aa5-73bf-405b-ab10-43bc144b37af", "name": "update status to failed1", "type": "n8n-nodes-base.googleSheets", "position": [3400, 1640], "parameters": {"columns": {"value": {"apollo_id": "={{ $('Get Pending About and Posts Rows2').item.json.apollo_id }}", "profile_summary_scrape": "failed"}, "schema": [{"id": "apollo_id", "type": "string", "display": true, "removed": false, "required": false, "displayName": "apollo_id", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "name", "type": "string", "display": true, "removed": true, "required": false, "displayName": "name", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "organization", "type": "string", "display": true, "removed": true, "required": false, "displayName": "organization", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "title", "type": "string", "display": true, "removed": true, "required": false, "displayName": "title", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "linkedin_url", "type": "string", "display": true, "removed": true, "required": false, "displayName": "linkedin_url", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "linkedin_username", "type": "string", "display": true, "removed": true, "required": false, "displayName": "linkedin_username", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "extract_username_status", "type": "string", "display": true, "removed": true, "required": false, "displayName": "extract_username_status", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "email_address", "type": "string", "display": true, "removed": true, "required": false, "displayName": "email_address", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "contacts_scrape_status", "type": "string", "display": true, "removed": true, "required": false, "displayName": "contacts_scrape_status", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "about_linkedin_profile", "type": "string", "display": true, "removed": true, "required": false, "displayName": "about_linkedin_profile", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "profile_summary_scrape", "type": "string", "display": true, "required": false, "displayName": "profile_summary_scrape", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "recent_posts_summary", "type": "string", "display": true, "removed": true, "required": false, "displayName": "recent_posts_summary", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "posts_scrape_status", "type": "string", "display": true, "removed": true, "required": false, "displayName": "posts_scrape_status", "defaultMatch": false, "canBeUsedToMatch": true}, {"id": "row_number", "type": "string", "display": true, "removed": true, "readOnly": true, "required": false, "displayName": "row_number", "defaultMatch": false, "canBeUsedToMatch": true}], "mappingMode": "defineBelow", "matchingColumns": ["apollo_id"], "attemptToConvertTypes": false, "convertFieldsToString": false}, "options": {}, "operation": "update", "sheetName": {"__rl": true, "mode": "list", "value": "gid=0", "cachedResultUrl": "https://docs.google.com/spreadsheets/d/1d99PlHkp9RPeSAtmATgQ4OC4Selcp8JSFLNuKx-n1EQ/edit#gid=0", "cachedResultName": "Sheet1"}, "documentId": {"__rl": true, "mode": "list", "value": "1d99PlHkp9RPeSAtmATgQ4OC4Selcp8JSFLNuKx-n1EQ", "cachedResultUrl": "https://docs.google.com/spreadsheets/d/1d99PlHkp9RPeSAtmATgQ4OC4Selcp8JSFLNuKx-n1EQ/edit?usp=drivesdk", "cachedResultName": "apollo ai leads & enrichment"}}, "credentials": {"googleSheetsOAuth2Api": {"id": "d0qeLhShx9sGXalR", "name": "Google Sheets"}}, "typeVersion": 4.5}, {"id": "a3d2a7e0-87ed-46ac-bb75-91c54e6e1f09", "name": "If email is valid", "type": "n8n-nodes-base.if", "position": [880, 680], "parameters": {"options": {}, "conditions": {"options": {"version": 2, "leftValue": "", "caseSensitive": true, "typeValidation": "loose"}, "combinator": "or", "conditions": [{"id": "bc3200af-7ae4-4944-b410-ebb459e2d927", "operator": {"type": "string", "operation": "notContains"}, "leftValue": "={{ $json.data.result }}", "rightValue": "undeliverable"}, {"id": "b0c7d1c3-a733-4547-899e-ff76b66765ad", "operator": {"type": "string", "operation": "notEmpty", "singleValue": true}, "leftValue": "={{ $json.data.mx_record }}", "rightValue": "[null]"}]}, "looseTypeValidation": true}, "typeVersion": 2.2}], "active": false, "pinData": {}, "settings": {"executionOrder": "v1"}, "versionId": "eef068bb-348c-46c5-940b-d6042431aa01", "connections": {"Merge": {"main": [[{"node": "Update Profile Summary1", "type": "main", "index": 0}]]}, "OpenAI1": {"main": [[{"node": "Add Linkedin Username", "type": "main", "index": 0}]]}, "Split Out": {"main": [[{"node": "Clean Data", "type": "main", "index": 0}]]}, "Clean Data": {"main": [[{"node": "Add Leads to Google Sheet", "type": "main", "index": 0}]]}, "Stringify Data2": {"main": [[{"node": "AI Profile Summarizer1", "type": "main", "index": 0}]]}, "Stringify Data3": {"main": [[{"node": "Posts AI Summarizer1", "type": "main", "index": 0}]]}, "Clean Posts Data": {"main": [[{"node": "Stringify Posts Data", "type": "main", "index": 0}], [{"node": "Google Sheets", "type": "main", "index": 0}]]}, "Schedule Trigger": {"main": [[{"node": "get invalid email rows", "type": "main", "index": 0}]]}, "Get About Profile": {"main": [[{"node": "Clean Profile Data", "type": "main", "index": 0}]]}, "Get Profile Posts": {"main": [[{"node": "Clean Posts Data", "type": "main", "index": 0}]]}, "If email is valid": {"main": [[{"node": "Add Email Address", "type": "main", "index": 0}], [{"node": "Mark Invalid Email", "type": "main", "index": 0}]]}, "Schedule Trigger2": {"main": [[{"node": "get_failed_profile_summary_rows", "type": "main", "index": 0}]]}, "Schedule Trigger3": {"main": [[{"node": "get_failed_posts_summary_rows1", "type": "main", "index": 0}]]}, "update_to_pending": {"main": [[]]}, "Clean Profile Data": {"main": [[{"node": "Stringify Profile Data1", "type": "main", "index": 0}], [{"node": "update status to failed", "type": "main", "index": 0}]]}, "Get About Profile2": {"main": [[{"node": "Clean Profile Data1", "type": "main", "index": 0}, {"node": "Clean Profile Data2", "type": "main", "index": 0}], [{"node": "update status to failed1", "type": "main", "index": 0}]]}, "On form submission": {"main": [[{"node": "Generate Leads with Apollo.io", "type": "main", "index": 0}]]}, "Clean Profile Data1": {"main": [[{"node": "Stringify Data2", "type": "main", "index": 0}]]}, "Clean Profile Data2": {"main": [[{"node": "Stringify Data3", "type": "main", "index": 0}]]}, "Posts AI Summarizer": {"main": [[{"node": "Update Posts Summary", "type": "main", "index": 0}]]}, "Posts AI Summarizer1": {"main": [[{"node": "Merge", "type": "main", "index": 1}]]}, "Stringify Posts Data": {"main": [[{"node": "Posts AI Summarizer", "type": "main", "index": 0}]]}, "AI Profile Summarizer": {"main": [[{"node": "Update Profile Summary", "type": "main", "index": 0}]]}, "Get Email from Apollo": {"main": [[{"node": "Confirm Email Validity", "type": "main", "index": 0}]]}, "Google Sheets Trigger": {"main": [[{"node": "Get Pending Username Row", "type": "main", "index": 0}]]}, "AI Profile Summarizer1": {"main": [[{"node": "Merge", "type": "main", "index": 0}]]}, "Confirm Email Validity": {"main": [[{"node": "If email is valid", "type": "main", "index": 0}]]}, "Google Sheets Trigger2": {"main": [[{"node": "Get Pending Email Statuses", "type": "main", "index": 0}]]}, "Google Sheets Trigger3": {"main": [[{"node": "Get Pending About and Posts Rows", "type": "main", "index": 0}]]}, "Google Sheets Trigger4": {"main": [[{"node": "Get Pending About and Posts Rows1", "type": "main", "index": 0}]]}, "Google Sheets Trigger5": {"main": [[{"node": "Get Completely Enriched Profiles", "type": "main", "index": 0}]]}, "Google Sheets Trigger6": {"main": [[{"node": "Get Pending About and Posts Rows2", "type": "main", "index": 0}]]}, "get invalid email rows": {"main": [[{"node": "update_to_pending", "type": "main", "index": 0}]]}, "Stringify Profile Data1": {"main": [[{"node": "AI Profile Summarizer", "type": "main", "index": 0}]]}, "Get Pending Username Row": {"main": [[{"node": "OpenAI1", "type": "main", "index": 0}]]}, "Get Pending Email Statuses": {"main": [[{"node": "Get Email from Apollo", "type": "main", "index": 0}]]}, "Generate Leads with Apollo.io": {"main": [[{"node": "Split Out", "type": "main", "index": 0}]]}, "get_failed_posts_summary_rows1": {"main": [[{"node": "update_to_unscraped", "type": "main", "index": 0}]]}, "get_failed_profile_summary_rows": {"main": [[{"node": "update_to_pending1", "type": "main", "index": 0}]]}, "Get Completely Enriched Profiles": {"main": [[{"node": "Append to Enriched Leads Database", "type": "main", "index": 0}]]}, "Get Pending About and Posts Rows": {"main": [[{"node": "Get About Profile", "type": "main", "index": 0}]]}, "Get Pending About and Posts Rows1": {"main": [[{"node": "Get Profile Posts", "type": "main", "index": 0}]]}, "Get Pending About and Posts Rows2": {"main": [[{"node": "Get About Profile2", "type": "main", "index": 0}]]}}}
|
7zRCNv7B5WFRg7ux
|
Restore your credentials from GitHub
|
11
|
["extractFromFile", "github", "httpRequest", "if", "manualTrigger", "n8n", "set", "splitOut", "stickyNote"]
|
ai-automation-lab
|
{"id": "7zRCNv7B5WFRg7ux", "meta": {"instanceId": "e634e668fe1fc93a75c4f2a7fc0dad807ca318b79654157eadb9578496acbc76"}, "name": "Restore your credentials from GitHub", "tags": [{"id": "2RWIfLUVCa0bnmGX", "name": "N8n", "createdAt": "2025-03-06T09:58:39.214Z", "updatedAt": "2025-03-06T09:58:39.214Z"}], "nodes": [{"id": "f8aff38c-3e40-4820-b8f5-50e3e1f878c8", "name": "When clicking \u2018Test workflow\u2019", "type": "n8n-nodes-base.manualTrigger", "position": [-640, -120], "parameters": {}, "typeVersion": 1}, {"id": "f838e0c6-36aa-4c0b-bdd2-ef096ffd3d1d", "name": "Sticky Note1", "type": "n8n-nodes-base.stickyNote", "position": [-1020, -140], "parameters": {"width": 320, "height": 420, "content": "## Restore from GitHub \nThis workflow will restore all instance credentials from GitHub backups.\n\n\n### Setup\nOpen `Globals` node and update the values below \ud83d\udc47\n\n- **repo.owner:** your Github username\n- **repo.name:** the name of your repository\n- **repo.path:** the folder to use within the repository.\n\n\nIf your username was `john-doe` and your repository was called `n8n-backups` and you wanted the credentials to go into a `credentials` folder you would set:\n\n- repo.owner - john-doe\n- repo.name - n8n-backups\n- repo.path - credentials/\n"}, "typeVersion": 1}, {"id": "8f59b7b0-ea9d-4209-8c6b-d48fe9d8cf7b", "name": "Globals", "type": "n8n-nodes-base.set", "position": [-380, -120], "parameters": {"options": {}, "assignments": {"assignments": [{"id": "6cf546c5-5737-4dbd-851b-17d68e0a3780", "name": "repo.owner", "type": "string", "value": "BeyondspaceStudio"}, {"id": "452efa28-2dc6-4ea3-a7a2-c35d100d0382", "name": "repo.name", "type": "string", "value": "n8n-backup"}, {"id": "81c4dc54-86bf-4432-a23f-22c7ea831e74", "name": "repo.path", "type": "string", "value": "credentials"}]}}, "typeVersion": 3.4}, {"id": "d72bf1a6-f3a0-4dc0-afc0-e39c7e8b16f3", "name": "Sticky Note4", "type": "n8n-nodes-base.stickyNote", "position": [-440, -240], "parameters": {"color": 4, "width": 150, "height": 80, "content": "## Edit this node \ud83d\udc47"}, "typeVersion": 1}, {"id": "4eeb0ed5-7e90-4f09-8296-04c0349de49b", "name": "Sticky Note", "type": "n8n-nodes-base.stickyNote", "position": [100, 20], "parameters": {"color": 4, "content": "## Skip credential\n- The empty json files\n- The n8n account api\n- ...edit this node at will"}, "typeVersion": 1}, {"id": "40856ade-3ff7-43ef-8c45-ec5a126a5787", "name": "Get all files in given path", "type": "n8n-nodes-base.httpRequest", "position": [-160, -120], "parameters": {"url": "=https://api.github.com/repos/{{ $json.repo.owner }}/{{ $json.repo.name }}/contents/{{ $json.repo.path }}", "options": {}, "authentication": "predefinedCredentialType", "nodeCredentialType": "githubApi"}, "credentials": {"githubApi": {"id": "3FYHiPFtycAFT8V0", "name": "GitHub account"}}, "typeVersion": 4.2}, {"id": "4284aadd-4840-4754-9416-6bb74a1df192", "name": "Split the result", "type": "n8n-nodes-base.splitOut", "position": [-600, 200], "parameters": {"options": {}, "fieldToSplitOut": "path"}, "typeVersion": 1}, {"id": "48a04e72-5f9e-4dc3-863d-a8bb30f1c8c2", "name": "Get file content from GitHub", "type": "n8n-nodes-base.github", "position": [-360, 200], "parameters": {"owner": {"__rl": true, "mode": "name", "value": "BeyondspaceStudio"}, "filePath": "={{ $('Get all files in given path').item.json.path }}", "resource": "file", "operation": "get", "repository": {"__rl": true, "mode": "name", "value": "n8n-backup"}, "additionalParameters": {}}, "credentials": {"githubApi": {"id": "3FYHiPFtycAFT8V0", "name": "GitHub account"}}, "typeVersion": 1, "alwaysOutputData": true}, {"id": "507c8514-6acf-4568-83cc-bb07f06e6a96", "name": "Convert files to JSON", "type": "n8n-nodes-base.extractFromFile", "position": [-140, 200], "parameters": {"options": {}, "operation": "fromJson"}, "typeVersion": 1}, {"id": "084e7306-4c7b-4a9b-8f3e-f844ab340f6a", "name": "Restore n8n Credentials", "type": "n8n-nodes-base.n8n", "position": [380, 200], "parameters": {"data": "={{ JSON.stringify($json.data.data) }}", "name": "={{ $json.data.name }}", "resource": "credential", "requestOptions": {}, "credentialTypeName": "={{ $json.data.type }}"}, "credentials": {"n8nApi": {"id": "dzYjDgtEXtpRPKhe", "name": "n8n account"}}, "typeVersion": 1}, {"id": "f8267df1-eb0a-491e-bed4-01480583a535", "name": "Check for skipped Credentials", "type": "n8n-nodes-base.if", "position": [100, 200], "parameters": {"options": {}, "conditions": {"options": {"version": 2, "leftValue": "", "caseSensitive": true, "typeValidation": "strict"}, "combinator": "or", "conditions": [{"id": "ad031296-4ac0-4087-bc35-7975a2cc25e6", "operator": {"type": "object", "operation": "empty", "singleValue": true}, "leftValue": "={{ $json.data }}", "rightValue": ""}, {"id": "ca912a57-6a4b-4b9a-be0e-37b69d3e4917", "operator": {"type": "string", "operation": "contains"}, "leftValue": "={{ $json.data.name }}", "rightValue": "n8n account"}]}}, "typeVersion": 2.2}], "active": false, "pinData": {}, "settings": {"executionOrder": "v1"}, "versionId": "8a89a054-697f-4705-89a8-5d3288936206", "connections": {"Globals": {"main": [[{"node": "Get all files in given path", "type": "main", "index": 0}]]}, "Split the result": {"main": [[{"node": "Get file content from GitHub", "type": "main", "index": 0}]]}, "Convert files to JSON": {"main": [[{"node": "Check for skipped Credentials", "type": "main", "index": 0}]]}, "Get all files in given path": {"main": [[{"node": "Split the result", "type": "main", "index": 0}]]}, "Get file content from GitHub": {"main": [[{"node": "Convert files to JSON", "type": "main", "index": 0}]]}, "Check for skipped Credentials": {"main": [[], [{"node": "Restore n8n Credentials", "type": "main", "index": 0}]]}, "When clicking \u2018Test workflow\u2019": {"main": [[{"node": "Globals", "type": "main", "index": 0}]]}}}
|
80
|
New WooCommerce product to Slack
|
2
|
["slack", "wooCommerceTrigger"]
|
ai-automation-lab
|
{"id": 80, "name": "New WooCommerce product to Slack", "nodes": [{"name": "Product Created", "type": "n8n-nodes-base.wooCommerceTrigger", "position": [320, 500], "webhookId": "267c4855-6227-4d33-867e-74600097473e", "parameters": {"event": "product.created"}, "credentials": {"wooCommerceApi": {"id": "48", "name": "WooCommerce account"}}, "typeVersion": 1}, {"name": "Send to Slack", "type": "n8n-nodes-base.slack", "position": [540, 500], "parameters": {"text": ":new: A new product has been added! :new:", "channel": "woo-commerce", "blocksUi": {"blocksValues": []}, "attachments": [{"color": "#66FF00", "fields": {"item": [{"short": false, "title": "Name", "value": "={{$json[\"name\"]}}"}, {"short": true, "title": "Price", "value": "={{$json[\"regular_price\"]}}"}, {"short": true, "title": "Sale Price", "value": "={{$json[\"sale_price\"]}}"}, {"short": false, "title": "Link", "value": "={{$json[\"permalink\"]}}"}]}, "footer": "=Added: {{$json[\"date_created\"]}}"}], "otherOptions": {}}, "credentials": {"slackApi": {"id": "53", "name": "Slack Access Token"}}, "typeVersion": 1}], "active": false, "settings": {}, "connections": {"Product Created": {"main": [[{"node": "Send to Slack", "type": "main", "index": 0}]]}}}
|
1149_GitHub_Manual_Create_Scheduled
|
1149_GitHub_Manual_Create_Scheduled
|
16
|
["cron", "function", "github", "httpRequest", "manualTrigger", "merge", "noOp", "set", "splitInBatches", "switch"]
|
ai-automation-lab
|
{"nodes": [{"name": "On clicking 'execute'", "type": "n8n-nodes-base.manualTrigger", "position": [0, 150], "parameters": {}, "typeVersion": 1}, {"name": "dataArray", "type": "n8n-nodes-base.function", "position": [450, 300], "parameters": {"functionCode": "const newItems = [];\nfor (item of items[0].json.data) {\n newItems.push({json: item});\n}\nreturn newItems;"}, "typeVersion": 1}, {"name": "N8N Workflows", "type": "n8n-nodes-base.httpRequest", "position": [300, 300], "parameters": {"url": "http://localhost:8443/rest/workflows", "options": {}}, "typeVersion": 1}, {"name": "GitHub", "type": "n8n-nodes-base.github", "position": [800, 130], "parameters": {"owner": "={{$node[\"Globals\"].json[\"repo\"][\"owner\"]}}", "filePath": "={{$node[\"Globals\"].json[\"repo\"][\"path\"]}}{{$json[\"name\"]}}.json", "resource": "file", "operation": "get", "repository": "={{$node[\"Globals\"].json[\"repo\"][\"name\"]}}", "asBinaryProperty": false}, "credentials": {"githubApi": "GitHub"}, "typeVersion": 1, "continueOnFail": true, "alwaysOutputData": true}, {"name": "Merge", "type": "n8n-nodes-base.merge", "position": [1000, 300], "parameters": {}, "typeVersion": 1}, {"name": "N8N Workflow Detail", "type": "n8n-nodes-base.httpRequest", "position": [800, 460], "parameters": {"url": "=http://localhost:8443/rest/workflows/{{$json[\"id\"]}}", "options": {}}, "typeVersion": 1}, {"name": "github_status", "type": "n8n-nodes-base.switch", "position": [1300, 300], "parameters": {"rules": {"rules": [{"value2": "same"}, {"output": 1, "value2": "different"}, {"output": 2, "value2": "new"}]}, "value1": "={{$json[\"github_status\"]}}", "dataType": "string"}, "typeVersion": 1}, {"name": "same", "type": "n8n-nodes-base.noOp", "position": [1500, 130], "parameters": {}, "typeVersion": 1}, {"name": "different", "type": "n8n-nodes-base.noOp", "position": [1500, 300], "parameters": {}, "typeVersion": 1}, {"name": "new", "type": "n8n-nodes-base.noOp", "position": [1500, 460], "parameters": {}, "typeVersion": 1}, {"name": "GitHub Edit", "type": "n8n-nodes-base.github", "position": [1700, 180], "parameters": {"owner": "={{$node[\"Globals\"].json[\"repo\"][\"owner\"]}}", "filePath": "={{$node[\"Globals\"].json[\"repo\"][\"path\"]}}{{$node[\"N8N Workflow Detail\"].json[\"data\"][\"name\"]}}.json", "resource": "file", "operation": "edit", "repository": "={{$node[\"Globals\"].json[\"repo\"][\"name\"]}}", "fileContent": "={{$node[\"isDiffOrNew\"].json[\"n8n_data_stringy\"]}}", "commitMessage": "=[N8N Backup] {{$node[\"N8N Workflow Detail\"].json[\"data\"][\"name\"]}}.json ({{$json[\"github_status\"]}})"}, "credentials": {"githubApi": "GitHub"}, "typeVersion": 1}, {"name": "GitHub Create", "type": "n8n-nodes-base.github", "position": [1700, 460], "parameters": {"owner": "={{$node[\"Globals\"].json[\"repo\"][\"owner\"]}}", "filePath": "={{$node[\"Globals\"].json[\"repo\"][\"path\"]}}{{$node[\"N8N Workflow Detail\"].json[\"data\"][\"name\"]}}.json", "resource": "file", "repository": "={{$node[\"Globals\"].json[\"repo\"][\"name\"]}}", "fileContent": "={{$node[\"isDiffOrNew\"].json[\"n8n_data_stringy\"]}}", "commitMessage": "=[N8N Backup] {{$node[\"N8N Workflow Detail\"].json[\"data\"][\"name\"]}}.json ({{$json[\"github_status\"]}})"}, "credentials": {"githubApi": "GitHub"}, "typeVersion": 1}, {"name": "isDiffOrNew", "type": "n8n-nodes-base.function", "position": [1150, 300], "parameters": {"functionCode": "// File Returned with Content\nif (Object.keys(items[0].json).includes(\"content\")) {\n // Get JSON Objects\n var origWorkflow = eval(\"(\"+Buffer.from(items[0].json.content, 'base64').toString()+\")\");\n var n8nWorkflow = (items[1].json.data);\n \n // Order JSON Objects\n var orderedOriginal = {}\n var orderedActual = {}\n \n Object.keys(origWorkflow).sort().forEach(function(key) {\n orderedOriginal[key] = origWorkflow[key];\n });\n \n Object.keys(n8nWorkflow).sort().forEach(function(key) {\n orderedActual[key] = n8nWorkflow[key];\n });\n \n // Determine Difference\n if ( JSON.stringify(orderedOriginal) === JSON.stringify(orderedActual) ) {\n items[0].json.github_status = \"same\";\n items[0].json.content_decoded = orderedOriginal;\n } else {\n items[0].json.github_status = \"different\";\n items[0].json.content_decoded = orderedOriginal;\n items[0].json.n8n_data_stringy = JSON.stringify(orderedActual, null, 2);\n }\n// No File Returned / New Workflow\n} else {\n // Order JSON Object\n var n8nWorkflow = (items[1].json.data);\n var orderedActual = {}\n Object.keys(n8nWorkflow).sort().forEach(function(key) {\n orderedActual[key] = n8nWorkflow[key];\n });\n \n // Proper Formatting\n items[0].json.github_status = \"new\";\n items[0].json.n8n_data_stringy = JSON.stringify(orderedActual, null, 2);\n}\n\n// Return Items\nreturn items;"}, "typeVersion": 1}, {"name": "Daily @ 20:00", "type": "n8n-nodes-base.cron", "position": [0, 450], "parameters": {"triggerTimes": {"item": [{"hour": 20, "minute": 11}]}}, "typeVersion": 1}, {"name": "OneAtATime", "type": "n8n-nodes-base.splitInBatches", "position": [600, 300], "parameters": {"options": {}, "batchSize": 1}, "typeVersion": 1}, {"name": "Globals", "type": "n8n-nodes-base.set", "position": [150, 300], "parameters": {"values": {"string": [{"name": "repo.owner", "value": "octocat"}, {"name": "repo.name", "value": "Hello-World"}, {"name": "repo.path", "value": "my-team/n8n/workflows/"}]}, "options": {}}, "typeVersion": 1}], "connections": {"new": {"main": [[{"node": "GitHub Create", "type": "main", "index": 0}]]}, "same": {"main": [[{"node": "OneAtATime", "type": "main", "index": 0}]]}, "Merge": {"main": [[{"node": "isDiffOrNew", "type": "main", "index": 0}]]}, "GitHub": {"main": [[{"node": "Merge", "type": "main", "index": 0}]]}, "Globals": {"main": [[{"node": "N8N Workflows", "type": "main", "index": 0}]]}, "dataArray": {"main": [[{"node": "OneAtATime", "type": "main", "index": 0}]]}, "different": {"main": [[{"node": "GitHub Edit", "type": "main", "index": 0}]]}, "OneAtATime": {"main": [[{"node": "GitHub", "type": "main", "index": 0}, {"node": "N8N Workflow Detail", "type": "main", "index": 0}]]}, "GitHub Edit": {"main": [[{"node": "OneAtATime", "type": "main", "index": 0}]]}, "isDiffOrNew": {"main": [[{"node": "github_status", "type": "main", "index": 0}]]}, "Daily @ 20:00": {"main": [[{"node": "Globals", "type": "main", "index": 0}]]}, "GitHub Create": {"main": [[{"node": "OneAtATime", "type": "main", "index": 0}]]}, "N8N Workflows": {"main": [[{"node": "dataArray", "type": "main", "index": 0}]]}, "github_status": {"main": [[{"node": "same", "type": "main", "index": 0}], [{"node": "different", "type": "main", "index": 0}], [{"node": "new", "type": "main", "index": 0}]]}, "N8N Workflow Detail": {"main": [[{"node": "Merge", "type": "main", "index": 1}]]}, "On clicking 'execute'": {"main": [[{"node": "Globals", "type": "main", "index": 0}]]}}}
|
81
|
Execute a command that gives the hard disk memory used on the host machine
|
5
|
["cron", "executeCommand", "if", "noOp", "twilio"]
|
ai-automation-lab
|
{"id": "81", "name": "Execute a command that gives the hard disk memory used on the host machine", "nodes": [{"name": "Execute Command", "type": "n8n-nodes-base.executeCommand", "position": [670, 300], "parameters": {"command": "df -k / | tail -1 | awk '{print $5}'"}, "typeVersion": 1}, {"name": "Cron", "type": "n8n-nodes-base.cron", "position": [470, 300], "parameters": {"triggerTimes": {"item": [{"hour": 9}, {"hour": 16}]}}, "typeVersion": 1}, {"name": "IF", "type": "n8n-nodes-base.if", "position": [870, 300], "parameters": {"conditions": {"number": [{"value1": "={{parseInt($node[\"Execute Command\"].json[\"stdout\"])}}", "value2": 80, "operation": "larger"}], "string": []}}, "typeVersion": 1}, {"name": "Twilio", "type": "n8n-nodes-base.twilio", "position": [1070, 200], "parameters": {"to": "+12345", "from": "+123", "message": "=Your hard disk space is filling up fast! Your hard disk is {{$node[\"Execute Command\"].json[\"stdout\"]}} full."}, "credentials": {"twilioApi": "twilio-credentials"}, "typeVersion": 1}, {"name": "NoOp", "type": "n8n-nodes-base.noOp", "position": [1070, 400], "parameters": {}, "typeVersion": 1}], "active": false, "settings": {}, "connections": {"IF": {"main": [[{"node": "Twilio", "type": "main", "index": 0}], [{"node": "NoOp", "type": "main", "index": 0}]]}, "Cron": {"main": [[{"node": "Execute Command", "type": "main", "index": 0}]]}, "Execute Command": {"main": [[{"node": "IF", "type": "main", "index": 0}]]}}}
|
81
|
New WooCommerce order to Slack
|
3
|
["if", "slack", "wooCommerceTrigger"]
|
ai-automation-lab
|
{"id": 81, "name": "New WooCommerce order to Slack", "nodes": [{"name": "Order Created", "type": "n8n-nodes-base.wooCommerceTrigger", "position": [340, 500], "webhookId": "287b4bf4-67ec-4c97-85d9-c0d3e6f59e6b", "parameters": {"event": "order.created"}, "credentials": {"wooCommerceApi": {"id": "48", "name": "WooCommerce account"}}, "typeVersion": 1}, {"name": "Send to Slack", "type": "n8n-nodes-base.slack", "position": [780, 480], "parameters": {"text": ":sparkles: There is a new order :sparkles:", "channel": "woo-commerce", "blocksUi": {"blocksValues": []}, "attachments": [{"color": "#66FF00", "fields": {"item": [{"short": true, "title": "Order ID", "value": "={{$json[\"id\"]}}"}, {"short": true, "title": "Status", "value": "={{$json[\"status\"]}}"}, {"short": true, "title": "Total", "value": "={{$json[\"currency_symbol\"]}}{{$json[\"total\"]}}"}, {"short": false, "title": "Link", "value": "={{$node[\"Order Created\"].json[\"_links\"][\"self\"][0][\"href\"]}}"}]}, "footer": "=*Ordered:* {{$json[\"date_created\"]}} | *Transaction ID:* {{$json[\"transaction_id\"]}}"}], "otherOptions": {}}, "credentials": {"slackApi": {"id": "53", "name": "Slack Access Token"}}, "typeVersion": 1}, {"name": "Price over 100", "type": "n8n-nodes-base.if", "position": [540, 500], "parameters": {"conditions": {"number": [{"value1": "={{$json[\"total\"]}}", "value2": 100, "operation": "largerEqual"}]}}, "typeVersion": 1}], "active": false, "settings": {"saveManualExecutions": true, "saveExecutionProgress": true, "saveDataSuccessExecution": "all"}, "connections": {"Order Created": {"main": [[{"node": "Price over 100", "type": "main", "index": 0}]]}, "Price over 100": {"main": [[{"node": "Send to Slack", "type": "main", "index": 0}], []]}}}
|
81aN6oJGMho5kCvQ
|
OpenAI ImageGen1 Template
|
6
|
["convertToFile", "httpRequest", "set", "stickyNote"]
|
ai-automation-lab
|
{"id": "81aN6oJGMho5kCvQ", "meta": {"instanceId": "32e39908afbcb49d79cc3b05576c030ecc2871395b7aec4e0fdc88778498f80e"}, "name": "OpenAI ImageGen1 Template", "tags": [], "nodes": [{"id": "179754ad-eae5-447a-b225-46145370e79b", "name": "HTTP Request", "type": "n8n-nodes-base.httpRequest", "position": [-440, 80], "parameters": {"url": "https://api.openai.com/v1/images/edits", "method": "POST", "options": {}, "sendBody": true, "contentType": "multipart-form-data", "sendHeaders": true, "bodyParameters": {"parameters": [{"name": "image", "parameterType": "formBinaryData", "inputDataFieldName": "data0"}, {"name": "prompt", "value": "={{ $('When chat message received').item.json.chatInput }}"}, {"name": "model", "value": "gpt-image-1"}, {"name": "n", "value": "1"}, {"name": "size", "value": "1024x1024"}, {"name": "quality", "value": "high"}]}, "headerParameters": {"parameters": [{"name": "Authorization", "value": "=Bearer {{ $json.openAIKey }}"}]}}, "typeVersion": 4.2}, {"id": "0aca28af-1325-4391-bee6-3ab636c34f6a", "name": "Convert to File", "type": "n8n-nodes-base.convertToFile", "position": [-220, 80], "parameters": {"options": {}, "operation": "toBinary", "sourceProperty": "data[0].b64_json"}, "typeVersion": 1.1}, {"id": "7bc8dbf1-eb81-4f9b-9563-7ae568034221", "name": "When chat message received", "type": "@n8n/n8n-nodes-langchain.chatTrigger", "position": [-860, 80], "webhookId": "449bbfbc-0523-406f-94a2-089bca9d7295", "parameters": {"options": {"allowFileUploads": true, "allowedFilesMimeTypes": "*"}}, "typeVersion": 1.1}, {"id": "79b3e008-758c-4c24-adac-eb514fedf2c8", "name": "Sticky Note", "type": "n8n-nodes-base.stickyNote", "position": [-820, -440], "parameters": {"width": 660, "height": 460, "content": "### \ud83d\uddbc\ufe0f Edit Images with the **OpenAI ImageGen v1** API\n\n1. **Verify Your Organization** \n Log in to the OpenAI Platform and confirm your org is verified: \n [OpenAI Settings \u2192 Organization](https://platform.openai.com/settings/organization/general)\n\n2. **Add Your API Key** \n In the n8n credentials, paste a valid **OpenAI secret key** into the `API_KEY` field.\n\n3. **Run \u201cOpen Chat\u201d** \n Trigger the **`Open Chat`** node, supply your **text prompt** and **source image**, then execute.\n\n4. **Preview & Automate** \n The new image appears in the **`Convert to File`** node. From here you can: \n - Send it by email \n - Push to S3, Supabase, or any storage \n - Post straight to Slack, Discord, etc.\n\n> *Tip \u2014 chain additional n8n nodes to watermark, resize, or schedule social-media posts automatically.*\n"}, "typeVersion": 1}, {"id": "8b75f205-dcfb-4c43-b8bf-942419b96633", "name": "API KEY", "type": "n8n-nodes-base.set", "position": [-640, 80], "parameters": {"options": {}, "assignments": {"assignments": [{"id": "b943d609-b213-4531-912f-e721db4d2cc7", "name": "openAIKey", "type": "string", "value": "sk-proj-..."}]}, "includeOtherFields": true}, "typeVersion": 3.4}, {"id": "fb19daaf-a425-4d0c-9141-fefee17be117", "name": "Sticky Note1", "type": "n8n-nodes-base.stickyNote", "position": [40, -440], "parameters": {"color": 5, "width": 660, "height": 1380, "content": "[](https://drauscher.gumroad.com/l/PremiumAISaaSTemplateBeginnerFriendlyCustomizable)\n\n\n\n### This is just the core of our bigger \u2b50 AI Image Cash Machine Template \u2b50\n\n## \ud83d\ude80 Launch Your **AI-Image Cash Machine** This Weekend\n\n**Customizable \u00b7 Beginner Friendly**\n\n\ud83d\udcb8 **Special Summer Deal \u2014 10 % off with code `SUMMER25` (just \u20ac5+)**\n\n[Grab the template on Gumroad \u2192](https://drauscher.gumroad.com/l/PremiumAISaaSTemplateBeginnerFriendlyCustomizable)\n\n---\n\n### Why You\u2019ll Love It\n- **Plug-and-Play App** \u2013 Next.js front-end on Vercel, wired to Supabase, Stripe, n8n & OpenAI \n- **No-Code Automation** \u2013 drag-drop n8n workflow delivers images instantly after payment \n- **Built-In Payments** \u2013 Stripe keys + webhooks included, start charging the moment you deploy \n- **Scalable Storage** \u2013 private Supabase bucket keeps every customer image secure \n- **Own the Source** \u2013 MIT license lets you tweak, brand, even resell without lock-in \n\n> **Try it live:** **Pixarify Online** \u2013 see the template in action! \n\n---\n\n### What\u2019s Inside\n- Production-ready **frontend UI** (Next.js + Tailwind) \n- Pre-configured **n8n backend** triggered by Stripe webhook \n- Step-by-step **PDF setup guide** \n- Sample environment file (`.env.example`) \n\n---\n\n### 3-Step Fast-Track Setup\n1. **Clone the repo** & run `vercel deploy` \u2014 live site in 5 min \n2. **Paste your Stripe + OpenAI keys** \n3. **Activate the n8n workflow** \u2014 start selling AI images immediately \n\n"}, "typeVersion": 1}], "active": false, "pinData": {}, "settings": {"executionOrder": "v1"}, "versionId": "6e7f19b0-042a-4c63-9375-36d62290eb3e", "connections": {"API KEY": {"main": [[{"node": "HTTP Request", "type": "main", "index": 0}]]}, "HTTP Request": {"main": [[{"node": "Convert to File", "type": "main", "index": 0}]]}, "Convert to File": {"main": [[]]}, "When chat message received": {"main": [[{"node": "API KEY", "type": "main", "index": 0}]]}}}
|
1153_GoogleSheets_Orbit_Automation
|
Moving metrics from Google Sheets to Orbit
|
6
|
["googleSheets", "merge", "orbit"]
|
ai-automation-lab
|
{"name": "Moving metrics from Google Sheets to Orbit", "nodes": [{"name": "Merge", "type": "n8n-nodes-base.merge", "position": [1473, 426], "parameters": {"mode": "mergeByKey", "propertyName1": "GitHub Username", "propertyName2": "attributes.slug"}, "typeVersion": 1}, {"name": "Add Members", "type": "n8n-nodes-base.orbit", "position": [1073, 326], "parameters": {"operation": "upsert", "identityUi": {"identityValue": {"source": "github", "searchBy": "username", "username": "={{$json[\"GitHub\"]}}"}}, "workspaceId": "543", "additionalFields": {"name": "={{$json[\"Name\"]}}", "tShirt": "={{$json[\"T-Shirt Size\"]}}", "location": "={{$json[\"Location\"]}}", "tagsToAdd": "={{$json[\"Tags\"]}}"}}, "credentials": {"orbitApi": "Orbit Credentials"}, "typeVersion": 1}, {"name": "Get all members", "type": "n8n-nodes-base.orbit", "position": [1273, 526], "parameters": {"options": {}, "operation": "getAll", "returnAll": true, "workspaceId": "543"}, "credentials": {"orbitApi": "Orbit Credentials"}, "typeVersion": 1}, {"name": "Get Members", "type": "n8n-nodes-base.googleSheets", "position": [873, 326], "parameters": {"range": "Members!A:F", "options": {}, "sheetId": "1GiR5glinWBUJ-pw3w8LpcuwyOXst2z5nnFSak8DQrMQ", "authentication": "oAuth2"}, "credentials": {"googleSheetsOAuth2Api": "Google Sheets Credentials"}, "typeVersion": 1}, {"name": "Get Activities", "type": "n8n-nodes-base.googleSheets", "position": [1273, 326], "parameters": {"range": "Activities!A:D", "options": {"returnAllMatches": true}, "sheetId": "={{$node[\"Get Members\"].parameter[\"sheetId\"]}}", "operation": "lookup", "lookupValue": "={{$node[\"Get Members\"].json[\"GitHub\"]}}", "lookupColumn": "GitHub Username", "authentication": "oAuth2"}, "credentials": {"googleSheetsOAuth2Api": "Google Sheets Credentials"}, "typeVersion": 1}, {"name": "Add Activities", "type": "n8n-nodes-base.orbit", "position": [1673, 426], "parameters": {"title": "={{$json[\"Title\"]}}", "memberId": "={{$json[\"id\"]}}", "resource": "activity", "workspaceId": "543", "additionalFields": {"link": "={{$json[\"Activity Link\"]}}", "description": "={{$node[\"Merge\"].json[\"Description\"]}}"}}, "credentials": {"orbitApi": "Orbit Credentials"}, "typeVersion": 1}], "active": false, "settings": {}, "connections": {"Merge": {"main": [[{"node": "Add Activities", "type": "main", "index": 0}]]}, "Add Members": {"main": [[{"node": "Get Activities", "type": "main", "index": 0}]]}, "Get Members": {"main": [[{"node": "Add Members", "type": "main", "index": 0}]]}, "Get Activities": {"main": [[{"node": "Merge", "type": "main", "index": 0}]]}, "Get all members": {"main": [[{"node": "Merge", "type": "main", "index": 1}]]}}}
|
82
|
Create a new list, add a new contact to the list, update the contact, and get all contacts in the list
|
5
|
["automizy", "manualTrigger"]
|
ai-automation-lab
|
{"id": "82", "name": "Create a new list, add a new contact to the list, update the contact, and get all contacts in the list", "nodes": [{"name": "On clicking 'execute'", "type": "n8n-nodes-base.manualTrigger", "position": [290, 260], "parameters": {}, "typeVersion": 1}, {"name": "Automizy", "type": "n8n-nodes-base.automizy", "position": [490, 260], "parameters": {"name": "n8n-docs", "resource": "list"}, "credentials": {"automizyApi": "automizy"}, "typeVersion": 1}, {"name": "Automizy1", "type": "n8n-nodes-base.automizy", "position": [690, 260], "parameters": {"email": "example@n8n.io", "listId": "={{$node[\"Automizy\"].json[\"id\"]}}", "additionalFields": {"status": "ACTIVE"}}, "credentials": {"automizyApi": "automizy"}, "typeVersion": 1}, {"name": "Automizy2", "type": "n8n-nodes-base.automizy", "position": [890, 260], "parameters": {"email": "={{$node[\"Automizy1\"].json[\"email\"]}}", "operation": "update", "updateFields": {"tags": ["reviewer"]}}, "credentials": {"automizyApi": "automizy"}, "typeVersion": 1}, {"name": "Automizy3", "type": "n8n-nodes-base.automizy", "position": [1090, 260], "parameters": {"listId": "={{$node[\"Automizy\"].json[\"id\"]}}", "operation": "getAll", "returnAll": true, "additionalFields": {}}, "credentials": {"automizyApi": "automizy"}, "typeVersion": 1}], "active": false, "settings": {}, "connections": {"Automizy": {"main": [[{"node": "Automizy1", "type": "main", "index": 0}]]}, "Automizy1": {"main": [[{"node": "Automizy2", "type": "main", "index": 0}]]}, "Automizy2": {"main": [[{"node": "Automizy3", "type": "main", "index": 0}]]}, "On clicking 'execute'": {"main": [[{"node": "Automizy", "type": "main", "index": 0}]]}}}
|
82
|
New WooCommerce refund to Slack
|
3
|
["if", "slack", "wooCommerceTrigger"]
|
ai-automation-lab
|
{"id": 82, "name": "New WooCommerce refund to Slack", "nodes": [{"name": "Order Updated", "type": "n8n-nodes-base.wooCommerceTrigger", "position": [320, 500], "webhookId": "f7736be3-e978-4a17-b936-7ce9f8ccdb72", "parameters": {"event": "order.updated"}, "credentials": {"wooCommerceApi": {"id": "48", "name": "WooCommerce account"}}, "typeVersion": 1}, {"name": "If Refund and Over 100", "type": "n8n-nodes-base.if", "position": [540, 500], "parameters": {"conditions": {"number": [{"value1": "={{$json[\"total\"]}}", "value2": 100, "operation": "largerEqual"}], "string": [{"value1": "={{$json[\"status\"]}}", "value2": "refunded"}]}}, "typeVersion": 1}, {"name": "Send to Slack", "type": "n8n-nodes-base.slack", "position": [780, 480], "parameters": {"text": ":x: A refund has been issued :x:", "channel": "woo-commerce", "blocksUi": {"blocksValues": []}, "attachments": [{"color": "#FF0000", "fields": {"item": [{"short": true, "title": "Order ID", "value": "={{$json[\"id\"]}}"}, {"short": true, "title": "Status", "value": "={{$json[\"status\"]}}"}, {"short": true, "title": "Total", "value": "={{$json[\"currency_symbol\"]}}{{$json[\"total\"]}}"}]}, "footer": "=*Order updated:* {{$json[\"date_modified\"]}}"}], "otherOptions": {}}, "credentials": {"slackApi": {"id": "53", "name": "Slack Access Token"}}, "typeVersion": 1}], "active": false, "settings": {"saveManualExecutions": true, "saveExecutionProgress": true, "saveDataSuccessExecution": "all"}, "connections": {"Order Updated": {"main": [[{"node": "If Refund and Over 100", "type": "main", "index": 0}]]}, "If Refund and Over 100": {"main": [[{"node": "Send to Slack", "type": "main", "index": 0}], []]}}}
|
82
|
Send daily weather updates via a push notification using the Pushcut node
|
3
|
["cron", "openWeatherMap", "pushcut"]
|
ai-automation-lab
|
{"id": "82", "name": "Send daily weather updates via a push notification using the Pushcut node", "nodes": [{"name": "Pushcut", "type": "n8n-nodes-base.pushcut", "position": [1050, 420], "parameters": {"additionalFields": {"text": "=Hey! The temperature outside is {{$node[\"OpenWeatherMap\"].json[\"main\"][\"temp\"]}}\u00b0C.", "title": "Today's Weather Update"}, "notificationName": "n8n"}, "credentials": {"pushcutApi": "Pushcut Credentials"}, "typeVersion": 1}, {"name": "OpenWeatherMap", "type": "n8n-nodes-base.openWeatherMap", "position": [850, 420], "parameters": {"cityName": "berlin"}, "credentials": {"openWeatherMapApi": "open-weather-map"}, "typeVersion": 1}, {"name": "Cron", "type": "n8n-nodes-base.cron", "position": [650, 420], "parameters": {"triggerTimes": {"item": [{"hour": 9}]}}, "typeVersion": 1}], "active": false, "settings": {}, "connections": {"Cron": {"main": [[{"node": "OpenWeatherMap", "type": "main", "index": 0}]]}, "OpenWeatherMap": {"main": [[{"node": "Pushcut", "type": "main", "index": 0}]]}}}
|
1157_Functionitem_Executecommand_Update_Webhook
|
1157_Functionitem_Executecommand_Update_Webhook
|
25
|
["cron", "emailSend", "executeCommand", "functionItem", "htmlExtract", "httpRequest", "if", "moveBinaryData", "readBinaryFile", "writeBinaryFile"]
|
ai-automation-lab
|
{"nodes": [{"name": "HTML Extract", "type": "n8n-nodes-base.htmlExtract", "position": [-220, -390], "parameters": {"options": {}, "extractionValues": {"values": [{"key": "price", "cssSelector": "={{$node[\"initItem\"].json[\"selector\"]}}"}]}}, "typeVersion": 1}, {"name": "Cron", "type": "n8n-nodes-base.cron", "position": [-1290, -390], "parameters": {"triggerTimes": {"item": [{"mode": "everyX", "unit": "minutes", "value": 15}]}}, "typeVersion": 1}, {"name": "getActualPrice", "type": "n8n-nodes-base.functionItem", "position": [-20, -390], "parameters": {"functionCode": "const globalData = getWorkflowStaticData('global');\n\nvar price = String(item.price).replace(\",\", \".\");\nprice = parseFloat(price);\n//price = price.replace(/\\D/g, '');\n//item.price = String(item.price).replace(\",\", \".\");\n//item.price = parseFloat(item.price);\n\nitem.priceExists = (price > 0 ? true : false)\nitem.price = price;\n\n// Update its data\nglobalData.actualPrice = item;\n\nreturn item;"}, "typeVersion": 1}, {"name": "fetchWeb", "type": "n8n-nodes-base.httpRequest", "position": [-410, -390], "parameters": {"url": "={{$node[\"initItem\"].json[\"link\"]}}", "options": {}, "responseFormat": "string"}, "typeVersion": 1}, {"name": "FunctionItem", "type": "n8n-nodes-base.functionItem", "position": [1020, -390], "parameters": {"functionCode": "const globalData = getWorkflowStaticData('global');\n\nglobalData.iteration = 0;\n//var thiselem = $node[\"initItem\"].json;\n\n//const s1 = {'slug': thiselem.slug, \"link\": thiselem.link, \"selector\": thiselem.selector, \"price\":$node[\"getActualPrice\"].json.price, \"currency\": thiselem.currency};\n//const s2 = {'slug': thiselem.slug+'2', \"link\": thiselem.link, \"selector\": thiselem.selector, \"price\":$node[\"getActualPrice\"].json.price, \"currency\": thiselem.currency};\n//const s3 = {'slug': thiselem.slug+'3', \"link\": thiselem.link, \"selector\": thiselem.selector, \"price\":$node[\"getActualPrice\"].json.price, \"currency\": thiselem.currency};\n\nreturn $node[\"changeME\"].json.myWatchers;\n"}, "typeVersion": 1}, {"name": "Write Binary File1", "type": "n8n-nodes-base.writeBinaryFile", "position": [1850, -390], "parameters": {"fileName": "/data/kopacky.json", "dataPropertyName": "=price"}, "typeVersion": 1}, {"name": "Move Binary Data1", "type": "n8n-nodes-base.moveBinaryData", "position": [1420, -390], "parameters": {"mode": "jsonToBinary", "options": {}, "destinationKey": "price"}, "typeVersion": 1}, {"name": "IF1", "type": "n8n-nodes-base.if", "position": [550, -370], "parameters": {"conditions": {"string": [{"value1": "={{$node[\"checkifexists\"].json[\"stdout\"]}}", "value2": "Exists", "operation": "notEqual"}]}}, "typeVersion": 1}, {"name": "checkifexists", "type": "n8n-nodes-base.executeCommand", "position": [410, -370], "parameters": {"command": "if [ -r /data/kopacky.json ]; then echo Exists; fi"}, "typeVersion": 1}, {"name": "IF3", "type": "n8n-nodes-base.if", "position": [680, 110], "parameters": {"conditions": {"string": [{"value1": "={{$node[\"checkifexists\"].json[\"stdout\"]}}", "value2": "Exists"}]}}, "typeVersion": 1}, {"name": "SaveToFile", "type": "n8n-nodes-base.writeBinaryFile", "position": [1650, 110], "parameters": {"fileName": "/data/kopacky.json", "dataPropertyName": "=price"}, "typeVersion": 1}, {"name": "JsonToBinary", "type": "n8n-nodes-base.moveBinaryData", "position": [1500, 110], "parameters": {"mode": "jsonToBinary", "options": {}, "destinationKey": "price"}, "typeVersion": 1}, {"name": "changeME", "type": "n8n-nodes-base.functionItem", "color": "#3BDD33", "position": [-830, -390], "parameters": {"functionCode": "const globalData = getWorkflowStaticData('global');\n\n//{'slug': 'kopacky', 'link': 'https://www.adsport.sk/kopacky-lisovky-adidas-x-19-3-ll-fg-ef0598/#1131861', 'currency': 'EUR'}[]\nvar myWatchers = [\n{'slug': 'kopacky', 'link': 'https://www.adsport.sk/kopacky-lisovky-adidas-x-19-3-ll-fg-ef0598/#1131861', 'selector':'.prices > strong:nth-child(1) > span:nth-child(1)', 'currency': 'EUR'},\n{'slug': 'kopacky2', 'link': 'https://www.adsport.sk/turfy-adidas-ace-tango-17-3-tf-by2203/', 'selector':'.col-xs-4 > strong:nth-child(1) > span:nth-child(1)', 'currency': 'EUR'},\n{'slug': 'mobilcek', 'link': 'https://mobil.bazos.sk/inzerat/112253662/predam-odolny-doogee-s60-52-4g-lte-nfc.php', 'selector':'.listadvlevo > table:nth-child(1) > tbody:nth-child(1) > tr:nth-child(5) > td:nth-child(2) > b:nth-child(2)', 'currency': 'EUR'},\n{'slug': 'ADIZERO RC 2', 'link': 'https://www.adsport.sk/panske-bezecke-topanky-adidas-adizero-rc-2-eg1187/', 'selector':'.col-xs-4 > strong:nth-child(1) > span:nth-child(1)', 'currency': 'EUR'}\n];\n\nitem.myWatchers = myWatchers;\nitem.watchersCount = myWatchers.length;\nglobalData.myWatchers = myWatchers;\n\nreturn item;"}, "typeVersion": 1}, {"name": "initItem", "type": "n8n-nodes-base.functionItem", "position": [-620, -390], "parameters": {"functionCode": "const globalData = getWorkflowStaticData('global');\n\nvar counter = globalData.iteration;\n\nitem.myWatchers[counter].watchersCount = item.watchersCount;\nitem.myWatchers[counter].canContinue = (globalData.iteration < item.watchersCount-1 ? true : false);\n//item.myWatchers[counter].canContinue = false;\n\nglobalData.iteration = counter + 1;\n\nreturn item.myWatchers[counter];"}, "typeVersion": 1}, {"name": "savedItems", "type": "n8n-nodes-base.readBinaryFile", "position": [850, -20], "parameters": {"filePath": "/data/kopacky.json", "dataPropertyName": "savedItems"}, "typeVersion": 1, "continueOnFail": true, "alwaysOutputData": true}, {"name": "itemsToJSON", "type": "n8n-nodes-base.moveBinaryData", "position": [1020, -20], "parameters": {"options": {}, "sourceKey": "savedItems"}, "typeVersion": 1}, {"name": "IF", "type": "n8n-nodes-base.if", "position": [2190, -90], "parameters": {"conditions": {"string": [], "boolean": [{"value1": "={{$node[\"initItem\"].json[\"canContinue\"]}}", "value2": true}]}}, "typeVersion": 1}, {"name": "initItem1", "type": "n8n-nodes-base.functionItem", "position": [-1060, -390], "parameters": {"functionCode": "const globalData = getWorkflowStaticData('global');\n\nglobalData.iteration = 0;\n\nreturn item;"}, "typeVersion": 1}, {"name": "IF2", "type": "n8n-nodes-base.if", "position": [1850, 110], "parameters": {"conditions": {"number": [{"value1": "={{$node[\"getActualPrice\"].json[\"price\"]}}", "value2": "={{$node[\"updateSavedItems1\"].json[\"oldPrice\"]}}"}], "string": []}}, "typeVersion": 1}, {"name": "updateSavedItems", "type": "n8n-nodes-base.functionItem", "position": [1350, 110], "parameters": {"functionCode": "const globalData = getWorkflowStaticData('global');\n\nvar myitems = [];\nvar i;\nfor (i = 0; i < item.items.length; i++) { \n if($node[\"initItem\"].json.slug == item.items[i].slug && $node[\"getActualPrice\"].json.price < item.items[i].price) {\n item.items[i].price = $node[\"getActualPrice\"].json.price;\n }\n myitems.push(item.items[i]);\n} \n\nreturn myitems;\n"}, "typeVersion": 1}, {"name": "updateSavedItems1", "type": "n8n-nodes-base.functionItem", "position": [1200, -20], "parameters": {"functionCode": "const globalData = getWorkflowStaticData('global');\nvar oldPrice = null;\nvar myitems = [];\nvar i;\nfor (i = 0; i < item.length; i++) {\n if($node[\"initItem\"].json.slug == item[i].slug) {\n\n item[i].link = $node[\"initItem\"].json.link;\n item[i].selector = $node[\"initItem\"].json.selector;\n item[i].currency = $node[\"initItem\"].json.currency;\n \n if(!item[i].price){\n item[i].price = $node[\"getActualPrice\"].json.price;\n }\n \n if($node[\"getActualPrice\"].json.price < item[i].price){\n oldPrice = item[i].price;\n item[i].price = $node[\"getActualPrice\"].json.price;\n }\n \n \n }\n \n myitems.push(item[i]);\n} \n\n//item.somar = $node[\"initItem\"].json;\n//return globalData.actualPrice;\n\nvar itemm = {};\nitemm.items = myitems;\nitemm.oldPrice = oldPrice;\nreturn itemm;\n"}, "typeVersion": 1}, {"name": "cleanData", "type": "n8n-nodes-base.executeCommand", "notes": "This will remove all storaged data.", "position": [-1290, -560], "parameters": {"command": "file=\"/data/kopacky.json\"\n[ -f $file ] && rm $file"}, "typeVersion": 1}, {"name": "IF4", "type": "n8n-nodes-base.if", "position": [150, -390], "parameters": {"conditions": {"string": [], "boolean": [{"value1": "={{$node[\"getActualPrice\"].json[\"priceExists\"]}}"}]}}, "typeVersion": 1}, {"name": "NotifyBetterPrice", "type": "n8n-nodes-base.emailSend", "position": [1850, -90], "parameters": {"html": "=<h2>Nov\u00e1 cena je: {{$node[\"getActualPrice\"].json[\"price\"]}} {{$node[\"initItem\"].json[\"currency\"]}}</h2><br>\nP\u00f4vodn\u00e1 cena bola: {{$node[\"updateSavedItems1\"].json[\"oldPrice\"]}} {{$node[\"initItem\"].json[\"currency\"]}}<br>\nURL: {{$node[\"initItem\"].json[\"link\"]}}", "text": "=", "options": {}, "subject": "=Nov\u00e1 cena - {{$node[\"initItem\"].json[\"slug\"]}} - {{$node[\"getActualPrice\"].json[\"price\"]}} {{$node[\"initItem\"].json[\"currency\"]}}", "toEmail": "sthosstudio@gmail.com", "fromEmail": "hostovecky@weyou.sk"}, "credentials": {"smtp": "hostovecky@weyou.sk"}, "typeVersion": 1}, {"name": "NotifyIncorrectPrice", "type": "n8n-nodes-base.emailSend", "position": [270, -690], "parameters": {"html": "=Please check the link or selector for the item with slug <strong>{{$node[\"initItem\"].json[\"slug\"]}}</strong><br>\nURL: {{$node[\"initItem\"].json[\"link\"]}}", "text": "=", "options": {}, "subject": "={{$node[\"initItem\"].json[\"slug\"]}} - Getting price issue.", "toEmail": "sthosstudio@gmail.com", "fromEmail": "hostovecky@weyou.sk"}, "credentials": {"smtp": "hostovecky@weyou.sk"}, "typeVersion": 1}], "connections": {"IF": {"main": [[{"node": "changeME", "type": "main", "index": 0}]]}, "IF1": {"main": [[{"node": "FunctionItem", "type": "main", "index": 0}], [{"node": "IF3", "type": "main", "index": 0}]]}, "IF2": {"main": [[{"node": "NotifyBetterPrice", "type": "main", "index": 0}], [{"node": "IF", "type": "main", "index": 0}]]}, "IF3": {"main": [[{"node": "savedItems", "type": "main", "index": 0}]]}, "IF4": {"main": [[{"node": "NotifyIncorrectPrice", "type": "main", "index": 0}], [{"node": "checkifexists", "type": "main", "index": 0}]]}, "Cron": {"main": [[{"node": "initItem1", "type": "main", "index": 0}]]}, "changeME": {"main": [[{"node": "initItem", "type": "main", "index": 0}]]}, "fetchWeb": {"main": [[{"node": "HTML Extract", "type": "main", "index": 0}]]}, "initItem": {"main": [[{"node": "fetchWeb", "type": "main", "index": 0}]]}, "initItem1": {"main": [[{"node": "changeME", "type": "main", "index": 0}]]}, "SaveToFile": {"main": [[{"node": "IF2", "type": "main", "index": 0}]]}, "savedItems": {"main": [[{"node": "itemsToJSON", "type": "main", "index": 0}]]}, "itemsToJSON": {"main": [[{"node": "updateSavedItems1", "type": "main", "index": 0}]]}, "FunctionItem": {"main": [[{"node": "Move Binary Data1", "type": "main", "index": 0}]]}, "HTML Extract": {"main": [[{"node": "getActualPrice", "type": "main", "index": 0}]]}, "JsonToBinary": {"main": [[{"node": "SaveToFile", "type": "main", "index": 0}]]}, "checkifexists": {"main": [[{"node": "IF1", "type": "main", "index": 0}]]}, "getActualPrice": {"main": [[{"node": "IF4", "type": "main", "index": 0}]]}, "updateSavedItems": {"main": [[{"node": "JsonToBinary", "type": "main", "index": 0}]]}, "Move Binary Data1": {"main": [[{"node": "Write Binary File1", "type": "main", "index": 0}]]}, "NotifyBetterPrice": {"main": [[{"node": "IF", "type": "main", "index": 0}]]}, "updateSavedItems1": {"main": [[{"node": "updateSavedItems", "type": "main", "index": 0}]]}, "Write Binary File1": {"main": [[{"node": "IF", "type": "main", "index": 0}]]}, "NotifyIncorrectPrice": {"main": [[{"node": "checkifexists", "type": "main", "index": 0}]]}}}
|
83
|
Create a room, invite members from a different room, and send a message in the room we created
|
8
|
["if", "manualTrigger", "matrix", "noOp"]
|
ai-automation-lab
|
{"id": "83", "name": "Create a room, invite members from a different room, and send a message in the room we created", "nodes": [{"name": "On clicking 'execute'", "type": "n8n-nodes-base.manualTrigger", "position": [240, 300], "parameters": {}, "typeVersion": 1}, {"name": "Matrix", "type": "n8n-nodes-base.matrix", "position": [400, 300], "parameters": {"resource": "room", "roomName": "n8n", "roomAlias": "discussion-n8n"}, "credentials": {"matrixApi": "matrix"}, "typeVersion": 1}, {"name": "IF", "type": "n8n-nodes-base.if", "position": [840, 300], "parameters": {"conditions": {"string": [{"value1": "={{$node[\"Matrix1\"].json[\"user_id\"]}}", "value2": "={{$node[\"Matrix2\"].json[\"user_id\"]}}", "operation": "notEqual"}]}}, "typeVersion": 1}, {"name": "Matrix3", "type": "n8n-nodes-base.matrix", "position": [990, 200], "parameters": {"roomId": "={{$node[\"Matrix\"].json[\"room_id\"]}}", "userId": "={{$node[\"IF\"].json[\"user_id\"]}}", "resource": "room", "operation": "invite"}, "credentials": {"matrixApi": "matrix"}, "typeVersion": 1}, {"name": "Matrix4", "type": "n8n-nodes-base.matrix", "position": [1140, 200], "parameters": {"text": "Welcome to n8n!", "roomId": "={{$node[\"Matrix\"].json[\"room_id\"]}}"}, "credentials": {"matrixApi": "matrix"}, "typeVersion": 1}, {"name": "NoOp", "type": "n8n-nodes-base.noOp", "position": [990, 400], "parameters": {}, "typeVersion": 1}, {"name": "Matrix1", "type": "n8n-nodes-base.matrix", "position": [540, 300], "parameters": {"resource": "account"}, "credentials": {"matrixApi": "matrix"}, "typeVersion": 1, "continueOnFail": true}, {"name": "Matrix2", "type": "n8n-nodes-base.matrix", "position": [690, 300], "parameters": {"roomId": "!cMUIsUgevrhCoeMkSG:matrix.org", "filters": {}, "resource": "roomMember"}, "credentials": {"matrixApi": "matrix"}, "typeVersion": 1}], "active": false, "settings": {}, "connections": {"IF": {"main": [[{"node": "Matrix3", "type": "main", "index": 0}], [{"node": "NoOp", "type": "main", "index": 0}]]}, "Matrix": {"main": [[{"node": "Matrix1", "type": "main", "index": 0}]]}, "Matrix1": {"main": [[{"node": "Matrix2", "type": "main", "index": 0}]]}, "Matrix2": {"main": [[{"node": "IF", "type": "main", "index": 0}]]}, "Matrix3": {"main": [[{"node": "Matrix4", "type": "main", "index": 0}]]}, "On clicking 'execute'": {"main": [[{"node": "Matrix", "type": "main", "index": 0}]]}}}
|
83
|
Creating a meeting with the Zoom node
|
2
|
["manualTrigger", "zoom"]
|
ai-automation-lab
|
{"id": "83", "name": "Creating a meeting with the Zoom node", "nodes": [{"name": "On clicking 'execute'", "type": "n8n-nodes-base.manualTrigger", "position": [250, 300], "parameters": {}, "typeVersion": 1}, {"name": "Zoom", "type": "n8n-nodes-base.zoom", "position": [450, 300], "parameters": {"topic": "Something", "authentication": "", "additionalFields": {}}, "credentials": {"zoomOAuth2Api": ""}, "typeVersion": 1}], "active": false, "settings": {}, "connections": {"Zoom": {"main": [[]]}, "On clicking 'execute'": {"main": [[{"node": "Zoom", "type": "main", "index": 0}]]}}}
|
83
|
New WooCommerce Customer to Mautic
|
5
|
["if", "mautic", "wooCommerceTrigger"]
|
ai-automation-lab
|
{"id": 83, "name": "New WooCommerce Customer to Mautic", "nodes": [{"name": "Check for Existing", "type": "n8n-nodes-base.mautic", "position": [280, 480], "parameters": {"options": {"search": "={{$json[\"email\"]}}"}, "operation": "getAll", "authentication": "oAuth2"}, "credentials": {"mauticOAuth2Api": {"id": "54", "name": "Mautic account"}}, "typeVersion": 1, "alwaysOutputData": true}, {"name": "If New", "type": "n8n-nodes-base.if", "position": [460, 480], "parameters": {"conditions": {"string": [{"value1": "={{$json[\"id\"]}}", "operation": "isEmpty"}]}}, "typeVersion": 1}, {"name": "Create Contact", "type": "n8n-nodes-base.mautic", "position": [680, 320], "parameters": {"email": "={{$node[\"Customer Created\"].json[\"email\"]}}", "company": "={{$node[\"Customer Created\"].json[\"billing\"][\"company\"]}}", "options": {}, "lastName": "={{$node[\"Customer Created\"].json[\"last_name\"]}}", "firstName": "={{$node[\"Customer Created\"].json[\"first_name\"]}}", "authentication": "oAuth2", "additionalFields": {}}, "credentials": {"mauticOAuth2Api": {"id": "54", "name": "Mautic account"}}, "typeVersion": 1}, {"name": "Update Contact", "type": "n8n-nodes-base.mautic", "position": [680, 580], "parameters": {"options": {}, "contactId": "={{$json[\"id\"]}}", "operation": "update", "updateFields": {"lastName": "={{$node[\"Customer Created or Updated\"].json[\"last_name\"]}}", "firstName": "={{$node[\"Customer Created or Updated\"].json[\"first_name\"]}}"}, "authentication": "oAuth2"}, "credentials": {"mauticOAuth2Api": {"id": "54", "name": "Mautic account"}}, "typeVersion": 1}, {"name": "Customer Created or Updated", "type": "n8n-nodes-base.wooCommerceTrigger", "position": [100, 480], "webhookId": "5d89e322-a5e0-4cce-9eab-185e8375175b", "parameters": {"event": "customer.updated"}, "credentials": {"wooCommerceApi": {"id": "48", "name": "WooCommerce account"}}, "typeVersion": 1}], "active": false, "settings": {"saveManualExecutions": true, "saveExecutionProgress": true, "saveDataSuccessExecution": "all"}, "connections": {"If New": {"main": [[{"node": "Create Contact", "type": "main", "index": 0}], [{"node": "Update Contact", "type": "main", "index": 0}]]}, "Check for Existing": {"main": [[{"node": "If New", "type": "main", "index": 0}]]}, "Customer Created or Updated": {"main": [[{"node": "Check for Existing", "type": "main", "index": 0}]]}}}
|
84KL1bsi9OvbAapn
|
Receive_and_analyze_emails_with_rules_in_Sublime_Security
|
13
|
["code", "emailReadImap", "httpRequest", "if", "manualTrigger", "moveBinaryData", "set", "slack", "stickyNote"]
|
ai-automation-lab
|
{"id": "84KL1bsi9OvbAapn", "meta": {"instanceId": "03e9d14e9196363fe7191ce21dc0bb17387a6e755dcc9acc4f5904752919dca8"}, "name": "Receive_and_analyze_emails_with_rules_in_Sublime_Security", "tags": [{"id": "GCHVocImoXoEVnzP", "name": "\ud83d\udee0\ufe0f In progress", "createdAt": "2023-10-31T02:17:21.618Z", "updatedAt": "2023-10-31T02:17:21.618Z"}, {"id": "QPJKatvLSxxtrE8U", "name": "Secops", "createdAt": "2023-10-31T02:15:11.396Z", "updatedAt": "2023-10-31T02:15:11.396Z"}], "nodes": [{"id": "b1ad1c9a-ba5d-46d6-9ce1-b3bb9346c766", "name": "Email Trigger (IMAP)", "type": "n8n-nodes-base.emailReadImap", "position": [720, 1120], "parameters": {"format": "resolved", "options": {}}, "credentials": {"imap": {"id": "BDCrQbPFgl8k3ArL", "name": "Matti Outlook email"}}, "typeVersion": 2}, {"id": "e43b0257-0d83-4f7e-8824-3ca1d4cf6110", "name": "Move Binary Data", "type": "n8n-nodes-base.moveBinaryData", "position": [1240, 740], "parameters": {"options": {"encoding": "base64"}, "sourceKey": "attachment_0", "setAllData": false}, "typeVersion": 1, "alwaysOutputData": true}, {"id": "97359abc-7ca9-4599-9112-4416618d0c36", "name": "IF email has attachment", "type": "n8n-nodes-base.if", "position": [1020, 900], "parameters": {"conditions": {"string": [{"value1": "={{ $binary.attachment_0 }}", "operation": "isNotEmpty"}, {"value1": "={{ $binary.attachment_0.mimeType }}", "value2": "message/rfc822"}]}}, "typeVersion": 1}, {"id": "046f87e0-8759-4952-85be-78bf36a70994", "name": "Split to matched and unmatched", "type": "n8n-nodes-base.code", "position": [1760, 740], "parameters": {"jsCode": "// Loop over input items and add a new field\n// called 'myNewField' to the JSON of each one\nmatched = []\nunmatched = [] \n\nfor (const item of $input.first().json.rule_results) {\n if (item.matched) {\n matched.push(item)\n } else {\n unmatched.push(item) \n }\n}\n\nreturn {\n json: {\n matched,\n unmatched\n }\n}"}, "typeVersion": 1}, {"id": "f88b852d-f2a4-4d78-aaef-40050c0efef8", "name": "When clicking \"Execute Workflow\"", "type": "n8n-nodes-base.manualTrigger", "position": [720, 920], "parameters": {}, "typeVersion": 1}, {"id": "ce7288d4-61ec-4222-a29e-8a72ed2ee32e", "name": "Slack", "type": "n8n-nodes-base.slack", "position": [2260, 740], "parameters": {"text": "={{ $json.message }}", "select": "channel", "channelId": {"__rl": true, "mode": "name", "value": "#test-matti-tomi"}, "otherOptions": {}}, "credentials": {"slackApi": {"id": "180", "name": "Awesom-O"}}, "typeVersion": 2.1}, {"id": "70c76c01-50ef-47a4-b552-bc6fea5079ed", "name": "Format the message", "type": "n8n-nodes-base.set", "position": [2040, 740], "parameters": {"values": {"string": [{"name": "message", "value": "=No. of rules that matched {{ $json[\"matched\"].length }} / {{ $json[\"matched\"].length + $json[\"unmatched\"].length }}\n\nMatched rules:\n{{ $json[\"matched\"].pluck(\"rule\").pluck(\"name\").join('\\n') }}\n"}]}, "options": {}, "keepOnlySet": true}, "typeVersion": 2}, {"id": "52af4700-0dc5-4f5f-8664-97d2aacdab76", "name": "Notify about missing attachment", "type": "n8n-nodes-base.slack", "position": [2260, 920], "parameters": {"text": "No attachment found in an email\n", "select": "channel", "channelId": {"__rl": true, "mode": "name", "value": "#test-matti-tomi"}, "otherOptions": {}}, "credentials": {"slackApi": {"id": "180", "name": "Awesom-O"}}, "typeVersion": 2.1}, {"id": "19be16c9-3908-4a2d-87e4-f721c33dc124", "name": "Analyze email with Sublime Security", "type": "n8n-nodes-base.httpRequest", "position": [1500, 740], "parameters": {"url": "https://api.platform.sublimesecurity.com/v0/messages/analyze", "method": "POST", "options": {}, "jsonBody": "={\n \"raw_message\": \"{{ $json.data }}\",\n \"run_active_detection_rules\": true,\n \"run_all_detection_rules\": false\n}", "sendBody": true, "sendHeaders": true, "specifyBody": "json", "authentication": "genericCredentialType", "genericAuthType": "httpHeaderAuth", "headerParameters": {"parameters": [{"name": "content-type", "value": "application/json"}]}}, "credentials": {"httpHeaderAuth": {"id": "buIfmuHDZZQ2MyYz", "name": "Sublime Security bearer token"}}, "typeVersion": 3}, {"id": "a39d52d6-26e0-485e-8d32-984e26f71f9b", "name": "Sticky Note1", "type": "n8n-nodes-base.stickyNote", "position": [240, 298.6458865911087], "parameters": {"width": 618.0312276650722, "height": 963.8594737915395, "content": "\n# Workflow Overview\nLeverage n8n's IMAP node to `seamlessly ingest emails as .eml attachments`, streamlining your security protocols and response strategies. \n\nThis setup is crucial for organizations utilizing platforms like Outlook, which offers a specialized security feature that designates specific inboxes for phishing attempts. \n\nWhen a phishing email is flagged through Outlook's interface, the system is designed to convert it into an .eml file and direct it to a dedicated phishing inbox. This process not only centralizes your phishing threat management but also ensures that each potential threat is queued for immediate and thorough analysis. \n\nBy integrating with n8n, you can automate the capture of these emails, transforming user-reported incidents into actionable data without manual intervention, enhancing your cybersecurity response and preserving your workflow's integrity.\n\n## Ingest emails as attachments as .eml file. \nSet your phishing email inbox here via your imap credentials. You can also replace this with any other node that retrieves emails as .eml attachments. "}, "typeVersion": 1}, {"id": "3cb757ce-2083-44de-8508-89039c6bca9d", "name": "Sticky Note2", "type": "n8n-nodes-base.stickyNote", "position": [1444, 361], "parameters": {"width": 503.7209302325584, "height": 710.138909846923, "content": "\n## Analyze Attachment and format output\nIf an attachment is detected, n8n facilitates its secure transfer to Sublime Security for detailed analysis. This automated process not only speeds up the threat detection mechanism but also formats the output for compatibility with other systems, such as Slack, ensuring a smooth and efficient workflow. \n\nThrough this automation, you're not just analyzing emails; you're fortifying your defense against cyber threats and enhancing operational efficiency with minimal user involvement."}, "typeVersion": 1}, {"id": "83756b95-a3a8-4145-9d10-fc7e3b2121f8", "name": "Sticky Note3", "type": "n8n-nodes-base.stickyNote", "position": [1980, 354.9999999999999], "parameters": {"width": 476.0465116279074, "height": 777.0757733319455, "content": "\n## Prep output for Slack Report\nn8n completes the cycle of threat analysis and communication by preparing and delivering comprehensive reports directly to your Slack channels. \n\nThis ensures that all stakeholders are immediately informed about potential threats, fostering a culture of transparency and prompt action. \n\nIn instances where no attachment is found, n8n proactively dispatches a notification to Slack, signaling your team to investigate further. "}, "typeVersion": 1}, {"id": "a443e91b-6b0b-4fb8-b9d5-6f1d236da053", "name": "Sticky Note4", "type": "n8n-nodes-base.stickyNote", "position": [880, 360.90897077923785], "parameters": {"width": 541.1627906976748, "height": 715.8304363872012, "content": "\n## Check for attachments and send to sublime if any found \nUpon receiving an email via the IMAP node, n8n executes a meticulous inspection to detect the presence of attachments. This is more than a mere check; it's an essential layer of your security posture to identify and handle potentially malicious content proactively. \n\nIf an attachment is found, the binary file is converted to JSON for further analysis. "}, "typeVersion": 1}], "active": false, "pinData": {"Move Binary Data": [{"json": {"to": {"html": "<span class=\"mp_address_group\"><a href=\"mailto:mattiasn8n@outlook.com\" class=\"mp_address_email\">mattiasn8n@outlook.com</a></span>", "text": "mattiasn8n@outlook.com", "value": [{"name": "", "address": "mattiasn8n@outlook.com"}]}, "data": "RGVsaXZlcmVkLVRvOiB0b21pdHVydGlhaW5lbkBnbWFpbC5jb20NClJlY2VpdmVkOiBieSAyMDAyOmExNzo5MDY6OTRjZTpiMDo5YTE6OWFiMzoyMTkyIHdpdGggU01UUCBpZCBkMTRjc3AxODYzNzMzZWp5Ow0KICAgICAgICBUdWUsIDUgU2VwIDIwMjMgMDY6MzI6MDQgLTA3MDAgKFBEVCkNClgtR29vZ2xlLVNtdHAtU291cmNlOiBBR0hUK0lHZU1DOTcwRHg3T2VyT25idnFtamVOSmR0ZXBPdXNjaWRtUHEvc1YzNzg3eDFaRHUvUUdtVEhFWHFqclNIbDJpNHRSQ3dJDQpYLVJlY2VpdmVkOiBieSAyMDAyOmExNzo5MGI6Zjg1OmIwOjI2MzoxNjFjOjllOWMgd2l0aCBTTVRQIGlkIGZ0NS0yMDAyMGExNzA5MGIwZjg1MDBiMDAyNjMx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leHQtc2l6ZS1hZGp1c3Q6IDEwMCU7DQogICAgICAgICAgICAgICAgLW1zLXRleHQtc2l6ZS1hZGp1c3Q6IDEwMCU7DQogICAgICAgICAgICB9DQogICAgICAgICAgICB0YWJsZSwNCiAgICAgICAgICAgIHRkIHsNCiAgICAgICAgICAgICAgICBib3JkZXItY29sbGFwc2U6IGNvbGxhcHNlOw0KICAgICAgICAgICAgICAgIG1zby10YWJsZS1sc3BhY2U6IDA7DQogICAgICAgICAgICAgICAgbXNvLXRhYmxlLXJzcGFjZTogMDsNCiAgICAgICAgICAgIH0NCiAgICAgICAgICAgIGltZyB7DQogICAgICAgICAgICAgICAgYm9yZGVyOiAwOw0KICAgICAgICAgICAgICAgIGhlaWdodDogYXV0bzsNCiAgICAgICAgICAgICAgICBsaW5lLWhlaWdodDogMTAwJTsNCiAgICAgICAgICAgICAgICBvdXRsaW5lOiBub25lOw0KICAgICAgICAgICAgICAgIHRleHQtZGVjb3JhdGlvbjogbm9uZTsNCiAgICAgICAgICAgICAgICAtbXMtaW50ZXJwb2xhdGlvbi1tb2RlOiBiaWN1YmljOw0KICAgICAgICAgICAgfQ0KICAgICAgICAgICAgcCB7DQogICAgICAgICAgICAgICAgZGlzcGxheTogYmxvY2s7DQogICAgICAgICAgICAgICAgbWFyZ2luOiAxM3B4IDA7DQogICAgICAgICAgICB9DQogICAgICAgIDwvc3R5bGU+DQogICAgICAgIDwhLS1baWYgbXNvXT4gPHhtbD4gPG86T2ZmaWNlRG9jdW1lbnRTZXR0aW5ncz4gPG86QWxsb3dQTkcvPiA8bzpQaXg9DQplbHNQZXJJbmNoPjk2PC9vOlBpeGVsc1BlckluY2g+IDwvbzpPZmZpY2VEb2N1bWVudFNldHRpbmdzPiA8L3htbD4gPCFbZW5kaWY9DQpdLS0+DQogICAgICAgIDwhLS1baWYgbHRlIG1zbyAxMV0+IDxzdHlsZSB0eXBlPTNEInRleHQvY3NzIj4gLm1qLW91dGxvb2stZ3JvdXAtZmk9DQp4IHsgd2lkdGg6MTAwJSAhaW1wb3J0YW50OyB9IDwvc3R5bGU+IDwhW2VuZGlmXS0tPg0KICAgICAgICA8IS0tW2lmICFtc29dPjwhLS0+DQogICAgICAgIDxsaW5rIGhyZWY9M0QiaHR0cHM6Ly9mb250cy5nb29nbGVhcGlzLmNvbS9jc3M/ZmFtaWx5PTNET3BlbitTYW5zOjM9DQowMCw0MDAsNTAwLDcwMCIgcmVsPTNEInN0eWxlc2hlZXQiIHR5cGU9M0QidGV4dC9jc3MiPg0KICAgICAgICA8c3R5bGUgdHlwZT0zRCJ0ZXh0L2NzcyI+DQogICAgICAgICAgICBAaW1wb3J0IHVybChodHRwczovL2ZvbnRzLmdvb2dsZWFwaXMuY29tL2Nzcz9mYW1pbHk9M0RPcGVuK1NhbnM9DQo6MzAwLDQwMCw1MDAsNzAwKTsNCiAgICAgICAgPC9zdHlsZT4NCiAgICAgICAgPCEtLTwhW2VuZGlmXS0tID4gPHN0eWxlIHR5cGU9M0QidGV4dC9jc3MiID4gQG1lZGlhIG9ubHkgc2NyZWVuIGFuZD0NCiAobWluLXdpZHRoOjQ4MHB4KSB7DQogICAgICAgICAgICAgICAgLm1qLWNvbHVtbi1wZXItMTAwIHsNCiAgICAgICAgICAgICAgICAgICAgd2lkdGg6IDEwMCUgIWltcG9ydGFudDsNCiAgICAgICAgICAgICAgICAgICAgbWF4LXdpZHRoOiAxMDAlOw0KICAgICAgICAgICAgICAgIH0NCiAgICAgICAgICAgICAgICAubWotY29sdW1uLXBlci0yNSB7DQogICAgICAgICAgICAgICAgICAgIHdpZHRoOiAyNSUgIWltcG9ydGFudDsNCiAgICAgICAgICAgICAgICAgICAgbWF4LXdpZHRoOiAyNSU7DQogICAgICAgICAgICAgICAgfQ0KICAgICAgICAgICAgICAgIC5tai1jb2x1bW4tcGVyLTc1IHsNCiAgICAgICAgICAgICAgICAgICAgd2lkdGg6IDc1JSAhaW1wb3J0YW50Ow0KICAgICAgICAgICAgICAgICAgICBtYXgtd2lkdGg6IDc1JTsNCiAgICAgICAgICAgICAgICB9DQogICAgICAgICAgICAgICAgLm1qLWNvbHVtbi1wZXItNDgtNCB7DQogICAgICAgICAgICAgICAgICAgIHdpZHRoOiA0OC40JSAhaW1wb3J0YW50Ow0KICAgICAgICAgICAgICAgICAgICBtYXgtd2lkdGg6IDQ4LjQlOw0KICAgICAgICAgICAgICAgIH0NCiAgICAgICAgICAgICAgICAubWotY29sdW1uLXBlci01MCB7DQogICAgICAgICAgICAgICAgICAgIHdpZHRoOiA1MCUgIWltcG9ydGFudDsNCiAgICAgICAgICAgICAgICAgICAgbWF4LXdpZHRoOiA1MCU7DQogICAgICAgICAgICAgICAgfQ0KICAgICAgICAgICAgfQ0KICAgICAgICA8L3N0eWxlPg0KICAgICAgICA8c3R5bGUgdHlwZT0zRCJ0ZXh0L2NzcyI+DQogICAgICAgICAgICBAbWVkaWEgb25seSBzY3JlZW4gYW5kIChtYXgtd2lkdGg6NDgwcHgpIHsNCiAgICAgICAgICAgICAgICB0YWJsZS5tai1mdWxsLXdpZHRoLW1vYmlsZSB7DQogICAgICAgICAgICAgICAgICAgIHdpZHRoOiAxMDAlICFpbXBvcnRhbnQ7DQogICAgICAgICAgICAgICAgfQ0KICAgICAgICAgICAgICAgIHRkLm1qLWZ1bGwtd2lkdGgtbW9iaWxlIHsNCiAgICAgICAgICAgICAgICAgICAgd2lkdGg6IGF1dG8gIWltcG9ydGFudDsNCiAgICAgICAgICAgICAgICB9DQogICAgICAgICAgICB9DQogICAgICAgICAgICBub2lucHV0Lm1qLW1lbnUtY2hlY2tib3ggew0KICAgICAgICAgICAgICAgIGRpc3BsYXk6IGJsb2NrICFpbXBvcnRhbnQ7DQogICAgICAgICAgICAgICAgbWF4LWhlaWdodDogbm9uZSAhaW1wb3J0YW50Ow0KICAgICAgICAgICAgICAgIHZpc2liaWxpdHk6IHZpc2libGUgIWltcG9ydGFudDsNCiAgICAgICAgICAgIH0NCiAgICAgICAgICAgIEBtZWRpYSBvbmx5IHNjcmVlbiBhbmQgKG1heC13aWR0aDo0ODBweCkgew0KICAgICAgICAgICAgICAgIC5tai1tZW51LWNoZWNrYm94W3R5cGU9M0QiY2hlY2tib3giXX4ubWotaW5saW5lLWxpbmtzIHsNCiAgICAgICAgICAgICAgICAgICAgZGlzcGxheTogbm9uZSAhaW1wb3J0YW50Ow0KICAgICAgICAgICAgICAgIH0NCiAgICAgICAgICAgICAgICAubWotbWVudS1jaGVja2JveFt0eXBlPTNEImNoZWNrYm94Il06Y2hlY2tlZH4ubWotaW5saW5lLWxpbj0NCmtzLA0KICAgICAgICAgICAgICAgIC5tai1tZW51LWNoZWNrYm94W3R5cGU9M0QiY2hlY2tib3giXX4ubWotbWVudS10cmlnZ2VyIHsNCiAgICAgICAgICAgICAgICAgICAgZGlzcGxheTogYmxvY2sgIWltcG9ydGFudDsNCiAgICAgICAgICAgICAgICAgICAgbWF4LXdpZHRoOiBub25lICFpbXBvcnRhbnQ7DQogICAgICAgICAgICAgICAgICAgIG1heC1oZWlnaHQ6IG5vbmUgIWltcG9ydGFudDsNCiAgICAgICAgICAgICAgICAgICAgZm9udC1zaXplOiBpbmhlcml0ICFpbXBvcnRhbnQ7DQogICAgICAgICAgICAgICAgfQ0KICAgICAgICAgICAgICAgIC5tai1tZW51LWNoZWNrYm94W3R5cGU9M0QiY2hlY2tib3giXX4ubWotaW5saW5lLWxpbmtzID4gYSB7DQogICAgICAgICAgICAgICAgICAgIGRpc3BsYXk6IGJsb2NrICFpbXBvcnRhbnQ7DQogICAgICAgICAgICAgICAgfQ0KICAgICAgICAgICAgICAgIC5tai1tZW51LWNoZWNrYm94W3R5cGU9M0QiY2hlY2tib3giXTpjaGVja2Vkfi5tai1tZW51LXRyaWdnPQ0KZXIgLm1qLW1lbnUtaWNvbi1jbG9zZSB7DQogICAgICAgICAgICAgICAgICAgIGRpc3BsYXk6IGJsb2NrICFpbXBvcnRhbnQ7DQogICAgICAgICAgICAgICAgfQ0KICAgICAgICAgICAgICAgIC5tai1tZW51LWNoZWNrYm94W3R5cGU9M0QiY2hlY2tib3giXTpjaGVja2Vkfi5tai1tZW51LXRyaWdnPQ0KZXIgLm1qLW1lbnUtaWNvbi1vcGVuIHsNCiAgICAgICAgICAgICAgICAgICAgZGlzcGxheTogbm9uZSAhaW1wb3J0YW50Ow0KICAgICAgICAgICAgICAgIH0NCiAgICAgICAgICAgIH0NCiAgICAgICAgPC9zdHlsZT4NCiAgICAgICAgPHN0eWxlIHR5cGU9M0QidGV4dC9jc3MiPg0KICAgICAgICAgICAgQG1lZGlhIG9ubHkgc2NyZWVuIGFuZCAobWluLXdpZHRoOjQ4MXB4KSB7DQogICAgICAgICAgICAgICAgLnByb2R1Y3RzLWxpc3QtdGFibGUgaW1nIHsNCiAgICAgICAgICAgICAgICAgICAgd2lkdGg6IDEyMHB4ICFpbXBvcnRhbnQ7DQogICAgICAgICAgICAgICAgICAgIGRpc3BsYXk6IGJsb2NrOw0KICAgICAgICAgICAgICAgIH0NCiAgICAgICAgICAgICAgICAucHJvZHVjdHMtbGlzdC10YWJsZSAuaW1hZ2UtY29sdW1uIHsNCiAgICAgICAgICAgICAgICAgICAgd2lkdGg6IDIwJSAhaW1wb3J0YW50Ow0KICAgICAgICAgICAgICAgIH0NCiAgICAgICAgICAgIH0NCiAgICAgICAgICAgIGEgew0KICAgICAgICAgICAgICAgIGNvbG9yOiAjMDAwOw0KICAgICAgICAgICAgfQ0KICAgICAgICAgICAgLnNlcnZlci1pbWcgaW1nIHsNCiAgICAgICAgICAgICAgICB3aWR0aDogMTAwJTsNCiAgICAgICAgICAgIH0NCiAgICAgICAgICAgIC5zZXJ2ZXItYm94LW9uZSBhLA0KICAgICAgICAgICAgLnNlcnZlci1ib3gtdHdvIGEgew0KICAgICAgICAgICAgICAgIHRleHQtZGVjb3JhdGlvbjogdW5kZXJsaW5lOw0KICAgICAgICAgICAgICAgIGNvbG9yOiAjMkU5Q0MzOw0KICAgICAgICAgICAgfQ0KICAgICAgICAgICAgLnNlcnZlci1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W50YXRpb24iIHN0eWxlPTNEInZlcnRpY2FsLWFsPQ0KaWduOnRvcDsiIHdpZHRoPTNEIjEwMCUiPg0KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8dHI+DQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8dGQgYWxpZ249M0QiY2U9DQpudGVyIiBzdHlsZT0zRCJmb250LWZhbWlseTogT3BlbiBTYW5zLCBIZWx2ZXRpY2EsIFRhaG9tYSwgQXJpYWwsIHNhbnMtc2VyaWY9DQo7IGZvbnQtc2l6ZTogMHB4OyBwYWRkaW5nOiAwOyB3b3JkLWJyZWFrOiBicmVhay13b3JkOyI+DQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPGRpdiBzdHlsZT0NCj0zRCJmb250LWZhbWlseTogT3BlbiBTYW5zLCBIZWx2ZXRpY2EsIFRhaG9tYSwgQXJpYWwsIHNhbnMtc2VyaWY7IGZvbnQtc2l6ZT0NCjogMXB4OyBmb250LXdlaWdodDogNDAwOyBsaW5lLWhlaWdodDogMDsgdGV4dC1hbGlnbjogY2VudGVyOyBjb2xvcjogI0YyRjJGMj0NCjsiPjwvZGl2Pg0KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPC90ZD4NCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPC90cj4NCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8L3RhYmxlPg0KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPC9kaXY+DQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8IS0tW2lmIG1zbyB8IElFXT4gPC90ZD4gPC89DQp0cj4gPC90YWJsZT4gPCFbZW5kaWZdLS0+DQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDwvdGQ+DQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPC90cj4NCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDwvdGJvZHk+DQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDwvdGFibGU+DQogICAgICAgICAgICAgICAgICAgICAgICAgICAgPC9kaXY+DQogICAgICAgICAgICAgICAgICAgICAgICAgICAgPCEtLVtpZiBtc28gfCBJRV0+IDwvdGQ+IDwvdHI+IDwvdGFibGU+IDwvdGQ+IDw9DQovdHI+IDwhW2VuZGlmXS0tPg0KICAgICAgICAgICAgICAgICAgICAgICAgICAgIDwhLS0gaGVhZGVyIC0tPg0KICAgICAgICAgICAgICAgICAgICAgICAgICAgIDwhLS1baWYgbXNvIHwgSUVdPiA8dHI+IDx0ZCBjbGFzcz0zRCJoZWFkZXItb3V0PQ0KbG9vayIgd2lkdGg9M0QiNjAwcHgiID4gPHRhYmxlIGFsaWduPTNEImNlbnRlciIgYm9yZGVyPTNEIjAiIGNlbGxwYWRkaW5nPTNEPQ0KIjAiIGNlbGxzcGFjaW5nPTNEIjAiIGNsYXNzPTNEImhlYWRlci1vdXRsb29rIiBzdHlsZT0zRCJ3aWR0aDo1NjBweDsiIHdpZHRoPQ0KPTNEIjU2MCIgPiA8dHI+IDx0ZCBzdHlsZT0zRCJsaW5lLWhlaWdodDowcHg7Zm9udC1zaXplOjBweDttc28tbGluZS1oZWlnaHQtPQ0KcnVsZTpleGFjdGx5OyI+IDwhW2VuZGlmXS0tPg0KICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxkaXYgY2xhc3M9M0QiaGVhZGVyIiBzdHlsZT0zRCJmb250LWZhbWlseTogT3BlPQ0KbiBTYW5zLCBIZWx2ZXRpY2EsIFRhaG9tYSwgQXJpYWwsIHNhbnMtc2VyaWY7IGxpbmUtaGVpZ2h0OiAyMnB4OyBwYWRkaW5nOiAxPQ0KNXB4IDA7IG1hcmdpbjogMHB4IGF1dG87IG1heC13aWR0aDogNTYwcHg7Ij4NCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPHRhYmxlIGFsaWduPTNEImNlbnRlciIgYm9yZGVyPTNEIjAiIGNlbGxwYT0NCmRkaW5nPTNEIjAiIGNlbGxzcGFjaW5nPTNEIjAiIHJvbGU9M0QicHJlc2VudGF0aW9uIiBzdHlsZT0zRCJ3aWR0aDoxMDAlOyI+DQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8dGJvZHk+DQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPHRyPg0KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8dGQgc3R5bGU9M0QiZm9udC1mYW1pbHk6IE9wZW4gPQ0KU2FucywgSGVsdmV0aWNhLCBUYWhvbWEsIEFyaWFsLCBzYW5zLXNlcmlmOyBkaXJlY3Rpb246IGx0cjsgZm9udC1zaXplOiAwcHg7PQ0KIHBhZGRpbmc6IDBweDsgdGV4dC1hbGlnbjogY2VudGVyOyIgYWxpZ249M0QiY2VudGVyIj4NCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDwhLS1baWYgbXNvIHwgSUVdPiA8dGFibGUgcj0NCm9sZT0zRCJwcmVzZW50YXRpb24iIGJvcmRlcj0zRCIwIiBjZWxscGFkZGluZz0zRCIwIiBjZWxsc3BhY2luZz0zRCIwIj4gPHRyPj0NCiA8IVtlbmRpZl0tLT4NCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDwhLS0gTE9HTyAtLT4NCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDwhLS1baWYgbXNvIHwgSUVdPiA8dGQgY2xhcz0NCnM9M0Q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gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPHRhYmxlIGJvcmQ9DQplcj0zRCIwIiBjZWxscGFkZGluZz0zRCIwIiBjZWxsc3BhY2luZz0zRCIwIiByb2xlPTNEInByZXNlbnRhdGlvbiIgc3R5bGU9M0Q9DQoiYm9yZGVyLWNvbGxhcHNlOmNvbGxhcHNlO2JvcmRlci1zcGFjaW5nOjBweDsiPg0KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8dGJvZHk+DQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8dHI9DQo+DQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA9DQogPHRkIHN0eWxlPTNEImZvbnQtZmFtaWx5OiBPcGVuIFNhbnMsIEhlbHZldGljYSwgVGFob21hLCBBcmlhbCwgc2Fucy1zZXJpZjs9DQogd2lkdGg6IDE0MHB4OyIgd2lkdGg9M0QiMTQwIj4NCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgID0NCiAgICAgPGEgaHJlZj0zRCJodHRwczovL3d3dy5hbGlleHByZXNzLmNvbT9lZG1fY2xpY2tfbW9kdWxlPTNEaGVhZGVyJmFtcDt0cj0NCmFjZWxvZz0zRHJvd2FuJmFtcDtyb3dhbl9pZDE9M0RlbWFpbFJlZ2lzdGVyQ2hlY2tjb2RlXzFfZW5fVVNfMjAyMy0wOS0wNSZhbT0NCnA7cm93YW5fbXNnX2lkPTNEbWFpbG51bGxfRU1BSUxfUkVHSVNURVJfZSQ3ZjhjOWFiMGM1ODA0Yzk2OTA2MTZjNGM3ODE2ODQ2YT0NCiZhbXA7Y2s9M0Rpbl9lZG1fb3RoZXIiIHRhcmdldD0zRCJfYmxhbmsiIHN0eWxlPTNEImZvbnQtZmFtaWx5OiBPcGVuIFNhbnMsID0NCkhlbHZldGljYSwgVGFob21hLCBBcmlhbCwgc2Fucy1zZXJpZjsgcGFkZGluZzogMCAxMHB4OyI+DQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA9DQogICAgICAgICA8aW1nIGFsdD0zRCJBbGlFeHByZXNzIiBoZWlnaHQ9M0QiYXV0byIgc3JjPTNEImh0dHBzOi8vYWUwMS5hbGljZG49DQouY29tL2tmL0hUQjFFODM0YUE1RTNLVmpTWkZDNzYydXpYWGF3LnBuZyIgc3R5bGU9M0QiYm9yZGVyOjA7ZGlzcGxheTpibG9jazs9DQpvdXRsaW5lOm5vbmU7dGV4dC1kZWNvcmF0aW9uOm5vbmU7aGVpZ2h0OmF1dG87d2lkdGg6MTAwJTtmb250LXNpemU6MTNweDsiIHc9DQppZHRoPTNEIjE0MCI+DQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA9DQogICAgIDwvYT4NCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgID0NCiA8L3RkPg0KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPC90PQ0Kcj4NCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPC90Ym9keT0NCj4NCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8L3RhYmxlPg0KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPC90ZD4NCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPC90cj4NCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8L3RhYmxlPg0KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPC9kaXY+DQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8IS0tW2lmIG1zbyB8IElFXT4gPC90ZD4gPCE9DQpbZW5kaWZdLS0+DQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8IS0tIE5hdmlnYXRpb24gQmFyIC0tPg0KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPCEtLVtpZiBtc28gfCBJRV0+IDx0ZCBjbGFzPQ0Kcz0zRCJuYXZpZ2F0aW9uLWJhci1vdXRsb29rIiBzdHlsZT0zRCJ2ZXJ0aWNhbC1hbGlnbjptaWRkbGU7d2lkdGg6NDIwcHg7IiA+PQ0KIDwhW2VuZGlmXS0tPg0KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPGRpdiBjbGFzcz0zRCJtai1jb2x1bW4tcGVyPQ0KLTc1IG1qLW91dGxvb2stZ3JvdXAtZml4IG5hdmlnYXRpb24tYmFyIiBzdHlsZT0zRCJmb250LWZhbWlseTogT3BlbiBTYW5zLCBIPQ0KZWx2ZXRpY2EsIFRhaG9tYSwgQXJpYWwsIHNhbnMtc2VyaWY7IGZvbnQtc2l6ZTogMHB4OyB0ZXh0LWFsaWduOiBsZWZ0OyBkaXJlPQ0KY3Rpb246IGx0cjsgZGlzcGxheTogaW5saW5lLWJsb2NrOyB2ZXJ0aWNhbC1hbGlnbjogbWlkZGxlOyB3aWR0aDogMTAwJTsiPg0KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDx0YWJsZSBib3JkZXI9M0QiMCIgY2VsPQ0KbHBhZGRpbmc9M0QiMCIgY2VsbHNwYWNpbmc9M0QiMCIgcm9sZT0zRCJwcmVzZW50YXRpb24iIHN0eWxlPTNEInZlcnRpY2FsLWFsPQ0KaWduOm1pZGRsZTsiIHdpZHRoPTNEIjEwMCUiPg0KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8dHI+DQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8dGQgYWxpZ249M0Qicmk9DQpnaHQiIHN0eWxlPTNEImZvbnQtZmFtaWx5OiBPcGVuIFNhbnMsIEhlbHZldGljYSwgVGFob21hLCBBcmlhbCwgc2Fucy1zZXJpZjs9DQogdGV4dC1hbGlnbjogcmlnaHQ7IGZvbnQtc2l6ZTogMHB4OyB3b3JkLWJyZWFrOiBicmVhay13b3JkOyI+DQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPGRpdiBjbGFzcz0NCj0zRCJtai1pbmxpbmUtbGlua3MiIHN0eWxlPTNEImZvbnQtZmFtaWx5OiBPcGVuIFNhbnMsIEhlbHZldGljYSwgVGFob21hLCBBcj0NCmlhbCwgc2Fucy1zZXJpZjsiPg0KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8IS0tW2lmPQ0KIG1zbyB8IElFXT4gPHRhYmxlIHJvbGU9M0QicHJlc2VudGF0aW9uIiBib3JkZXI9M0QiMCIgY2VsbHBhZGRpbmc9M0QiMCIgY2VsPQ0KbHNwYWNpbmc9M0QiMCIgYWxpZ249M0QiY2VudGVyIj4gPHRyPiA8dGQgc3R5bGU9M0QicGFkZGluZzoxNXB4IDEwcHg7IiBjbGFzPQ0Kcz0zRCIiID4gPCFbZW5kaWZ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gICAgICAgICAgICAgICAgICAgICAgICAgICAgPC90ZD4NCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPC90cj4NCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8L3RhYmxlPg0KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPC9kaXY+DQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8IS0tW2lmIG1zbyB8IElFXT4gPC90ZD4gPC89DQp0cj4gPC90YWJsZT4gPCFbZW5kaWZdLS0+DQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDwvdGQ+DQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPC90cj4NCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDwvdGJvZHk+DQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDwvdGFibGU+DQogICAgICAgICAgICAgICAgICAgICAgICAgICAgPC9kaXY+DQogICAgICAgICAgICAgICAgICAgICAgICAgICAgPCEtLVtpZiBtc28gfCBJRV0+IDwvdGQ+IDwvdHI+IDwvdGFibGU+IDwvdGQ+IDw9DQovdHI+IDwhW2VuZGlmXS0tPg0KICAgICAgICAgICAgICAgICAgICAgICAgICAgIDwhLS0gbm90aWNlIC0tPg0KICAgICAgICAgICAgICAgICAgICAgICAgICAgIDwhLS1baWYgbXNvIHwgSUVdPiA8dHI+IDx0ZCBjbGFzcz0zRCJub3RpY2Utd3JhPQ0KcC1vdXRsb29rIG1hcmdpbi1ib3R0b20tb3V0bG9vayIgd2lkdGg9M0QiNjAwcHgiID4gPHRhYmxlIGFsaWduPTNEImNlbnRlciIgPQ0KYm9yZGVyPTNEIjAiIGNlbGxwYWRkaW5nPTNEIjAiIGNlbGxzcGFjaW5nPTNEIjAiIGNsYXNzPTNEIm5vdG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lbnRlciI+DQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8IS0tW2lmIG1zbyB8IElFXT4gPHRhYmxlIHI9DQpvbGU9M0QicHJlc2VudGF0aW9uIiBib3JkZXI9M0QiMCIgY2VsbHBhZGRpbmc9M0QiMCIgY2VsbHNwYWNpbmc9M0QiMCI+IDx0cj49DQogPHRkIGNsYXNzPTNEIiIgc3R5bGU9M0QidmVydGljYWwtYWxpZ246dG9wO3dpZHRoOjU2MHB4OyIgPiA8IVtlbmRpZl0tLT4NCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxkaXYgY2xhc3M9M0QibWotY29sdW1uLXBlcj0NCi0xMDAgbWotb3V0bG9vay1ncm91cC1maXgiIHN0eWxlPTNEImZvbnQtZmFtaWx5OiBPcGVuIFNhbnMsIEhlbHZldGljYSwgVGFobz0NCm1hLCBBcmlhbCwgc2Fucy1zZXJpZjsgZm9udC1zaXplOiAwcHg7IHRleHQtYWxpZ246IGxlZnQ7IGRpcmVjdGlvbjogbHRyOyBkaT0NCnNwbGF5OiBpbmxpbmUtYmxvY2s7IHZlcnRpY2FsLWFsaWduOiB0b3A7IHdpZHRoOiAxMDAlOyI+DQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPHRhYmxlIGJvcmRlcj0zRCIwIiBjZWw9DQpscGFkZGluZz0zRCIwIiBjZWxsc3BhY2luZz0zRCIwIiByb2xlPTNEInByZXNlbnRhdGlvbiIgd2lkdGg9M0QiMTAwJSI+DQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDx0Ym9keT4NCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDx0cj4NCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8dGQgYWxpZ249DQo9M0QibGVmdCIgc3R5bGU9M0QiZm9udC1mYW1pbHk6IE9wZW4gU2FucywgSGVsdmV0aWNhLCBUYWhvbWEsIEFyaWFsLCBzYW5zLXM9DQplcmlmOyBiYWNrZ3JvdW5kLWNvbG9yOiAjZmZmZmZmOyBib3JkZXItcmFkaXVzOiAxMHB4OyB2ZXJ0aWNhbC1hbGlnbjogdG9wOyA9DQpwYWRkaW5nOiAzMHB4IDI1cHg7Ij4NCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPGRpdiBzdD0NCnlsZT0zRCJmb250LWZhbWlseTpPcGVuIFNhbnMsIEhlbHZldGljYSwgVGFob21hLCBBcmlhbCwgc2Fucy1zZXJpZjtmb250LXNpej0NCmU6MTRweDtsaW5lLWhlaWdodDoyMHB4O3RleHQtYWxpZ246bGVmdDtjb2xvcjojNEY0RjRGOyI+DQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8ZGk9DQp2IGNsYXNzPTNEIndyYXAiIHN0eWxlPTNEImNvbG9yOiAjMzMzOyI+DQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA9DQogPGRpdiBjbGFzcz0zRCJ0aXRsZSIgc3R5bGU9M0QibWFyZ2luLWJvdHRvbTogMjRweDsgbGluZS1oZWlnaHQ6IDMwcHg7IGZvbnQ9DQotc2l6ZTogMzBweDsgZm9udC13ZWlnaHQ6IDcwMDsiPlVzZSB0aGlzIGNvZGUgdG8gdmVyaWZ5IHlvdXIgZW1haWw8L2Rpdj4NCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgID0NCiA8ZGl2IGNsYXNzPTNEImRlYXIiIHN0eWxlPTNEIm1hcmdpbi1ib3R0b206IDEycHg7Ij5IZWxsbyw8L2Rpdj4NCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgID0NCiA8ZGl2IGNsYXNzPTNEImNvbnRlbnQiIHN0eWxlPTNEIm1hcmdpbi1ib3R0b206IDEycHg7Ij5Zb3VyIGNvZGUgaXM6PC9kaXY+DQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA9DQogPGRpdiBjbGFzcz0zRCJjb2RlIiBzdHlsZT0zRCJtYXJnaW4tYm90dG9tOiAxMnB4OyBmb250LXNpemU6IDIwcHg7IGZvbnQtd2U9DQppZ2h0OiA3MDA7IGNvbG9yOiAjRkY0NzQ3OyI+NzgyNDwvZGl2Pg0KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPQ0KIDxkaXYgY2xhc3M9M0QiY29udGVudCIgc3R5bGU9M0QibWFyZ2luLWJvdHRvbTogMTJweDsiPlVzZSB0aGlzIHRvIHZlcmlmeSB5PQ0Kb3VyIGVtYWlsIGFkZHJlc3MgYW5kIGNvbXBsZXRlIHlvdXIgcmVnaXN0cmF0aW9uLjwvZGl2Pg0KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPQ0KIDxkaXYgY2xhc3M9M0QidGlwcyI+QWZ0ZXIgdmVyaWZpY2F0aW9uLCB5b3Ugd2lsbCBiZSBhYmxlIHRvIG1vZGlmeSB5b3VyIHBhPQ0Kc3N3b3JkLCBlbWFpbCBhZGRyZXNzIGFuZCBwaG9uZSBudW1iZXIuPC9kaXY+DQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA9DQogPGRpdiBjbGFzcz0zRCJ0aXBzIiBzdHlsZT0zRCJtYXJnaW4tYm90dG9tOiAxMnB4OyI+RGlkbid0IHJlcXVlc3QgdGhpcyB2ZXI9DQppZmljYXRpb24gY29kZT8gUGxlYXNlIHNlY3VyZSB5b3VyIGFjY291bnQgYnkgY2hhbmdpbmcgeW91ciBwYXNzd29yZC4gSW4gb3I9DQpkZXIgdG8gcHJvdGVjdCB5b3VyIGFjY291bnQgc2VjdXJpdHksIHBsZWFzZSBkbyBub3QgYWxsb3cgb3RoZXJzIHRvIGFjY2VzcyA9DQp5b3VyIGVtYWlsLjwvZGl2Pg0KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPQ0KIDxkaXYgY2xhc3M9M0Qia2luZCI+VGhhbmtzLDwvZGl2Pg0KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPQ0KIDxkaXYgY2xhc3M9M0QiQWxpRXhwcmVzcyI+IEFsaUV4cHJlc3MgPC9kaXY+DQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8L2Q9DQppdj4NCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPC9kaXY+DQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPC90ZD4NCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDwvdHI+DQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDwvdGJvZHk+DQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPC90YWJsZT4NCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDwvZGl2Pg0KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPCEtLVtpZiBtc28gfCBJRV0+IDwvdGQ+IDwvPQ0KdHI+IDwvdGFibGU+IDwhW2VuZGlmXS0tPg0KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8L3RkPg0KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDwvdHI+DQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8L3Rib2R5Pg0KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8L3RhYmxlPg0KICAgICAgICAgICAgICAgICAgICAgICAgICAgIDwvZGl2Pg0KICAgICAgICAgICAgICAgICAgICAgICAgICAgIDwhLS1baWYgbXNvIHwgSUVdPiA8L3RkPiA8L3RyPiA8L3RhYmxlPiA8L3RkPiA8PQ0KL3RyPiA8IVtlbmRpZl0tLT4NCiAgICAgICAgICAgICAgICAgICAgICAgICAgICA8IS0tW2lmIG1zbyB8IElFXT4gPC90YWJsZT4gPCFbZW5kaWZdLS0+DQogICAgICAgICAgICAgICAgICAgICAgICA8L3RkPg0KICAgICAgICAgICAgICAgICAgICA8L3RyPg0KICAgICAgICAgICAgICAgIDwvdGJvZHk+DQogICAgICAgICAgICA8L3RhYmxlPg0KICAgICAgICA8L2Rpdj4NCiAgICAgICAgPCEtLVtpZiBtc28gfCBJRV0+IDwvdGQ+IDwvdHI+IDwvdGFibGU+IDwhW2VuZGlmXS0tPg0KICAgICAgICA8IS0tIGZvb3RlciBzdGFydCAtLT4NCiAgICAgICAgPCEtLSBGb290ZXIgV3JhcHBlciAtLT48ZGl2IGNsYXNzPTNEImZvb3Rlci13cmFwcGVyIiBzdHlsZT0zRCJtYXJnaT0NCm46IDBweCBhdXRv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ICAgICAgICAgICAgICAgICAgPC90cj4NCiAgICAgICAgICAgICAgICAgICAgICAgPC90Ym9keT4NCiAgICAgICAgICAgICAgICAgICAgICA8L3RhYmxlPjwvdGQ+DQogICAgICAgICAgICAgICAgICAgIDwvdHI+DQogICAgICAgICAgICAgICAgICAgPC90Ym9keT4NCiAgICAgICAgICAgICAgICAgIDwvdGFibGU+DQogICAgICAgICAgICAgICAgICA8IS0tW2lmIG1zbyB8IElFXT48L3RkPg0KICAgICAgICAgICAgICAgICAgPHRkPjwhW2VuZGlmXS0tPg0KICAgICAgICAgICAgICAgICAgPHRhYmxlIGFsaWduPTNEImNlbnRlciIgYm9yZGVyPTNEIjAiIGNlbGxwYWRkaW5nPTNEIjAiIGNlPQ0KbGxzcGFjaW5nPTNEIjAiIHJvbGU9M0QicHJlc2VudGF0aW9uIiBzdHlsZT0zRCJiYWNrZ3JvdW5kLWNvbG9yOiAjRkZGRkZGOyBmPQ0KbG9hdDogbm9uZTsgZGlzcGxheTogaW5saW5lLXRhYmxlOyIgYmdjb2xvcj0zRCIjRkZGRkZGIj4NCiAgICAgICAgICAgICAgICAgICA8dGJvZHk+DQogICAgICAgICAgICAgICAgICAgIDx0cj4NCiAgICAgICAgICAgICAgICAgICAgIDx0ZCBzdHlsZT0zRCJwYWRkaW5nOjAgMTRweDsiPg0KICAgICAgICAgICAgICAgICAgICAgIDx0YWJsZSBib3JkZXI9M0QiMCIgY2VsbHBhZGRpbmc9M0QiMCIgY2VsbHNwYWNpbmc9M0QiPQ0KMCIgcm9sZT0zRCJwcmVzZW50YXRpb24iIHN0eWxlPTNEImJhY2tncm91bmQtY29sb3I6ICNGRkZGRkY7IGJvcmRlci1yYWRpdXM6PQ0KIDNweDsgd2lkdGg6IDIwcHg7IiB3aWR0aD0zRCIyMCIgYmdjb2xvcj0zRCIjRkZGRkZGIj4NCiAgICAgICAgICAgICAgICAgICAgICAgPHRib2R5Pg0KICAgICAgICAgICAgICAgICAgICAgICAgPHRyPg0KICAgICA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NCiAgICAgICAgICAgICAgICAgICAgICA8L3RhYmxlPjwvdGQ+DQogICAgICAgICAgICAgICAgICAgIDwvdHI+DQogICAgICAgICAgICAgICAgICAgPC90Ym9keT4NCiAgICAgICAgICAgICAgICAgIDwvdGFibGU+DQogICAgICAgICAgICAgICAgICA8IS0tW2lmIG1zbyB8IElFXT48L3RkPg0KICAgICAgICAgICAgICAgICAgPHRkPjwhW2VuZGlmXS0tPg0KICAgICAgICAgICAgICAgICAgPHRhYmxlIGFsaWduPTNEImNlbnRlciIgYm9yZGVyPTNEIjAiIGNlbGxwYWRkaW5nPTNEIjAiIGNlPQ0KbGxzcGFjaW5nPTNEIjAiIHJvbGU9M0QicHJlc2VudGF0aW9uIiBzdHlsZT0zRCJiYWNrZ3JvdW5kLWNvbG9yOiAjRkZGRkZGOyBmPQ0KbG9hdDogbm9uZTsgZGlzcGxheTogaW5saW5lLXRhYmxlOyIgYmdjb2xvcj0zRCIjRkZGRkZGIj4NCiAgICAgICAgICAgICAgICAgICA8dGJvZHk+DQogICAgICAgICAgICAgICAgICAgIDx0cj4NCiAgICAgICAgICAgICAgICAgICAgIDx0ZCBzdHlsZT0zRCJwYWRkaW5nOjAgMTRweDsiPg0KICAgICAgICAgICAgICAgICAgICAgIDx0YWJsZSBib3JkZXI9M0QiMCIgY2VsbHBhZGRpbmc9M0QiMCIgY2VsbHNwYWNpbmc9M0QiPQ0KMCIgcm9sZT0zRCJwcmVzZW50YXRpb24iIHN0eWxlPTNEImJhY2tncm91bmQtY29sb3I6ICNGRkZGRkY7IGJvcmRlci1yYWRpdXM6PQ0KIDNweDsgd2lkdGg6IDIwcHg7IiB3aWR0aD0zRCIyMCIgYmdjb2xvcj0zRCIjRkZGRkZGIj4NCiAgICAgICAgICAgICAgICAgICAgICAgPHRib2R5Pg0KICAgICAgICAgICAgICAgICAgICAgICAgPHRyPg0KICAgICAgICAgICAgICAgICAgICAgICAgIDx0ZCBzdHlsZT0zRCJmb250LXNpemU6MDtoZWlnaHQ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b21tZXJjZSBQcml2YXRlIExpbWl0ZWQsPTIwDQogICAgICAgICAgICAgICAgICAgPGJyPiBjL28gMjYvRiBUb3dlciBPbmUsIFRpbWVzIFNxdWFyZSwgMSBNYXRoZXNvbiBTdHJlZXQ9DQosIENhdXNld2F5IEJheSwgSG9uZyBLb25nPTIwDQogICAgICAgICAgICAgICAgICAgPGJyPg0KICAgICAgICAgICAgICAgICAgPC9kaXY+PC90ZD4NCiAgICAgICAgICAgICAgICA8L3RyPg0KICAgICAgICAgICAgICAgPC90Ym9keT4NCiAgICAgICAgICAgICAgPC90YWJsZT4NCiAgICAgICAgICAgICA8L2Rpdj4NCiAgICAgICAgICAgICA8IS0tW2lmIG1zbyB8IElFXT48L3RkPjwvdHI+PC90YWJsZT48IVtlbmRpZl0tLT48L3RkPg0KICAgICAgICAgICA8L3RyPg0KICAgICAgICAgIDwvdGJvZHk+DQogICAgICAgICA8L3RhYmxlPg0KICAgICAgICA8L2Rpdj49MjANCiAgICAgICAgPCEtLVtpZiBtc28gfCBJRV0+PC90ZD48L3RyPjwvdGFibGU+PC90ZD48L3RyPjwhW2VuZGlmXS0tPg0KICAgICAgICA8IS0tIGZvb3RlciBsb2dvIC0tPg0KICAgICAgICA8IS0tIHRlbXBsYXRlVmVyc2lvbjogJHt0ZW1wbGF0ZVZlcnNpb259IC0tPg0KICAgICAgICA8IS0tW2lmIG1zbyB8IElFXT48dHI+PHRkIGNsYXNzPTNEIiIgd2lkdGg9M0QiNjAwcHgiPjx0YWJsZSBhbGlnbj0NCj0zRCJjZW50ZXIiIGJvcmRlcj0zRCIwIiBjZWxscGFkZGluZz0zRCIwIiBjZWxsc3BhY2luZz0zRCIwIiBjbGFzcz0zRCIiIHN0eT0NCmxlPTNEIndpZHRoOjYwMHB4OyIgd2lkdGg9M0QiNjAwIj48dHI+PHRkIHN0eWxlPTNEImxpbmUtaGVpZ2h0OjBweDtmb250LXNpej0NCmU6MHB4O21zby1saW5lLWhlaWdodC1ydWxlOmV4YWN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dGJvZHk+DQogICAgICAgICAgICAgICAgIDwvdGFibGU+PC90ZD4NCiAgICAgICAgICAgICAgIDwvdHI+DQogICAgICAgICAgICAgIDwvdGJvZHk+DQogICAgICAgICAgICAgPC90YWJsZT48L3RkPg0KICAgICAgICAgICA8L3RyPg0KICAgICAgICAgIDwvdGJvZHk+DQogICAgICAgICA8L3RhYmxlPg0KICAgICAgICA8L2Rpdj4NCiAgICAgICAgPCEtLVtpZiBtc28gfCBJRV0+PC90ZD48L3RyPjwvdGFibGU+PCFbZW5kaWZdLS0+PC90ZD4NCiAgICAgIDwvdHI+DQogICAgIDwvdGJvZHk+DQogICAgPC90YWJsZT4NCiAgIDwvZGl2Pj0yMA0KICAgICAgICA8IS0tIGZvb3RlciBlbmQgLS0+DQogICAgPC9kaXY+DQo8L2JvZHk+DQo8L2h0bWw+PQ0KDQotLS0tLS09X1BhcnRfMTQxMTk3MjdfMTQyNjAwMzUyMi4xNjkzOTIwNzIyMDYwLS0NCg==", "date": "2023-09-06T13:31:27.000Z", "from": {"html": "<span class=\"mp_address_group\"><span class=\"mp_address_name\">Tomi Turtiainen</span> <<a href=\"mailto:tomi@n8n.io\" class=\"mp_address_email\">tomi@n8n.io</a>></span>", "text": "Tomi Turtiainen <tomi@n8n.io>", "value": [{"name": "Tomi Turtiainen", "address": "tomi@n8n.io"}]}, "html": "<meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\"><div dir=\"ltr\"><br></div>\n", "text": "\n", "headers": {"to": "To: mattiasn8n@outlook.com", "date": "Date: Wed, 6 Sep 2023 16:31:27 +0300", "from": "From: Tomi Turtiainen <tomi@n8n.io>", "subject": "Subject: asdasd", "received": "Received: by mail-lf1-f51.google.com with SMTP id 2adb3069b0e04-500bbe3ef0eso1173362e87.1\r\n for <mattiasn8n@outlook.com>; Wed, 06 Sep 2023 06:31:39 -0700 (PDT)", "x-sid-pra": "X-SID-PRA: TOMI@N8N.IO", "message-id": "Message-ID: <CAN5dpcHNquvqeC1bC-+0JToUg2Kdzcm4=STS2cT64aC=5RqmoQ@mail.gmail.com>", "x-received": "X-Received: by 2002:a05:6512:550:b0:4f8:6253:540 with SMTP id\r\n h16-20020a056512055000b004f862530540mr1032219lfl.19.1694007098992; Wed, 06\r\n Sep 2023 06:31:38 -0700 (PDT)", "return-path": "Return-Path: tomi@n8n.io", "x-sender-ip": "X-Sender-IP: 209.85.167.51", "content-type": "Content-Type: multipart/mixed; boundary=\"0000000000006226f60604b0c30d\"", "mime-version": "MIME-Version: 1.0", "received-spf": "Received-SPF: Pass (protection.outlook.com: domain of n8n.io designates\r\n 209.85.167.51 as permitted sender) receiver=protection.outlook.com;\r\n client-ip=209.85.167.51; helo=mail-lf1-f51.google.com; pr=C", "x-sid-result": "X-SID-Result: PASS", "dkim-signature": "DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;\r\n d=n8n.io; s=google; t=1694007099; x=1694611899; darn=outlook.com;\r\n h=to:subject:message-id:date:from:mime-version:from:to:cc:subject\r\n :date:message-id:reply-to;\r\n bh=XX+u25qxwUiTQhDYEAKum6cFDiY8kAf9VQXtXT7IG4g=;\r\n b=DtryoPGLz346xBmbPGAOuNpUz90LjDCRHhDSlQ+FacVezcvnbNtne30NyD5zV1+Nmz\r\n xbQGR9Leg14yy8CyJ6BB5RdPnGCzyS0jx+xThP9vB/8r9Rfbg2y9R7HpfAHauxZq8WKw\r\n QbnMn4JwvjFizKABeadgIgrk5zxs78ZHK0IboMyNttPc9YVyho+Q7koLdkdMFnB0bGjH\r\n B2gud3+PixaUitsJhOGXx0TKpCG58CjFkpwf203YJhNN9k/kUejr8lhlu3K8tXlHnRdl\r\n uIQg7BwYTLtg2ZLaPXz0VQLUlbnLNbwHHFhXUvJ1D0edRZKk8yGn315NxX9CJ8ta5oKx\r\n tqww==", "x-message-info": "X-Message-Info:\r\n\tqZelhIiYnPlubV6F6xIgQ5/Mzwaakpnur7bBCplzbP7vmOUxLfcYxrmfap05e717ue9YRnsWC+tgOVq+uN9uCokFEfs/cntY6SPU1rIDMJ2XiRHcXDxWXN2/2HOxMn+YqecYvkeX6IHFuhzmOJBtdhGgfjpDztKpJUUmqN9RcyzI0U+NHd0xDlBzopl+9fN9CkxAIgBkriAe9ipdjAiOuw==", "x-gm-message-state": "X-Gm-Message-State: AOJu0YzkHX9+H/UKNyzFozodiJ17OU4KzydEaaglLky7picVcfrQnODG\r\n\tIoNVpwnJqtuVpDLl9i9cnYIZMFlT5AUv2OjrGh8I8twGmBWyHG5bixU=", "x-message-delivery": "X-Message-Delivery: Vj0xLjE7dXM9MDtsPTA7YT0wO0Q9MTtHRD0yO1NDTD0z", "x-google-smtp-source": "X-Google-Smtp-Source: AGHT+IHCPLcwqEBonKbCznfQtkP79eEZZH2uzDURqzvzU3BNgqCao9T/H/EfqSgjduesLZKMVH7RZ7jGLqOSzVCC0uU=", "x-microsoft-antispam": "X-Microsoft-Antispam: BCL:0;", "x-incomingheadercount": "X-IncomingHeaderCount: 13", "authentication-results": "Authentication-Results: spf=pass (sender IP is 209.85.167.51)\r\n smtp.mailfrom=n8n.io; dkim=pass (signature was verified)\r\n header.d=n8n.io;dmarc=pass action=none header.from=n8n.io;compauth=pass\r\n reason=100", "x-eopattributedmessage": "X-EOPAttributedMessage: 0", "x-ms-publictraffictype": "X-MS-PublicTrafficType: Email", "x-ms-userlastlogontime": "X-MS-UserLastLogonTime: 9/6/2023 1:30:02 PM", "x-google-dkim-signature": "X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;\r\n d=1e100.net; s=20221208; t=1694007099; x=1694611899;\r\n h=to:subject:message-id:date:from:mime-version:x-gm-message-state\r\n :from:to:cc:subject:date:message-id:reply-to;\r\n bh=XX+u25qxwUiTQhDYEAKum6cFDiY8kAf9VQXtXT7IG4g=;\r\n b=gNJBR8hHMQgsPmy6aj/fUHgJA80VYzMkBa692pzhafJzxHcKSsoBG6Va8Z/vMmQHHf\r\n b+79DaJg9AoYuSbhqk17fB1dF/moQh/AyAbEOeTy+ntAlYCJDNOwXP6WV419d0Y1Stds\r\n Wvx+8Pd4LVhXGUcGRmk5hsnZ7AuPfYi8fbsU+Q/uVaLEp+SFAFgRVBvFpicxD/2AWpNF\r\n gi3j2RHnBEppPcXFJTmrtTHHmSHwDHIWeRa4d0rfv3JYYGLHVXeJ6OwNgtjF/ogP4Q8A\r\n avLGYbqt5rY5Z852upyxtVxkWY/H0gHKjfkGH4MQHtja8iFGJa970FZwE81sZ/GhilPF\r\n lzog==", "x-ms-exchange-eopdirect": "X-MS-Exchange-EOPDirect: true", "x-incomingtopheadermarker": "X-IncomingTopHeaderMarker:\r\n OriginalChecksum:57147F1F6C31873D4EA40450C6B4FCC2A019EE54FDEDA03E8B891047BB320969;UpperCasedChecksum:5F3A1E264AFC755FB3BB49D7A2D706C38ED7B1548108A3EBE6A43EF3E238AE53;SizeAsReceived:2325;Count:13", "x-ms-traffictypediagnostic": "X-MS-TrafficTypeDiagnostic:\r\n DS2PEPF00003444:EE_|CWLP265MB2113:EE_|LO0P265MB6663:EE_", "x-eoptenantattributedmessage": "X-EOPTenantAttributedMessage: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa:0", "x-ms-exchange-crosstenant-id": "X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa", "x-ms-exchange-organization-pcl": "X-MS-Exchange-Organization-PCL: 2", "x-ms-exchange-organization-scl": "X-MS-Exchange-Organization-SCL: 1", "x-ms-exchange-crosstenant-authas": "X-MS-Exchange-CrossTenant-AuthAs: Anonymous", "x-microsoft-antispam-message-info": "X-Microsoft-Antispam-Message-Info:\r\n\t=?utf-8?B?TEZ5UU1vOTVYR3dLdWtadnVWZndKTVY2TkhQU3JGckNOblNqOWd0eVRWTkIw?=\r\n =?utf-8?B?eXo1MTkveFBqL3hKb2o4cHRFUFZiTkpLWnpYaCtBbnZkbGhHU1lRZlEzZnJx?=\r\n =?utf-8?B?RUM3YXQ4UXV0dUZBcTVucnpJb2JVb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Xd6cU5LU2o3b2RmZmh3R2pHUlBVcjluSnRUWkVL?=\r\n =?utf-8?B?cU9KTUwySUxrVHZ5QTRKeWI3MGxEMDQ5RlpyVkRwM3JQRGFHVkNDVmhtVFlI?=\r\n =?utf-8?B?a1ZzMStzUkRGeXQrS2JTUktQeUZ0QXkwaitHUDB5UGFmSEVHaFVKUEc4QjZQ?=\r\n =?utf-8?B?Z3BvcHpWeW0wK3R3VnQ0bFZXcFVKY2lETTRIMS84RFdOZjlYYldDVEFXNHlE?=\r\n =?utf-8?B?RitORzUzK2ZzNGN6UmtNMXVNY1dlRStkR1ZNcXFueVVPbm9oNUxBcG5HWlU4?=\r\n =?utf-8?B?b0dmcmpYamZPQXpRNnRBeHRHZkhPMTdsWkdmVWhjUHZYL0tQdER0dEluRWEy?=\r\n =?utf-8?B?M0ZBaVZnVnNWUmJHb1pZM2xkRGZjV1dTMEJ5NXNCamc2b09XYmdPMjF2VmM1?=\r\n =?utf-8?B?Rm9yNWJmNGwzZ1lSL1ZCYXhlS3dUN1JyYys3a0dCNklZYmxyb2lXTW1OZFNG?=\r\n =?utf-8?B?b2UzaGFsSU5BbFltSnlZSlh3NjFlOGp4alA0SFVzWHkvVm1DRXdWRTVzZ21Q?=\r\n =?utf-8?B?eEpmb1dFaDJsV1g1VjN0SlFtbzRJZjkrdUV0bjhidzhyY0YzWnRDdnZ1YkFP?=\r\n =?utf-8?B?YWcvUT09?=", "x-ms-exchange-organization-authas": "X-MS-Exchange-Organization-AuthAs: Anonymous", "x-ms-exchange-crosstenant-authsource": "X-MS-Exchange-CrossTenant-AuthSource:\r\n DS2PEPF00003444.namprd04.prod.outlook.com", "x-microsoft-antispam-mailbox-delivery": "X-Microsoft-Antispam-Mailbox-Delivery:\r\n\tucf:0;jmr:0;ex:0;auth:1;dest:I;ENG:(5062000305)(920221119095)(90000117)(920221120095)(90010023)(91010020)(91040095)(9050020)(9100341)(944500132)(2008001134)(2008120430)(4810010)(4910033)(9575002)(10195002)(9320005)(120001);", "x-ms-exchange-organization-authsource": "X-MS-Exchange-Organization-AuthSource:\r\n DS2PEPF00003444.namprd04.prod.outlook.com", "x-ms-exchange-processed-by-bccfoldering": "X-MS-Exchange-Processed-By-BccFoldering: 15.20.6745.026", "x-ms-exchange-transport-endtoendlatency": "X-MS-Exchange-Transport-EndToEndLatency: 00:00:02.5250613", "x-ms-office365-filtering-correlation-id": "X-MS-Office365-Filtering-Correlation-Id: 909e28ef-742f-4b3f-cac4-08dbaedd9a06", "x-ms-exchange-crosstenant-fromentityheader": "X-MS-Exchange-CrossTenant-FromEntityHeader: Internet", "x-ms-exchange-crosstenant-network-message-id": "X-MS-Exchange-CrossTenant-Network-Message-Id: 909e28ef-742f-4b3f-cac4-08dbaedd9a06", "x-ms-exchange-crosstenant-originalarrivaltime": "X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Sep 2023 13:31:39.8042\r\n (UTC)", "x-ms-exchange-organization-expirationinterval": "X-MS-Exchange-Organization-ExpirationInterval: 1:00:00:00.0000000", "x-ms-exchange-organization-network-message-id": "X-MS-Exchange-Organization-Network-Message-Id:\r\n 909e28ef-742f-4b3f-cac4-08dbaedd9a06", "x-ms-exchange-organization-expirationstarttime": "X-MS-Exchange-Organization-ExpirationStartTime: 06 Sep 2023 13:31:39.8198\r\n (UTC)", "x-ms-exchange-organization-messagedirectionality": "X-MS-Exchange-Organization-MessageDirectionality: Incoming", "x-ms-exchange-transport-crosstenantheadersstamped": "X-MS-Exchange-Transport-CrossTenantHeadersStamped: CWLP265MB2113", "x-ms-exchange-crosstenant-rms-persistedconsumerorg": "X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg:\r\n 00000000-0000-0000-0000-000000000000", "x-ms-exchange-organization-expirationintervalreason": "X-MS-Exchange-Organization-ExpirationIntervalReason: OriginalSubmit", "x-ms-exchange-organization-expirationstarttimereason": "X-MS-Exchange-Organization-ExpirationStartTimeReason: OriginalSubmit"}, "subject": "asdasd", "messageId": "<CAN5dpcHNquvqeC1bC-+0JToUg2Kdzcm4=STS2cT64aC=5RqmoQ@mail.gmail.com>", "textAsHtml": "<p></p>"}, "binary": {}, "pairedItem": {"item": 0}}], "Analyze email with Sublime Security": [{"json": {"rule_results": [{"rule": {"id": "58544c97-5d1b-4269-8465-5325ccfc05cf", "name": "Matti + Tomi", "source": "sender.email.domain.root_domain == \"aliexpress.com\"", "severity": null}, "error": null, "matched": true, "success": true, "execution_time": 3.8433e-05, "external_errors": null}, {"rule": {"id": "75229a3d-ed82-47e0-a37b-ae1b562c08d5", "name": "Test rule", "source": "strings.ilike(subject.subject, \"*Sublime-Standard-Test-String*\")\nor regex.icontains(body.html.raw, \".*Sublime-Standard-Test-String.*\")\nor regex.icontains(body.plain.raw, \".*Sublime-Standard-Test-String.*\")", "severity": null}, "error": null, "matched": false, "success": true, "execution_time": 0.002214803, "external_errors": null}]}, "pairedItem": {"item": 0}}]}, "settings": {"executionOrder": "v1"}, "versionId": "25aa0ca5-6e3c-44ed-98f9-37f62a78ed76", "connections": {"Move Binary Data": {"main": [[{"node": "Analyze email with Sublime Security", "type": "main", "index": 0}]]}, "Format the message": {"main": [[{"node": "Slack", "type": "main", "index": 0}]]}, "Email Trigger (IMAP)": {"main": [[{"node": "IF email has attachment", "type": "main", "index": 0}]]}, "IF email has attachment": {"main": [[{"node": "Move Binary Data", "type": "main", "index": 0}], [{"node": "Notify about missing attachment", "type": "main", "index": 0}]]}, "Split to matched and unmatched": {"main": [[{"node": "Format the message", "type": "main", "index": 0}]]}, "When clicking \"Execute Workflow\"": {"main": [[{"node": "Move Binary Data", "type": "main", "index": 0}]]}, "Analyze email with Sublime Security": {"main": [[{"node": "Split to matched and unmatched", "type": "main", "index": 0}]]}}}
|
84
|
Get a pipeline in CircleCI
|
2
|
["circleCi", "manualTrigger"]
|
ai-automation-lab
|
{"id": "84", "name": "Get a pipeline in CircleCI", "nodes": [{"name": "On clicking 'execute'", "type": "n8n-nodes-base.manualTrigger", "position": [250, 300], "parameters": {}, "typeVersion": 1}, {"name": "CircleCI", "type": "n8n-nodes-base.circleCi", "position": [450, 300], "parameters": {"vcs": "", "projectSlug": ""}, "credentials": {"circleCiApi": ""}, "typeVersion": 1}], "active": false, "settings": {}, "connections": {"On clicking 'execute'": {"main": [[{"node": "CircleCI", "type": "main", "index": 0}]]}}}
|
84
|
Send daily weather updates to a phone number using the Vonage node
|
3
|
["cron", "openWeatherMap", "vonage"]
|
ai-automation-lab
|
{"id": "84", "name": "Send daily weather updates to a phone number using the Vonage node", "nodes": [{"name": "Vonage", "type": "n8n-nodes-base.vonage", "position": [770, 260], "parameters": {"to": "1234", "from": "Vonage APIs", "message": "=Hey! The temperature outside is {{$node[\"OpenWeatherMap\"].json[\"main\"][\"temp\"]}}\u00b0C.", "additionalFields": {}}, "credentials": {"vonageApi": "vonage"}, "typeVersion": 1}, {"name": "Cron", "type": "n8n-nodes-base.cron", "position": [370, 260], "parameters": {"triggerTimes": {"item": [{"hour": 9}]}}, "typeVersion": 1}, {"name": "OpenWeatherMap", "type": "n8n-nodes-base.openWeatherMap", "position": [570, 260], "parameters": {"cityName": "berlin"}, "credentials": {"openWeatherMapApi": "owm"}, "typeVersion": 1}], "active": false, "settings": {}, "connections": {"Cron": {"main": [[{"node": "OpenWeatherMap", "type": "main", "index": 0}]]}, "OpenWeatherMap": {"main": [[{"node": "Vonage", "type": "main", "index": 0}]]}}}
|
84dT8cFL0FV8ZGPx
|
Slack Webhook - Verify Signature
|
12
|
["code", "crypto", "executeWorkflowTrigger", "if", "merge", "set", "stickyNote", "stopAndError"]
|
ai-automation-lab
|
{"id": "84dT8cFL0FV8ZGPx", "meta": {"instanceId": "85d2d2ffc8886227640b031e8f18fdfe6c91f530d34ec1a8b1f13727419ae956"}, "name": "Slack Webhook - Verify Signature", "tags": [], "nodes": [{"id": "b12fe8e7-45c4-4021-826e-3ae430e34001", "name": "Make Slack Verif Token", "type": "n8n-nodes-base.code", "position": [900, 400], "parameters": {"jsCode": "function encodeFormData(data) {\n const encodedData = Object.keys(data)\n .map(key => encodeURIComponent(key) + '=' + encodeURIComponent(data[key]))\n .join('&')\n .replaceAll(\"%20\", \"+\") // Slack does not encode \"+\" signs\n .replaceAll(\"*\", \"%2A\") // Slack encodes \"*\" signs\n .replaceAll(\"~\", \"%7E\"); // Slack encodes \"~\" signs\n \n return encodedData;\n}\n\nfunction buildSigBaseString(requestJson) {\n const version = \"v0\"; // Slack Webhook version (Always v0 for the moment)\n \n const timestamp = requestJson.headers[\"x-slack-request-timestamp\"];\n \n const body = requestJson.body;\n const encodedBody = encodeFormData(body);\n \n const sigBaseString = `${version}:${timestamp}:${encodedBody}`;\n\n return sigBaseString;\n}\n\nconst requestJson = $input.first().json;\n\nconst sigBaseString = buildSigBaseString(requestJson);\n\nconst requestSignature = requestJson.headers[\"x-slack-signature\"];\n\nconsole.log({\n sigBaseString,\n requestSignature\n });\nreturn {\n json: {\n sigBaseString,\n requestSignature\n },\n pairedItem: 0\n}\n\n\n"}, "typeVersion": 2}, {"id": "a91e2d8f-e907-439c-9fd3-cb75e957b059", "name": "Encode Secret String", "type": "n8n-nodes-base.crypto", "position": [1120, 400], "parameters": {"type": "SHA256", "value": "={{ $json.sigBaseString }}", "action": "hmac", "dataPropertyName": "candidateSignature"}, "typeVersion": 1}, {"id": "d79ccfe1-61cd-4da4-bfff-1e504627bb3d", "name": "IF", "type": "n8n-nodes-base.if", "position": [1360, 400], "parameters": {"conditions": {"string": [{"value1": "={{ $json.requestSignature }}", "value2": "=v0={{ $json.candidateSignature }}"}]}}, "typeVersion": 1}, {"id": "cb2b9908-c226-438b-adb2-7c1ec852e007", "name": "Stop and Error", "type": "n8n-nodes-base.stopAndError", "position": [1580, 580], "parameters": {"errorMessage": "Could not verify Slack Webhook signature"}, "typeVersion": 1}, {"id": "5ef4c06a-717b-4f90-83a7-06eda780a892", "name": "Execute Workflow Trigger", "type": "n8n-nodes-base.executeWorkflowTrigger", "position": [680, 400], "parameters": {}, "typeVersion": 1}, {"id": "86b022fb-63fd-4ccf-952e-19ed0da54a5c", "name": "Sticky Note", "type": "n8n-nodes-base.stickyNote", "position": [880, -420], "parameters": {"color": 4, "width": 554.4117841902089, "height": 278.2403290971726, "content": "## Slack Webhook - Verify Signature \nWhen receiving a message from a Slack Webhook, it is much more secure to verify that the message comes from Slack and not from bots or unknown services.\n\nThis small template is designed to validate the received signature (See [this URL](https://api.slack.com/authentication/verifying-requests-from-slack)).\n\n### Colors\n- **Blue** areas are **areas to edit**\n- **Yellow** areas are **explanations**"}, "typeVersion": 1}, {"id": "f5af4f44-1ea5-419b-a58b-f8f6839b6b05", "name": "Set Verified to True", "type": "n8n-nodes-base.set", "position": [1580, 220], "parameters": {"fields": {"values": [{"name": "signature_verified", "type": "booleanValue"}]}, "include": "none", "options": {}}, "typeVersion": 3.2}, {"id": "8a76dec8-7a2d-4cc9-82c9-002141e205ec", "name": "Merge", "type": "n8n-nodes-base.merge", "position": [1920, 40], "parameters": {"mode": "combine", "options": {}, "combinationMode": "mergeByPosition"}, "typeVersion": 2.1}, {"id": "0c8506bc-b114-4d25-8586-80549ae0026d", "name": "Sticky Note1", "type": "n8n-nodes-base.stickyNote", "position": [1000, 40], "parameters": {"color": 6, "width": 359.58396920054975, "height": 548.3119898759418, "content": "## TO EDIT \nSet your Slack Signing Secret.\nYou can obtain it by visiting your Slack App dashboard in the general tab: https://api.slack.com/apps/[SLACK_APP_ID]/general\n"}, "typeVersion": 1}, {"id": "20cca69c-9d00-4471-8845-2cb91458c23e", "name": "Sticky Note2", "type": "n8n-nodes-base.stickyNote", "position": [1560, 399], "parameters": {"width": 300.4638046519632, "height": 360.20237540316725, "content": "## Error Output\nIf the signature cannot be verified, an error will be raised. You can manage this scenario in your main workflow by either using an Error Workflow or by modifying your node settings and selecting appropriate actions in the event of an error.\n"}, "typeVersion": 1}, {"id": "55ede23b-acb4-43ea-ac32-c678dd48e056", "name": "Sticky Note3", "type": "n8n-nodes-base.stickyNote", "position": [1880, -220], "parameters": {"width": 300.4638046519632, "height": 427.3843805720155, "content": "## Success Output\nIf the signature is successfully verified, we return a key `verified_signature` set to `true` along with the data from the Slack request itself.\n"}, "typeVersion": 1}, {"id": "22d44888-5af4-43b9-b514-ebfc9c61b07c", "name": "Sticky Note4", "type": "n8n-nodes-base.stickyNote", "position": [560, 160], "parameters": {"width": 300.4638046519632, "height": 427.3843805720155, "content": "## Input\nThe input should be the received Slack request. Place this workflow directly after the Slack Webhook.\n"}, "typeVersion": 1}], "active": false, "pinData": {}, "settings": {"executionOrder": "v1"}, "versionId": "f9e78d89-0da8-465e-aa47-5396d9ac4d48", "connections": {"IF": {"main": [[{"node": "Set Verified to True", "type": "main", "index": 0}], [{"node": "Stop and Error", "type": "main", "index": 0}]]}, "Encode Secret String": {"main": [[{"node": "IF", "type": "main", "index": 0}]]}, "Set Verified to True": {"main": [[{"node": "Merge", "type": "main", "index": 1}]]}, "Make Slack Verif Token": {"main": [[{"node": "Encode Secret String", "type": "main", "index": 0}]]}, "Execute Workflow Trigger": {"main": [[{"node": "Make Slack Verif Token", "type": "main", "index": 0}, {"node": "Merge", "type": "main", "index": 0}]]}}}
|
85
|
New WooCommerce Product to Twitter and Telegram
|
3
|
["telegram", "twitter", "wooCommerceTrigger"]
|
ai-automation-lab
|
{"id": 85, "name": "New WooCommerce Product to Twitter and Telegram", "nodes": [{"name": "Twitter", "type": "n8n-nodes-base.twitter", "position": [720, 300], "parameters": {"text": "=\u2728 New Product Announcement \u2728\nWe have just added {{$json[\"name\"]}}, Head to {{$json[\"permalink\"]}} to find out more.", "additionalFields": {}}, "credentials": {"twitterOAuth1Api": {"id": "37", "name": "joffcom"}}, "typeVersion": 1}, {"name": "Telegram", "type": "n8n-nodes-base.telegram", "position": [720, 500], "parameters": {"text": "=\u2728 New Product Announcement \u2728\nWe have just added {{$json[\"name\"]}}, Head to {{$json[\"permalink\"]}} to find out more.", "chatId": "123456", "additionalFields": {}}, "credentials": {"telegramApi": {"id": "56", "name": "Telegram account"}}, "typeVersion": 1}, {"name": "WooCommerce Trigger", "type": "n8n-nodes-base.wooCommerceTrigger", "position": [540, 400], "webhookId": "ab7b134b-9b2d-4e0d-b496-1aee30db0808", "parameters": {"event": "product.created"}, "credentials": {"wooCommerceApi": {"id": "48", "name": "WooCommerce account"}}, "typeVersion": 1}], "active": false, "settings": {}, "connections": {"WooCommerce Trigger": {"main": [[{"node": "Twitter", "type": "main", "index": 0}, {"node": "Telegram", "type": "main", "index": 0}]]}}}
|
85
|
Sending an SMS with MessageBird
|
2
|
["manualTrigger", "messageBird"]
|
ai-automation-lab
|
{"id": "85", "name": "Sending an SMS with MessageBird", "nodes": [{"name": "On clicking 'execute'", "type": "n8n-nodes-base.manualTrigger", "position": [250, 300], "parameters": {}, "typeVersion": 1}, {"name": "MessageBird", "type": "n8n-nodes-base.messageBird", "position": [450, 300], "parameters": {"message": "", "originator": "", "recipients": "", "additionalFields": {}}, "credentials": {"messageBirdApi": ""}, "typeVersion": 1}], "active": false, "settings": {}, "connections": {"On clicking 'execute'": {"main": [[{"node": "MessageBird", "type": "main", "index": 0}]]}}}
|
1167_Mattermost_GoogleSheets_Create_Scheduled
|
1167_Mattermost_GoogleSheets_Create_Scheduled
|
4
|
["function", "googleSheets", "interval", "mattermost"]
|
ai-automation-lab
|
{"nodes": [{"name": "Send message", "type": "n8n-nodes-base.mattermost", "position": [910, 260], "parameters": {"message": "=New information was added to your Google Sheet.\nID: {{$json[\"id\"]}}\nName: {{$json[\"name\"]}}\nEmail: {{$json[\"email\"]}}", "attachments": [], "otherOptions": {}}, "credentials": {"mattermostApi": "Mattermost Credentials"}, "typeVersion": 1}, {"name": "Check if new data", "type": "n8n-nodes-base.function", "position": [710, 260], "parameters": {"functionCode": "const new_items = [];\n// Get static data stored with the workflow\n\nconst data = this.getWorkflowStaticData(\"node\");\ndata.ids = data.ids || [];\nfor (let i = items.length - 1; i >= 0; i--) {\n\n// Check if data is already present\n if (data.ids.includes(items[i].json.ID)) {\n break;\n } else {\n\n// if new data then add it to an array\n new_items.push({\n json: {\n id: items[i].json.ID,\n name: items[i].json.Name,\n email: items[i].json.Email\n },\n });\n }\n}\ndata.ids = items.map((item) => item.json.ID);\n\n// return new items\nreturn new_items;\n"}, "typeVersion": 1}, {"name": "Read data", "type": "n8n-nodes-base.googleSheets", "position": [510, 260], "parameters": {"options": {}, "sheetId": "1PyC-U1lXSCbxVmHuwFbkKDF9e3PW_iUn8T-iAd_MYjQ", "authentication": "oAuth2"}, "credentials": {"googleSheetsOAuth2Api": "google-sheets"}, "typeVersion": 1}, {"name": "Execute every 45 mins", "type": "n8n-nodes-base.interval", "position": [310, 260], "parameters": {"unit": "minutes"}, "typeVersion": 1}], "connections": {"Read data": {"main": [[{"node": "Check if new data", "type": "main", "index": 0}]]}, "Check if new data": {"main": [[{"node": "Send message", "type": "main", "index": 0}]]}, "Execute every 45 mins": {"main": [[{"node": "Read data", "type": "main", "index": 0}]]}}}
|
86
|
Check for valid Mautic contact email
|
6
|
["if", "itemLists", "mauticTrigger", "oneSimpleApi", "slack"]
|
ai-automation-lab
|
{"id": 86, "name": "Check for valid Mautic contact email", "nodes": [{"name": "If is not new contact", "type": "n8n-nodes-base.if", "position": [780, 460], "parameters": {"conditions": {"string": [{"value1": "={{$json[\"mautic.lead_post_save_new\"]}}", "operation": "isEmpty"}]}}, "typeVersion": 1}, {"name": "On Contact Identified", "type": "n8n-nodes-base.mauticTrigger", "position": [600, 460], "webhookId": "a3ee0f93-2870-44e2-bb2f-0175433263b3", "parameters": {"events": ["mautic.lead_post_save_new"], "authentication": "oAuth2"}, "credentials": {"mauticOAuth2Api": {"id": "54", "name": "Mautic account"}}, "typeVersion": 1}, {"name": "extract information", "type": "n8n-nodes-base.itemLists", "position": [980, 480], "parameters": {"options": {}, "fieldToSplitOut": "mautic.lead_post_save_new"}, "typeVersion": 1}, {"name": "validate email", "type": "n8n-nodes-base.oneSimpleApi", "position": [1180, 480], "parameters": {"resource": "utility", "emailAddress": "={{$json[\"lead\"][\"fields\"][\"core\"][\"email\"][\"value\"]}}"}, "credentials": {"oneSimpleApi": {"id": "33", "name": "One Simple account"}}, "typeVersion": 1}, {"name": "If the email is suspicious", "type": "n8n-nodes-base.if", "notes": "IF\ndeliverability is not good\nOR\nDomain is not valid\nOR\nEmail is Disposable", "position": [1360, 480], "parameters": {"conditions": {"string": [{"value1": "={{$json[\"deliverability\"]}}", "value2": "GOOD", "operation": "notEqual"}], "boolean": [{"value1": "={{$json[\"is_domain_valid\"]}}"}, {"value1": "={{$json[\"is_email_disposable\"]}}", "value2": true}]}, "combineOperation": "any"}, "typeVersion": 1}, {"name": "Send to Slack", "type": "n8n-nodes-base.slack", "position": [1560, 460], "parameters": {"text": "=:warning: New Contact with Suspicious Email :warning:\n*Name: * {{$node[\"extract information\"].json[\"contact\"][\"fields\"][\"core\"][\"firstname\"][\"normalizedValue\"]}} {{$node[\"extract information\"].json[\"contact\"][\"fields\"][\"core\"][\"lastname\"][\"normalizedValue\"]}}\n*Email: * {{$node[\"extract information\"].json[\"contact\"][\"fields\"][\"core\"][\"email\"][\"normalizedValue\"]}}\n*Link: * https://mautic.my.domain.com/s/contacts/view/{{$node[\"extract information\"].json[\"contact\"][\"id\"]}}\n*Creator: * {{$node[\"extract information\"].json[\"contact\"][\"createdByUser\"]}}", "channel": "#mautic-alerts", "attachments": [], "otherOptions": {}}, "credentials": {"slackApi": {"id": "53", "name": "Slack Access Token"}}, "typeVersion": 1}], "active": false, "settings": {}, "connections": {"validate email": {"main": [[{"node": "If the email is suspicious", "type": "main", "index": 0}]]}, "extract information": {"main": [[{"node": "validate email", "type": "main", "index": 0}]]}, "If is not new contact": {"main": [[], [{"node": "extract information", "type": "main", "index": 0}]]}, "On Contact Identified": {"main": [[{"node": "If is not new contact", "type": "main", "index": 0}]]}, "If the email is suspicious": {"main": [[{"node": "Send to Slack", "type": "main", "index": 0}]]}}}
|
87FUCRVFV07sNlbM
|
Workflow Importer
|
58
|
["code", "executeCommand", "extractFromFile", "filter", "form", "formTrigger", "httpRequest", "if", "merge", "n8n", "noOp", "readWriteFile", "removeDuplicates", "renameKeys", "set", "sort", "splitOut", "stickyNote"]
|
ai-automation-lab
|
{"id": "87FUCRVFV07sNlbM", "meta": {"instanceId": "505c2bdb4483cbbca32871c0acd4b60c83809f177e47e2864f71c1c1760a9b2a", "templateCredsSetupCompleted": true}, "name": "Workflow Importer", "tags": [], "nodes": [{"id": "eb3d4912-09c3-4c17-8e2b-94dd15e145f4", "name": "Extract from File", "type": "n8n-nodes-base.extractFromFile", "position": [2960, 440], "parameters": {"options": {}, "operation": "fromJson", "destinationKey": "workflowData", "binaryPropertyName": "Workflow_File"}, "typeVersion": 1}, {"id": "56b7a01f-47a0-4884-9200-5f5f695ab355", "name": "Export Credentials", "type": "n8n-nodes-base.executeCommand", "position": [3180, 620], "parameters": {"command": "n8n export:credentials --all --pretty --decrypted --output=/tmp/cred"}, "typeVersion": 1}, {"id": "85de1146-4d61-45bf-b225-956d3d16e84b", "name": "Get Credentials Data", "type": "n8n-nodes-base.readWriteFile", "position": [3400, 620], "parameters": {"options": {}, "fileSelector": "/tmp/cred"}, "typeVersion": 1}, {"id": "187f1f50-472f-41ac-96e8-9c2f17fa3c00", "name": "Binary to JSON", "type": "n8n-nodes-base.extractFromFile", "position": [3620, 620], "parameters": {"options": {}, "operation": "fromJson"}, "typeVersion": 1}, {"id": "85d79317-786a-49eb-ade4-f9d0949c5bf4", "name": "Merge", "type": "n8n-nodes-base.merge", "position": [4060, 500], "parameters": {"mode": "combine", "options": {"includeUnpaired": true}, "combineBy": "combineByPosition"}, "typeVersion": 3}, {"id": "6976901c-a052-47fa-a754-217fd5d0f58e", "name": "Collect Credentials to Replace", "type": "n8n-nodes-base.merge", "position": [3040, 1120], "parameters": {}, "typeVersion": 3}, {"id": "c5b7ab56-c833-4405-913a-1a484094a6ff", "name": "Settings", "type": "n8n-nodes-base.set", "position": [980, 620], "parameters": {"options": {}, "assignments": {"assignments": [{"id": "8a5d50fc-95dc-40b3-a3f2-293521bab29a", "name": "remoteInstances", "type": "array", "value": "="}]}}, "typeVersion": 3.4}, {"id": "a9287c9a-ddf4-4023-b997-bb7b12e2d0ee", "name": "Prepare Request Data", "type": "n8n-nodes-base.code", "position": [1640, 620], "parameters": {"jsCode": "output = {};\n\nfor (const instance of $('Settings').first().json.remoteInstances) {\n if (instance.name == $('Choose Instance').first().json.Source) {\n output.instance = instance;\n }\n}\n\nreturn output;"}, "typeVersion": 2}, {"id": "85ccc4bf-a465-49bf-ac17-9933f1b9d46d", "name": "Get Workflows", "type": "n8n-nodes-base.httpRequest", "onError": "continueErrorOutput", "position": [1860, 620], "parameters": {"url": "={{ $json.instance.baseUrl }}/workflows", "options": {}, "sendBody": true, "sendHeaders": true, "bodyParameters": {"parameters": [{"name": "limit", "value": "250"}]}, "headerParameters": {"parameters": [{"name": "X-N8N-API-KEY", "value": "={{ $json.instance.apiKey }}"}]}}, "typeVersion": 4.2}, {"id": "2d86c12d-f308-4cdc-96a4-ab4cbecd39ad", "name": "No Operation", "type": "n8n-nodes-base.noOp", "position": [3180, 440], "parameters": {}, "typeVersion": 1}, {"id": "8ef0f34d-2468-450e-8a3c-e3d9ad9e371b", "name": "Determine Workflow Source", "type": "n8n-nodes-base.if", "position": [760, 500], "parameters": {"options": {}, "conditions": {"options": {"version": 2, "leftValue": "", "caseSensitive": true, "typeValidation": "strict"}, "combinator": "and", "conditions": [{"id": "f1d93a30-01c9-4141-85b2-8ceb762b9e86", "operator": {"name": "filter.operator.equals", "type": "string", "operation": "equals"}, "leftValue": "={{ $json.Source }}", "rightValue": "File Upload"}]}}, "typeVersion": 2.2}, {"id": "3ff270a7-5837-40b5-85b4-da3b28ae6147", "name": "Sticky Note6", "type": "n8n-nodes-base.stickyNote", "position": [920, 520], "parameters": {"width": 216.47293010628914, "height": 255.86856541619233, "content": "## Setup instances\nEach instnce requires a name, apiKey and baseURL"}, "typeVersion": 1}, {"id": "4d0d4684-5ffc-4e12-8d05-55245339fd96", "name": "Sticky Note2", "type": "n8n-nodes-base.stickyNote", "position": [380, 680], "parameters": {"color": 5, "width": 535.6419634856759, "height": 223.19907940161124, "content": "## Instances config example\n```\n[\n {\n \"name\": \"n8n-test\",\n \"apiKey\": \"XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX\",\n \"baseUrl\": \"https://n8n-test.example.com/api/v1\"\n },\n {\n ...\n }\n]\n```"}, "typeVersion": 1}, {"id": "e76e291e-511b-4612-836f-ae6f7af1d3de", "name": "Sticky Note7", "type": "n8n-nodes-base.stickyNote", "position": [480, 400], "parameters": {"color": 7, "width": 216.47293010628914, "height": 255.86856541619233, "content": "A form which collects the source option.\n*Consider securing the form using Basic Auth.*"}, "typeVersion": 1}, {"id": "38ecbde8-9081-4509-9fa3-c5b2d568ebad", "name": "Sticky Note8", "type": "n8n-nodes-base.stickyNote", "position": [700, 400], "parameters": {"color": 7, "width": 216.47293010628914, "height": 255.86856541619233, "content": "Switch between the available options"}, "typeVersion": 1}, {"id": "efa893aa-fce5-45ff-a234-6e73235a33ea", "name": "Error1", "type": "n8n-nodes-base.form", "position": [3700, 1220], "webhookId": "5c7933f0-f09a-4bc6-9e68-cf73e8fb5813", "parameters": {"options": {}, "operation": "completion", "completionTitle": "\u26a0\ufe0f Import failed", "completionMessage": "=Please check the workflow settings"}, "typeVersion": 1}, {"id": "e5edd30e-6396-407a-bd3b-a5e0f66c7e3a", "name": "Error", "type": "n8n-nodes-base.form", "position": [2080, 700], "webhookId": "5c7933f0-f09a-4bc6-9e68-cf73e8fb5813", "parameters": {"options": {}, "operation": "completion", "completionTitle": "\u26a0\ufe0f Failed retrieving workflows", "completionMessage": "=Please check the workflow settings"}, "typeVersion": 1}, {"id": "c410045e-4adf-4304-910a-7cd5868892d3", "name": "Split Out Workflows", "type": "n8n-nodes-base.splitOut", "position": [2080, 540], "parameters": {"options": {}, "fieldToSplitOut": "data"}, "typeVersion": 1}, {"id": "5fafa399-0c6b-4db0-9b01-319a02368eee", "name": "Get Workflow Names", "type": "n8n-nodes-base.code", "position": [2520, 540], "parameters": {"jsCode": "dropDownValues = [];\n\nfor (const workflow of $input.all()) {\n dropDownValues.push({\"option\": workflow.json.name});\n}\n\nreturn { \"options\": JSON.stringify(dropDownValues) };"}, "typeVersion": 2}, {"id": "b7408a47-97ff-45da-b8e7-bb2380f61155", "name": "Sort by updatedAt DESC", "type": "n8n-nodes-base.sort", "position": [2300, 540], "parameters": {"options": {}, "sortFieldsUi": {"sortField": [{"order": "descending", "fieldName": "updatedAt"}]}}, "typeVersion": 1}, {"id": "74741a71-79b8-4479-9dac-826db7984620", "name": "No Operation1", "type": "n8n-nodes-base.noOp", "position": [4280, 680], "parameters": {}, "typeVersion": 1}, {"id": "89657c6f-a703-4145-b690-7234583bbe7a", "name": "Sticky Note9", "type": "n8n-nodes-base.stickyNote", "position": [1500, 1240], "parameters": {"color": 7, "width": 216.47293010628914, "height": 294.9905826938254, "content": "## Map Credentials\nBeing mapped by name since one workflow can have multiple credentials of the same type."}, "typeVersion": 1}, {"id": "a2d21bb5-5118-4ea2-920b-1c05570da610", "name": "Rename Keys", "type": "n8n-nodes-base.renameKeys", "position": [3840, 620], "parameters": {"keys": {"key": [{"newKey": "allCredentials", "currentKey": "data"}]}, "additionalOptions": {}}, "typeVersion": 1}, {"id": "d756edc6-cf0d-4a35-b29c-99e5ec41c4db", "name": "Create Workflow", "type": "n8n-nodes-base.n8n", "onError": "continueErrorOutput", "position": [3480, 1120], "parameters": {"operation": "create", "requestOptions": {}, "workflowObject": "={{ $json.toJsonString() }}"}, "credentials": {"n8nApi": {"id": "taiQiy4KxXUI20Af", "name": "n8n account"}}, "typeVersion": 1}, {"id": "4d75a5b1-5227-41a4-87cc-67a5a8074f37", "name": "Upload File", "type": "n8n-nodes-base.form", "position": [1420, 440], "webhookId": "b9850dfc-ecf9-45c8-ae68-39327c6a0143", "parameters": {"options": {"formTitle": "Upload File", "formDescription": "Choose an n8n workflow file"}, "formFields": {"values": [{"fieldType": "file", "fieldLabel": "Workflow File", "requiredField": true, "acceptFileTypes": ".json"}]}}, "typeVersion": 1}, {"id": "5e5e3ece-00b3-4790-89e0-35d3c8d03b7d", "name": "Choose Workflow", "type": "n8n-nodes-base.form", "position": [2740, 540], "webhookId": "100af69b-5203-48d3-8e90-1e846d0752d4", "parameters": {"options": {"formTitle": "Choose Workflow", "formDescription": "Choose the remote workflow which should be imported"}, "defineForm": "json", "jsonOutput": "=[\n {\n \"fieldLabel\": \"Workflow\",\n \"fieldType\": \"dropdown\",\n \"requiredField\": true,\n \"fieldOptions\": {\n \"values\": {{ $json.options }}\n }\n }\n]"}, "typeVersion": 1}, {"id": "7fcc236c-dd97-4a1e-bf3d-d85aba520938", "name": "Success", "type": "n8n-nodes-base.form", "position": [3700, 1020], "webhookId": "5c7933f0-f09a-4bc6-9e68-cf73e8fb5813", "parameters": {"options": {}, "operation": "completion", "completionTitle": "\u2705 Import completed", "completionMessage": "=The workflow has been created successfully. {{ $if($('Get Missing Credentials').all().length > 0, \"Please head over to your credentials and update all new entries with a trailing \u26a0\ufe0f symbol.\", \"\") }} "}, "typeVersion": 1}, {"id": "27736a52-af15-47f8-8186-d486b2968256", "name": "Choose Instance", "type": "n8n-nodes-base.form", "position": [1420, 620], "webhookId": "2a40fe8d-7b6b-4695-845c-2d278f5bf93e", "parameters": {"options": {"formTitle": "Select Source Instance", "formDescription": "Choose the n8n instance where to retrieve workflows from"}, "defineForm": "json", "jsonOutput": "=[\n {\n \"fieldLabel\": \"Source\",\n \"fieldType\": \"dropdown\",\n \"requiredField\": true,\n \"fieldOptions\": {\n \"values\": {{ $json.options }}\n }\n }\n]"}, "typeVersion": 1}, {"id": "9b83c34d-0b0b-47bc-b4a7-27eed0e796fb", "name": "On form submission", "type": "n8n-nodes-base.formTrigger", "position": [540, 500], "webhookId": "2c9b2fa1-3235-4b73-a6e0-73392dcb9ed0", "parameters": {"options": {"buttonLabel": "Continue", "appendAttribution": false}, "formTitle": "Workflow Import", "formFields": {"values": [{"fieldType": "dropdown", "fieldLabel": "Source", "fieldOptions": {"values": [{"option": "File Upload"}, {"option": "Remote Instance"}]}, "requiredField": true}]}, "formDescription": "This tool allows importing an n8n workflow from a file or another n8n instance\n\nKeep in mind that your destination n8n instance (this environment) should always run on an equal or newer version then compared to the source."}, "typeVersion": 2.2}, {"id": "f6d45cd9-a091-4c8b-8ef0-6815a1adb0f1", "name": "Generate Instance Options", "type": "n8n-nodes-base.code", "position": [1200, 620], "parameters": {"jsCode": "dropDownValues = [];\n\nfor (const instance of $input.first().json.remoteInstances) {\n dropDownValues.push({\"option\": instance.name});\n}\n\nreturn { \"options\": JSON.stringify(dropDownValues) };"}, "typeVersion": 2}, {"id": "73717c97-4579-4e49-ac33-4aada3bcaf55", "name": "Sticky Note10", "type": "n8n-nodes-base.stickyNote", "position": [1140, 520], "parameters": {"color": 7, "width": 216.47293010628914, "height": 255.86856541619233, "content": "Prepare a list of options for the next form"}, "typeVersion": 1}, {"id": "0537d195-3885-4903-8a41-56915f7b64de", "name": "Sticky Note11", "type": "n8n-nodes-base.stickyNote", "position": [1360, 360], "parameters": {"color": 7, "width": 216.47293010628914, "height": 416.4415465717213, "content": "Request more input from the user"}, "typeVersion": 1}, {"id": "43ee5820-e236-49f9-b89b-e4c5d4dd4188", "name": "Sticky Note", "type": "n8n-nodes-base.stickyNote", "position": [1580, 520], "parameters": {"color": 7, "width": 435.59135570107514, "height": 255.86856541619233, "content": "Map Settings to selected instance and retrieve all workflows from it"}, "typeVersion": 1}, {"id": "53a42c23-af05-4e21-a936-14d2419b4530", "name": "Sticky Note12", "type": "n8n-nodes-base.stickyNote", "position": [2020, 440], "parameters": {"color": 7, "width": 656.1389569291234, "height": 255.86856541619233, "content": "Prepare a list of options for the next form"}, "typeVersion": 1}, {"id": "fd103846-04a6-4fb0-aba4-6230a85a7555", "name": "Sticky Note13", "type": "n8n-nodes-base.stickyNote", "position": [2680, 440], "parameters": {"color": 7, "width": 216.47293010628914, "height": 255.86856541619233, "content": "Let the user choose a workflow from a list"}, "typeVersion": 1}, {"id": "e58bdf1e-fcda-4b68-9798-24de0c7c6bd9", "name": "Sticky Note14", "type": "n8n-nodes-base.stickyNote", "position": [3120, 560], "parameters": {"color": 7, "width": 875.9451799951569, "height": 216.1478580797073, "content": "Retrieve all credentials from this instance and convert the data to the final JSON format"}, "typeVersion": 1}, {"id": "08855416-ca33-4344-b96b-4564d9841dfd", "name": "Get Selected Workflow", "type": "n8n-nodes-base.code", "position": [2960, 620], "parameters": {"jsCode": "for (const workflow of $('Get Workflows').first().json.data) {\n if (workflow.name == $input.first().json.Workflow) {\n \n return { \"workflowData\": workflow };\n }\n}\n\nreturn false;"}, "typeVersion": 2}, {"id": "9a09a6b5-2b8d-461e-b63f-91100c3e7974", "name": "Sticky Note15", "type": "n8n-nodes-base.stickyNote", "position": [2900, 360], "parameters": {"color": 7, "width": 216.47293010628914, "height": 416.4415465717213, "content": "Convert the retrieved workflow into the final JSON format"}, "typeVersion": 1}, {"id": "269c32c3-224b-42df-bd27-7718374cb343", "name": "Sticky Note16", "type": "n8n-nodes-base.stickyNote", "position": [4000, 420], "parameters": {"color": 7, "width": 216.47293010628914, "height": 255.86856541619233, "content": "Combine the workflow and credential data to one item"}, "typeVersion": 1}, {"id": "c9bbc713-3ac7-42d7-85c3-0c8aa22201d4", "name": "Split Out Nodes", "type": "n8n-nodes-base.splitOut", "position": [1060, 1020], "parameters": {"options": {}, "fieldToSplitOut": "workflowData.nodes"}, "typeVersion": 1}, {"id": "e4c37af5-64de-4d40-9ff1-3a622ea40b86", "name": "Filter Out Nodes Having Credentials", "type": "n8n-nodes-base.filter", "position": [1280, 1020], "parameters": {"options": {}, "conditions": {"options": {"version": 2, "leftValue": "", "caseSensitive": true, "typeValidation": "strict"}, "combinator": "and", "conditions": [{"id": "b14ec02c-c52c-4907-8f55-ebb168a8b10e", "operator": {"type": "object", "operation": "exists", "singleValue": true}, "leftValue": "={{ $json.credentials }}", "rightValue": ""}]}}, "typeVersion": 2.2}, {"id": "bdb20dfd-1b47-4b50-a938-19f7790d180b", "name": "Extract Credentials", "type": "n8n-nodes-base.set", "position": [1500, 1020], "parameters": {"options": {}, "assignments": {"assignments": [{"id": "b37508a3-188e-4e6e-b251-b6a34ac193be", "name": "type", "type": "string", "value": "={{ $json.credentials.keys()[0] }}"}, {"id": "fc308784-91ec-4b6b-8bca-2c01472574a7", "name": "name", "type": "string", "value": "={{ $json.credentials[$json.credentials.keys()[0]].name }}"}, {"id": "a3142dc0-021d-4191-815b-d5cf6d9fe6a8", "name": "id", "type": "string", "value": "={{ $json.credentials[$json.credentials.keys()[0]].id }}"}]}}, "typeVersion": 3.4}, {"id": "554e0ee3-e722-4dcf-b82b-ea1ea59a037e", "name": "Remove Duplicate Credentials by Name", "type": "n8n-nodes-base.removeDuplicates", "position": [1720, 1020], "parameters": {"compare": "selectedFields", "options": {}, "fieldsToCompare": "name"}, "typeVersion": 2}, {"id": "0da2c486-ea7a-465b-b3cd-88e09e63c06b", "name": "Map Credentials", "type": "n8n-nodes-base.form", "position": [2160, 1020], "webhookId": "5aca5fbe-cbff-4824-8586-cd59967dd154", "parameters": {"options": {"formTitle": "Map Credentials", "buttonLabel": "Import Workflow", "formDescription": "Each option is labeled with the name of the original credential. Select the according credential for each item.\n\nYou can also choose to create a new credential. It will then create an empty credential, using the name of the original one, which you can configure afterwards."}, "defineForm": "json", "jsonOutput": "={{ $json.options }}"}, "typeVersion": 1}, {"id": "8b92114e-6aa6-4404-a7f1-6224a45acdae", "name": "Get Selected Credentials", "type": "n8n-nodes-base.code", "position": [2380, 1220], "parameters": {"jsCode": "function capitalizeFirstLetter(val) {\n return String(val).charAt(0).toUpperCase() + String(val).slice(1);\n}\n\nlet missingCredentials = [];\nfor (const credential of $('Remove Duplicate Credentials by Name').all()) {\n let type = credential.json.type;\n let oldName = credential.json.name;\n let name = $('Map Credentials').first().json[credential.json.name];\n if (name != \"[create new]\") {\n for (const credentialData of $('Merge').first().json.allCredentials) {\n if (credentialData.name == name) {\n id = credentialData.id;\n continue;\n }\n }\n missingCredentials.push({\n \"oldName\": oldName,\n \"name\": name,\n \"type\": type,\n \"id\": id\n });\n }\n}\n\nreturn missingCredentials;"}, "typeVersion": 2}, {"id": "bafcb91c-f441-40de-a1fd-7435206d991e", "name": "Add Old Names", "type": "n8n-nodes-base.set", "position": [2820, 1020], "parameters": {"options": {}, "assignments": {"assignments": [{"id": "19847be5-420a-4dd7-8a45-fed1a1cbc0b8", "name": "oldName", "type": "string", "value": "={{ $json.name.replace(\" \u26a0\ufe0f\", \"\") }}"}]}, "includeOtherFields": true}, "typeVersion": 3.4}, {"id": "8da7f198-5e85-4d88-907e-1e35a55bdb96", "name": "Replace Credentials in Workflow", "type": "n8n-nodes-base.code", "position": [3260, 1120], "parameters": {"jsCode": "// Loop over input items and add a new field called 'myNewField' to the JSON of each one\nlet workflowData = $('Merge').first().json.workflowData;\nfor (const credential of $input.all()) { \n for (const nodes of workflowData.nodes) {\n if (nodes.credentials \n && nodes.credentials[credential.json.type] !== undefined \n && nodes.credentials[credential.json.type].name == credential.json.oldName) {\n nodes.credentials[credential.json.type].id = credential.json.id;\n nodes.credentials[credential.json.type].name = credential.json.name;\n }\n }\n}\n\nreturn workflowData;\n\n"}, "typeVersion": 2}, {"id": "f370d4fb-229e-4604-a1b1-c7c0cab8a32d", "name": "Sticky Note17", "type": "n8n-nodes-base.stickyNote", "position": [1000, 920], "parameters": {"color": 7, "width": 875.6296366281999, "height": 257.0479807900252, "content": "Extract a list of all credentials from the workflow. The reference will be the old/existing name of the credential, since one workflow can contain multiple credentials of the same type."}, "typeVersion": 1}, {"id": "31c0d4b7-4682-4db1-a453-0f1d69c58665", "name": "Sticky Note18", "type": "n8n-nodes-base.stickyNote", "position": [2100, 920], "parameters": {"color": 7, "width": 216.47293010628914, "height": 255.86856541619233, "content": "Let the user map every credential or create new ones"}, "typeVersion": 1}, {"id": "d3c5edb1-74dc-4168-a987-84cdd54714cd", "name": "Generate Credential Options", "type": "n8n-nodes-base.code", "position": [1940, 1020], "parameters": {"jsCode": "function capitalizeFirstLetter(val) {\n return String(val).charAt(0).toUpperCase() + String(val).slice(1);\n}\n\nformOptions = [];\nfor (const item of $input.all()) {\n dropDownValues = [];\n for (const credential of $('Merge').first().json.allCredentials) {\n if (credential.type == item.json.type) {\n dropDownValues.push({\"option\": credential.name});\n }\n }\n dropDownValues.push({\"option\": \"[create new]\"});\n formOptions.push({\n \"fieldLabel\": item.json.name,\n \"fieldType\": \"dropdown\",\n \"requiredField\": true,\n \"fieldOptions\": {\n \"values\": dropDownValues\n }\n });\n}\n\nreturn { \"options\": JSON.stringify(formOptions) };"}, "typeVersion": 2}, {"id": "255ff6ab-d360-49dd-b63f-9f0d99278ae4", "name": "Sticky Note19", "type": "n8n-nodes-base.stickyNote", "position": [1880, 920], "parameters": {"color": 7, "width": 216.47293010628914, "height": 255.86856541619233, "content": "Prepare a list of options for the next form"}, "typeVersion": 1}, {"id": "ae074b5a-d76a-4529-ba59-0d201dbd4e9e", "name": "Sticky Note20", "type": "n8n-nodes-base.stickyNote", "position": [2320, 920], "parameters": {"color": 7, "width": 216.47293010628914, "height": 456.12289999575364, "content": "Split mapped credentials into two streams, depending on wether they exist or not"}, "typeVersion": 1}, {"id": "1b6d26af-9d6b-4865-bd81-8a5de49bc741", "name": "Sticky Note21", "type": "n8n-nodes-base.stickyNote", "position": [2540, 919.7999999999997], "parameters": {"color": 7, "width": 435.95830414662703, "height": 276.068565416192, "content": "Create empty credentials if the option \"[create credential]\" was selected. and add the name of the originally assigned credential for future reference"}, "typeVersion": 1}, {"id": "5ba8987a-7558-4fb8-94ef-ac2b81df5536", "name": "Create Empty Credentials", "type": "n8n-nodes-base.n8n", "position": [2600, 1020], "parameters": {"data": "={{ $json.data.toJsonString() }}", "name": "={{ $json.name }}", "resource": "credential", "requestOptions": {}, "credentialTypeName": "={{ $json.type }}"}, "credentials": {"n8nApi": {"id": "taiQiy4KxXUI20Af", "name": "n8n account"}}, "typeVersion": 1}, {"id": "7efa8f88-f5a0-47c8-8d12-2cb8c9b0e0c7", "name": "Get Missing Credentials", "type": "n8n-nodes-base.code", "position": [2380, 1020], "parameters": {"jsCode": "function capitalizeFirstLetter(val) {\n return String(val).charAt(0).toUpperCase() + String(val).slice(1);\n}\n\nlet missingCredentials = [];\nfor (const credential of $('Remove Duplicate Credentials by Name').all()) {\n let type = credential.json.type;\n let name = $('Map Credentials').first().json[credential.json.name];\n if (name == \"[create new]\") {\n data = {};\n if (type.includes(\"OAuth\")) {\n data = { \"clientId\": \"\", \"clientSecret\": \"\" };\n }\n missingCredentials.push({\n \"name\": credential.json.name + \" \u26a0\ufe0f\",\n \"type\": type,\n \"data\": data\n });\n }\n}\n\nreturn missingCredentials;"}, "typeVersion": 2}, {"id": "2394952f-c6db-4c6e-8f62-080c952734c9", "name": "Sticky Note22", "type": "n8n-nodes-base.stickyNote", "position": [2980, 1020], "parameters": {"color": 7, "width": 435.95830414662703, "height": 276.068565416192, "content": "Gather all new credential data and update the workflow accordingly. The oldName is being used as a reference during the search. "}, "typeVersion": 1}, {"id": "4ee2a621-29c9-4d23-b222-0b31ff1cc903", "name": "Sticky Note23", "type": "n8n-nodes-base.stickyNote", "position": [3420, 1020], "parameters": {"color": 7, "width": 216.47293010628914, "height": 275.841854198618, "content": "Create the updated workflow on this instance"}, "typeVersion": 1}, {"id": "e041c560-e847-472e-888e-0b6b3edb8998", "name": "Sticky Note24", "type": "n8n-nodes-base.stickyNote", "position": [3640, 920], "parameters": {"color": 7, "width": 216.47293010628914, "height": 456.12289999575364, "content": "Provide feedback to the user wether the process was successful or not"}, "typeVersion": 1}], "active": false, "pinData": {}, "settings": {"executionOrder": "v1"}, "versionId": "5ee2c284-b417-4ab6-b0bf-effa25225dbf", "connections": {"Merge": {"main": [[{"node": "No Operation1", "type": "main", "index": 0}]]}, "Settings": {"main": [[{"node": "Generate Instance Options", "type": "main", "index": 0}]]}, "Rename Keys": {"main": [[{"node": "Merge", "type": "main", "index": 1}]]}, "Upload File": {"main": [[{"node": "Extract from File", "type": "main", "index": 0}]]}, "No Operation": {"main": [[{"node": "Merge", "type": "main", "index": 0}]]}, "Add Old Names": {"main": [[{"node": "Collect Credentials to Replace", "type": "main", "index": 0}]]}, "Get Workflows": {"main": [[{"node": "Split Out Workflows", "type": "main", "index": 0}], [{"node": "Error", "type": "main", "index": 0}]]}, "No Operation1": {"main": [[{"node": "Split Out Nodes", "type": "main", "index": 0}]]}, "Binary to JSON": {"main": [[{"node": "Rename Keys", "type": "main", "index": 0}]]}, "Choose Instance": {"main": [[{"node": "Prepare Request Data", "type": "main", "index": 0}]]}, "Choose Workflow": {"main": [[{"node": "Get Selected Workflow", "type": "main", "index": 0}]]}, "Create Workflow": {"main": [[{"node": "Success", "type": "main", "index": 0}], [{"node": "Error1", "type": "main", "index": 0}]]}, "Map Credentials": {"main": [[{"node": "Get Missing Credentials", "type": "main", "index": 0}, {"node": "Get Selected Credentials", "type": "main", "index": 0}]]}, "Split Out Nodes": {"main": [[{"node": "Filter Out Nodes Having Credentials", "type": "main", "index": 0}]]}, "Extract from File": {"main": [[{"node": "Export Credentials", "type": "main", "index": 0}, {"node": "No Operation", "type": "main", "index": 0}]]}, "Export Credentials": {"main": [[{"node": "Get Credentials Data", "type": "main", "index": 0}]]}, "Get Workflow Names": {"main": [[{"node": "Choose Workflow", "type": "main", "index": 0}]]}, "On form submission": {"main": [[{"node": "Determine Workflow Source", "type": "main", "index": 0}]]}, "Extract Credentials": {"main": [[{"node": "Remove Duplicate Credentials by Name", "type": "main", "index": 0}]]}, "Split Out Workflows": {"main": [[{"node": "Sort by updatedAt DESC", "type": "main", "index": 0}]]}, "Get Credentials Data": {"main": [[{"node": "Binary to JSON", "type": "main", "index": 0}]]}, "Prepare Request Data": {"main": [[{"node": "Get Workflows", "type": "main", "index": 0}]]}, "Get Selected Workflow": {"main": [[{"node": "Export Credentials", "type": "main", "index": 0}, {"node": "No Operation", "type": "main", "index": 0}]]}, "Sort by updatedAt DESC": {"main": [[{"node": "Get Workflow Names", "type": "main", "index": 0}]]}, "Get Missing Credentials": {"main": [[{"node": "Create Empty Credentials", "type": "main", "index": 0}]]}, "Create Empty Credentials": {"main": [[{"node": "Add Old Names", "type": "main", "index": 0}]]}, "Get Selected Credentials": {"main": [[{"node": "Collect Credentials to Replace", "type": "main", "index": 1}]]}, "Determine Workflow Source": {"main": [[{"node": "Upload File", "type": "main", "index": 0}], [{"node": "Settings", "type": "main", "index": 0}]]}, "Generate Instance Options": {"main": [[{"node": "Choose Instance", "type": "main", "index": 0}]]}, "Generate Credential Options": {"main": [[{"node": "Map Credentials", "type": "main", "index": 0}]]}, "Collect Credentials to Replace": {"main": [[{"node": "Replace Credentials in Workflow", "type": "main", "index": 0}]]}, "Replace Credentials in Workflow": {"main": [[{"node": "Create Workflow", "type": "main", "index": 0}]]}, "Filter Out Nodes Having Credentials": {"main": [[{"node": "Extract Credentials", "type": "main", "index": 0}]]}, "Remove Duplicate Credentials by Name": {"main": [[{"node": "Generate Credential Options", "type": "main", "index": 0}]]}}}
|
87
|
Create a new issue in Jira
|
2
|
["jira", "manualTrigger"]
|
ai-automation-lab
|
{"id": "87", "name": "Create a new issue in Jira", "nodes": [{"name": "On clicking 'execute'", "type": "n8n-nodes-base.manualTrigger", "position": [350, 300], "parameters": {}, "typeVersion": 1}, {"name": "Jira", "type": "n8n-nodes-base.jira", "position": [550, 300], "parameters": {"project": "", "summary": "Firewall on fire", "issueType": "10001", "additionalFields": {}}, "credentials": {"jiraSoftwareCloudApi": ""}, "typeVersion": 1}], "active": false, "settings": {}, "connections": {"On clicking 'execute'": {"main": [[{"node": "Jira", "type": "main", "index": 0}]]}}}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.