{
  "openruna_format": "flow-graph-v1",
  "title": "Gmail AI auto-responder: create draft replies to incoming emails",
  "slug": "gmail-ai-auto-responder-create-draft-replies-to-incoming-emails",
  "source_filename": "1479_Gmail_Stickynote_Create_Triggered.json",
  "nodes": [
    {
      "id": "Gmail Trigger",
      "name": "Gmail Trigger",
      "integration": "gmail",
      "kind": "trigger"
    },
    {
      "id": "If Needs Reply",
      "name": "If Needs Reply",
      "integration": "if",
      "kind": "logic"
    },
    {
      "id": "JSON Parser",
      "name": "JSON Parser",
      "integration": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "kind": "action"
    },
    {
      "id": "OpenAI Chat",
      "name": "OpenAI Chat",
      "integration": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "kind": "action"
    },
    {
      "id": "OpenAI Chat Model",
      "name": "OpenAI Chat Model",
      "integration": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "kind": "action"
    },
    {
      "id": "Gmail - Create Draft",
      "name": "Gmail - Create Draft",
      "integration": "gmail",
      "kind": "action"
    },
    {
      "id": "Assess if message needs a reply",
      "name": "Assess if message needs a reply",
      "integration": "@n8n/n8n-nodes-langchain.chainLlm",
      "kind": "action"
    },
    {
      "id": "Generate email reply",
      "name": "Generate email reply",
      "integration": "@n8n/n8n-nodes-langchain.chainLlm",
      "kind": "action"
    }
  ],
  "edges": [
    {
      "from": "Gmail Trigger",
      "to": "Assess if message needs a reply"
    },
    {
      "from": "If Needs Reply",
      "to": "Generate email reply"
    },
    {
      "from": "Generate email reply",
      "to": "Gmail - Create Draft"
    },
    {
      "from": "Assess if message needs a reply",
      "to": "If Needs Reply"
    }
  ]
}