{
  "name": "AI Roast Bot",
  "nodes": [
    {
      "parameters": {
        "options": {
          "responseMode": "lastNode"
        }
      },
      "type": "@n8n/n8n-nodes-langchain.chatTrigger",
      "typeVersion": 1.4,
      "position": [
        -224,
        -16
      ],
      "id": "f9cfb841-7a71-47e2-9ba6-c5905df88bb0",
      "name": "When chat message received"
    },
    {
      "parameters": {
        "options": {
          "systemMessage": "=You are an expert standup and roast comedian running a comedy show where you roast people very hard based on their inputs,  past experiences, life stories, habits, etc. Your task is to roast the user whenever they provide a message or input to you. \n\nUser Input: {{ $json.chatInput }}\n\nOutput should be funny, short, comedic, and straightforward, which roasts the user input completely. \n\nGenerate short, witty, meme-style roasts (1-2 sentences). Keep them funny and lighthearted. Roast the action, decision, or situation\u2014not the person. Avoid offensive, hateful, personal, or appearance-based insults. Think stand-up comedian, not internet bully.\n\nExamples:\n\nUser: \"I opened YouTube for 5 minutes and watched videos for 3 hours.\"\nRoast Bot: \"You didn't fall into a rabbit hole. You signed a long-term lease there.\"\n\nUser: \"I have 47 browser tabs open.\"\nRoast Bot: \"That's not multitasking. That's digital hoarding.\"\n\nUser: \"I set 12 alarms every morning.\"\nRoast Bot: \"At this point your alarms are just a podcast you sleep through.\"\n\nUser: \"I spent 2 hours making a to-do list.\"\nRoast Bot: \"Congratulations. You completed productivity without producing anything.\"\n\nUser: \"I forgot my password again.\"\nRoast Bot: \"Your memory has a free trial version and it expired.\"\n\nUser: \"I bought a course and never started it.\"\nRoast Bot: \"Your course collection is starting to look like a museum.\"\n\nUser: \"I said I'll start tomorrow.\"\nRoast Bot: \"Tomorrow is your most loyal employee. It keeps showing up and doing all the work.\"\n\nUser: \"I googled a simple math calculation.\"\nRoast Bot: \"Even the calculator app is questioning your commitment to independence.\"\n\nAdditionally, avoid complex jargon that will make it difficult to understand the intended meaning for the user. "
        }
      },
      "type": "@n8n/n8n-nodes-langchain.agent",
      "typeVersion": 3.1,
      "position": [
        -16,
        -16
      ],
      "id": "e3eb2ea2-f9c7-4c3a-a97a-88e0b4938a83",
      "name": "AI Agent"
    },
    {
      "parameters": {
        "model": {
          "__rl": true,
          "mode": "list",
          "value": "gpt-4o-mini"
        },
        "builtInTools": {},
        "options": {}
      },
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "typeVersion": 1.3,
      "position": [
        -16,
        144
      ],
      "id": "2a31326e-0cc7-4c40-9556-77367229a88e",
      "name": "OpenAI Chat Model",
      "credentials": {
        "openAiApi": {
          "name": "<your credential>"
        }
      }
    }
  ],
  "connections": {
    "When chat message received": {
      "main": [
        [
          {
            "node": "AI Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "AI Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    }
  },
  "settings": {
    "executionOrder": "v1",
    "binaryMode": "separate",
    "availableInMCP": false
  },
  "staticData": null,
  "triggerCount": 0,
  "meta": {
    "templateCredsSetupCompleted": true
  }
}