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

# Salesloft: Email Templates Show

> Fetch an email template. Includes SDK V2 and CLI requests, input constraints, response fields, and Deepline credit cost.

Fetch an email template.

<Info>
  Tool ID: `salesloft_email_templates_show`
</Info>

## Run this action

Use the TypeScript SDK for a single call. Put `ctx.tools.execute(...)` inside a Play when the call should be durable, scheduled, or run across a CSV.

```ts theme={null}
import { Deepline } from 'deepline';

const deepline = await Deepline.connect();
const result = await deepline.tools.execute(
  'salesloft_email_templates_show',
  {
    "id": "id_123"
  },
);

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

### CLI

```bash theme={null}
deepline tools execute salesloft_email_templates_show --input '{
  "id": "id_123"
}' --json
```

## Example response

The SDK exposes this shape at `result.toolResponse.raw`. Values below are representative.

```json theme={null}
{
  "data": {
    "id": 123,
    "title": "VP of Engineering",
    "subject": "Introduction"
  }
}
```

Use `deepline tools get salesloft_email_templates_show --json` for the latest machine-readable contract.

## Input reference

Fetches an email template, by ID only.

| Name                        | Type      | Required | Default | Details                                                                      |
| --------------------------- | --------- | -------- | ------- | ---------------------------------------------------------------------------- |
| `payload.id`                | `string`  | Yes      | —       | EmailTemplate ID                                                             |
| `payload.include_signature` | `boolean` | No       | —       | Optionally will return the templates with the current user's email signature |

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

  ### Input JSON Schema

  ```json theme={null}
  {
    "type": "object",
    "description": "Fetches an email template, by ID only.",
    "properties": {
      "id": {
        "type": "string",
        "description": "EmailTemplate ID"
      },
      "include_signature": {
        "type": "boolean",
        "description": "Optionally will return the templates with the current user's email signature"
      }
    },
    "required": [
      "id"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Output reference

Standard tool result payload.

| Name                                 | Type      | Required | Default | Details                                                                                                                                                                                                                                                                            |
| ------------------------------------ | --------- | -------- | ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `result.data`                        | `object`  | Yes      | —       | Provider response payload.                                                                                                                                                                                                                                                         |
| `result.data.id`                     | `integer` | No       | —       | ID of email template                                                                                                                                                                                                                                                               |
| `result.data.title`                  | `string`  | No       | —       | Title of the email template                                                                                                                                                                                                                                                        |
| `result.data.subject`                | `string`  | No       | —       | Subject of the email template                                                                                                                                                                                                                                                      |
| `result.data.body`                   | `string`  | No       | —       | Sanitized body of the email template without email signature                                                                                                                                                                                                                       |
| `result.data.body_preview`           | `string`  | No       | —       | A plain text version of the first 100 characters of the body of the email template                                                                                                                                                                                                 |
| `result.data.created_at`             | `string`  | No       | —       | Datetime of when the email template was created Format: `date-time`.                                                                                                                                                                                                               |
| `result.data.updated_at`             | `string`  | No       | —       | Datetime of when the email template was last updated Format: `date-time`.                                                                                                                                                                                                          |
| `result.data.last_used_at`           | `string`  | No       | —       | Datetime of when the email template was last used Format: `date-time`.                                                                                                                                                                                                             |
| `result.data.archived_at`            | `string`  | No       | —       | Datetime of when the email template was archived, if archived Format: `date-time`.                                                                                                                                                                                                 |
| `result.data.shared`                 | `boolean` | No       | —       | Whether this email template is visible to team members (shared)                                                                                                                                                                                                                    |
| `result.data.open_tracking_enabled`  | `boolean` | No       | —       | Whether open tracking is enabled for this email template                                                                                                                                                                                                                           |
| `result.data.click_tracking_enabled` | `boolean` | No       | —       | Whether click tracking is enabled for this email template                                                                                                                                                                                                                          |
| `result.data.cadence_template`       | `boolean` | No       | —       | Whether this email template is only used on a cadence step. These templates are not visible in the SalesLoft application template list. If false, this email template is visible in the SalesLoft application, and may be used when composing an email or creating a cadence step. |
| `result.data.counts`                 | `object`  | No       | —       | —                                                                                                                                                                                                                                                                                  |
| `result.data.counts.sent_emails`     | `integer` | No       | —       | The number of times the email template was sent out                                                                                                                                                                                                                                |
| `result.data.counts.views`           | `integer` | No       | —       | The number of times the email template was opened                                                                                                                                                                                                                                  |
| `result.data.counts.clicks`          | `integer` | No       | —       | The number of times links in the email template were clicked                                                                                                                                                                                                                       |
| `result.data.counts.replies`         | `integer` | No       | —       | The number of replies the email template received                                                                                                                                                                                                                                  |
| `result.data.counts.bounces`         | `integer` | No       | —       | The number of bounces the email template received                                                                                                                                                                                                                                  |
| `result.data.template_owner`         | `object`  | No       | —       | User that owns this email template                                                                                                                                                                                                                                                 |
| `result.data.template_owner.id`      | `integer` | No       | —       | —                                                                                                                                                                                                                                                                                  |
| `result.data.template_owner._href`   | `string`  | No       | —       | —                                                                                                                                                                                                                                                                                  |
| `result.data.team_template`          | `object`  | No       | —       | Associated team template, if any                                                                                                                                                                                                                                                   |
| `result.data.team_template.id`       | `string`  | No       | —       | —                                                                                                                                                                                                                                                                                  |
| `result.data.team_template._href`    | `string`  | No       | —       | —                                                                                                                                                                                                                                                                                  |
| `result.data._links`                 | `record`  | No       | —       | Links to attachments and tags resources for this email template.                                                                                                                                                                                                                   |
| `result.data.tags`                   | `array`   | No       | —       | All tags applied to this email template                                                                                                                                                                                                                                            |
| `result.data.groups`                 | `array`   | No       | —       | Groups to which this template is assigned, if any                                                                                                                                                                                                                                  |
| `result.data.groups[].id`            | `integer` | No       | —       | —                                                                                                                                                                                                                                                                                  |
| `result.data.groups[]._href`         | `string`  | No       | —       | —                                                                                                                                                                                                                                                                                  |
| `result.meta`                        | `object`  | No       | —       | Additional response metadata (status, paging).                                                                                                                                                                                                                                     |

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

  ### Output JSON Schema

  ```json theme={null}
  {
    "type": "object",
    "description": "Standard tool result payload.",
    "properties": {
      "data": {
        "type": "object",
        "description": "Provider response payload.",
        "properties": {
          "id": {
            "type": "integer",
            "description": "ID of email template"
          },
          "title": {
            "type": "string",
            "description": "Title of the email template"
          },
          "subject": {
            "type": "string",
            "description": "Subject of the email template"
          },
          "body": {
            "type": "string",
            "description": "Sanitized body of the email template without email signature"
          },
          "body_preview": {
            "type": "string",
            "description": "A plain text version of the first 100 characters of the body of the email template"
          },
          "created_at": {
            "type": "string",
            "description": "Datetime of when the email template was created",
            "format": "date-time"
          },
          "updated_at": {
            "type": "string",
            "description": "Datetime of when the email template was last updated",
            "format": "date-time"
          },
          "last_used_at": {
            "type": "string",
            "description": "Datetime of when the email template was last used",
            "format": "date-time"
          },
          "archived_at": {
            "type": "string",
            "description": "Datetime of when the email template was archived, if archived",
            "format": "date-time"
          },
          "shared": {
            "type": "boolean",
            "description": "Whether this email template is visible to team members (shared)"
          },
          "open_tracking_enabled": {
            "type": "boolean",
            "description": "Whether open tracking is enabled for this email template"
          },
          "click_tracking_enabled": {
            "type": "boolean",
            "description": "Whether click tracking is enabled for this email template"
          },
          "cadence_template": {
            "type": "boolean",
            "description": "Whether this email template is only used on a cadence step. These templates are not visible in the SalesLoft application template list. If false, this email template is visible in the SalesLoft application, and may be used when composing an email or creating a cadence step."
          },
          "counts": {
            "type": "object",
            "properties": {
              "sent_emails": {
                "type": "integer",
                "description": "The number of times the email template was sent out"
              },
              "views": {
                "type": "integer",
                "description": "The number of times the email template was opened"
              },
              "clicks": {
                "type": "integer",
                "description": "The number of times links in the email template were clicked"
              },
              "replies": {
                "type": "integer",
                "description": "The number of replies the email template received"
              },
              "bounces": {
                "type": "integer",
                "description": "The number of bounces the email template received"
              }
            },
            "additionalProperties": false
          },
          "template_owner": {
            "type": "object",
            "description": "User that owns this email template",
            "properties": {
              "id": {
                "type": "integer"
              },
              "_href": {
                "type": "string"
              }
            },
            "additionalProperties": false
          },
          "team_template": {
            "type": "object",
            "description": "Associated team template, if any",
            "properties": {
              "id": {
                "type": "string"
              },
              "_href": {
                "type": "string"
              }
            },
            "additionalProperties": false
          },
          "_links": {
            "type": "object",
            "description": "Links to attachments and tags resources for this email template."
          },
          "tags": {
            "type": "array",
            "description": "All tags applied to this email template",
            "items": {
              "type": "string"
            }
          },
          "groups": {
            "type": "array",
            "description": "Groups to which this template is assigned, if any",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "integer"
                },
                "_href": {
                  "type": "string"
                }
              },
              "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

* [Salesloft provider guide](/docs/providers/salesloft/guide)
* [SDK V2 quickstart](/docs/sdk-v2/quickstart)
* [SDK reference](/docs/sdk-v2/sdk-reference)
* [Run tools across a CSV](/docs/sdk-v2/batch-csv)
