> ## 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.

# Emailbison Update Sequence Stepsdeprecated: Inputs, Cost &

> This endpoint allows the authenticated user to update the campaign sequence steps. Includes inputs, outputs, costs, and Deepline CLI examples.

## 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=emailbison_update_sequence_stepsdeprecated:{"sequence_id":"{{sequence_id}}","title":"{{title}}","sequence_steps":"{{sequence_steps}}"}' --json
```

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

## Input Schema

| Name                     | Type      | Required | Default | Description                                                      |
| ------------------------ | --------- | -------- | ------- | ---------------------------------------------------------------- |
| `payload.sequence_id`    | `integer` | Yes      |         | The ID of the sequence. You can get this on the Campaign object. |
| `payload.title`          | `string`  | Yes      |         | The title for the sequence.                                      |
| `payload.sequence_steps` | `array`   | Yes      |         | The array containing the sequence steps                          |

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

  ### Input JSON Schema

  ```json theme={null}
  {
    "type": "object",
    "description": "This endpoint allows the authenticated user to update the campaign sequence steps.",
    "properties": {
      "sequence_id": {
        "type": "integer",
        "description": "The ID of the sequence. You can get this on the Campaign object."
      },
      "title": {
        "type": "string",
        "description": "The title for the sequence."
      },
      "sequence_steps": {
        "type": "array",
        "description": "The array containing the sequence steps",
        "items": {
          "type": "object",
          "properties": {
            "id": {
              "type": "integer",
              "description": "The ID of the sequence step."
            },
            "email_subject": {
              "type": "string",
              "description": "The subject for the email."
            },
            "email_subject_variables": {
              "type": "array",
              "description": "The subject variables.",
              "items": {
                "type": [
                  "string",
                  "null"
                ]
              }
            },
            "order": {
              "type": "integer",
              "description": "The order of the step."
            },
            "email_body": {
              "type": "string",
              "description": "The body of the email."
            },
            "wait_in_days": {
              "type": "integer",
              "description": "The days to wait."
            },
            "variant": {
              "type": [
                "boolean",
                "null"
              ],
              "description": "Wheter the step is variant of another step."
            },
            "variant_from_step_id": {
              "type": "integer",
              "description": "The id of an existing record in the sequence_steps table."
            },
            "attachments": {
              "type": [
                "string",
                "null"
              ],
              "description": "The email attachments.",
              "format": "binary"
            },
            "thread_reply": {
              "type": [
                "boolean",
                "null"
              ],
              "description": "Wheter the step should be a reply from the previous step."
            },
            "variant_from_step": {
              "type": "integer",
              "description": "Which step to be variant from (related by the id field)."
            }
          },
          "required": [
            "id",
            "email_subject",
            "order",
            "email_body",
            "wait_in_days",
            "variant_from_step_id"
          ],
          "additionalProperties": false
        }
      }
    },
    "required": [
      "sequence_id",
      "title",
      "sequence_steps"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Output Schema

| Name          | Type     | Required | Default | Description                                    |
| ------------- | -------- | -------- | ------- | ---------------------------------------------- |
| `result.data` | `string` | Yes      |         | Provider response payload.                     |
| `result.meta` | `object` | No       |         | Additional response metadata (status, paging). |

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

  ### Output JSON Schema

  ```json theme={null}
  {
    "type": "object",
    "description": "Standard tool result payload.",
    "properties": {
      "data": {
        "type": "string",
        "description": "Provider response payload."
      },
      "meta": {
        "type": "object",
        "description": "Additional response metadata (status, paging).",
        "additionalProperties": true
      }
    },
    "required": [
      "data"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Advanced: Direct CLI

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

```bash theme={null}
deepline tools execute emailbison_update_sequence_stepsdeprecated --payload '{
  "sequence_id": "integer",
  "title": "string",
  "sequence_steps": "array"
}' --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.                      |

## 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`.
