> ## 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: Put Workspaces Workspaceid Sequences Sequenceid Steps

> Set the steps and email content of a Salesforge email sequence. Includes SDK V2 guidance, input constraints, response fields, and Deepline credit cost.

Set the steps and email content of a Salesforge email sequence.

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

## 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_put_workspaces_workspaceid_sequences_sequenceid_steps',
  {
    "workspaceID": "workspace_123",
    "sequenceID": "sequence_123"
  },
);

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

### CLI

```bash theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
deepline tools execute salesforge_put_workspaces_workspaceid_sequences_sequenceid_steps --input '{
  "workspaceID": "workspace_123",
  "sequenceID": "sequence_123"
}' --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": {
    "steps": [
      {
        "distributionStrategy": "equal",
        "id": "id_123",
        "name": "Example"
      }
    ]
  }
}
```

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

## Input reference

Update an existing sequence's steps.

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `payload.workspaceID` | `string` | Yes | — | Workspace ID |
| `payload.sequenceID` | `string` | Yes | — | Sequence ID |
| `payload.steps` | `array` | No | — | Minimum items: 1. |

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

  ### Input JSON Schema

  ```json theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
  {
    "type": "object",
    "description": "Update an existing sequence's steps.",
    "properties": {
      "workspaceID": {
        "type": "string",
        "description": "Workspace ID"
      },
      "sequenceID": {
        "type": "string",
        "description": "Sequence ID"
      },
      "steps": {
        "type": "array",
        "minItems": 1,
        "uniqueItems": false,
        "items": {
          "type": "object",
          "properties": {
            "distributionStrategy": {
              "type": "string",
              "enum": [
                "equal",
                "custom"
              ]
            },
            "id": {
              "type": "string"
            },
            "name": {
              "type": "string"
            },
            "order": {
              "type": "integer",
              "minimum": 0
            },
            "variants": {
              "type": "array",
              "minItems": 1,
              "uniqueItems": false,
              "items": {
                "type": "object",
                "properties": {
                  "contactInformationSource": {
                    "type": "string",
                    "enum": [
                      "linkedin",
                      "website",
                      "all"
                    ]
                  },
                  "distributionWeight": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 100
                  },
                  "dynamicLanguageEnabled": {
                    "type": "boolean"
                  },
                  "emailContent": {
                    "type": "string"
                  },
                  "emailSubject": {
                    "type": "string"
                  },
                  "id": {
                    "type": "string",
                    "minLength": 1
                  },
                  "isGenerated": {
                    "type": "boolean"
                  },
                  "label": {
                    "type": "string"
                  },
                  "order": {
                    "type": "integer",
                    "minimum": 0
                  },
                  "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"
                    ]
                  }
                },
                "required": [
                  "label"
                ],
                "additionalProperties": false
              }
            },
            "waitDays": {
              "type": "integer",
              "minimum": 0
            }
          },
          "required": [
            "id"
          ],
          "additionalProperties": false
        }
      }
    },
    "required": [
      "workspaceID",
      "sequenceID"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Output reference

Standard tool result payload.

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `result.data` | `object` | Yes | — | Provider response payload. |
| `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`. |
| `result.data.steps[].variants[].tonality` | `"playful" \| "hilarious" \| "formal" \| "curious" \| "urgent" \| "appreciative" \| "polite" \| "enthusiastic" \| "warm" \| "empathetic" \| "direct" \| "persuasive" \| "confident" \| "respectful" \| "helpful" \| "sincere" \| "encouraging" \| "informal" \| "caring" \| "diplomatic" \| "assertive" \| "reassuring" \| "authoritative"` | No | — | Allowed: `playful`, `hilarious`, `formal`, `curious`, `urgent`, `appreciative`, `polite`, `enthusiastic`, `warm`, `empathetic`, `direct`, `persuasive`, `confident`, `respectful`, `helpful`, `sincere`, `encouraging`, `informal`, `caring`, `diplomatic`, `assertive`, `reassuring`, `authoritative`. Minimum length: 1. |
| `result.data.steps[].waitDays` | `integer` | No | — | — |
| `result.meta` | `object` | No | — | Additional response metadata (status, paging). |

<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": {
          "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
            }
          }
        },
        "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.