{
  "description": "Use nanobot from WhatsApp conversations.",
  "requirements": "WhatsApp connection setup and gateway",
  "setup": {
    "primaryAction": "Connect WhatsApp",
    "docsLabel": "Open WhatsApp setup",
    "officialLabel": "Open WhatsApp help",
    "tryIt": "After terminal login finishes, send a WhatsApp DM to the connected account.",
    "summary": "WhatsApp is connected by scanning a QR code from the account that should run the bot.",
    "steps": [
      "Run the WhatsApp login command shown below.",
      "Scan the QR code in the terminal with WhatsApp on your phone.",
      "Return here after login, enable WhatsApp, then send a direct test message."
    ],
    "fields": {
      "allowFrom": {
        "label": "Allowed contacts",
        "placeholder": "Phone numbers or WhatsApp IDs"
      },
      "groupPolicy": {
        "label": "Group behavior",
        "choices": {
          "mention": "Mention only",
          "open": "All messages",
          "allowlist": "Allowlist"
        }
      }
    }
  }
}
