> ## Documentation Index
> Fetch the complete documentation index at: https://docs.pinkfish.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# salesforce-sandbox

> Sandbox environment for development and testing

**Server path:** `/salesforce-sandbox` | **Type:** Application | **PCID required:** Yes

## Tools

| Tool                                                                              | Description                                    |
| --------------------------------------------------------------------------------- | ---------------------------------------------- |
| [`salesforce_sandbox_create_account`](#salesforce_sandbox_create_account)         | Create a new account in Salesforce Sandbox     |
| [`salesforce_sandbox_create_contact`](#salesforce_sandbox_create_contact)         | Create a new contact in Salesforce Sandbox     |
| [`salesforce_sandbox_create_lead`](#salesforce_sandbox_create_lead)               | Create a new lead in Salesforce Sandbox        |
| [`salesforce_sandbox_create_opportunity`](#salesforce_sandbox_create_opportunity) | Create a new opportunity in Salesforce Sandbox |
| [`salesforce_sandbox_execute_soql`](#salesforce_sandbox_execute_soql)             | Execute a SOQL query in Salesforce Sandbox     |
| [`salesforce_sandbox_deploy_metadata`](#salesforce_sandbox_deploy_metadata)       | Deploy metadata to Salesforce Sandbox          |

***

## salesforce\_sandbox\_create\_account

Create a new account in Salesforce Sandbox

**Parameters:**

| Parameter           | Type   | Required | Default | Description            |
| ------------------- | ------ | -------- | ------- | ---------------------- |
| `name`              | string | Yes      | —       | Account name           |
| `type`              | string | No       | —       | Account type           |
| `industry`          | string | No       | —       | Industry               |
| `website`           | string | No       | —       | Website URL            |
| `phone`             | string | No       | —       | Phone number           |
| `billingStreet`     | string | No       | —       | Billing street address |
| `billingCity`       | string | No       | —       | Billing city           |
| `billingState`      | string | No       | —       | Billing state          |
| `billingPostalCode` | string | No       | —       | Billing postal code    |
| `billingCountry`    | string | No       | —       | Billing country        |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID"
      },
      "name": {
        "type": "string",
        "description": "Account name"
      },
      "type": {
        "type": "string",
        "description": "Account type"
      },
      "industry": {
        "type": "string",
        "description": "Industry"
      },
      "website": {
        "type": "string",
        "description": "Website URL"
      },
      "phone": {
        "type": "string",
        "description": "Phone number"
      },
      "billingStreet": {
        "type": "string",
        "description": "Billing street address"
      },
      "billingCity": {
        "type": "string",
        "description": "Billing city"
      },
      "billingState": {
        "type": "string",
        "description": "Billing state"
      },
      "billingPostalCode": {
        "type": "string",
        "description": "Billing postal code"
      },
      "billingCountry": {
        "type": "string",
        "description": "Billing country"
      }
    },
    "required": [
      "PCID",
      "name"
    ]
  }
  ```
</Expandable>

***

## salesforce\_sandbox\_create\_contact

Create a new contact in Salesforce Sandbox

**Parameters:**

| Parameter    | Type   | Required | Default | Description           |
| ------------ | ------ | -------- | ------- | --------------------- |
| `firstName`  | string | Yes      | —       | Contact first name    |
| `lastName`   | string | Yes      | —       | Contact last name     |
| `email`      | string | No       | —       | Email address         |
| `phone`      | string | No       | —       | Phone number          |
| `accountId`  | string | No       | —       | Associated account ID |
| `title`      | string | No       | —       | Job title             |
| `department` | string | No       | —       | Department            |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID"
      },
      "firstName": {
        "type": "string",
        "description": "Contact first name"
      },
      "lastName": {
        "type": "string",
        "description": "Contact last name"
      },
      "email": {
        "type": "string",
        "description": "Email address"
      },
      "phone": {
        "type": "string",
        "description": "Phone number"
      },
      "accountId": {
        "type": "string",
        "description": "Associated account ID"
      },
      "title": {
        "type": "string",
        "description": "Job title"
      },
      "department": {
        "type": "string",
        "description": "Department"
      }
    },
    "required": [
      "PCID",
      "firstName",
      "lastName"
    ]
  }
  ```
</Expandable>

***

## salesforce\_sandbox\_create\_lead

Create a new lead in Salesforce Sandbox

**Parameters:**

| Parameter    | Type   | Required | Default | Description     |
| ------------ | ------ | -------- | ------- | --------------- |
| `firstName`  | string | Yes      | —       | Lead first name |
| `lastName`   | string | Yes      | —       | Lead last name  |
| `company`    | string | Yes      | —       | Company name    |
| `email`      | string | No       | —       | Email address   |
| `phone`      | string | No       | —       | Phone number    |
| `status`     | string | No       | —       | Lead status     |
| `leadSource` | string | No       | —       | Lead source     |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID"
      },
      "firstName": {
        "type": "string",
        "description": "Lead first name"
      },
      "lastName": {
        "type": "string",
        "description": "Lead last name"
      },
      "company": {
        "type": "string",
        "description": "Company name"
      },
      "email": {
        "type": "string",
        "description": "Email address"
      },
      "phone": {
        "type": "string",
        "description": "Phone number"
      },
      "status": {
        "type": "string",
        "description": "Lead status"
      },
      "leadSource": {
        "type": "string",
        "description": "Lead source"
      }
    },
    "required": [
      "PCID",
      "firstName",
      "lastName",
      "company"
    ]
  }
  ```
</Expandable>

***

## salesforce\_sandbox\_create\_opportunity

Create a new opportunity in Salesforce Sandbox

**Parameters:**

| Parameter     | Type   | Required | Default | Description             |
| ------------- | ------ | -------- | ------- | ----------------------- |
| `name`        | string | Yes      | —       | Opportunity name        |
| `accountId`   | string | Yes      | —       | Associated account ID   |
| `amount`      | number | No       | —       | Opportunity amount      |
| `closeDate`   | string | Yes      | —       | Close date (YYYY-MM-DD) |
| `stageName`   | string | Yes      | —       | Sales stage name        |
| `probability` | number | No       | —       | Probability percentage  |
| `type`        | string | No       | —       | Opportunity type        |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID"
      },
      "name": {
        "type": "string",
        "description": "Opportunity name"
      },
      "accountId": {
        "type": "string",
        "description": "Associated account ID"
      },
      "amount": {
        "type": "number",
        "description": "Opportunity amount"
      },
      "closeDate": {
        "type": "string",
        "description": "Close date (YYYY-MM-DD)"
      },
      "stageName": {
        "type": "string",
        "description": "Sales stage name"
      },
      "probability": {
        "type": "number",
        "description": "Probability percentage"
      },
      "type": {
        "type": "string",
        "description": "Opportunity type"
      }
    },
    "required": [
      "PCID",
      "name",
      "accountId",
      "closeDate",
      "stageName"
    ]
  }
  ```
