> ## Documentation Index
> Fetch the complete documentation index at: https://deepline.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Instantly Account Operations: Inputs, Cost & CLI Example

> Updating an Instantly email account. Includes inputs, outputs, pricing notes, Deepline CLI examples, and GTM automation guidance.

## Run in Enrichment Spreadsheet

<Info>
  Use this function as a column step in `deepline enrich`.
</Info>

```bash theme={null}
deepline enrich --input leads.csv --output leads.enriched.csv --with 'result=instantly_patch_account:{"account_id":"{{account_id}}"}' --json
```

<Tip>
  Map payload values to spreadsheet columns with `{{column_name}}` placeholders.
</Tip>

## Input Schema

| Name                                 | Type      | Required | Default | Description |
| ------------------------------------ | --------- | -------- | ------- | ----------- |
| `payload.account_id`                 | `string`  | Yes      |         |             |
| `payload.first_name`                 | `string`  | No       |         |             |
| `payload.last_name`                  | `string`  | No       |         |             |
| `payload.warmup`                     | `object`  | No       |         |             |
| `payload.daily_limit`                | `number`  | No       |         |             |
| `payload.tracking_domain_name`       | `string`  | No       |         |             |
| `payload.tracking_domain_status`     | `string`  | No       |         |             |
| `payload.enable_slow_ramp`           | `boolean` | No       |         |             |
| `payload.inbox_placement_test_limit` | `number`  | No       |         |             |
| `payload.sending_gap`                | `number`  | No       |         |             |
| `payload.signature`                  | `string`  | No       |         |             |
| `payload.skip_cname_check`           | `boolean` | No       |         |             |
| `payload.remove_tracking_domain`     | `boolean` | No       |         |             |

<details>
  <summary>Show raw input schema</summary>

  ### Input JSON Schema

  ```json theme={null}
  {
    "type": "object",
    "description": "Update an Instantly email account.",
    "properties": {
      "account_id": {
        "type": "string",
        "minLength": 1,
        "pattern": "^[^\\s@]+@[^\\s@]+\\.[^\\s@]+$"
      },
      "first_name": {
        "type": "string",
        "minLength": 1
      },
      "last_name": {
        "type": "string",
        "minLength": 1
      },
      "warmup": {
        "type": "object",
        "minProperties": 1,
        "properties": {
          "limit": {
            "type": "number"
          },
          "advanced": {
            "type": "object",
            "properties": {
              "warm_ctd": {
                "type": "boolean"
              },
              "open_rate": {
                "type": "number"
              },
              "important_rate": {
                "type": "number"
              },
              "read_emulation": {
                "type": "boolean"
              },
              "spam_save_rate": {
                "type": "number"
              },
              "weekday_only": {
                "type": "boolean"
              }
            },
            "additionalProperties": false
          },
          "warmup_custom_ftag": {
            "type": "string",
            "minLength": 1
          },
          "increment": {
            "type": "string",
            "enum": [
              "disabled",
              "0",
              "1",
              "2",
              "3",
              "4"
            ]
          },
          "reply_rate": {
            "type": "number"
          }
        },
        "additionalProperties": false
      },
      "daily_limit": {
        "type": [
          "number",
          "null"
        ]
      },
      "tracking_domain_name": {
        "type": [
          "string",
          "null"
        ],
        "minLength": 1
      },
      "tracking_domain_status": {
        "type": [
          "string",
          "null"
        ],
        "minLength": 1
      },
      "enable_slow_ramp": {
        "type": [
          "boolean",
          "null"
        ]
      },
      "inbox_placement_test_limit": {
        "type": [
          "number",
          "null"
        ],
        "minimum": 0
      },
      "sending_gap": {
        "type": "number",
        "minimum": 0,
        "maximum": 1440
      },
      "signature": {
        "type": [
          "string",
          "null"
        ],
        "minLength": 1
      },
      "skip_cname_check": {
        "type": "boolean"
      },
      "remove_tracking_domain": {
        "type": "boolean"
      }
    },
    "required": [
      "account_id"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Output Schema

Output schema is not available yet.

<details>
  <summary>Show raw output schema</summary>

  ### Output JSON Schema

  ```json theme={null}
  {
    "description": "Raw Instantly patch account response."
  }
  ```
</details>

## Advanced: Direct CLI

<Info>
  Use direct execution for single payload debugging.
</Info>

```bash theme={null}
deepline tools execute instantly_patch_account --payload '{
  "account_id": "string"
}' --json
```

### CLI flags

| Flag                        | Description                                         |
| --------------------------- | --------------------------------------------------- |
| `--json`                    | Print machine-readable output.                      |
| `--wait`                    | Wait for terminal provider status when supported.   |
| `--debug`                   | Enable wait mode with additional status/log output. |
| `--wait-timeout SECONDS`    | Max seconds to wait in wait mode.                   |
| `--poll-interval SECONDS`   | Polling interval in seconds during wait mode.       |
| `--timeout SECONDS`         | Request timeout in seconds.                         |
| `--connect-timeout SECONDS` | Connection timeout in seconds.                      |

## Provider API Context

<details>
  <summary>Show provider reference (optional)</summary>

  ```md theme={null}
  > Requires one of the following scopes: `accounts:update`, `accounts:all`, `all:update`, `all:all`

  ## 13. Pause an account

  Source: https://developer.instantly.ai/api-reference/account/pause-an-account.md
  ```
</details>

## Cost

* Pricing model: `fixed` (per call).
* Estimated Deepline credits: `0` per pricing unit.
* Provider-native pricing may still exist outside Deepline credit billing.
* Billing mode: `no_bill`.
