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

# Salesforge: Post Workspaces Workspaceid Sequences

> Create an email sequence in a Salesforge workspace with a name, language, timezone and product. Includes inputs, outputs, SDK V2 examples, and Deepline cost.

Create an email sequence in a Salesforge workspace with a name, language, timezone and product.

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

## Run this action

Use the TypeScript SDK for one call. Use `ctx.tools.execute(...)` inside a Play for durable calls, scheduled calls, or CSV processing.

```ts theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
import { Deepline } from 'deepline';

const deepline = await Deepline.connect();
const result = await deepline.tools.execute(
  'salesforge_post_workspaces_workspaceid_sequences',
  {
    "workspaceID": "workspace_123",
    "language": "russian",
    "name": "Example",
    "productId": "product_123",
    "timezone": "America/New_York"
  },
);

console.log(result.toolResponse.raw);
```

### CLI

```bash theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
deepline tools execute salesforge_post_workspaces_workspaceid_sequences --input '{
  "workspaceID": "workspace_123",
  "language": "russian",
  "name": "Example",
  "productId": "product_123",
  "timezone": "America/New_York"
}' --json
```

## Example response

The SDK returns this shape at `result.toolResponse.raw`. The example values illustrate the response.

```json theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
{
  "data": {
    "agentId": "agent_123",
    "bouncedCount": 123,
    "bouncedPercent": 123
  }
}
```

Use `deepline describe salesforge_post_workspaces_workspaceid_sequences --json` for the latest machine-readable contract.

## Input reference

