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

# Intercom: Reply Ticket

> Reply to an Intercom ticket as an admin or contact, or add an admin note. Includes SDK V2 examples, input constraints, response fields, and Deepline cost.

Reply to an Intercom ticket as an admin or contact, or add an admin note.

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

## 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(
  'intercom_reply_ticket',
  {
    "ticket_id": "ticket_123"
  },
);

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

### CLI

```bash theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
deepline tools execute intercom_reply_ticket --input '{
  "ticket_id": "ticket_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": {
    "type": "ticket_part",
    "id": "id_123",
    "part_type": "note"
  }
}
```

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

## Input reference

You can reply to a ticket with a message from an admin or on behalf of a contact, or with a note for admins.

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `payload.ticket_id` | `string` | Yes | — | The id of the ticket to target. \{% admonition type="info" name="Not the Inbox ticket ID" %} This is the internal `id` field from the API response, not the `ticket_id` displayed in the Intercom Inbox (e.g., #12345). Use the `id` value from the ticket object returned by the API. \{% /admonition %} |
| `payload.skip_notifications` | `boolean` | No | — | Option to disable notifications when replying to a Ticket. |

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

  ### Input JSON Schema

  ```json theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
  {
    "type": "object",
    "description": "You can reply to a ticket with a message from an admin or on behalf of a contact, or with a note for admins.",
    "properties": {
      "ticket_id": {
        "type": "string",
        "description": "The id of the ticket to target. {% admonition type=\"info\" name=\"Not the Inbox ticket ID\" %} This is the internal `id` field from the API response, not the `ticket_id` displayed in the Intercom Inbox (e.g., #12345). Use the `id` value from the ticket object returned by the API. {% /admonition %}"
      },
      "skip_notifications": {
        "type": "boolean",
        "description": "Option to disable notifications when replying to a Ticket."
      }
    },
    "required": [
      "ticket_id"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Output reference

Standard tool result payload.

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `result.data` | `object` | Yes | — | A Ticket Part representing a note, comment, or quick\_reply on a ticket |
| `result.data.type` | `"ticket_part"` | No | — | Always ticket\_part Allowed: `ticket_part`. |
| `result.data.id` | `string` | No | — | The id representing the part. |
| `result.data.part_type` | `"note" \| "comment" \| "quick_reply"` | No | — | Type of the part Allowed: `note`, `comment`, `quick_reply`. |
| `result.data.body` | `string \| null` | No | — | The message body, which may contain HTML. |
| `result.data.created_at` | `integer` | No | — | The time the note was created. Format: `date-time`. |
| `result.data.updated_at` | `integer` | No | — | The last time the note was updated. Format: `date-time`. |
| `result.data.author` | `object` | No | — | The author that wrote or triggered the part. Can be a bot, admin, team or user. |
| `result.data.author.type` | `"admin" \| "bot" \| "team" \| "user"` | No | — | The type of the author Allowed: `admin`, `bot`, `team`, `user`. |
| `result.data.author.id` | `string` | No | — | The id of the author |
| `result.data.author.name` | `string \| null` | No | — | The name of the author |
| `result.data.author.email` | `string` | No | — | The email of the author Format: `email`. |
| `result.data.attachments` | `array` | No | — | A list of attachments for the part. |
| `result.data.attachments[].type` | `string` | No | — | The type of attachment |
| `result.data.attachments[].name` | `string` | No | — | The name of the attachment |
| `result.data.attachments[].url` | `string` | No | — | The URL of the attachment |
| `result.data.attachments[].content_type` | `string` | No | — | The content type of the attachment |
| `result.data.attachments[].filesize` | `integer` | No | — | The size of the attachment |
| `result.data.attachments[].width` | `integer` | No | — | The width of the attachment |
| `result.data.attachments[].height` | `integer` | No | — | The height of the attachment |
| `result.data.redacted` | `boolean` | No | — | Whether or not the ticket part has been redacted. |
| `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": "A Ticket Part representing a note, comment, or quick_reply on a ticket",
        "properties": {
          "type": {
            "type": "string",
            "description": "Always ticket_part",
            "enum": [
              "ticket_part"
            ]
          },
          "id": {
            "type": "string",
            "description": "The id representing the part."
          },
          "part_type": {
            "type": "string",
            "description": "Type of the part",
            "enum": [
              "note",
              "comment",
              "quick_reply"
            ]
          },
          "body": {
            "type": [
              "string",
              "null"
            ],
            "description": "The message body, which may contain HTML."
          },
          "created_at": {
            "type": "integer",
            "description": "The time the note was created.",
            "format": "date-time"
          },
          "updated_at": {
            "type": "integer",
            "description": "The last time the note was updated.",
            "format": "date-time"
          },
          "author": {
            "type": "object",
            "description": "The author that wrote or triggered the part. Can be a bot, admin, team or user.",
            "properties": {
              "type": {
                "type": "string",
                "description": "The type of the author",
                "enum": [
                  "admin",
                  "bot",
                  "team",
                  "user"
                ]
              },
              "id": {
                "type": "string",
                "description": "The id of the author"
              },
              "name": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "The name of the author"
              },
              "email": {
                "type": "string",
                "description": "The email of the author",
                "format": "email"
              }
            },
            "additionalProperties": false
          },
          "attachments": {
            "type": "array",
            "description": "A list of attachments for the part.",
            "items": {
              "type": "object",
              "description": "The file attached to a part",
              "properties": {
                "type": {
                  "type": "string",
                  "description": "The type of attachment"
                },
                "name": {
                  "type": "string",
                  "description": "The name of the attachment"
                },
                "url": {
                  "type": "string",
                  "description": "The URL of the attachment"
                },
                "content_type": {
                  "type": "string",
                  "description": "The content type of the attachment"
                },
                "filesize": {
                  "type": "integer",
                  "description": "The size of the attachment"
                },
                "width": {
                  "type": "integer",
                  "description": "The width of the attachment"
                },
                "height": {
                  "type": "integer",
                  "description": "The height of the attachment"
                }
              },
              "additionalProperties": false
            }
          },
          "redacted": {
            "type": "boolean",
            "description": "Whether or not the ticket part has been redacted."
          }
        },
        "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

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