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

> Create a webhook in a Salesforge workspace that sends events, optionally for one sequence, to a URL. Includes SDK V2 examples, schemas, and cost.

Create a webhook in a Salesforge workspace that sends events, optionally for one sequence, to a URL.

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

## 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_integrations_webhooks',
  {
    "workspaceID": "workspace_123",
    "name": "Example",
    "type": "email_sent",
    "url": "https://example.com"
  },
);

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

### CLI

```bash theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
deepline tools execute salesforge_post_workspaces_workspaceid_integrations_webhooks --input '{
  "workspaceID": "workspace_123",
  "name": "Example",
  "type": "email_sent",
  "url": "https://example.com"
}' --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": {
    "id": "id_123",
    "name": "Example",
    "sentCount": 123
  }
}
```

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

## Input reference

Create a new webhook.

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `payload.workspaceID` | `string` | Yes | — | Workspace ID |
| `payload.name` | `string` | Yes | — | — |
| `payload.sequenceID` | `string` | No | — | Minimum length: 1. |
| `payload.type` | `"email_sent" \| "email_opened" \| "link_clicked" \| "email_replied" \| "linkedin_replied" \| "contact_unsubscribed" \| "email_bounced" \| "positive_reply" \| "negative_reply" \| "label_changed" \| "dnc_added" \| "meeting_booked" \| "meeting_completed"` | Yes | — | Allowed: `email_sent`, `email_opened`, `link_clicked`, `email_replied`, `linkedin_replied`, `contact_unsubscribed`, `email_bounced`, `positive_reply`, `negative_reply`, `label_changed`, `dnc_added`, `meeting_booked`, `meeting_completed`. |
| `payload.url` | `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 webhook.",
    "properties": {
      "workspaceID": {
        "type": "string",
        "description": "Workspace ID"
      },
      "name": {
        "type": "string"
      },
      "sequenceID": {
        "type": "string",
        "minLength": 1
      },
      "type": {
        "type": "string",
        "enum": [
          "email_sent",
          "email_opened",
          "link_clicked",
          "email_replied",
          "linkedin_replied",
          "contact_unsubscribed",
          "email_bounced",
          "positive_reply",
          "negative_reply",
          "label_changed",
          "dnc_added",
          "meeting_booked",
          "meeting_completed"
        ]
      },
      "url": {
        "type": "string"
      }
    },
    "required": [
      "workspaceID",
      "name",
      "type",
      "url"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Output reference

Standard tool result payload.

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `result.data` | `object` | Yes | — | Provider response payload. |
| `result.data.id` | `string` | No | — | — |
| `result.data.name` | `string` | No | — | — |
| `result.data.sentCount` | `integer` | No | — | — |
| `result.data.sequenceId` | `string` | No | — | — |
| `result.data.type` | `"email_sent" \| "email_opened" \| "link_clicked" \| "email_replied" \| "linkedin_replied" \| "contact_unsubscribed" \| "email_bounced" \| "positive_reply" \| "negative_reply" \| "label_changed" \| "dnc_added" \| "meeting_booked" \| "meeting_completed"` | No | — | Allowed: `email_sent`, `email_opened`, `link_clicked`, `email_replied`, `linkedin_replied`, `contact_unsubscribed`, `email_bounced`, `positive_reply`, `negative_reply`, `label_changed`, `dnc_added`, `meeting_booked`, `meeting_completed`. |
| `result.data.url` | `string` | 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": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "sentCount": {
            "type": "integer"
          },
          "sequenceId": {
            "type": "string"
          },
          "type": {
            "type": "string",
            "enum": [
              "email_sent",
              "email_opened",
              "link_clicked",
              "email_replied",
              "linkedin_replied",
              "contact_unsubscribed",
              "email_bounced",
              "positive_reply",
              "negative_reply",
              "label_changed",
              "dnc_added",
              "meeting_booked",
              "meeting_completed"
            ]
          },
          "url": {
            "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.