{
  "key": "merchant_center_access",
  "title": "Grant Google Merchant Center access to {{who_needs_access}}",
  "variables": {
    "who_needs_access": {
      "type": "email_list",
      "label": "Emails needing access",
      "required": true
    }
  },
  "start": "grant",
  "steps": [
    {
      "id": "grant",
      "owner": "client",
      "instruction": "In [merchants.google.com](https://merchants.google.com): Settings (gear) > Account access > + Add user. Give each address the highest access level you're comfortable with.",
      "targets": "who_needs_access",
      "primary": {
        "label": "Granted",
        "to": "verify"
      },
      "alternatives": [
        {
          "key": "later",
          "label": "I'll do it later",
          "kind": "flag",
          "tone": "ack"
        },
        {
          "key": "trouble",
          "label": "Having trouble",
          "kind": "flag",
          "tone": "attention"
        },
        {
          "key": "no_account",
          "label": "We don't have Merchant Center",
          "kind": "flag",
          "tone": "attention"
        }
      ],
      "tutorial": {
        "title": "Adding users to Merchant Center",
        "steps": [
          {
            "text": "Go to [merchants.google.com](https://merchants.google.com) and sign in."
          },
          {
            "text": "Click the **gear icon (Settings)** in the top-right, then **Account access**.",
            "image": "asset://mc-01-account-access.png"
          },
          {
            "text": "Click **+ Add user** and enter {{who_needs_access}}.",
            "note": "Add them one at a time — Merchant Center takes a single address per invitation."
          },
          {
            "text": "Give each one the **Admin** access level, then click **Add user**.",
            "note": "Admin is what lets us fix product feed and shipping errors directly instead of sending you a list of them.",
            "image": "asset://mc-02-admin-role.png"
          }
        ]
      }
    },
    {
      "id": "verify",
      "owner": "team",
      "instruction": "Check each of {{who_needs_access}} can open Merchant Center.",
      "primary": {
        "label": "All verified",
        "to": "$done"
      },
      "alternatives": [
        {
          "key": "missing",
          "label": "Someone's missing — back to the client",
          "kind": "jump",
          "to": "grant"
        }
      ]
    }
  ]
}
