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

> Create an Instantly email campaign with its sequence steps, sending schedule, and sending accounts. Includes SDK V2 examples, schemas, and cost.

Create an Instantly email campaign with its sequence steps, sending schedule, and sending accounts.

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

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

## Example response

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

## Input reference

Create a new Instantly campaign with sequences, schedule, and sending accounts.

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `payload.name` | `string` | Yes | — | Minimum length: 1. |
| `payload.sequences` | `array` | No | — | Minimum items: 1. |
| `payload.campaign_schedule` | `object` | Yes | — | — |
| `payload.email_list` | `array` | No | — | Minimum items: 1. |
| `payload.text_only` | `boolean` | No | — | — |
| `payload.stop_on_reply` | `boolean` | No | — | — |
| `payload.daily_limit` | `integer` | No | — | Minimum: 1. |

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

  ### Input JSON Schema

  ```json theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
  {
    "type": "object",
    "description": "Create a new Instantly campaign with sequences, schedule, and sending accounts.",
    "properties": {
      "name": {
        "type": "string",
        "minLength": 1
      },
      "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
        }
      },
      "campaign_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
      },
      "email_list": {
        "type": "array",
        "minItems": 1,
        "items": {
          "type": "string",
          "minLength": 1,
          "pattern": "^[^\\s@]+@[^\\s@]+\\.[^\\s@]+$"
        }
      },
      "text_only": {
        "type": "boolean"
      },
      "stop_on_reply": {
        "type": "boolean"
      },
      "daily_limit": {
        "type": "integer",
        "minimum": 1
      }
    },
    "required": [
      "name",
      "campaign_schedule"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Output reference

Raw Instantly create campaign response.

The static output schema is not available. Run `deepline describe instantly_create_campaign --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 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.