{
  "openruna_format": "flow-graph-v1",
  "title": "0893_Stickynote_Emailreadimap_Create",
  "slug": "0893-stickynote-emailreadimap-create",
  "source_filename": "0893_Stickynote_Emailreadimap_Create.json",
  "nodes": [
    {
      "id": "Creates an email engagement",
      "name": "Creates an email engagement",
      "integration": "hubspot",
      "kind": "action"
    },
    {
      "id": "OpenAI Chat Model",
      "name": "OpenAI Chat Model",
      "integration": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "kind": "action"
    },
    {
      "id": "Search for the contact via email",
      "name": "Search for the contact via email",
      "integration": "hubspot",
      "kind": "action"
    },
    {
      "id": "Parse the mail with AI",
      "name": "Parse the mail with AI",
      "integration": "@n8n/n8n-nodes-langchain.chainLlm",
      "kind": "action"
    },
    {
      "id": "When an email is received",
      "name": "When an email is received",
      "integration": "emailReadImap",
      "kind": "action"
    },
    {
      "id": "Set the output Json",
      "name": "Set the output Json",
      "integration": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "kind": "action"
    },
    {
      "id": "contact exists?",
      "name": "contact exists?",
      "integration": "if",
      "kind": "logic"
    },
    {
      "id": "Edit Fields",
      "name": "Edit Fields",
      "integration": "set",
      "kind": "logic"
    },
    {
      "id": "Creates contact",
      "name": "Creates contact",
      "integration": "hubspot",
      "kind": "action"
    }
  ],
  "edges": [
    {
      "from": "Edit Fields",
      "to": "Creates an email engagement"
    },
    {
      "from": "Creates contact",
      "to": "Creates an email engagement"
    },
    {
      "from": "contact exists?",
      "to": "Edit Fields"
    },
    {
      "from": "contact exists?",
      "to": "Creates contact"
    },
    {
      "from": "Parse the mail with AI",
      "to": "Search for the contact via email"
    },
    {
      "from": "When an email is received",
      "to": "Parse the mail with AI"
    },
    {
      "from": "Search for the contact via email",
      "to": "contact exists?"
    }
  ]
}