</Expandable>

***

## salesforce\_sandbox\_execute\_soql

Execute a SOQL query in Salesforce Sandbox

**Parameters:**

| Parameter        | Type    | Required | Default | Description             |
| ---------------- | ------- | -------- | ------- | ----------------------- |
| `query`          | string  | Yes      | —       | SOQL query to execute   |
| `includeDeleted` | boolean | No       | `false` | Include deleted records |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID"
      },
      "query": {
        "type": "string",
        "description": "SOQL query to execute"
      },
      "includeDeleted": {
        "type": "boolean",
        "default": false,
        "description": "Include deleted records"
      }
    },
    "required": [
      "PCID",
      "query"
    ]
  }
  ```
</Expandable>

***

## salesforce\_sandbox\_deploy\_metadata

Deploy metadata to Salesforce Sandbox

**Parameters:**

| Parameter      | Type   | Required | Default           | Description                |
| -------------- | ------ | -------- | ----------------- | -------------------------- |
| `metadataType` | string | Yes      | —                 | Type of metadata to deploy |
| `metadataXml`  | string | Yes      | —                 | Metadata XML content       |
| `testLevel`    | string | No       | `"RunLocalTests"` | Test level for deployment  |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID"
      },
      "metadataType": {
        "type": "string",
        "description": "Type of metadata to deploy"
      },
      "metadataXml": {
        "type": "string",
        "description": "Metadata XML content"
      },
      "testLevel": {
        "type": "string",
        "enum": [
          "NoTestRun",
          "RunSpecifiedTests",
          "RunLocalTests",
          "RunAllTestsInOrg"
        ],
        "default": "RunLocalTests",
        "description": "Test level for deployment"
      }
    },
    "required": [
      "PCID",
      "metadataType",
      "metadataXml"
    ]
  }
  ```
</Expandable>
