{
  "name": "Hand off MQLs to sales",
  "description": "When a HubSpot contact crosses the MQL threshold, sync to Salesforce, route by territory, and notify the AE.",
  "generatedBy": "Spion",
  "generatedAt": "2026-06-14T14:13:03.647Z",
  "confidence": "strong",
  "efficiencyGain": {
    "manualSteps": 5,
    "automatedSteps": 3,
    "reductionPercent": 40,
    "timeSavedPerRun": "~5 min",
    "annualHoursSaved": null
  },
  "trigger": {
    "provider": "workato",
    "type": "event",
    "name": "MQL threshold crossed",
    "description": "When a contact's score crosses the MQL threshold"
  },
  "actions": [
    {
      "number": 1,
      "type": "action",
      "tool": "Salesforce",
      "name": "Upsert lead",
      "description": "Match on email; write the latest contact, company, and score.",
      "replaces": [],
      "addedBySpion": false
    },
    {
      "number": 2,
      "type": "action",
      "tool": "Lookup",
      "name": "Resolve owner",
      "description": "Resolve the territory owner from the routing table; fall back to round-robin.",
      "why": "no lead waits for someone to claim it.",
      "replaces": [],
      "addedBySpion": true
    },
    {
      "number": 3,
      "type": "action",
      "tool": "Slack",
      "name": "Notify AE",
      "description": "DM the assigned AE: lead name, score, source, HubSpot link. On no match, route to #unassigned-leads.",
      "replaces": [],
      "addedBySpion": false
    }
  ]
}