{
  "id": "instagram",
  "name": "Instagram Automation",
  "description": "Battle-tested playbook for Instagram browser automation via CDP. Covers feed, search, like, comment, save, DM, create post, follow/unfollow, and profile viewing.",
  "platform": "instagram",
  "version": "4.0.0",
  "urlPatterns": [
    "*instagram.com*"
  ],
  "tags": [
    "instagram",
    "social",
    "browser",
    "cdp"
  ],
  "successCount": 0,
  "failCount": 0,
  "steps": [
    {
      "action": "navigate",
      "url": "https://www.instagram.com/",
      "description": "Open Instagram home feed"
    },
    {
      "action": "wait",
      "ms": 1500,
      "description": "Wait for feed to load"
    },
    {
      "action": "extract",
      "target": "article",
      "format": "text",
      "description": "Extract first visible post content"
    },
    {
      "action": "scroll",
      "direction": "down",
      "amount": 5,
      "description": "Scroll down to see more posts"
    },
    {
      "action": "wait",
      "ms": 1000,
      "description": "Wait for new posts to load"
    },
    {
      "action": "extract",
      "target": "article",
      "format": "text",
      "description": "Extract posts after scroll"
    },
    {
      "action": "screenshot",
      "description": "Capture current feed state"
    }
  ]
}
