Datasets:
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}]]}}}
|
n8n Automation Atlas: 36,405 n8n Workflows
A curated collection of 36,405 unique n8n automation workflows, organized and cleaned for AI training, research, and community use. This dataset combines high-quality synthetic workflows generated via a custom archetype engine with a massive pool of cleaned community templates.
π Project Links
- Main Repository: GitHub - Ker102/n8n-workflows-36k
- Author: Ker102 on GitHub
- Explorer UI: A Vue-based web application is included in the main repository to browse these workflows locally.
π Dataset Statistics
- Total Unique Workflows: 36,405
- Source Breakdown:
- Repository & Synthetic: ~12,500 unique functional scripts.
- Community (Cleaned): ~23,900 unique community-contributed templates.
- Format: JSON / JSON Lines (.jsonl)
- License: Apache 2.0
π§ Methodology: The Combinatorial Archetype Engine
The majority of the synthetic workflows in this dataset were generated using a Combinatorial Archetype Engine. This engine ensures high validity and diversity by using mathematically proven combinations of compatible nodes.
How it works:
- Equivalency Groups: Nodes are grouped by function (e.g., Databases, Messaging, AI, DevOps).
- Archetypes: Verified "skeletons" of common automation patterns (e.g., "Form to Database & Notify", "AI Summarizer", "RAG Ingestion").
- Combinatorial Expansion: The engine iterates through every valid combination of nodes for each archetype, multiplying the output volume while maintaining structural integrity.
π οΈ Data Quality & Cleaning
The community portion of this dataset (sourced from the n8n_workflows_templates_dataset) underwent an intensive cleaning process:
- JSON Normalization: Stringified JSON values were parsed into valid nested objects.
- Structural Verification: Every workflow was checked for the presence of
nodesandconnections. - Deduplication: Workflows were deduplicated based on unique structural fingerprints and IDs.
- Metadata Extraction: Node counts and integration types were extracted to allow for easy filtering.
π Directory Structure (in GitHub)
workflows/: Contains the raw JSON files for each workflow.web/: A Vue + Vite application serving as a "Workflow Explorer" UI.scripts/: Tools for manifest generation, synthetic creation, and data cleaning.
π€ Community & Support
This project is maintained by Ker102. If you find this dataset useful, please consider:
- Giving the GitHub repository a β.
- Following Ker102 on GitHub for more automation and AI-related projects.
- Contributing new archetypes or reporting issues in the GitHub repository.
Note: These workflows are provided as-is for research and development purposes. Always review workflows before importing them into a production n8n environment.
- Downloads last month
- 13