{
  "snapi_template": 1,
  "name": "Product Feedback",
  "description": "Feedback that isn't triaged is noise. Capture it, sort it on a board, and route actionable items to your tracker.",
  "app": "$f1",
  "root": "$f1",
  "forms": [
    {
      "token": "$f1",
      "name": "Product Feedback",
      "description": "Product Feedback — submit and work the queue",
      "icon": "fas fa-comment-dots",
      "color": "#2551ed",
      "is_public": false,
      "auth_required": false,
      "is_app": true,
      "success_message": "Submitted successfully.",
      "config": {
        "fields": [
          {
            "name": "hub_title",
            "label": "Product Feedback",
            "type": "title"
          },
          {
            "name": "hub_intro",
            "label": "Submit a feedback, or open the board to work the queue. Moving a card fires a webhook back to your automation.",
            "type": "subtitle"
          },
          {
            "name": "new_item",
            "label": "Give feedback",
            "type": "button",
            "buttonActionType": "navigate",
            "buttonTargetKind": "form",
            "buttonTargetEntityId": "$f2",
            "buttonIcon": "fas fa-plus",
            "buttonStyle": "primary"
          },
          {
            "name": "board_link",
            "label": "Feedback board",
            "type": "link",
            "linkAction": "navigate",
            "linkTargetKind": "board",
            "linkTargetBoardId": "$b1",
            "linkIcon": "fas fa-columns"
          }
        ]
      }
    },
    {
      "token": "$f2",
      "name": "Feedback",
      "description": "A feedback",
      "icon": "fas fa-comment-dots",
      "color": "#0ea5e9",
      "is_public": true,
      "auth_required": false,
      "is_app": false,
      "success_message": "Submitted — it's now in the queue.",
      "default_board": "$b1",
      "default_column": "$c1",
      "config": {
        "fields": [
          {
            "name": "ref_no",
            "label": "Ref #",
            "type": "sequence",
            "sequenceId": "$s1",
            "sequenceEditable": false
          },
          {
            "name": "sentiment",
            "label": "How was it?",
            "type": "select",
            "options": [
              "Love it",
              "It's fine",
              "Frustrated"
            ]
          },
          {
            "name": "comment",
            "label": "Tell us more",
            "type": "textarea",
            "required": true
          },
          {
            "name": "email",
            "label": "Email (optional)",
            "type": "email"
          }
        ]
      }
    }
  ],
  "boards": [
    {
      "token": "$b1",
      "name": "Product Feedback Queue",
      "description": "New items land in New. Drag a card to Actioned — that move fires the form's post-webhook so your automation can continue.",
      "nav_items": [
        {
          "name": "nav_new",
          "label": "Give feedback",
          "type": "button",
          "buttonActionType": "navigate",
          "buttonTargetKind": "form",
          "buttonTargetEntityId": "$f2",
          "buttonIcon": "fas fa-plus",
          "buttonStyle": "primary"
        }
      ],
      "columns": [
        {
          "token": "$c1",
          "name": "New",
          "color": "#0ea5e9",
          "position": 0
        },
        {
          "token": "$c2",
          "name": "Actioned",
          "color": "#10b981",
          "position": 1
        },
        {
          "token": "$c3",
          "name": "Noted",
          "color": "#64748b",
          "position": 2
        }
      ]
    }
  ],
  "sequences": [
    {
      "token": "$s1",
      "name": "product_feedback",
      "prefix": "FB-",
      "padding": 4,
      "reset_period": null
    }
  ]
}
