{
  "workflow": {
    "id": 4266,
    "name": "Reddit API Hub: Manage posts, comments & subreddits via server-sent events",
    "views": 1506,
    "recentViews": 0,
    "totalViews": 1506,
    "createdAt": "2025-05-21T03:13:04.971Z",
    "description": "## 🔄 Reddit Content Operations via MCP Server\n\n### 🧑‍💼 Who is this for?\n\nThis workflow is built for content creators, marketers, Reddit automation enthusiasts, and AI agent developers who want structured, programmable access to Reddit content. If you're researching niche communities, tracking trends, or automating Reddit engagement — this is for you.\n\n### 💡 What problem is this workflow solving?\n\nReddit has valuable content scattered across subreddits, but manual analysis or engagement is inefficient. This workflow acts as a centralized API interface to:\n\n- Query and manage Reddit posts\n- Create, fetch, delete, and reply to comments\n- Analyze subreddit metadata and behavior\n- Enable AI agents to autonomously operate on Reddit data\n\nIt does this using an **MCP (Model Context Protocol) Server** over **Server-Sent Events (SSE)**.\n\n### ⚙️ What this workflow does\n\nThis template sets up a custom **MCP Server** that listens for JSON-based operation commands sent via SSE. Based on the operation, it routes the request to one of the following branches:\n\n#### 🟥 Post CRUD\n\n- Create a new Reddit post\n- Search posts across subreddits\n- Fetch posts by ID\n- Delete existing posts\n\n#### 🟩 Comment CRUD\n\n- Create or reply to comments\n- Fetch multiple comments from posts\n- Delete specific comments\n\n#### 🟦 Subreddit Read Operations\n\n- Get information about subreddits\n- List subreddit posts\n- Retrieve subreddit rules\n\n### 🛠 Setup\n\n1. Import this workflow into your **self-hosted n8n instance**.\n2. Configure Reddit credentials (OAuth2).\n3. Connect your input system to the MCP Server Trigger node via SSE.\n4. Send operation payloads to the server like this:\n\n```json\n{\n  \"operation\": \"post_search\",\n  \"params\": {\n    \"query\": \"AI agents\",\n    \"subreddit\": \"machinelearning\"\n  }\n}\nThe workflow will route to the appropriate node based on operation type.\n\n🧩 Supported Operations\npost_create\n\npost_get_many\n\npost_search\n\npost_delete\n\npost_get_by_id\n\ncomment_create\n\ncomment_reply\n\ncomment_get_many\n\ncomment_delete\n\nsubreddit_get_about\n\nsubreddit_get_many\n\nsubreddit_get_rules\n```\n\n### 🧠 How to customize this workflow to your needs\nAdd new operations to the operation_switch node for additional API functionality.\n\nChain results into Notion, Slack, Airtable, or external APIs.\n\nIntegrate with OpenAI/GPT to summarize posts or filter content.\n\nAdd logic to score and sort content by engagement, sentiment, or keywords.\n\n### 🟨 Sticky Notes\nEach operation group is color-coded (Posts, Comments, Subreddits).\n\nSticky Notes explain the purpose and dependencies of each section.\n\nEasy to maintain and extend with clear logical separation.\n\n### ⚠️ This template uses a custom MCP Server node and only works in self-hosted n8n.\n\n### 🖼 Workflow Preview\n\n![Screenshot 20250520 at 11.57.41 PM.png](fileId:1346)",
    "workflow": {
      "id": "REDACTED",
      "meta": {
        "instanceId": "REDACTED",
        "templateCredsSetupCompleted": true
      },
      "name": "MCP_reddit",
      "tags": [],
      "nodes": [
        {
          "id": "REDACTED",
          "name": "MCP Server Trigger",
          "type": "@n8n/n8n-nodes-langchain.mcpTrigger",
          "position": [
            -120,
            -240
          ],
          "webhookId": "REDACTED",
          "parameters": {
            "path": "REDACTED"
          },
          "typeVersion": 1
        },
        {
          "id": "40451b0c-2111-420b-bb22-59b14d497cd3",
          "name": "When Executed by Another Workflow",
          "type": "n8n-nodes-base.executeWorkflowTrigger",
          "position": [
            540,
            240
          ],
          "parameters": {
            "inputSource": "jsonExample",
            "jsonExample": "{\n  \"operation\": \"string\",\n  \"limit\": 100,\n  \"subReddit\": \"string\",\n  \"postPostId\": \"string\",\n  \"postTitle\": \"string\",\n  \"postText\": \"string\",\n  \"filterCategory\": \"hot\",\n  \"filtersKeyword\": \"string\",\n  \"filtersTrendig\": \"string\",\n  \"commentPostId\": \"string\",\n  \"commentText\": \"string\",\n  \"commentCommentId\": \"stirng\",\n  \"commentReplyText\": \"string\"\n}"
          },
          "typeVersion": 1.1
        },
        {
          "id": "3ae445e0-3cb9-4d21-9484-a54b340ba899",
          "name": "create_post",
          "type": "n8n-nodes-base.reddit",
          "position": [
            1300,
            -680
          ],
          "parameters": {
            "text": "={{$json.postText}}",
            "title": "={{$json.postTitle}}",
            "subreddit": "={{$json.subReddit}}"
          },
          "credentials": {
            "redditOAuth2Api": {
              "id": "credential-id",
              "name": "redditOAuth2Api Credential"
            }
          },
          "typeVersion": 1
        },
        {
          "id": "14d04035-c71e-4108-84f5-fb2859f86ef6",
          "name": "get_many_posts",
          "type": "n8n-nodes-base.reddit",
          "position": [
            1300,
            -520
          ],
          "parameters": {
            "limit": "={{$json.limit}}",
            "filters": {
              "category": "={{$json.filtersCategory}}"
            },
            "operation": "getAll",
            "subreddit": "={{$json.subReddit}}"
          },
          "credentials": {
            "redditOAuth2Api": {
              "id": "credential-id",
              "name": "redditOAuth2Api Credential"
            }
          },
          "typeVersion": 1
        },
        {
          "id": "def4b85a-5c94-40ca-883f-8c8087e7adf3",
          "name": "delete_post",
          "type": "n8n-nodes-base.reddit",
          "position": [
            1300,
            -340
          ],
          "parameters": {
            "postId": "={{$json.postPostId}}",
            "operation": "delete"
          },
          "credentials": {
            "redditOAuth2Api": {
              "id": "credential-id",
              "name": "redditOAuth2Api Credential"
            }
          },
          "typeVersion": 1
        },
        {
          "id": "422e5d8e-fe9e-4b33-9608-1921da4e1a0a",
          "name": "get_post_by_id",
          "type": "n8n-nodes-base.reddit",
          "position": [
            1300,
            -160
          ],
          "parameters": {
            "postId": "={{$json.postPostId}}",
            "operation": "get",
            "subreddit": "={{$json.subReddit}}"
          },
          "credentials": {
            "redditOAuth2Api": {
              "id": "credential-id",
              "name": "redditOAuth2Api Credential"
            }
          },
          "typeVersion": 1
        },
        {
          "id": "c14f7575-d78d-4971-b76a-a06d0a57b1b9",
          "name": "operation_switch",
          "type": "n8n-nodes-base.switch",
          "position": [
            760,
            240
          ],
          "parameters": {
            "rules": {
              "values": [
                {
                  "outputKey": "post_flow",
                  "conditions": {
                    "options": {
                      "version": 2,
                      "leftValue": "",
                      "caseSensitive": true,
                      "typeValidation": "strict"
                    },
                    "combinator": "and",
                    "conditions": [
                      {
                        "id": "cd565fc9-b8c6-4cfa-97f4-0afaf7dfbb8e",
                        "operator": {
                          "type": "string",
                          "operation": "startsWith"
                        },
                        "leftValue": "={{ $json.operation}}",
                        "rightValue": "post_"
                      }
                    ]
                  },
                  "renameOutput": true
                },
                {
                  "outputKey": "comment_flow",
                  "conditions": {
                    "options": {
                      "version": 2,
                      "leftValue": "",
                      "caseSensitive": true,
                      "typeValidation": "strict"
                    },
                    "combinator": "and",
                    "conditions": [
                      {
                        "id": "6cc1bd32-41cf-4f63-b69b-3a6416de4544",
                        "operator": {
                          "type": "string",
                          "operation": "startsWith"
                        },
                        "leftValue": "={{ $json.operation}}",
                        "rightValue": "comment_"
                      }
                    ]
                  },
                  "renameOutput": true
                },
                {
                  "outputKey": "subreddit_flow",
                  "conditions": {
                    "options": {
                      "version": 2,
                      "leftValue": "",
                      "caseSensitive": true,
                      "typeValidation": "strict"
                    },
                    "combinator": "and",
                    "conditions": [
                      {
                        "id": "a755d168-4467-42a5-96ed-6648be0722e5",
                        "operator": {
                          "type": "string",
                          "operation": "startsWith"
                        },
                        "leftValue": "={{ $json.operation}}",
                        "rightValue": "=subreddit_"
                      }
                    ]
                  },
                  "renameOutput": true
                }
              ]
            },
            "options": {}
          },
          "typeVersion": 3.2
        },
        {
          "id": "c55aafce-5bf8-465b-8c01-a45dffeb7d07",
          "name": "create_comment",
          "type": "n8n-nodes-base.reddit",
          "position": [
            1300,
            80
          ],
          "parameters": {
            "postId": "={{$json.commentPostId}}",
            "resource": "postComment",
            "commentText": "={{$json.commentText}}"
          },
          "credentials": {
            "redditOAuth2Api": {
              "id": "credential-id",
              "name": "redditOAuth2Api Credential"
            }
          },
          "typeVersion": 1
        },
        {
          "id": "8de60854-fd35-48aa-bb30-a25a5447d2f4",
          "name": "get_many_comments",
          "type": "n8n-nodes-base.reddit",
          "position": [
            1300,
            260
          ],
          "parameters": {
            "limit": "={{$json.limit}}",
            "postId": "={{$json.commentPostId}}",
            "resource": "postComment",
            "operation": "getAll",
            "subreddit": "={{$json.subReddit}}"
          },
          "credentials": {
            "redditOAuth2Api": {
              "id": "credential-id",
              "name": "redditOAuth2Api Credential"
            }
          },
          "typeVersion": 1
        },
        {
          "id": "476bb18c-c71c-4d77-b94e-7d87f6a6afac",
          "name": "delete_comment",
          "type": "n8n-nodes-base.reddit",
          "position": [
            1300,
            460
          ],
          "parameters": {
            "resource": "postComment",
            "commentId": "={{$json.commentCommentId}}",
            "operation": "delete"
          },
          "credentials": {
            "redditOAuth2Api": {
              "id": "credential-id",
              "name": "redditOAuth2Api Credential"
            }
          },
          "typeVersion": 1
        },
        {
          "id": "3ec0391c-d179-4cfa-b25a-455661952c39",
          "name": "reply_comment",
          "type": "n8n-nodes-base.reddit",
          "position": [
            1300,
            640
          ],
          "parameters": {
            "resource": "postComment",
            "commentId": "={{$json.commentCommentId}}",
            "operation": "reply",
            "replyText": "={{$json.commentReplyText}}"
          },
          "credentials": {
            "redditOAuth2Api": {
              "id": "credential-id",
              "name": "redditOAuth2Api Credential"
            }
          },
          "typeVersion": 1
        },
        {
          "id": "6ce98a36-d6da-4229-951d-fcba8f5a2b6c",
          "name": "post_switch",
          "type": "n8n-nodes-base.switch",
          "position": [
            1020,
            -340
          ],
          "parameters": {
            "rules": {
              "values": [
                {
                  "outputKey": "post_create",
                  "conditions": {
                    "options": {
                      "version": 2,
                      "leftValue": "",
                      "caseSensitive": true,
                      "typeValidation": "strict"
                    },
                    "combinator": "and",
                    "conditions": [
                      {
                        "id": "f466ea36-35a0-4c41-9d7f-9ca9a3199ec2",
                        "operator": {
                          "type": "string",
                          "operation": "equals"
                        },
                        "leftValue": "={{$json.operation}}",
                        "rightValue": "post_create"
                      }
                    ]
                  },
                  "renameOutput": true
                },
                {
                  "outputKey": "post_get_many",
                  "conditions": {
                    "options": {
                      "version": 2,
                      "leftValue": "",
                      "caseSensitive": true,
                      "typeValidation": "strict"
                    },
                    "combinator": "and",
                    "conditions": [
                      {
                        "id": "b37861f0-cd89-4fd2-9653-cbc0e4585a44",
                        "operator": {
                          "name": "filter.operator.equals",
                          "type": "string",
                          "operation": "equals"
                        },
                        "leftValue": "={{$json.operation}}",
                        "rightValue": "post_get_many"
                      }
                    ]
                  },
                  "renameOutput": true
                },
                {
                  "outputKey": "post_delete",
                  "conditions": {
                    "options": {
                      "version": 2,
                      "leftValue": "",
                      "caseSensitive": true,
                      "typeValidation": "strict"
                    },
                    "combinator": "and",
                    "conditions": [
                      {
                        "id": "72731a2a-a77b-4b1a-8202-bcb6de1e0c7e",
                        "operator": {
                          "name": "filter.operator.equals",
                          "type": "string",
                          "operation": "equals"
                        },
                        "leftValue": "={{$json.operation}}",
                        "rightValue": "post_delete"
                      }
                    ]
                  },
                  "renameOutput": true
                },
                {
                  "outputKey": "post_get_by_id",
                  "conditions": {
                    "options": {
                      "version": 2,
                      "leftValue": "",
                      "caseSensitive": true,
                      "typeValidation": "strict"
                    },
                    "combinator": "and",
                    "conditions": [
                      {
                        "id": "39db435c-6cb9-4677-94d5-0a312452319e",
                        "operator": {
                          "name": "filter.operator.equals",
                          "type": "string",
                          "operation": "equals"
                        },
                        "leftValue": "={{$json.operation}}",
                        "rightValue": "post_get_by_id"
                      }
                    ]
                  },
                  "renameOutput": true
                },
                {
                  "outputKey": "post_search",
                  "conditions": {
                    "options": {
                      "version": 2,
                      "leftValue": "",
                      "caseSensitive": true,
                      "typeValidation": "strict"
                    },
                    "combinator": "and",
                    "conditions": [
                      {
                        "id": "1478f02b-c057-485f-b83f-7c3d9d8274ea",
                        "operator": {
                          "name": "filter.operator.equals",
                          "type": "string",
                          "operation": "equals"
                        },
                        "leftValue": "={{$json.operation}}",
                        "rightValue": "post_search"
                      }
                    ]
                  },
                  "renameOutput": true
                }
              ]
            },
            "options": {}
          },
          "typeVersion": 3.2
        },
        {
          "id": "66693e75-0b94-460f-9c86-5d925ec52be2",
          "name": "comment_switch",
          "type": "n8n-nodes-base.switch",
          "position": [
            1000,
            220
          ],
          "parameters": {
            "rules": {
              "values": [
                {
                  "outputKey": "comment_create",
                  "conditions": {
                    "options": {
                      "version": 2,
                      "leftValue": "",
                      "caseSensitive": true,
                      "typeValidation": "strict"
                    },
                    "combinator": "and",
                    "conditions": [
                      {
                        "id": "f466ea36-35a0-4c41-9d7f-9ca9a3199ec2",
                        "operator": {
                          "type": "string",
                          "operation": "equals"
                        },
                        "leftValue": "={{$json.operation}}",
                        "rightValue": "comment_create"
                      }
                    ]
                  },
                  "renameOutput": true
                },
                {
                  "outputKey": "comment_get_many",
                  "conditions": {
                    "options": {
                      "version": 2,
                      "leftValue": "",
                      "caseSensitive": true,
                      "typeValidation": "strict"
                    },
                    "combinator": "and",
                    "conditions": [
                      {
                        "id": "b37861f0-cd89-4fd2-9653-cbc0e4585a44",
                        "operator": {
                          "name": "filter.operator.equals",
                          "type": "string",
                          "operation": "equals"
                        },
                        "leftValue": "={{$json.operation}}",
                        "rightValue": "comment_get_many"
                      }
                    ]
                  },
                  "renameOutput": true
                },
                {
                  "outputKey": "comment_delete",
                  "conditions": {
                    "options": {
                      "version": 2,
                      "leftValue": "",
                      "caseSensitive": true,
                      "typeValidation": "strict"
                    },
                    "combinator": "and",
                    "conditions": [
                      {
                        "id": "72731a2a-a77b-4b1a-8202-bcb6de1e0c7e",
                        "operator": {
                          "name": "filter.operator.equals",
                          "type": "string",
                          "operation": "equals"
                        },
                        "leftValue": "={{$json.operation}}",
                        "rightValue": "comment_delete"
                      }
                    ]
                  },
                  "renameOutput": true
                },
                {
                  "outputKey": "comment_reply",
                  "conditions": {
                    "options": {
                      "version": 2,
                      "leftValue": "",
                      "caseSensitive": true,
                      "typeValidation": "strict"
                    },
                    "combinator": "and",
                    "conditions": [
                      {
                        "id": "39db435c-6cb9-4677-94d5-0a312452319e",
                        "operator": {
                          "name": "filter.operator.equals",
                          "type": "string",
                          "operation": "equals"
                        },
                        "leftValue": "={{$json.operation}}",
                        "rightValue": "comment_reply"
                      }
                    ]
                  },
                  "renameOutput": true
                }
              ]
            },
            "options": {}
          },
          "typeVersion": 3.2
        },
        {
          "id": "2e1a6a72-59b5-422e-8bde-d1dd837ccfda",
          "name": "get_subreddit_about",
          "type": "n8n-nodes-base.reddit",
          "position": [
            1300,
            920
          ],
          "parameters": {
            "resource": "subreddit",
            "subreddit": "={{$json.subReddit}}"
          },
          "typeVersion": 1
        },
        {
          "id": "da324c0c-7f75-4c57-b126-76d24528311e",
          "name": "get_subreddit_rules",
          "type": "n8n-nodes-base.reddit",
          "position": [
            1300,
            1280
          ],
          "parameters": {
            "content": "rules",
            "resource": "subreddit",
            "subreddit": "={{$json.subReddit}}"
          },
          "typeVersion": 1
        },
        {
          "id": "04044204-2fe9-4bc1-8eaa-4e2019371f21",
          "name": "subreddit_switch",
          "type": "n8n-nodes-base.switch",
          "position": [
            980,
            1040
          ],
          "parameters": {
            "rules": {
              "values": [
                {
                  "outputKey": "subreddit_get_about",
                  "conditions": {
                    "options": {
                      "version": 2,
                      "leftValue": "",
                      "caseSensitive": true,
                      "typeValidation": "strict"
                    },
                    "combinator": "and",
                    "conditions": [
                      {
                        "id": "9c50f7b3-d51e-4325-b904-b2dadf20067a",
                        "operator": {
                          "type": "string",
                          "operation": "equals"
                        },
                        "leftValue": "={{$json.operation}}",
                        "rightValue": "=subreddit_get_about"
                      }
                    ]
                  },
                  "renameOutput": true
                },
                {
                  "outputKey": "subreddit_get_many",
                  "conditions": {
                    "options": {
                      "version": 2,
                      "leftValue": "",
                      "caseSensitive": true,
                      "typeValidation": "strict"
                    },
                    "combinator": "and",
                    "conditions": [
                      {
                        "id": "339d8536-7dfe-4478-b7a8-2d55e0f13028",
                        "operator": {
                          "name": "filter.operator.equals",
                          "type": "string",
                          "operation": "equals"
                        },
                        "leftValue": "={{$json.operation}}",
                        "rightValue": "subreddit_get_many"
                      }
                    ]
                  },
                  "renameOutput": true
                },
                {
                  "outputKey": "subreddit_get_rules",
                  "conditions": {
                    "options": {
                      "version": 2,
                      "leftValue": "",
                      "caseSensitive": true,
                      "typeValidation": "strict"
                    },
                    "combinator": "and",
                    "conditions": [
                      {
                        "id": "21e9d5e4-ccfb-4ba0-82f7-b0d49d86865b",
                        "operator": {
                          "name": "filter.operator.equals",
                          "type": "string",
                          "operation": "equals"
                        },
                        "leftValue": "={{$json.operation}}",
                        "rightValue": "subreddit_get_rules"
                      }
                    ]
                  },
                  "renameOutput": true
                }
              ]
            },
            "options": {}
          },
          "typeVersion": 3.2
        },
        {
          "id": "26b4d79a-9306-45cf-a8cd-b6ec652d7903",
          "name": "subreddit_get_many",
          "type": "n8n-nodes-base.reddit",
          "position": [
            1300,
            1100
          ],
          "parameters": {
            "limit": "={{ $json.limit }}",
            "filters": {
              "keyword": "={{ $json.filtersKeyword }}",
              "trending": "={{ $json.filtersTrendig.toBoolean() }}"
            },
            "resource": "subreddit",
            "operation": "getAll"
          },
          "typeVersion": 1
        },
        {
          "id": "fa1a3b6f-b01b-48e0-93f8-772310dfd8a7",
          "name": "post_operation",
          "type": "@n8n/n8n-nodes-langchain.toolWorkflow",
          "position": [
            -180,
            -20
          ],
          "parameters": {
            "name": "post_operation",
            "workflowId": {
              "__rl": true,
              "mode": "list",
              "value": "REDACTED",
              "cachedResultName": "MCP_reddit"
            },
            "description": "Call this tool to fire action on post-operation; the allowed operations are:\n- post_create\nparameters: subReddit, postPostId, postPostText\n- post_delete\nparameters: postPostId\n- post_get_many\nparameters: subReddit, limit, filterCategory\n- post_get_by_id\nparameters: postPostId, subReddit\n- post_search\nparameters: filtersKeyword, subReddit, limit",
            "workflowInputs": {
              "value": {
                "limit": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('limit', ``, 'number') }}",
                "postText": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('postText', ``, 'string') }}",
                "operation": "={{ $fromAI('operation', 'Type of Reddit operation to post. Options: post_create, post_delete, post_get_many, post_search, post_get_by_id', 'string') }}",
                "postTitle": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('postTitle', ``, 'string') }}",
                "subReddit": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('subReddit', ``, 'string') }}",
                "postPostId": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('postPostId', ``, 'string') }}",
                "filterCategory": "={{ $fromAI(\n  'filterCategory',\n  'Category used to filter Reddit posts. Must be one of: \"top\", \"hot\", \"new\", \"rising\". Example: filterCategory: \"hot\"',\n  'string'\n) }}",
                "filtersKeyword": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('filtersKeyword', ``, 'string') }}"
              },
              "schema": [
                {
                  "id": "operation",
                  "type": "string",
                  "display": true,
                  "required": false,
                  "displayName": "operation",
                  "defaultMatch": false,
                  "canBeUsedToMatch": true
                },
                {
                  "id": "limit",
                  "type": "number",
                  "display": true,
                  "required": false,
                  "displayName": "limit",
                  "defaultMatch": false,
                  "canBeUsedToMatch": true
                },
                {
                  "id": "subReddit",
                  "type": "string",
                  "display": true,
                  "required": false,
                  "displayName": "subReddit",
                  "defaultMatch": false,
                  "canBeUsedToMatch": true
                },
                {
                  "id": "postPostId",
                  "type": "string",
                  "display": true,
                  "removed": false,
                  "required": false,
                  "displayName": "postPostId",
                  "defaultMatch": false,
                  "canBeUsedToMatch": true
                },
                {
                  "id": "postTitle",
                  "type": "string",
                  "display": true,
                  "removed": false,
                  "required": false,
                  "displayName": "postTitle",
                  "defaultMatch": false,
                  "canBeUsedToMatch": true
                },
                {
                  "id": "postText",
                  "type": "string",
                  "display": true,
                  "removed": false,
                  "required": false,
                  "displayName": "postText",
                  "defaultMatch": false,
                  "canBeUsedToMatch": true
                },
                {
                  "id": "filterCategory",
                  "type": "string",
                  "display": true,
                  "removed": false,
                  "required": false,
                  "displayName": "filterCategory",
                  "defaultMatch": false,
                  "canBeUsedToMatch": true
                },
                {
                  "id": "filtersKeyword",
                  "type": "string",
                  "display": true,
                  "removed": false,
                  "required": false,
                  "displayName": "filtersKeyword",
                  "defaultMatch": false,
                  "canBeUsedToMatch": true
                },
                {
                  "id": "filtersTrendig",
                  "type": "string",
                  "display": true,
                  "removed": true,
                  "required": false,
                  "displayName": "filtersTrendig",
                  "defaultMatch": false,
                  "canBeUsedToMatch": true
                },
                {
                  "id": "commentPostId",
                  "type": "string",
                  "display": true,
                  "removed": true,
                  "required": false,
                  "displayName": "commentPostId",
                  "defaultMatch": false,
                  "canBeUsedToMatch": true
                },
                {
                  "id": "commentText",
                  "type": "string",
                  "display": true,
                  "removed": true,
                  "required": false,
                  "displayName": "commentText",
                  "defaultMatch": false,
                  "canBeUsedToMatch": true
                },
                {
                  "id": "commentCommentId",
                  "type": "string",
                  "display": true,
                  "removed": true,
                  "required": false,
                  "displayName": "commentCommentId",
                  "defaultMatch": false,
                  "canBeUsedToMatch": true
                },
                {
                  "id": "commentReplyText",
                  "type": "string",
                  "display": true,
                  "removed": true,
                  "required": false,
                  "displayName": "commentReplyText",
                  "defaultMatch": false,
                  "canBeUsedToMatch": true
                }
              ],
              "mappingMode": "defineBelow",
              "matchingColumns": [],
              "attemptToConvertTypes": false,
              "convertFieldsToString": false
            }
          },
          "typeVersion": 2.1
        },
        {
          "id": "f10780f6-e85a-41dc-849a-85ae4b2289fb",
          "name": "subReddit_operation",
          "type": "@n8n/n8n-nodes-langchain.toolWorkflow",
          "position": [
            -20,
            -20
          ],
          "parameters": {
            "name": "subReddit_operation",
            "workflowId": {
              "__rl": true,
              "mode": "list",
              "value": "REDACTED",
              "cachedResultName": "MCP_reddit"
            },
            "description": "Call this tool to fire action on subreddit operation; the allowed operations are:\n- subreddit_get_about : get info about subreddit\nparameters: subReddit\n- subreddit_get_many: get many subreddit by filters\nparameters: subReddit, limit, filtersKeyword (optional), filtersTrendig(optional)\n- subreddit_get_rules: get info about subreddit's rules\nparameters: subReddit\n\n",
            "workflowInputs": {
              "value": {
                "limit": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('limit', ``, 'number') }}",
                "operation": "={{ $fromAI('operation', 'Type of Reddit operation to subreddit. Options: subreddit_get_about, subreddit_get_many, subreddit_get_rules', 'string') }}",
                "subReddit": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('subReddit', ``, 'string') }}",
                "filtersKeyword": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('filtersKeyword', ``, 'string') }}",
                "filtersTrendig": "={{ $fromAI('filtersTrendig', `This is a booleand true or false`, 'string') }}"
              },
              "schema": [
                {
                  "id": "operation",
                  "type": "string",
                  "display": true,
                  "required": false,
                  "displayName": "operation",
                  "defaultMatch": false,
                  "canBeUsedToMatch": true
                },
                {
                  "id": "limit",
                  "type": "number",
                  "display": true,
                  "required": false,
                  "displayName": "limit",
                  "defaultMatch": false,
                  "canBeUsedToMatch": true
                },
                {
                  "id": "subReddit",
                  "type": "string",
                  "display": true,
                  "required": false,
                  "displayName": "subReddit",
                  "defaultMatch": false,
                  "canBeUsedToMatch": true
                },
                {
                  "id": "postPostId",
                  "type": "string",
                  "display": true,
                  "removed": true,
                  "required": false,
                  "displayName": "postPostId",
                  "defaultMatch": false,
                  "canBeUsedToMatch": true
                },
                {
                  "id": "postTitle",
                  "type": "string",
                  "display": true,
                  "removed": true,
                  "required": false,
                  "displayName": "postTitle",
                  "defaultMatch": false,
                  "canBeUsedToMatch": true
                },
                {
                  "id": "postText",
                  "type": "string",
                  "display": true,
                  "removed": true,
                  "required": false,
                  "displayName": "postText",
                  "defaultMatch": false,
                  "canBeUsedToMatch": true
                },
                {
                  "id": "filterCategory",
                  "type": "string",
                  "display": true,
                  "removed": true,
                  "required": false,
                  "displayName": "filterCategory",
                  "defaultMatch": false,
                  "canBeUsedToMatch": true
                },
                {
                  "id": "filtersKeyword",
                  "type": "string",
                  "display": true,
                  "removed": false,
                  "required": false,
                  "displayName": "filtersKeyword",
                  "defaultMatch": false,
                  "canBeUsedToMatch": true
                },
                {
                  "id": "filtersTrendig",
                  "type": "string",
                  "display": true,
                  "removed": false,
                  "required": false,
                  "displayName": "filtersTrendig",
                  "defaultMatch": false,
                  "canBeUsedToMatch": true
                },
                {
                  "id": "comment",
                  "type": "object",
                  "display": true,
                  "removed": true,
                  "required": false,
                  "displayName": "comment",
                  "defaultMatch": false,
                  "canBeUsedToMatch": true
                }
              ],
              "mappingMode": "defineBelow",
              "matchingColumns": [],
              "attemptToConvertTypes": false,
              "convertFieldsToString": false
            }
          },
          "typeVersion": 2.1
        },
        {
          "id": "3783630e-9398-4fa1-b486-e541c3df6a17",
          "name": "comment_operation",
          "type": "@n8n/n8n-nodes-langchain.toolWorkflow",
          "position": [
            160,
            -20
          ],
          "parameters": {
            "name": "comment_operation",
            "workflowId": {
              "__rl": true,
              "mode": "list",
              "value": "REDACTED",
              "cachedResultName": "MCP_reddit"
            },
            "description": "Call this tool to handle comment operations:\n\n- comment_create\nparameters: commentPostId, commentText\n- comment_get_many \nparameters: subReddit, limit, commentPostId \n- comment_delete \nparameters: commentCommentId\n- comment_reply\nparameters: commentCommentId, commentReplyText",
            "workflowInputs": {
              "value": {
                "limit": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('limit', ``, 'number') }}",
                "operation": "={{ $fromAI('operation', 'Type of Reddit operation to comment. Options: comment_create, comment_get_many, comment_delete, comment_reply', 'string') }}",
                "subReddit": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('subReddit', ``, 'string') }}",
                "commentText": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('commentText', ``, 'string') }}",
                "commentPostId": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('commentPostId', ``, 'string') }}",
                "commentCommentId": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('commentCommentId', ``, 'string') }}",
                "commentReplyText": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('commentReplyText', ``, 'string') }}"
              },
              "schema": [
                {
                  "id": "operation",
                  "type": "string",
                  "display": true,
                  "required": false,
                  "displayName": "operation",
                  "defaultMatch": false,
                  "canBeUsedToMatch": true
                },
                {
                  "id": "limit",
                  "type": "number",
                  "display": true,
                  "required": false,
                  "displayName": "limit",
                  "defaultMatch": false,
                  "canBeUsedToMatch": true
                },
                {
                  "id": "subReddit",
                  "type": "string",
                  "display": true,
                  "required": false,
                  "displayName": "subReddit",
                  "defaultMatch": false,
                  "canBeUsedToMatch": true
                },
                {
                  "id": "postPostId",
                  "type": "string",
                  "display": true,
                  "removed": true,
                  "required": false,
                  "displayName": "postPostId",
                  "defaultMatch": false,
                  "canBeUsedToMatch": true
                },
                {
                  "id": "postTitle",
                  "type": "string",
                  "display": true,
                  "removed": true,
                  "required": false,
                  "displayName": "postTitle",
                  "defaultMatch": false,
                  "canBeUsedToMatch": true
                },
                {
                  "id": "postText",
                  "type": "string",
                  "display": true,
                  "removed": true,
                  "required": false,
                  "displayName": "postText",
                  "defaultMatch": false,
                  "canBeUsedToMatch": true
                },
                {
                  "id": "filterCategory",
                  "type": "string",
                  "display": true,
                  "removed": true,
                  "required": false,
                  "displayName": "filterCategory",
                  "defaultMatch": false,
                  "canBeUsedToMatch": true
                },
                {
                  "id": "filtersKeyword",
                  "type": "string",
                  "display": true,
                  "removed": true,
                  "required": false,
                  "displayName": "filtersKeyword",
                  "defaultMatch": false,
                  "canBeUsedToMatch": true
                },
                {
                  "id": "filtersTrendig",
                  "type": "string",
                  "display": true,
                  "removed": true,
                  "required": false,
                  "displayName": "filtersTrendig",
                  "defaultMatch": false,
                  "canBeUsedToMatch": true
                },
                {
                  "id": "commentPostId",
                  "type": "string",
                  "display": true,
                  "removed": false,
                  "required": false,
                  "displayName": "commentPostId",
                  "defaultMatch": false,
                  "canBeUsedToMatch": true
                },
                {
                  "id": "commentText",
                  "type": "string",
                  "display": true,
                  "removed": false,
                  "required": false,
                  "displayName": "commentText",
                  "defaultMatch": false,
                  "canBeUsedToMatch": true
                },
                {
                  "id": "commentCommentId",
                  "type": "string",
                  "display": true,
                  "removed": false,
                  "required": false,
                  "displayName": "commentCommentId",
                  "defaultMatch": false,
                  "canBeUsedToMatch": true
                },
                {
                  "id": "commentReplyText",
                  "type": "string",
                  "display": true,
                  "removed": false,
                  "required": false,
                  "displayName": "commentReplyText",
                  "defaultMatch": false,
                  "canBeUsedToMatch": true
                }
              ],
              "mappingMode": "defineBelow",
              "matchingColumns": [],
              "attemptToConvertTypes": false,
              "convertFieldsToString": false
            }
          },
          "typeVersion": 2.1
        },
        {
          "id": "0e9a89f1-e409-4e41-8c64-d898029c096b",
          "name": "search_posts",
          "type": "n8n-nodes-base.reddit",
          "position": [
            1580,
            -240
          ],
          "parameters": {
            "limit": "={{$json.limit}}",
            "keyword": "={{$json.filtersKeyword}}",
            "operation": "search",
            "subreddit": "={{$json.subReddit}}",
            "additionalFields": {}
          },
          "credentials": {
            "redditOAuth2Api": {
              "id": "credential-id",
              "name": "redditOAuth2Api Credential"
            }
          },
          "typeVersion": 1
        },
        {
          "id": "ea367253-a874-4fc2-a156-a22d8ae20386",
          "name": "map_post_get_many",
          "type": "n8n-nodes-base.set",
          "position": [
            1520,
            -520
          ],
          "parameters": {
            "mode": "raw",
            "options": {},
            "jsonOutput": "={\n    \"posts\": {{ $('get_many_posts').all().map(item => ({\n        subreddit: item.json.subreddit,\n        selftext: item.json.selftext,\n        author_fullname: item.json.author_fullname,\n        title: item.json.title,\n        total_awards_received: item.json.total_awards_received,\n        link_flair_text: item.json.link_flair_text,\n        score: item.json.score,\n        thumbnail: item.json.thumbnail,\n        created: item.json.created,\n        num_comments: item.json.num_comments,\n        permalink: item.json.permalink \n    })) }}\n}\n"
          },
          "typeVersion": 3.4
        },
        {
          "id": "14a4d27e-0f0d-4d57-8e6a-4652563e42b1",
          "name": "map_post_get_search",
          "type": "n8n-nodes-base.set",
          "position": [
            1800,
            -240
          ],
          "parameters": {
            "mode": "raw",
            "options": {},
            "jsonOutput": "={\n    \"posts\": {{ $('search_posts').all().map(item => ({\n        subreddit: item.json.subreddit,\n        selftext: item.json.selftext,\n        author_fullname: item.json.author_fullname,\n        title: item.json.title,\n        total_awards_received: item.json.total_awards_received,\n        link_flair_text: item.json.link_flair_text,\n        score: item.json.score,\n        thumbnail: item.json.thumbnail,\n        created: item.json.created,\n        num_comments: item.json.num_comments,\n        permalink: item.json.permalink \n    })) }}\n}\n"
          },
          "typeVersion": 3.4
        },
        {
          "id": "62bf710d-2dcd-4a09-b1be-c2481d523d5b",
          "name": "map_comment_get_many",
          "type": "n8n-nodes-base.set",
          "position": [
            1520,
            260
          ],
          "parameters": {
            "mode": "raw",
            "options": {},
            "jsonOutput": "={\n  \"comments\": {{ $('get_many_comments').all().map(item => ({\n    subreddit: item.json.subreddit,\n    author: item.json.author,\n    author_is_blocked: item.json.author_is_blocked,\n    body: item.json.body,\n    score: item.json.score,\n    total_awards_received: item.json.total_awards_received,\n    created: item.json.created,\n    permalink: item.json.permalink,\n    replies: item.json.replies\n  })) }}\n}"
          },
          "typeVersion": 3.4
        },
        {
          "id": "7810503f-f56a-40ba-b6bb-5743d40caab8",
          "name": "split_out_get_many_comments",
          "type": "n8n-nodes-base.splitOut",
          "position": [
            1740,
            260
          ],
          "parameters": {
            "options": {},
            "fieldToSplitOut": "comments"
          },
          "typeVersion": 1
        },
        {
          "id": "dbf5e1b9-fe70-42a8-9fb7-ab513389200a",
          "name": "posts_split_out",
          "type": "n8n-nodes-base.splitOut",
          "position": [
            1980,
            -400
          ],
          "parameters": {
            "options": {},
            "fieldToSplitOut": "={{$json.posts}}"
          },
          "typeVersion": 1
        },
        {
          "id": "2fc0abce-cd11-4feb-9f46-123003bae2eb",
          "name": "Sticky Note",
          "type": "n8n-nodes-base.stickyNote",
          "position": [
            -280,
            -380
          ],
          "parameters": {
            "width": 660,
            "height": 540,
            "content": "## Input and switch to right operation type\nThe MCP server receives a JSON that describes the type of operation that you want to query or perform.\n"
          },
          "typeVersion": 1
        },
        {
          "id": "d84e71d4-8d27-48b2-9263-7f82cb4b12bd",
          "name": "Sticky Note1",
          "type": "n8n-nodes-base.stickyNote",
          "position": [
            400,
            -380
          ],
          "parameters": {
            "color": 5,
            "width": 320,
            "height": 380,
            "content": "## Possible operations:\n\n\n- post_create\n- post_delete\n- post_get_many\n- post_get_by_id\n- post_search\n- comment_create\n- comment_delete\n- comment_get_many\n- comment_reply\n- subreddit_get_about\n- subreddit_get_rules\n- subreddit_get_many"
          },
          "typeVersion": 1
        },
        {
          "id": "477eddba-407e-4e03-a16f-b4b8d45da6e9",
          "name": "Sticky Note2",
          "type": "n8n-nodes-base.stickyNote",
          "position": [
            860,
            -740
          ],
          "parameters": {
            "color": 3,
            "width": 1360,
            "height": 740,
            "content": "## Post CRUD\n"
          },
          "typeVersion": 1
        },
        {
          "id": "18163585-0952-419f-9705-7f58af1e2861",
          "name": "Sticky Note3",
          "type": "n8n-nodes-base.stickyNote",
          "position": [
            960,
            40
          ],
          "parameters": {
            "color": 4,
            "width": 1080,
            "height": 760,
            "content": "## Comment CRUD\n"
          },
          "typeVersion": 1
        },
        {
          "id": "37915576-4634-43a2-ad92-f88979491347",
          "name": "Sticky Note4",
          "type": "n8n-nodes-base.stickyNote",
          "position": [
            960,
            860
          ],
          "parameters": {
            "color": 6,
            "width": 600,
            "height": 640,
            "content": "## Subreddit read's operation"
          },
          "typeVersion": 1
        }
      ],
      "active": true,
      "pinData": {
        "When Executed by Another Workflow": [
          {
            "json": {
              "limit": 10,
              "operation": "comment_get_many",
              "subReddit": "n8n",
              "commentText": "",
              "commentPostId": "1kmin88",
              "commentCommentId": "",
              "commentReplyText": ""
            }
          }
        ]
      },
      "settings": {
        "executionOrder": "v1"
      },
      "versionId": "REDACTED",
      "connections": {
        "post_switch": {
          "main": [
            [
              {
                "node": "create_post",
                "type": "main",
                "index": 0
              }
            ],
            [
              {
                "node": "get_many_posts",
                "type": "main",
                "index": 0
              }
            ],
            [
              {
                "node": "delete_post",
                "type": "main",
                "index": 0
              }
            ],
            [
              {
                "node": "get_post_by_id",
                "type": "main",
                "index": 0
              }
            ],
            [
              {
                "node": "search_posts",
                "type": "main",
                "index": 0
              }
            ]
          ]
        },
        "search_posts": {
          "main": [
            [
              {
                "node": "map_post_get_search",
                "type": "main",
                "index": 0
              }
            ]
          ]
        },
        "comment_switch": {
          "main": [
            [
              {
                "node": "create_comment",
                "type": "main",
                "index": 0
              }
            ],
            [
              {
                "node": "get_many_comments",
                "type": "main",
                "index": 0
              }
            ],
            [
              {
                "node": "delete_comment",
                "type": "main",
                "index": 0
              }
            ],
            [
              {
                "node": "reply_comment",
                "type": "main",
                "index": 0
              }
            ]
          ]
        },
        "get_many_posts": {
          "main": [
            [
              {
                "node": "map_post_get_many",
                "type": "main",
                "index": 0
              }
            ]
          ]
        },
        "post_operation": {
          "ai_tool": [
            [
              {
                "node": "MCP Server Trigger",
                "type": "ai_tool",
                "index": 0
              }
            ]
          ]
        },
        "operation_switch": {
          "main": [
            [
              {
                "node": "post_switch",
                "type": "main",
                "index": 0
              }
            ],
            [
              {
                "node": "comment_switch",
                "type": "main",
                "index": 0
              }
            ],
            [
              {
                "node": "subreddit_switch",
                "type": "main",
                "index": 0
              }
            ]
          ]
        },
        "subreddit_switch": {
          "main": [
            [
              {
                "node": "get_subreddit_about",
                "type": "main",
                "index": 0
              }
            ],
            [
              {
                "node": "subreddit_get_many",
                "type": "main",
                "index": 0
              }
            ],
            [
              {
                "node": "get_subreddit_rules",
                "type": "main",
                "index": 0
              }
            ]
          ]
        },
        "comment_operation": {
          "ai_tool": [
            [
              {
                "node": "MCP Server Trigger",
                "type": "ai_tool",
                "index": 0
              }
            ]
          ]
        },
        "get_many_comments": {
          "main": [
            [
              {
                "node": "map_comment_get_many",
                "type": "main",
                "index": 0
              }
            ]
          ]
        },
        "map_post_get_many": {
          "main": [
            [
              {
                "node": "posts_split_out",
                "type": "main",
                "index": 0
              }
            ]
          ]
        },
        "map_post_get_search": {
          "main": [
            [
              {
                "node": "posts_split_out",
                "type": "main",
                "index": 0
              }
            ]
          ]
        },
        "subReddit_operation": {
          "ai_tool": [
            [
              {
                "node": "MCP Server Trigger",
                "type": "ai_tool",
                "index": 0
              }
            ]
          ]
        },
        "map_comment_get_many": {
          "main": [
            [
              {
                "node": "split_out_get_many_comments",
                "type": "main",
                "index": 0
              }
            ]
          ]
        },
        "When Executed by Another Workflow": {
          "main": [
            [
              {
                "node": "operation_switch",
                "type": "main",
                "index": 0
              }
            ]
          ]
        }
      }
    },
    "lastUpdatedBy": 29,
    "workflowInfo": {
      "nodeCount": 31,
      "nodeTypes": {
        "n8n-nodes-base.set": {
          "count": 3
        },
        "n8n-nodes-base.reddit": {
          "count": 12
        },
        "n8n-nodes-base.switch": {
          "count": 4
        },
        "n8n-nodes-base.splitOut": {
          "count": 2
        },
        "n8n-nodes-base.stickyNote": {
          "count": 5
        },
        "@n8n/n8n-nodes-langchain.mcpTrigger": {
          "count": 1
        },
        "@n8n/n8n-nodes-langchain.toolWorkflow": {
          "count": 3
        },
        "n8n-nodes-base.executeWorkflowTrigger": {
          "count": 1
        }
      }
    },
    "status": "published",
    "readyToDemo": null,
    "user": {
      "name": "Simeon",
      "username": "simealdana",
      "bio": "Software Engineer with more than 8 years of experience—AI Educator focus on AI Agent",
      "verified": false,
      "links": [
        "https://simeon.cover-io.com"
      ],
      "avatar": "https://gravatar.com/avatar/64f6503107a68910a05eb1135aee6d52c643353d20ec61262697a9605e878365?r=pg&d=retro&size=200"
    },
    "nodes": [
      {
        "id": 38,
        "icon": "fa:pen",
        "name": "n8n-nodes-base.set",
        "codex": {
          "data": {
            "alias": [
              "Set",
              "JS",
              "JSON",
              "Filter",
              "Transform",
              "Map"
            ],
            "resources": {
              "generic": [
                {
                  "url": "https://n8n.io/blog/learn-to-automate-your-factorys-incident-reporting-a-step-by-step-guide/",
                  "icon": "🏭",
                  "label": "Learn to Automate Your Factory's Incident Reporting: A Step by Step Guide"
                },
                {
                  "url": "https://n8n.io/blog/2021-the-year-to-automate-the-new-you-with-n8n/",
                  "icon": "☀️",
                  "label": "2021: The Year to Automate the New You with n8n"
                },
                {
                  "url": "https://n8n.io/blog/automatically-pulling-and-visualizing-data-with-n8n/",
                  "icon": "📈",
                  "label": "Automatically pulling and visualizing data with n8n"
                },
                {
                  "url": "https://n8n.io/blog/database-monitoring-and-alerting-with-n8n/",
                  "icon": "📡",
                  "label": "Database Monitoring and Alerting with n8n"
                },
                {
                  "url": "https://n8n.io/blog/automatically-adding-expense-receipts-to-google-sheets-with-telegram-mindee-twilio-and-n8n/",
                  "icon": "🧾",
                  "label": "Automatically Adding Expense Receipts to Google Sheets with Telegram, Mindee, Twilio, and n8n"
                },
                {
                  "url": "https://n8n.io/blog/no-code-ecommerce-workflow-automations/",
                  "icon": "store",
                  "label": "6 e-commerce workflows to power up your Shopify s"
                },
                {
                  "url": "https://n8n.io/blog/how-to-build-a-low-code-self-hosted-url-shortener/",
                  "icon": "🔗",
                  "label": "How to build a low-code, self-hosted URL shortener in 3 steps"
                },
                {
                  "url": "https://n8n.io/blog/automate-your-data-processing-pipeline-in-9-steps-with-n8n/",
                  "icon": "⚙️",
                  "label": "Automate your data processing pipeline in 9 steps"
                },
                {
                  "url": "https://n8n.io/blog/how-to-get-started-with-crm-automation-and-no-code-workflow-ideas/",
                  "icon": "👥",
                  "label": "How to get started with CRM automation (with 3 no-code workflow ideas"
                },
                {
                  "url": "https://n8n.io/blog/5-tasks-you-can-automate-with-notion-api/",
                  "icon": "⚡️",
                  "label": "5 tasks you can automate with the new Notion API "
                },
                {
                  "url": "https://n8n.io/blog/automate-google-apps-for-productivity/",
                  "icon": "💡",
                  "label": "15 Google apps you can combine and automate to increase productivity"
                },
                {
                  "url": "https://n8n.io/blog/how-uproc-scraped-a-multi-page-website-with-a-low-code-workflow/",
                  "icon": " 🕸️",
                  "label": "How uProc scraped a multi-page website with a low-code workflow"
                },
                {
                  "url": "https://n8n.io/blog/building-an-expense-tracking-app-in-10-minutes/",
                  "icon": "📱",
                  "label": "Building an expense tracking app in 10 minutes"
                },
                {
                  "url": "https://n8n.io/blog/the-ultimate-guide-to-automate-your-video-collaboration-with-whereby-mattermost-and-n8n/",
                  "icon": "📹",
                  "label": "The ultimate guide to automate your video collaboration with Whereby, Mattermost, and n8n"
                },
                {
                  "url": "https://n8n.io/blog/5-workflow-automations-for-mattermost-that-we-love-at-n8n/",
                  "icon": "🤖",
                  "label": "5 workflow automations for Mattermost that we love at n8n"
                },
                {
                  "url": "https://n8n.io/blog/learn-to-build-powerful-api-endpoints-using-webhooks/",
                  "icon": "🧰",
                  "label": "Learn to Build Powerful API Endpoints Using Webhooks"
                },
                {
                  "url": "https://n8n.io/blog/how-a-membership-development-manager-automates-his-work-and-investments/",
                  "icon": "📈",
                  "label": "How a Membership Development Manager automates his work and investments"
                },
                {
                  "url": "https://n8n.io/blog/a-low-code-bitcoin-ticker-built-with-questdb-and-n8n-io/",
                  "icon": "📈",
                  "label": "A low-code bitcoin ticker built with QuestDB and n8n.io"
                },
                {
                  "url": "https://n8n.io/blog/how-to-set-up-a-ci-cd-pipeline-with-no-code/",
                  "icon": "🎡",
                  "label": "How to set up a no-code CI/CD pipeline with GitHub and TravisCI"
                },
                {
                  "url": "https://n8n.io/blog/benefits-of-automation-and-n8n-an-interview-with-hubspots-hugh-durkin/",
                  "icon": "🎖",
                  "label": "Benefits of automation and n8n: An interview with HubSpot's Hugh Durkin"
                },
                {
                  "url": "https://n8n.io/blog/how-goomer-automated-their-operations-with-over-200-n8n-workflows/",
                  "icon": "🛵",
                  "label": "How Goomer automated their operations with over 200 n8n workflows"
                },
                {
                  "url": "https://n8n.io/blog/aws-workflow-automation/",
                  "label": "7 no-code workflow automations for Amazon Web Services"
                }
              ],
              "primaryDocumentation": [
                {
                  "url": "https://docs.n8n.io/integrations/builtin/core-nodes/n8n-nodes-base.set/"
                }
              ]
            },
            "categories": [
              "Core Nodes"
            ],
            "nodeVersion": "1.0",
            "codexVersion": "1.0",
            "subcategories": {
              "Core Nodes": [
                "Data Transformation"
              ]
            }
          }
        },
        "group": "[\"input\"]",
        "defaults": {
          "name": "Edit Fields"
        },
        "iconData": {
          "icon": "pen",
          "type": "icon"
        },
        "displayName": "Edit Fields (Set)",
        "typeVersion": 3,
        "nodeCategories": [
          {
            "id": 9,
            "name": "Core Nodes"
          }
        ]
      },
      {
        "id": 112,
        "icon": "fa:map-signs",
        "name": "n8n-nodes-base.switch",
        "codex": {
          "data": {
            "alias": [
              "Router",
              "If",
              "Path",
              "Filter",
              "Condition",
              "Logic",
              "Branch",
              "Case"
            ],
            "resources": {
              "generic": [
                {
                  "url": "https://n8n.io/blog/2021-the-year-to-automate-the-new-you-with-n8n/",
                  "icon": "☀️",
                  "label": "2021: The Year to Automate the New You with n8n"
                },
                {
                  "url": "https://n8n.io/blog/how-to-get-started-with-crm-automation-and-no-code-workflow-ideas/",
                  "icon": "👥",
                  "label": "How to get started with CRM automation (with 3 no-code workflow ideas"
                },
                {
                  "url": "https://n8n.io/blog/build-your-own-virtual-assistant-with-n8n-a-step-by-step-guide/",
                  "icon": "👦",
                  "label": "Build your own virtual assistant with n8n: A step by step guide"
                },
                {
                  "url": "https://n8n.io/blog/automation-for-maintainers-of-open-source-projects/",
                  "icon": "🏷️",
                  "label": "How to automatically manage contributions to open-source projects"
                }
              ],
              "primaryDocumentation": [
                {
                  "url": "https://docs.n8n.io/integrations/builtin/core-nodes/n8n-nodes-base.switch/"
                }
              ]
            },
            "categories": [
              "Core Nodes"
            ],
            "nodeVersion": "1.0",
            "codexVersion": "1.0",
            "subcategories": {
              "Core Nodes": [
                "Flow"
              ]
            }
          }
        },
        "group": "[\"transform\"]",
        "defaults": {
          "name": "Switch",
          "color": "#506000"
        },
        "iconData": {
          "icon": "map-signs",
          "type": "icon"
        },
        "displayName": "Switch",
        "typeVersion": 3,
        "nodeCategories": [
          {
            "id": 9,
            "name": "Core Nodes"
          }
        ]
      },
      {
        "id": 445,
        "icon": "file:reddit.svg",
        "name": "n8n-nodes-base.reddit",
        "codex": {
          "data": {
            "resources": {
              "primaryDocumentation": [
                {
                  "url": "https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.reddit/"
                }
              ],
              "credentialDocumentation": [
                {
                  "url": "https://docs.n8n.io/integrations/builtin/credentials/reddit/"
                }
              ]
            },
            "categories": [
              "Communication"
            ],
            "nodeVersion": "1.0",
            "codexVersion": "1.0"
          }
        },
        "group": "[\"transform\"]",
        "defaults": {
          "name": "Reddit"
        },
        "iconData": {
          "type": "file",
          "fileBuffer": "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiBmaWxsPSIjZmZmIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiIHN0cm9rZT0iIzAwMCIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiB2aWV3Qm94PSIwIDAgNTEzIDUxNCI+PHVzZSB4bGluazpocmVmPSIjYSIgeD0iLjUiIHk9Ii41Ii8+PHN5bWJvbCBpZD0iYSIgb3ZlcmZsb3c9InZpc2libGUiPjxnIGZpbGwtcnVsZT0ibm9uemVybyIgc3Ryb2tlPSJub25lIj48cGF0aCBmaWxsPSIjZmY0NTAwIiBkPSJNMCA3Ni44QzAgMzQuMjUzIDM0LjI1MyAwIDc2LjggMGgzNTguNEM0NzcuNzQ3IDAgNTEyIDM0LjI1MyA1MTIgNzYuOHYzNTguNGMwIDQyLjU0Ny0zNC4yNTMgNzYuOC03Ni44IDc2LjhINzYuOEMzNC4yNTMgNTEyIDAgNDc3Ljc0NyAwIDQzNS4yeiIvPjxwYXRoIGQ9Ik03OSAzMDVjMC02OC4xNDIgNzguOTQyLTEyMyAxNzctMTIzczE3NyA1NC44NTggMTc3IDEyMy03OC45NDIgMTIzLTE3NyAxMjNTNzkgMzczLjE0MiA3OSAzMDUiLz48ZyBmaWxsPSIjZmY0NTAwIj48cGF0aCBkPSJNMTk5IDM0N2MzNSAyOSA3OSAyOSAxMTQgMGwxMiAxMWMtNDIgMzUtOTYgMzUtMTM4IDB6Ii8+PHVzZSB4bGluazpocmVmPSIjYiIvPjx1c2UgeGxpbms6aHJlZj0iI2IiIHg9Ii0xMTgiLz48L2c+PC9nPjxnIGZpbGw9Im5vbmUiIHN0cm9rZT0iI2ZmZiI+PHVzZSB4bGluazpocmVmPSIjYiIgeD0iNzUiIHk9Ii0xNjAiIHN0cm9rZS13aWR0aD0iMjUiLz48cGF0aCBzdHJva2Utd2lkdGg9IjIyIiBkPSJNODcgMjgyYy00NS0yMi01LTkyIDQwLTUwbTI5OCA1MGM0NS0yMiA1LTkyLTQwLTUwbS0xMjctNDUgMjQtODMgODAgMTYiLz48L2c+PC9zeW1ib2w+PGRlZnM+PHBhdGggaWQ9ImIiIGQ9Ik0yODcgMjg1YTI3Ljk0IDI3Ljk0IDAgMSAxIDU2IDAgMjcuOTQgMjcuOTQgMCAxIDEtNTYgMCIvPjwvZGVmcz48L3N2Zz4="
        },
        "displayName": "Reddit",
        "typeVersion": 1,
        "nodeCategories": [
          {
            "id": 6,
            "name": "Communication"
          }
        ]
      },
      {
        "id": 565,
        "icon": "fa:sticky-note",
        "name": "n8n-nodes-base.stickyNote",
        "codex": {
          "data": {
            "alias": [
              "Comments",
              "Notes",
              "Sticky"
            ],
            "categories": [
              "Core Nodes"
            ],
            "nodeVersion": "1.0",
            "codexVersion": "1.0",
            "subcategories": {
              "Core Nodes": [
                "Helpers"
              ]
            }
          }
        },
        "group": "[\"input\"]",
        "defaults": {
          "name": "Sticky Note",
          "color": "#FFD233"
        },
        "iconData": {
          "icon": "sticky-note",
          "type": "icon"
        },
        "displayName": "Sticky Note",
        "typeVersion": 1,
        "nodeCategories": [
          {
            "id": 9,
            "name": "Core Nodes"
          }
        ]
      },
      {
        "id": 837,
        "icon": "fa:sign-out-alt",
        "name": "n8n-nodes-base.executeWorkflowTrigger",
        "codex": {
          "data": {
            "resources": {
              "generic": [],
              "primaryDocumentation": [
                {
                  "url": "https://docs.n8n.io/integrations/builtin/core-nodes/n8n-nodes-base.executeworkflowtrigger/"
                }
              ]
            },
            "categories": [
              "Core Nodes"
            ],
            "nodeVersion": "1.0",
            "codexVersion": "1.0",
            "subcategories": {
              "Core Nodes": [
                "Helpers"
              ]
            }
          }
        },
        "group": "[\"trigger\"]",
        "defaults": {
          "name": "When Executed by Another Workflow",
          "color": "#ff6d5a"
        },
        "iconData": {
          "icon": "sign-out-alt",
          "type": "icon"
        },
        "displayName": "Execute Workflow Trigger",
        "typeVersion": 1,
        "nodeCategories": [
          {
            "id": 9,
            "name": "Core Nodes"
          }
        ]
      },
      {
        "id": 1205,
        "icon": "fa:network-wired",
        "name": "@n8n/n8n-nodes-langchain.toolWorkflow",
        "codex": {
          "data": {
            "resources": {
              "primaryDocumentation": [
                {
                  "url": "https://docs.n8n.io/integrations/builtin/cluster-nodes/sub-nodes/n8n-nodes-langchain.toolworkflow/"
                }
              ]
            },
            "categories": [
              "AI",
              "Langchain"
            ],
            "subcategories": {
              "AI": [
                "Tools"
              ],
              "Tools": [
                "Recommended Tools"
              ]
            }
          }
        },
        "group": "[\"transform\"]",
        "defaults": {
          "name": "Call n8n Workflow Tool"
        },
        "iconData": {
          "icon": "network-wired",
          "type": "icon"
        },
        "displayName": "Call n8n Workflow Tool",
        "typeVersion": 2,
        "nodeCategories": [
          {
            "id": 25,
            "name": "AI"
          },
          {
            "id": 26,
            "name": "Langchain"
          }
        ]
      },
      {
        "id": 1239,
        "icon": "file:splitOut.svg",
        "name": "n8n-nodes-base.splitOut",
        "codex": {
          "data": {
            "alias": [
              "Split",
              "Nested",
              "Transform",
              "Array",
              "List",
              "Item"
            ],
            "details": "",
            "resources": {
              "generic": [],
              "primaryDocumentation": [
                {
                  "url": "https://docs.n8n.io/integrations/builtin/core-nodes/n8n-nodes-base.splitout/"
                }
              ]
            },
            "categories": [
              "Core Nodes"
            ],
            "nodeVersion": "1.0",
            "codexVersion": "1.0",
            "subcategories": {
              "Core Nodes": [
                "Data Transformation"
              ]
            }
          }
        },
        "group": "[\"transform\"]",
        "defaults": {
          "name": "Split Out"
        },
        "iconData": {
          "type": "file",
          "fileBuffer": "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI1MTIiIGhlaWdodD0iNTEyIiBmaWxsPSJub25lIj48ZyBmaWxsPSIjOUI2REQ1IiBjbGlwLXBhdGg9InVybCgjYSkiPjxwYXRoIGZpbGwtcnVsZT0iZXZlbm9kZCIgZD0iTTQ4MCAxNDhjMC02LjYyNy01LjM3My0xMi0xMi0xMkgzMjJjLTYuNjI3IDAtMTIgNS4zNzMtMTIgMTJ2MjRjMCA2LjYyNyA1LjM3MyAxMiAxMiAxMmgxNDZjNi42MjcgMCAxMi01LjM3MyAxMi0xMnptMCA5NmMwLTYuNjI3LTUuMzczLTEyLTEyLTEySDMyMmMtNi42MjcgMC0xMiA1LjM3My0xMiAxMnYyNGMwIDYuNjI3IDUuMzczIDEyIDEyIDEyaDE0NmM2LjYyNyAwIDEyLTUuMzczIDEyLTEyem0wIDk2YzAtNi42MjctNS4zNzMtMTItMTItMTJIMzIyYy02LjYyNyAwLTEyIDUuMzczLTEyIDEydjI0YzAgNi42MjcgNS4zNzMgMTIgMTIgMTJoMTQ2YzYuNjI3IDAgMTItNS4zNzMgMTItMTJ6IiBjbGlwLXJ1bGU9ImV2ZW5vZGQiLz48cGF0aCBkPSJNNDM4IDc2YzAgNi42MjctNS4zNzMgMTItMTIgMTJIMzA5Ljc4M2MtMTcuNjczIDAtMzIgMTQuMzI3LTMyIDMydjU2YzAgMjYuOTc4LTEwLjI3MiA1MS41NTctMjcuMTE5IDcwLjAzOS01LjA1NSA1LjU0NS01LjA1NSAxNC4zNzcgMCAxOS45MjIgMTYuODQ3IDE4LjQ4MiAyNy4xMTkgNDMuMDYxIDI3LjExOSA3MC4wMzl2NTZjMCAxNy42NzMgMTQuMzI3IDMyIDMyIDMySDQyNmM2LjYyNyAwIDEyIDUuMzczIDEyIDEydjI0YzAgNi42MjctNS4zNzMgMTItMTIgMTJIMzA5Ljc4M2MtNDQuMTgzIDAtODAtMzUuODE3LTgwLTgwdi01NmMwLTMwLjkyOC0yNS4wNzItNTYtNTYtNTZhNS43ODMgNS43ODMgMCAwIDEtNS43ODMtNS43ODN2LTM2LjQzNGE1Ljc4MyA1Ljc4MyAwIDAgMSA1Ljc4My01Ljc4M2MzMC45MjggMCA1Ni0yNS4wNzIgNTYtNTZ2LTU2YzAtNDQuMTgzIDM1LjgxNy04MCA4MC04MEg0MjZjNi42MjcgMCAxMiA1LjM3MyAxMiAxMnoiLz48cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0xMzYgMjQ0YzAtNi42MjctNS4zNzMtMTItMTItMTJIMTJjLTYuNjI3IDAtMTIgNS4zNzMtMTIgMTJ2MjRjMCA2LjYyNyA1LjM3MyAxMiAxMiAxMmgxMTJjNi42MjcgMCAxMi01LjM3MyAxMi0xMnoiIGNsaXAtcnVsZT0iZXZlbm9kZCIvPjwvZz48ZGVmcz48Y2xpcFBhdGggaWQ9ImEiPjxwYXRoIGZpbGw9IiNmZmYiIGQ9Ik01MTIgMEgwdjUxMmg1MTJ6Ii8+PC9jbGlwUGF0aD48L2RlZnM+PC9zdmc+"
        },
        "displayName": "Split Out",
        "typeVersion": 1,
        "nodeCategories": [
          {
            "id": 9,
            "name": "Core Nodes"
          }
        ]
      },
      {
        "id": 1293,
        "icon": "file:../mcp.svg",
        "name": "@n8n/n8n-nodes-langchain.mcpTrigger",
        "codex": {
          "data": {
            "alias": [
              "Model Context Protocol",
              "MCP Server"
            ],
            "resources": {
              "primaryDocumentation": [
                {
                  "url": "https://docs.n8n.io/integrations/builtin/core-nodes/n8n-nodes-langchain.mcptrigger/"
                }
              ]
            },
            "categories": [
              "AI",
              "Core Nodes",
              "Langchain"
            ],
            "subcategories": {
              "AI": [
                "Root Nodes",
                "Model Context Protocol"
              ],
              "Core Nodes": [
                "Other Trigger Nodes"
              ]
            }
          }
        },
        "group": "[\"trigger\"]",
        "defaults": {
          "name": "MCP Server Trigger"
        },
        "iconData": {
          "type": "file",
          "fileBuffer": "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTgwIiBoZWlnaHQ9IjE4MCIgdmlld0JveD0iMCAwIDE5NSAxOTUiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+Cgk8ZyBzdHJva2U9IiMwMDAiIHN0cm9rZS13aWR0aD0iMTIiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCI+CgkJPHBhdGggZD0iTTI1IDk3Ljg1MjhMOTIuODgyMyAyOS45NzA2QzEwMi4yNTUgMjAuNTk4IDExNy40NTEgMjAuNTk4IDEyNi44MjMgMjkuOTcwNlYyOS45NzA2QzEzNi4xOTYgMzkuMzQzMSAxMzYuMTk2IDU0LjUzOTEgMTI2LjgyMyA2My45MTE3TDc1LjU1ODEgMTE1LjE3NyIvPgoJCTxwYXRoIGQ9Ik03Ni4yNjUzIDExNC40N0wxMjYuODIzIDYzLjkxMTdDMTM2LjE5NiA1NC41MzkxIDE1MS4zOTIgNTQuNTM5MSAxNjAuNzY1IDYzLjkxMTdMMTYxLjExOCA2NC4yNjUyQzE3MC40OTEgNzMuNjM3OCAxNzAuNDkxIDg4LjgzMzggMTYxLjExOCA5OC4yMDYzTDk5LjcyNDggMTU5LjZDOTYuNjAwNiAxNjIuNzI0IDk2LjYwMDYgMTY3Ljc4OSA5OS43MjQ4IDE3MC45MTNMMTEyLjMzMSAxODMuNTIiLz4KCQk8cGF0aCBkPSJNMTA5Ljg1MyA0Ni45NDExTDU5LjY0ODIgOTcuMTQ1N0M1MC4yNzU3IDEwNi41MTggNTAuMjc1NyAxMjEuNzE0IDU5LjY0ODIgMTMxLjA4N1YxMzEuMDg3QzY5LjAyMDggMTQwLjQ1OSA4NC4yMTY4IDE0MC40NTkgOTMuNTg5NCAxMzEuMDg3TDE0My43OTQgODAuODgyMiIvPgoJPC9nPgo8L3N2Zz4K"
        },
        "displayName": "MCP Server Trigger",
        "typeVersion": 2,
        "nodeCategories": [
          {
            "id": 9,
            "name": "Core Nodes"
          },
          {
            "id": 25,
            "name": "AI"
          },
          {
            "id": 26,
            "name": "Langchain"
          }
        ]
      }
    ],
    "categories": [
      {
        "id": 33,
        "name": "Social Media"
      }
    ],
    "image": [
      {
        "id": 1346,
        "url": "https://n8niostorageaccount.blob.core.windows.net/n8nio-strapi-blobs-prod/assets/Screenshot_2025_05_20_at_11_57_41_PM_2ed09de505.png"
      }
    ]
  }
}