{
  "openruna_format": "flow-graph-v1",
  "title": "0926_Code_Webhook_Create_Webhook",
  "slug": "0926-code-webhook-create-webhook",
  "source_filename": "0926_Code_Webhook_Create_Webhook.json",
  "nodes": [
    {
      "id": "Append Material Request",
      "name": "Append Material Request",
      "integration": "googleSheets",
      "kind": "action"
    },
    {
      "id": "Get Approvals",
      "name": "Get Approvals",
      "integration": "webhook",
      "kind": "trigger"
    },
    {
      "id": "Standardize Data",
      "name": "Standardize Data",
      "integration": "set",
      "kind": "logic"
    },
    {
      "id": "Update Stock",
      "name": "Update Stock",
      "integration": "code",
      "kind": "logic"
    },
    {
      "id": "Receive Issue Request",
      "name": "Receive Issue Request",
      "integration": "webhook",
      "kind": "trigger"
    },
    {
      "id": "Send Approval Request",
      "name": "Send Approval Request",
      "integration": "gmail",
      "kind": "action"
    },
    {
      "id": "Prepare Approval",
      "name": "Prepare Approval",
      "integration": "code",
      "kind": "logic"
    },
    {
      "id": "Create Record Issue",
      "name": "Create Record Issue",
      "integration": "supabase",
      "kind": "action"
    },
    {
      "id": "Search Product ID",
      "name": "Search Product ID",
      "integration": "supabase",
      "kind": "action"
    },
    {
      "id": "Searck Issues",
      "name": "Searck Issues",
      "integration": "supabase",
      "kind": "action"
    },
    {
      "id": "Update Current Stck",
      "name": "Update Current Stck",
      "integration": "supabase",
      "kind": "action"
    },
    {
      "id": "Merge Lookups",
      "name": "Merge Lookups",
      "integration": "merge",
      "kind": "logic"
    },
    {
      "id": "Update Current Stock1",
      "name": "Update Current Stock1",
      "integration": "googleSheets",
      "kind": "action"
    },
    {
      "id": "LookUp Current stock1",
      "name": "LookUp Current stock1",
      "integration": "googleSheets",
      "kind": "action"
    },
    {
      "id": "Low stock Detection1",
      "name": "Low stock Detection1",
      "integration": "code",
      "kind": "logic"
    },
    {
      "id": "Merge1",
      "name": "Merge1",
      "integration": "merge",
      "kind": "logic"
    },
    {
      "id": "Append Raw Materials",
      "name": "Append Raw Materials",
      "integration": "googleSheets",
      "kind": "action"
    },
    {
      "id": "Calculate Total Price",
      "name": "Calculate Total Price",
      "integration": "code",
      "kind": "logic"
    },
    {
      "id": "Calculate Updated Current Stock",
      "name": "Calculate Updated Current Stock",
      "integration": "code",
      "kind": "logic"
    },
    {
      "id": "Validate Quantity Received",
      "name": "Validate Quantity Received",
      "integration": "code",
      "kind": "logic"
    },
    {
      "id": "Initialize New Product stock",
      "name": "Initialize New Product stock",
      "integration": "googleSheets",
      "kind": "action"
    },
    {
      "id": "Update Current Stock",
      "name": "Update Current Stock",
      "integration": "googleSheets",
      "kind": "action"
    },
    {
      "id": "LookUp Current stock",
      "name": "LookUp Current stock",
      "integration": "googleSheets",
      "kind": "action"
    },
    {
      "id": "New Row Current Stock",
      "name": "New Row Current Stock",
      "integration": "supabase",
      "kind": "action"
    },
    {
      "id": "Current Stock Update",
      "name": "Current Stock Update",
      "integration": "supabase",
      "kind": "action"
    },
    {
      "id": "Search Current Stock",
      "name": "Search Current Stock",
      "integration": "supabase",
      "kind": "action"
    },
    {
      "id": "Format response",
      "name": "Format response",
      "integration": "itemLists",
      "kind": "logic"
    },
    {
      "id": "Merge",
      "name": "Merge",
      "integration": "merge",
      "kind": "logic"
    },
    {
      "id": "Low stock Detection2",
      "name": "Low stock Detection2",
      "integration": "code",
      "kind": "logic"
    },
    {
      "id": "Receive Raw Materials Webhook",
      "name": "Receive Raw Materials Webhook",
      "integration": "webhook",
      "kind": "trigger"
    },
    {
      "id": "Standardize Raw Material Data",
      "name": "Standardize Raw Material Data",
      "integration": "set",
      "kind": "logic"
    },
    {
      "id": "Lookup Existing Stock",
      "name": "Lookup Existing Stock",
      "integration": "googleSheets",
      "kind": "action"
    },
    {
      "id": "Check If Product ID Exists",
      "name": "Check If Product ID Exists",
      "integration": "if",
      "kind": "logic"
    },
    {
      "id": "New Record Row",
      "name": "New Record Row",
      "integration": "supabase",
      "kind": "action"
    },
    {
      "id": "Trigger Low Stock Alert",
      "name": "Trigger Low Stock Alert",
      "integration": "if",
      "kind": "logic"
    },
    {
      "id": "Send Low Stock Email Alert",
      "name": "Send Low Stock Email Alert",
      "integration": "gmail",
      "kind": "action"
    },
    {
      "id": "Low Stock Email Alert",
      "name": "Low Stock Email Alert",
      "integration": "gmail",
      "kind": "action"
    },
    {
      "id": "Validate Issue Request Data",
      "name": "Validate Issue Request Data",
      "integration": "code",
      "kind": "logic"
    },
    {
      "id": "Verify Requested Quantity",
      "name": "Verify Requested Quantity",
      "integration": "code",
      "kind": "logic"
    },
    {
      "id": "Check Available Stock for Issue",
      "name": "Check Available Stock for Issue",
      "integration": "googleSheets",
      "kind": "action"
    },
    {
      "id": "Format Approval Response",
      "name": "Format Approval Response",
      "integration": "set",
      "kind": "logic"
    },
    {
      "id": "Verify Approval Data",
      "name": "Verify Approval Data",
      "integration": "code",
      "kind": "logic"
    },
    {
      "id": "Retrieve Issue Request Details",
      "name": "Retrieve Issue Request Details",
      "integration": "googleSheets",
      "kind": "action"
    },
    {
      "id": "Process Approval Decision",
      "name": "Process Approval Decision",
      "integration": "if",
      "kind": "logic"
    },
    {
      "id": "Get Stock for Issue Update from Current",
      "name": "Get Stock for Issue Update from Current",
      "integration": "googleSheets",
      "kind": "action"
    },
    {
      "id": "Update Stock After Issue",
      "name": "Update Stock After Issue",
      "integration": "googleSheets",
      "kind": "action"
    },
    {
      "id": "Materials Issue Table Update",
      "name": "Materials Issue Table Update",
      "integration": "supabase",
      "kind": "action"
    },
    {
      "id": "Is Stock is Low",
      "name": "Is Stock is Low",
      "integration": "if",
      "kind": "logic"
    }
  ],
  "edges": [
    {
      "from": "Merge",
      "to": "Check If Product ID Exists"
    },
    {
      "from": "Merge1",
      "to": "Process Approval Decision"
    },
    {
      "from": "Update Stock",
      "to": "Update Current Stock1"
    },
    {
      "from": "Update Stock",
      "to": "Update Current Stck"
    },
    {
      "from": "Get Approvals",
      "to": "Format Approval Response"
    },
    {
      "from": "Merge Lookups",
      "to": "Prepare Approval"
    },
    {
      "from": "Searck Issues",
      "to": "Merge1"
    },
    {
      "from": "New Record Row",
      "to": "Search Current Stock"
    },
    {
      "from": "Format response",
      "to": "Initialize New Product stock"
    },
    {
      "from": "Format response",
      "to": "New Row Current Stock"
    },
    {
      "from": "Is Stock is Low",
      "to": "Low Stock Email Alert"
    },
    {
      "from": "Prepare Approval",
      "to": "Send Approval Request"
    },
    {
      "from": "Standardize Data",
      "to": "Validate Issue Request Data"
    },
    {
      "from": "Search Product ID",
      "to": "Merge Lookups"
    },
    {
      "from": "Create Record Issue",
      "to": "Search Product ID"
    },
    {
      "from": "Append Raw Materials",
      "to": "Validate Quantity Received"
    },
    {
      "from": "LookUp Current stock",
      "to": "Low stock Detection2"
    },
    {
      "from": "Low stock Detection1",
      "to": "Is Stock is Low"
    },
    {
      "from": "Low stock Detection2",
      "to": "Trigger Low Stock Alert"
    },
    {
      "from": "Search Current Stock",
      "to": "Merge"
    },
    {
      "from": "Update Current Stock",
      "to": "LookUp Current stock"
    },
    {
      "from": "Verify Approval Data",
      "to": "Retrieve Issue Request Details"
    },
    {
      "from": "Verify Approval Data",
      "to": "Searck Issues"
    },
    {
      "from": "Calculate Total Price",
      "to": "Append Raw Materials"
    },
    {
      "from": "Calculate Total Price",
      "to": "New Record Row"
    },
    {
      "from": "LookUp Current stock1",
      "to": "Low stock Detection1"
    },
    {
      "from": "Lookup Existing Stock",
      "to": "Merge"
    },
    {
      "from": "Receive Issue Request",
      "to": "Standardize Data"
    },
    {
      "from": "Update Current Stock1",
      "to": "LookUp Current stock1"
    },
    {
      "from": "Append Material Request",
      "to": "Check Available Stock for Issue"
    },
    {
      "from": "Trigger Low Stock Alert",
      "to": "Send Low Stock Email Alert"
    },
    {
      "from": "Format Approval Response",
      "to": "Verify Approval Data"
    },
    {
      "from": "Process Approval Decision",
      "to": "Update Stock After Issue"
    },
    {
      "from": "Process Approval Decision",
      "to": "Materials Issue Table Update"
    },
    {
      "from": "Process Approval Decision",
      "to": "Get Stock for Issue Update from Current"
    },
    {
      "from": "Verify Requested Quantity",
      "to": "Append Material Request"
    },
    {
      "from": "Verify Requested Quantity",
      "to": "Create Record Issue"
    },
    {
      "from": "Check If Product ID Exists",
      "to": "Calculate Updated Current Stock"
    },
    {
      "from": "Check If Product ID Exists",
      "to": "Format response"
    },
    {
      "from": "Validate Quantity Received",
      "to": "Lookup Existing Stock"
    },
    {
      "from": "Validate Issue Request Data",
      "to": "Verify Requested Quantity"
    },
    {
      "from": "Receive Raw Materials Webhook",
      "to": "Standardize Raw Material Data"
    },
    {
      "from": "Standardize Raw Material Data",
      "to": "Calculate Total Price"
    },
    {
      "from": "Retrieve Issue Request Details",
      "to": "Merge1"
    },
    {
      "from": "Calculate Updated Current Stock",
      "to": "Update Current Stock"
    },
    {
      "from": "Calculate Updated Current Stock",
      "to": "Current Stock Update"
    },
    {
      "from": "Check Available Stock for Issue",
      "to": "Merge Lookups"
    },
    {
      "from": "Get Stock for Issue Update from Current",
      "to": "Update Stock"
    }
  ]
}