{
  "key": "barnet_api_connection",
  "title": "Connect us to the Barnet API",
  "variables": {},
  "start": "select_api",
  "steps": [
    {
      "id": "select_api",
      "owner": "client",
      "instruction": "This is the big question mark for the ecommerce scope, so it's worth starting right away. We've both been told Barnet has an API that works with WooCommerce, but nobody has shown us the API itself yet. First step: officially select the API option and set up the online payment processing agreement with Barnet.",
      "primary": {
        "label": "API set up",
        "to": "email_barnet"
      },
      "alternatives": [
        {
          "key": "later",
          "label": "I'll do it later",
          "kind": "flag",
          "tone": "ack"
        },
        {
          "key": "trouble",
          "label": "Having trouble",
          "kind": "flag",
          "tone": "attention"
        }
      ]
    },
    {
      "id": "email_barnet",
      "owner": "client",
      "instruction": "Email your main Barnet contact, CC rian@plusroi.com, asking them to give Rian access to the API: backend access, any special API permissions, and a link to the documentation. If they have their own onboarding steps instead, that works too \u2014 the goal is that we end up holding working access and docs.",
      "primary": {
        "label": "Email sent",
        "to": "confirm_access"
      },
      "alternatives": [
        {
          "key": "trouble",
          "label": "Having trouble",
          "kind": "flag",
          "tone": "attention"
        }
      ]
    },
    {
      "id": "confirm_access",
      "owner": "team",
      "instruction": "Confirm we actually received API access and documentation, and that it looks usable with WooCommerce.",
      "primary": {
        "label": "Access confirmed",
        "to": "$done"
      },
      "alternatives": [
        {
          "key": "nothing_yet",
          "label": "Nothing arrived \u2014 nudge Barnet again",
          "kind": "jump",
          "to": "email_barnet"
        }
      ]
    }
  ]
}
