{
  "key": "wix_contacts_export",
  "title": "Get us your Wix contacts",
  "variables": {},
  "start": "access",
  "steps": [
    {
      "id": "access",
      "owner": "client",
      "instruction": "We need to export your existing contacts out of Wix. Easiest: add rian@plusroi.com as a contributor in Wix so we can export them ourselves.",
      "primary": {
        "label": "Access added",
        "to": "confirm"
      },
      "alternatives": [
        {
          "key": "send_csv",
          "label": "I'll export a CSV myself instead",
          "kind": "jump",
          "to": "csv"
        },
        {
          "key": "later",
          "label": "I'll do it later",
          "kind": "flag",
          "tone": "ack"
        },
        {
          "key": "trouble",
          "label": "Having trouble",
          "kind": "flag",
          "tone": "attention"
        }
      ],
      "tutorial": {
        "title": "Adding us as a Wix contributor",
        "intro": "The easiest route — with contributor access we can pull the contacts out ourselves and you're done.",
        "steps": [
          {
            "text": "Sign in at [wix.com](https://www.wix.com) and open your site's dashboard."
          },
          {
            "text": "In the left menu, go to **Settings**, then **Roles & Permissions**.",
            "image": "asset://wix-01-roles.png"
          },
          {
            "text": "Click **Invite People**, enter our email address, and choose the **Admin** role.",
            "note": "Admin (rather than a narrower role) is what includes the contact list — narrower roles often can't see contacts at all."
          },
          {
            "text": "Send the invite and press **Contributor added** here."
          }
        ]
      }
    },
    {
      "id": "csv",
      "owner": "client",
      "instruction": "In Wix: Contacts > More actions > Export — then share the file (a link, or email it to rian@plusroi.com).",
      "fields": [
        {
          "key": "how_shared",
          "type": "longtext",
          "label": "Where did you put the CSV?",
          "required": true
        }
      ],
      "primary": {
        "label": "CSV sent",
        "to": "confirm"
      },
      "alternatives": [
        {
          "key": "trouble",
          "label": "Having trouble",
          "kind": "flag",
          "tone": "attention"
        }
      ],
      "tutorial": {
        "title": "Exporting your Wix contacts",
        "steps": [
          {
            "text": "In your Wix dashboard, open **Contacts** from the left menu."
          },
          {
            "text": "Click **More Actions** at the top-right, then **Export**.",
            "image": "asset://wix-02-export.png"
          },
          {
            "text": "Choose to export **all contacts** and confirm.",
            "note": "Wix emails the file to you rather than downloading it straight away — it usually arrives within a few minutes."
          },
          {
            "text": "When the file arrives, send it to us — attach it to a comment on this item, or share a link.",
            "note": "You can paste or attach the file directly into a comment here."
          }
        ]
      }
    },
    {
      "id": "confirm",
      "owner": "team",
      "instruction": "Confirm we hold the contacts (export them if we got access).",
      "primary": {
        "label": "Got them",
        "to": "$done"
      },
      "alternatives": [
        {
          "key": "not_yet",
          "label": "Can't get them — back to the client",
          "kind": "jump",
          "to": "access"
        }
      ]
    }
  ]
}
