{
  "openruna_format": "flow-graph-v1",
  "title": "On new Stripe Invoice Payment update Hubspot and notify the team in Slack",
  "slug": "on-new-stripe-invoice-payment-update-hubspot-and-notify-the-team-in-slack",
  "source_filename": "0008_Slack_Stripe_Create_Triggered.json",
  "nodes": [
    {
      "id": "When Invoice Paid",
      "name": "When Invoice Paid",
      "integration": "stripe",
      "kind": "trigger"
    },
    {
      "id": "Update Deal to Paid",
      "name": "Update Deal to Paid",
      "integration": "hubspot",
      "kind": "action"
    },
    {
      "id": "Find Deal based on PO Number",
      "name": "Find Deal based on PO Number",
      "integration": "hubspot",
      "kind": "action"
    },
    {
      "id": "If no PO Number",
      "name": "If no PO Number",
      "integration": "if",
      "kind": "logic"
    },
    {
      "id": "If no deal found for PO",
      "name": "If no deal found for PO",
      "integration": "if",
      "kind": "logic"
    },
    {
      "id": "Send invoice paid message",
      "name": "Send invoice paid message",
      "integration": "slack",
      "kind": "action"
    },
    {
      "id": "Send no PO Message",
      "name": "Send no PO Message",
      "integration": "slack",
      "kind": "action"
    },
    {
      "id": "Send Deal not found message",
      "name": "Send Deal not found message",
      "integration": "slack",
      "kind": "action"
    }
  ],
  "edges": [
    {
      "from": "If no PO Number",
      "to": "Send no PO Message"
    },
    {
      "from": "If no PO Number",
      "to": "Find Deal based on PO Number"
    },
    {
      "from": "When Invoice Paid",
      "to": "If no PO Number"
    },
    {
      "from": "Update Deal to Paid",
      "to": "Send invoice paid message"
    },
    {
      "from": "If no deal found for PO",
      "to": "Send Deal not found message"
    },
    {
      "from": "If no deal found for PO",
      "to": "Update Deal to Paid"
    },
    {
      "from": "Find Deal based on PO Number",
      "to": "If no deal found for PO"
    }
  ]
}