Create a new sequence.

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `payload.workspaceID` | `string` | Yes | — | Workspace ID |
| `payload.language` | `"russian" \| "ukrainian" \| "finnish" \| "american_english" \| "british_english" \| "french" \| "spanish" \| "polish" \| "romanian" \| "german" \| "lithuanian" \| "dutch" \| "latvian" \| "italian" \| "czech" \| "hungarian" \| "japanese" \| "brazilian_portugese" \| "swedish" \| "danish" \| "norwegian" \| "estonian"` | Yes | — | Allowed: `russian`, `ukrainian`, `finnish`, `american_english`, `british_english`, `french`, `spanish`, `polish`, `romanian`, `german`, `lithuanian`, `dutch`, `latvian`, `italian`, `czech`, `hungarian`, `japanese`, `brazilian_portugese`, `swedish`, `danish`, `norwegian`, `estonian`. |
| `payload.name` | `string` | Yes | — | — |
| `payload.productId` | `string` | Yes | — | — |
| `payload.timezone` | `string` | Yes | — | — |

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

  ### Input JSON Schema

  ```json theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
  {
    "type": "object",
    "description": "Create a new sequence.",
    "properties": {
      "workspaceID": {
        "type": "string",
        "description": "Workspace ID"
      },
      "language": {
        "type": "string",
        "enum": [
          "russian",
          "ukrainian",
          "finnish",
          "american_english",
          "british_english",
          "french",
          "spanish",
          "polish",
          "romanian",
          "german",
          "lithuanian",
          "dutch",
          "latvian",
          "italian",
          "czech",
          "hungarian",
          "japanese",
          "brazilian_portugese",
          "swedish",
          "danish",
          "norwegian",
          "estonian"
        ]
      },
      "name": {
        "type": "string"
      },
      "productId": {
        "type": "string"
      },
      "timezone": {
        "type": "string"
      }
    },
    "required": [
      "workspaceID",
      "language",
      "name",
      "productId",
      "timezone"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Output reference

Standard tool result payload.

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `result.data` | `object` | Yes | — | Provider response payload. |
| `result.data.agentId` | `string` | No | — | — |
| `result.data.bouncedCount` | `integer` | No | — | — |
| `result.data.bouncedPercent` | `number` | No | — | — |
| `result.data.clickTrackingEnabled` | `boolean` | No | — | — |
| `result.data.clickedCount` | `integer` | No | — | — |
| `result.data.clickedPercent` | `number` | No | — | — |
| `result.data.companyOutreachLimitCount` | `integer` | No | — | — |
| `result.data.companyOutreachLimitEnabled` | `boolean` | No | — | — |
| `result.data.completedCount` | `integer` | No | — | — |
| `result.data.completedPercent` | `number` | No | — | — |
| `result.data.contactedCount` | `integer` | No | — | — |
| `result.data.id` | `string` | No | — | — |
| `result.data.leadCount` | `integer` | No | — | — |
| `result.data.localizedOptOutEnabled` | `boolean` | No | — | — |
| `result.data.mailboxes` | `array` | No | — | — |
| `result.data.mailboxes[].address` | `string` | No | — | — |
| `result.data.mailboxes[].firstName` | `string` | No | — | — |
| `result.data.mailboxes[].id` | `string` | No | — | — |
| `result.data.mailboxes[].lastName` | `string` | No | — | — |
| `result.data.name` | `string` | No | — | — |
| `result.data.openTrackingEnabled` | `boolean` | No | — | — |
| `result.data.openedCount` | `integer` | No | — | — |
| `result.data.openedPercent` | `number` | No | — | — |
| `result.data.optOutedCount` | `integer` | No | — | — |
| `result.data.optOutedPercent` | `number` | No | — | — |
| `result.data.productId` | `string` | No | — | — |
| `result.data.repliedCount` | `integer` | No | — | — |
| `result.data.repliedPercent` | `number` | No | — | — |
| `result.data.repliedPositiveCount` | `integer` | No | — | — |
| `result.data.repliedPositivePercent` | `number` | No | — | — |
| `result.data.sequentialCompanySendingEnabled` | `boolean` | No | — | — |
| `result.data.status` | `"active" \| "draft" \| "paused" \| "deleted" \| "completed" \| "video_pending"` | No | — | Allowed: `active`, `draft`, `paused`, `deleted`, `completed`, `video_pending`. |
| `result.data.steps` | `array` | No | — | — |
| `result.data.steps[].distributionStrategy` | `"equal" \| "custom"` | No | — | Allowed: `equal`, `custom`. |
| `result.data.steps[].id` | `string` | No | — | — |
| `result.data.steps[].name` | `string` | No | — | — |
| `result.data.steps[].order` | `integer` | No | — | — |
| `result.data.steps[].variants` | `array` | No | — | — |
| `result.data.steps[].variants[].contactInformationSource` | `"linkedin" \| "website" \| "all"` | No | — | Allowed: `linkedin`, `website`, `all`. |
| `result.data.steps[].variants[].distributionWeight` | `number` | No | — | — |
| `result.data.steps[].variants[].dynamicLanguageEnabled` | `boolean` | No | — | — |
| `result.data.steps[].variants[].emailContent` | `string` | No | — | — |
| `result.data.steps[].variants[].emailSubject` | `string` | No | — | — |
| `result.data.steps[].variants[].id` | `string` | No | — | — |
| `result.data.steps[].variants[].isGenerated` | `boolean` | No | — | — |
| `result.data.steps[].variants[].label` | `string` | No | — | — |
| `result.data.steps[].variants[].order` | `integer` | No | — | — |
| `result.data.steps[].variants[].overdriveEnabled` | `boolean` | No | — | — |
| `result.data.steps[].variants[].status` | `"active" \| "paused" \| "deleted"` | No | — | Allowed: `active`, `paused`, `deleted`. |

The table shows the first 50 fields. Expand the raw schema below for every field.

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

  ### Output JSON Schema

  ```json theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
  {
    "type": "object",
    "description": "Standard tool result payload.",
    "properties": {
      "data": {
        "type": "object",
        "description": "Provider response payload.",
        "properties": {
          "agentId": {
            "type": "string"
          },
          "bouncedCount": {
            "type": "integer"
          },
          "bouncedPercent": {
            "type": "number"
          },
          "clickTrackingEnabled": {
            "type": "boolean"
          },
          "clickedCount": {
            "type": "integer"
          },
          "clickedPercent": {
            "type": "number"
          },
          "companyOutreachLimitCount": {
            "type": "integer"
          },
          "companyOutreachLimitEnabled": {
            "type": "boolean"
          },
          "completedCount": {
            "type": "integer"
          },
          "completedPercent": {
            "type": "number"
          },
          "contactedCount": {
            "type": "integer"
          },
          "id": {
            "type": "string"
          },
          "leadCount": {
            "type": "integer"
          },
          "localizedOptOutEnabled": {
            "type": "boolean"
          },
          "mailboxes": {
            "type": "array",
            "uniqueItems": false,
            "items": {
              "type": "object",
              "properties": {
                "address": {
                  "type": "string"
                },
                "firstName": {
                  "type": "string"
                },
                "id": {
                  "type": "string"
                },
                "lastName": {
                  "type": "string"
                }
              },
              "additionalProperties": false
            }
          },
          "name": {
            "type": "string"
          },
          "openTrackingEnabled": {
            "type": "boolean"
          },
          "openedCount": {
            "type": "integer"
          },
          "openedPercent": {
            "type": "number"
          },
          "optOutedCount": {
            "type": "integer"
          },
          "optOutedPercent": {
            "type": "number"
          },
          "productId": {
            "type": "string"
          },
          "repliedCount": {
            "type": "integer"
          },
          "repliedPercent": {
            "type": "number"
          },
          "repliedPositiveCount": {
            "type": "integer"
          },
          "repliedPositivePercent": {
            "type": "number"
          },
          "sequentialCompanySendingEnabled": {
            "type": "boolean"
          },
          "status": {
            "type": "string",
            "enum": [
              "active",
              "draft",
              "paused",
              "deleted",
              "completed",
              "video_pending"
            ]
          },
          "steps": {
            "type": "array",
            "uniqueItems": false,
            "items": {
              "type": "object",
              "properties": {
                "distributionStrategy": {
                  "type": "string",
                  "enum": [
                    "equal",
                    "custom"
                  ]
                },
                "id": {
                  "type": "string"
                },
                "name": {
                  "type": "string"
                },
                "order": {
                  "type": "integer"
                },
                "variants": {
                  "type": "array",
                  "uniqueItems": false,
                  "items": {
                    "type": "object",
                    "properties": {
                      "contactInformationSource": {
                        "type": "string",
                        "enum": [
                          "linkedin",
                          "website",
                          "all"
                        ]
                      },
                      "distributionWeight": {
                        "type": "number"
                      },
                      "dynamicLanguageEnabled": {
                        "type": "boolean"
                      },
                      "emailContent": {
                        "type": "string"
                      },
                      "emailSubject": {
                        "type": "string"
                      },
                      "id": {
                        "type": "string"
                      },
                      "isGenerated": {
                        "type": "boolean"
                      },
                      "label": {
                        "type": "string"
                      },
                      "order": {
                        "type": "integer"
                      },
                      "overdriveEnabled": {
                        "type": "boolean"
                      },
                      "status": {
                        "type": "string",
                        "enum": [
                          "active",
                          "paused",
                          "deleted"
                        ]
                      },
                      "tonality": {
                        "type": "string",
                        "minLength": 1,
                        "enum": [
                          "playful",
                          "hilarious",
                          "formal",
                          "curious",
                          "urgent",
                          "appreciative",
                          "polite",
                          "enthusiastic",
                          "warm",
                          "empathetic",
                          "direct",
                          "persuasive",
                          "confident",
                          "respectful",
                          "helpful",
                          "sincere",
                          "encouraging",
                          "informal",
                          "caring",
                          "diplomatic",
                          "assertive",
                          "reassuring",
                          "authoritative"
                        ]
                      }
                    },
                    "additionalProperties": false
                  }
                },
                "waitDays": {
                  "type": "integer"
                }
              },
              "additionalProperties": false
            }
          },
          "workspaceId": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "meta": {
        "type": "object",
        "description": "Additional response metadata (status, paging).",
        "additionalProperties": true
      }
    },
    "required": [
      "data"
    ],
    "additionalProperties": false
  }
  ```
</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

* [Salesforge provider guide](https://deepline.com/docs/providers/salesforge/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.