{
  "slug": "appcues-web-actions",
  "name": "Appcues Web",
  "mode": "device",
  "authentication": {
    "scheme": "custom",
    "fields": {
      "accountID": {
        "label": "Appcues Account ID",
        "description": "Your Appcues Account ID.",
        "type": "password",
        "required": true,
        "multiple": false,
        "choices": null,
        "default": null,
        "depends_on": null
      },
      "region": {
        "label": "Region",
        "description": "Select the Appcues region for your account.",
        "type": "string",
        "required": true,
        "multiple": false,
        "choices": [
          {
            "label": "US",
            "value": "US"
          },
          {
            "label": "EU",
            "value": "EU"
          }
        ],
        "default": "US",
        "depends_on": null
      },
      "enableURLDetection": {
        "label": "Enable URL Detection",
        "description": "Enable or disable URL detection in Appcues. If enabled, page events should not be triggered manually using the page action.",
        "type": "boolean",
        "required": true,
        "multiple": false,
        "choices": null,
        "default": false,
        "depends_on": null
      }
    }
  },
  "audienceConfig": null,
  "actions": {
    "track": {
      "title": "Track",
      "description": "Send Segment track events to Appcues.",
      "platform": "web",
      "defaultSubscription": "type = \"track\"",
      "hidden": false,
      "hasPerformBatch": false,
      "syncMode": null,
      "hooks": null,
      "dynamicFields": null,
      "fields": {
        "event": {
          "label": "Event Name",
          "description": "The name of the event to track in Appcues.",
          "type": "string",
          "required": true,
          "multiple": false,
          "allowNull": false,
          "dynamic": false,
          "default": {
            "@path": "$.event"
          },
          "choices": null,
          "placeholder": null,
          "properties": null,
          "category": null,
          "depends_on": null,
          "readOnly": null,
          "hidden": null,
          "minimum": null,
          "maximum": null,
          "defaultObjectUI": null,
          "disabledInputMethods": null,
          "displayMode": null,
          "format": null,
          "additionalProperties": false
        },
        "properties": {
          "label": "Event Properties",
          "description": "Properties to associate with the event.",
          "type": "object",
          "required": false,
          "multiple": false,
          "allowNull": false,
          "dynamic": false,
          "default": {
            "@path": "$.properties"
          },
          "choices": null,
          "placeholder": null,
          "properties": null,
          "category": null,
          "depends_on": null,
          "readOnly": null,
          "hidden": null,
          "minimum": null,
          "maximum": null,
          "defaultObjectUI": null,
          "disabledInputMethods": null,
          "displayMode": null,
          "format": null,
          "additionalProperties": false
        }
      }
    },
    "page": {
      "title": "Page",
      "description": "Send Segment page events to Appcues.",
      "platform": "web",
      "defaultSubscription": "type = \"page\"",
      "hidden": false,
      "hasPerformBatch": false,
      "syncMode": null,
      "hooks": null,
      "dynamicFields": null,
      "fields": {}
    },
    "identify": {
      "title": "Identify",
      "description": "Send Segment identify events to Appcues.",
      "platform": "web",
      "defaultSubscription": "type = \"identify\"",
      "hidden": false,
      "hasPerformBatch": false,
      "syncMode": null,
      "hooks": null,
      "dynamicFields": null,
      "fields": {
        "userId": {
          "label": "User ID",
          "description": "The ID of the user to identify in Appcues.",
          "type": "string",
          "required": true,
          "multiple": false,
          "allowNull": false,
          "dynamic": false,
          "default": {
            "@path": "$.userId"
          },
          "choices": null,
          "placeholder": null,
          "properties": null,
          "category": null,
          "depends_on": null,
          "readOnly": null,
          "hidden": null,
          "minimum": null,
          "maximum": null,
          "defaultObjectUI": null,
          "disabledInputMethods": null,
          "displayMode": null,
          "format": null,
          "additionalProperties": false
        },
        "traits": {
          "label": "User traits",
          "description": "Properties to associate with the user.",
          "type": "object",
          "required": false,
          "multiple": false,
          "allowNull": false,
          "dynamic": false,
          "default": {
            "@path": "$.traits"
          },
          "choices": null,
          "placeholder": null,
          "properties": null,
          "category": null,
          "depends_on": null,
          "readOnly": null,
          "hidden": null,
          "minimum": null,
          "maximum": null,
          "defaultObjectUI": null,
          "disabledInputMethods": null,
          "displayMode": null,
          "format": null,
          "additionalProperties": false
        }
      }
    },
    "group": {
      "title": "Group",
      "description": "Send Segment group events to Appcues.",
      "platform": "web",
      "defaultSubscription": "type = \"group\"",
      "hidden": false,
      "hasPerformBatch": false,
      "syncMode": null,
      "hooks": null,
      "dynamicFields": null,
      "fields": {
        "groupId": {
          "label": "Group ID",
          "description": "The ID of the group to identify in Appcues.",
          "type": "string",
          "required": true,
          "multiple": false,
          "allowNull": false,
          "dynamic": false,
          "default": {
            "@path": "$.groupId"
          },
          "choices": null,
          "placeholder": null,
          "properties": null,
          "category": null,
          "depends_on": null,
          "readOnly": null,
          "hidden": null,
          "minimum": null,
          "maximum": null,
          "defaultObjectUI": null,
          "disabledInputMethods": null,
          "displayMode": null,
          "format": null,
          "additionalProperties": false
        },
        "traits": {
          "label": "Group traits",
          "description": "Properties to associate with the group / account / company.",
          "type": "object",
          "required": false,
          "multiple": false,
          "allowNull": false,
          "dynamic": false,
          "default": {
            "@path": "$.traits"
          },
          "choices": null,
          "placeholder": null,
          "properties": null,
          "category": null,
          "depends_on": null,
          "readOnly": null,
          "hidden": null,
          "minimum": null,
          "maximum": null,
          "defaultObjectUI": null,
          "disabledInputMethods": null,
          "displayMode": null,
          "format": null,
          "additionalProperties": false
        }
      }
    }
  },
  "presets": [
    {
      "name": "Page",
      "type": "automatic",
      "partnerAction": "page",
      "subscribe": "type = \"page\"",
      "mapping": {},
      "eventSlug": null
    }
  ]
}
