# Sentry

> Connect your Sentry account to browse projects and list, look up, resolve, and comment on issues.

App · Monitoring · 5 actions. Web page: https://docs.lodol.com/docs/integrations/sentry

## Actions

### Add comment

Post a comment on a Sentry issue.

**Inputs**

- Issue ID (`issue_id`, text, required): ID of the issue to comment on.
- Text (`text`, text, required): Text of the comment to post.

**Outputs**

- `comment` (object): Comment details

**Example output**

```json
{
  "comment": {
    "id": "9876543210",
    "text": "Investigating."
  }
}
```

### Get issue

Look up a Sentry issue's details by its ID.

**Inputs**

- Issue ID (`issue_id`, text, required): ID of the issue to look up.

**Outputs**

- `issue` (object): Issue details

**Example output**

```json
{
  "issue": {
    "count": "42",
    "culprit": "app.js in handleClick",
    "id": "1234567890",
    "last_seen": "2026-01-01T00:00:00Z",
    "level": "error",
    "permalink": "https://sentry.io/organizations/example/issues/1234567890/",
    "status": "unresolved",
    "title": "TypeError: Cannot read property 'x' of undefined"
  }
}
```

### List issues

List issues in a Sentry project, optionally filtered by a search query.

**Inputs**

- Project slug (`project_slug`, text, required): Slug of the project to list issues from, for example 'backend'.
- Query (`query`, text): Sentry search query, for example 'is:unresolved'. Default: `is:unresolved`.
- Max results (`max_results`, number): Maximum number of issues to return, from 1 to 100 (default 25).

**Outputs**

- `issues` (list): List of issues matching the query

**Example output**

```json
{
  "issues": [
    {
      "culprit": "app.js in handleClick",
      "id": "1234567890",
      "level": "error",
      "permalink": "https://sentry.io/organizations/example/issues/1234567890/",
      "status": "unresolved",
      "title": "TypeError: Cannot read property 'x' of undefined"
    }
  ]
}
```

### List projects

List the projects in your Sentry organization.

**Inputs**: None.

**Outputs**

- `projects` (list): List of projects in the organization

**Example output**

```json
{
  "projects": [
    {
      "id": "1",
      "name": "Backend",
      "slug": "backend"
    }
  ]
}
```

### Resolve issue

Mark a Sentry issue as resolved.

**Inputs**

- Issue ID (`issue_id`, text, required): ID of the issue to resolve.

**Outputs**

- `id` (text): ID of the resolved issue
- `status` (text): Issue status after resolving (always 'resolved')

**Example output**

```json
{
  "id": "1234567890",
  "status": "resolved"
}
```
