# Estimate Marketing Campaign Website Enrichment Cost

Reads the saved automation and returns its reachable enrichment actions, current account balance, cost per contact and add-on upgrade link when inactive. An unknown source price is marked unavailable, never free. No future audience total is known. This call does not activate the automation, reserve or consume credits; use prepare-automation-activation for the app activation dialog.

## Input schema:

```json
{
  "type": "object",
  "properties": {
    "automationId": {
      "type": "integer",
      "description": "ID of the saved automation whose enrichment actions should be quoted",
      "minimum": 1
    },
    "accountId": {
      "type": [
        "null",
        "integer"
      ],
      "description": "User ID of the account; omit for the account of the access token",
      "default": null,
      "minimum": 1
    }
  },
  "required": [
    "automationId"
  ],
  "additionalProperties": false
}
```

## Output schema:

```json
{
  "type": "object",
  "required": [
    "accountId",
    "automationId",
    "revision",
    "balance",
    "unit",
    "enrichmentAvailable",
    "upgradeUrl",
    "message",
    "actions"
  ],
  "properties": {
    "accountId": {
      "type": "integer"
    },
    "automationId": {
      "type": "integer"
    },
    "revision": {
      "type": "string"
    },
    "balance": {
      "type": "integer"
    },
    "unit": {
      "type": "string"
    },
    "enrichmentAvailable": {
      "type": "boolean"
    },
    "upgradeUrl": {
      "type": [
        "string",
        "null"
      ]
    },
    "message": {
      "type": "string"
    },
    "actions": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "actionId",
          "source",
          "costPerContact",
          "sufficientForOneUse",
          "message"
        ],
        "properties": {
          "actionId": {
            "type": "integer"
          },
          "source": {
            "type": "string"
          },
          "costPerContact": {
            "type": [
              "integer",
              "null"
            ]
          },
          "sufficientForOneUse": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "message": {
            "type": "string"
          }
        }
      }
    }
  }
}
```

