> ## 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: Create Campaign Subsequence

> Create a follow-up subsequence in an Instantly campaign that leads enter when conditions are met. Includes inputs, outputs, SDK V2 examples, and Deepline cost.

Create a follow-up subsequence in an Instantly campaign that leads enter when conditions are met.

> [!NOTE]
>
> Tool ID: `instantly_create_campaign_subsequence`

## Run this action

This action has conditional or dynamic inputs. A static example cannot describe these inputs reliably.

Read the live contract before you execute this action:

```bash theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
deepline describe instantly_create_campaign_subsequence --json
```

## Example response

The static output schema lacks the details for a reliable example. Use `deepline describe instantly_create_campaign_subsequence --json` for the complete live contract.

## Input reference

Create an Instantly campaign subsequence.

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `payload.parent_campaign` | `string` | No | — | Minimum length: 1. |
| `payload.campaign_id` | `string` | No | — | Minimum length: 1. |
| `payload.name` | `string` | Yes | — | Minimum length: 1. |
| `payload.conditions` | `record` | Yes | — | — |
| `payload.subsequence_schedule` | `object` | Yes | — | — |
| `payload.sequences` | `array` | Yes | — | Minimum items: 1. |
| `payload.daily_limit_mode` | `"inherit" \| "custom" \| "unlimited"` | No | — | Allowed: `inherit`, `custom`, `unlimited`. |
| `payload.daily_limit` | `number` | No | — | Minimum: 0. |
| `payload.ignore_account_daily_limit` | `boolean` | No | — | — |

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

  ### Input JSON Schema

  ```json theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
  {
    "type": "object",
    "description": "Create an Instantly campaign subsequence.",
    "properties": {
      "parent_campaign": {
        "type": "string",
        "minLength": 1
      },
      "campaign_id": {
        "type": "string",
        "minLength": 1
      },
      "name": {
        "type": "string",
        "minLength": 1
      },
      "conditions": {
        "type": "object",
        "minProperties": 1,
        "additionalProperties": {}
      },
      "subsequence_schedule": {
        "type": "object",
        "properties": {
          "start_date": {
            "type": [
              "string",
              "null"
            ],
            "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
          },
          "end_date": {
            "type": [
              "string",
              "null"
            ],
            "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
          },
          "schedules": {
            "type": "array",
            "minItems": 1,
            "items": {
              "type": "object",
              "properties": {
                "name": {
                  "type": "string",
                  "minLength": 1
                },
                "timing": {
                  "type": "object",
                  "properties": {
                    "from": {
                      "type": "string",
                      "pattern": "^([01]\\d|2[0-3]):[0-5]\\d$"
                    },
                    "to": {
                      "type": "string",
                      "pattern": "^([01]\\d|2[0-3]):[0-5]\\d$"
                    }
                  },
                  "required": [
                    "from",
                    "to"
                  ],
                  "additionalProperties": false
                },
                "days": {
                  "type": "object",
                  "additionalProperties": {
                    "type": "boolean"
                  }
                },
                "timezone": {
                  "type": "string",
                  "description": "Instantly-supported timezone value. Use instantly_get_campaign/list_campaigns payloads to mirror accepted values (e.g. Pacific/Auckland)."
                }
              },
              "required": [
                "name",
                "timing",
                "days",
                "timezone"
              ],
              "additionalProperties": false
            }
          }
        },
        "required": [
          "schedules"
        ],
        "additionalProperties": false
      },
      "sequences": {
        "type": "array",
        "minItems": 1,
        "items": {
          "type": "object",
          "properties": {
            "steps": {
              "type": "array",
              "minItems": 1,
              "maxItems": 50,
              "items": {
                "type": "object",
                "properties": {
                  "type": {
                    "type": "string",
                    "const": "email"
                  },
                  "delay": {
                    "type": "integer",
                    "default": 0,
                    "minimum": 0
                  },
                  "variants": {
                    "type": "array",
                    "minItems": 1,
                    "items": {
                      "type": "object",
                      "properties": {
                        "subject": {
                          "type": "string",
                          "minLength": 1,
                          "allowsTemplatePlaceholders": true
                        },
                        "body": {
                          "type": "string",
                          "minLength": 1,
                          "allowsTemplatePlaceholders": true
                        }
                      },
                      "required": [
                        "subject",
                        "body"
                      ],
                      "additionalProperties": false
                    }
                  }
                },
                "required": [
                  "type",
                  "delay",
                  "variants"
                ],
                "additionalProperties": false
              }
            }
          },
          "required": [
            "steps"
          ],
          "additionalProperties": false
        }
      },
      "daily_limit_mode": {
        "type": "string",
        "enum": [
          "inherit",
          "custom",
          "unlimited"
        ]
      },
      "daily_limit": {
        "type": [
          "number",
          "null"
        ],
        "minimum": 0
      },
      "ignore_account_daily_limit": {
        "type": "boolean"
      }
    },
    "required": [
      "name",
      "conditions",
      "subsequence_schedule",
      "sequences"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Output reference

Raw Instantly create campaign subsequence response.

The static output schema is not available. Run `deepline describe instantly_create_campaign_subsequence --json` for the live contract.

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

  ### Output JSON Schema

  ```json theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
  {
    "description": "Raw Instantly create campaign subsequence response."
  }
  ```
</details>

## Deepline cost

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

## Related documentation

* [Instantly provider guide](https://deepline.com/docs/providers/instantly/guide.md)
* [SDK V2 quickstart](https://deepline.com/docs/sdk-v2/quickstart.md)
* [SDK reference](https://deepline.com/docs/sdk-v2/sdk-reference.md)
* [Run tools across a CSV](https://deepline.com/docs/sdk-v2/batch-csv.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.