{
  "openruna_format": "flow-graph-v1",
  "title": "Blog Automation TEMPLATE",
  "slug": "blog-automation-template",
  "source_filename": "1320_Code_Schedule_Automate_Webhook.json",
  "nodes": [
    {
      "id": "Settings",
      "name": "Settings",
      "integration": "set",
      "kind": "logic"
    },
    {
      "id": "ScheduleTrigger",
      "name": "ScheduleTrigger",
      "integration": "schedule",
      "kind": "trigger"
    },
    {
      "id": "ManualTrigger",
      "name": "ManualTrigger",
      "integration": "manual",
      "kind": "trigger"
    },
    {
      "id": "Schedule",
      "name": "Schedule",
      "integration": "googleSheets",
      "kind": "action"
    },
    {
      "id": "Config",
      "name": "Config",
      "integration": "code",
      "kind": "logic"
    },
    {
      "id": "fetchConfig",
      "name": "fetchConfig",
      "integration": "googleSheets",
      "kind": "action"
    },
    {
      "id": "AgentLLM",
      "name": "AgentLLM",
      "integration": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "kind": "action"
    },
    {
      "id": "IfScheduledNow",
      "name": "IfScheduledNow",
      "integration": "if",
      "kind": "logic"
    },
    {
      "id": "PreparedData",
      "name": "PreparedData",
      "integration": "code",
      "kind": "logic"
    },
    {
      "id": "RecombinedDataRow",
      "name": "RecombinedDataRow",
      "integration": "code",
      "kind": "logic"
    },
    {
      "id": "SaveBackToSheet",
      "name": "SaveBackToSheet",
      "integration": "googleSheets",
      "kind": "action"
    },
    {
      "id": "IfActionPublish",
      "name": "IfActionPublish",
      "integration": "if",
      "kind": "logic"
    },
    {
      "id": "IfTakeAction",
      "name": "IfTakeAction",
      "integration": "if",
      "kind": "logic"
    },
    {
      "id": "IfPromptExists",
      "name": "IfPromptExists",
      "integration": "if",
      "kind": "logic"
    },
    {
      "id": "Basic LLM Chain",
      "name": "Basic LLM Chain",
      "integration": "@n8n/n8n-nodes-langchain.chainLlm",
      "kind": "action"
    },
    {
      "id": "CreatePost",
      "name": "CreatePost",
      "integration": "httpRequest",
      "kind": "action"
    },
    {
      "id": "SetToPublish",
      "name": "SetToPublish",
      "integration": "googleSheets",
      "kind": "action"
    },
    {
      "id": "PrepareXmlPost",
      "name": "PrepareXmlPost",
      "integration": "code",
      "kind": "logic"
    },
    {
      "id": "HandleXMLRPCResponse",
      "name": "HandleXMLRPCResponse",
      "integration": "code",
      "kind": "logic"
    },
    {
      "id": "PostingSuccessful",
      "name": "PostingSuccessful",
      "integration": "if",
      "kind": "logic"
    },
    {
      "id": "LogStatus",
      "name": "LogStatus",
      "integration": "googleSheets",
      "kind": "action"
    },
    {
      "id": "LogPublished",
      "name": "LogPublished",
      "integration": "googleSheets",
      "kind": "action"
    }
  ],
  "edges": [
    {
      "from": "Schedule",
      "to": "PreparedData"
    },
    {
      "from": "Settings",
      "to": "fetchConfig"
    },
    {
      "from": "Settings",
      "to": "Schedule"
    },
    {
      "from": "LogStatus",
      "to": "SaveBackToSheet"
    },
    {
      "from": "CreatePost",
      "to": "HandleXMLRPCResponse"
    },
    {
      "from": "fetchConfig",
      "to": "Config"
    },
    {
      "from": "IfTakeAction",
      "to": "IfActionPublish"
    },
    {
      "from": "LogPublished",
      "to": "PostingSuccessful"
    },
    {
      "from": "PreparedData",
      "to": "IfTakeAction"
    },
    {
      "from": "ManualTrigger",
      "to": "Settings"
    },
    {
      "from": "IfPromptExists",
      "to": "Basic LLM Chain"
    },
    {
      "from": "IfScheduledNow",
      "to": "PrepareXmlPost"
    },
    {
      "from": "PrepareXmlPost",
      "to": "CreatePost"
    },
    {
      "from": "Basic LLM Chain",
      "to": "RecombinedDataRow"
    },
    {
      "from": "IfActionPublish",
      "to": "IfScheduledNow"
    },
    {
      "from": "IfActionPublish",
      "to": "IfPromptExists"
    },
    {
      "from": "ScheduleTrigger",
      "to": "Settings"
    },
    {
      "from": "PostingSuccessful",
      "to": "SetToPublish"
    },
    {
      "from": "RecombinedDataRow",
      "to": "LogStatus"
    },
    {
      "from": "HandleXMLRPCResponse",
      "to": "LogPublished"
    }
  ]
}