Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
83 changes: 50 additions & 33 deletions apps/docs/content/docs/integrations/incidentio.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ List incidents from incident.io. Returns a list of incidents with their details
| ↳ `id` | string | Incident ID |
| ↳ `name` | string | Incident name/title |
| ↳ `summary` | string | Incident summary |
| ↳ `description` | string | Incident description |
| ↳ `mode` | string | Incident mode \(standard, retrospective, test\) |
| ↳ `call_url` | string | Video call URL |
| ↳ `severity` | object | Incident severity |
Expand All @@ -82,7 +81,7 @@ List incidents from incident.io. Returns a list of incidents with their details
| ↳ `is_default` | boolean | Whether this is the default incident type |
| ↳ `created_at` | string | When the incident was created \(ISO 8601\) |
| ↳ `updated_at` | string | When the incident was last updated \(ISO 8601\) |
| ↳ `incident_url` | string | URL to the incident page |
| ↳ `permalink` | string | Permalink to the incident in incident.io |
| ↳ `slack_channel_id` | string | Slack channel ID |
| ↳ `slack_channel_name` | string | Slack channel name |
| ↳ `visibility` | string | Incident visibility \(public, private\) |
Expand Down Expand Up @@ -116,7 +115,6 @@ Create a new incident in incident.io. Requires idempotency_key, severity_id, and
| ↳ `id` | string | Incident ID |
| ↳ `name` | string | Incident name |
| ↳ `summary` | string | Brief summary of the incident |
| ↳ `description` | string | Detailed description of the incident |
| ↳ `mode` | string | Incident mode \(e.g., standard, retrospective\) |
| ↳ `call_url` | string | URL for the incident call/bridge |
| ↳ `severity` | object | Severity of the incident |
Expand All @@ -132,7 +130,7 @@ Create a new incident in incident.io. Requires idempotency_key, severity_id, and
| ↳ `name` | string | Type name |
| ↳ `created_at` | string | Creation timestamp |
| ↳ `updated_at` | string | Last update timestamp |
| ↳ `incident_url` | string | URL to the incident |
| ↳ `permalink` | string | Permalink to the incident in incident.io |
| ↳ `slack_channel_id` | string | Associated Slack channel ID |
| ↳ `slack_channel_name` | string | Associated Slack channel name |
| ↳ `visibility` | string | Incident visibility |
Expand All @@ -156,10 +154,9 @@ Retrieve detailed information about a specific incident from incident.io by its
| ↳ `id` | string | Incident ID |
| ↳ `name` | string | Incident name |
| ↳ `summary` | string | Brief summary of the incident |
| ↳ `description` | string | Detailed description of the incident |
| ↳ `mode` | string | Incident mode \(e.g., standard, retrospective\) |
| ↳ `call_url` | string | URL for the incident call/bridge |
| ↳ `permalink` | string | Permanent link to the incident |
| ↳ `permalink` | string | Permalink to the incident in incident.io |
| ↳ `severity` | object | Severity of the incident |
| ↳ `id` | string | Severity ID |
| ↳ `name` | string | Severity name |
Expand All @@ -173,7 +170,6 @@ Retrieve detailed information about a specific incident from incident.io by its
| ↳ `name` | string | Type name |
| ↳ `created_at` | string | Creation timestamp |
| ↳ `updated_at` | string | Last update timestamp |
| ↳ `incident_url` | string | URL to the incident |
| ↳ `slack_channel_id` | string | Associated Slack channel ID |
| ↳ `slack_channel_name` | string | Associated Slack channel name |
| ↳ `visibility` | string | Incident visibility |
Expand Down Expand Up @@ -205,7 +201,6 @@ Update an existing incident in incident.io. Can update name, summary, severity,
| ↳ `id` | string | Incident ID |
| ↳ `name` | string | Incident name |
| ↳ `summary` | string | Brief summary of the incident |
| ↳ `description` | string | Detailed description of the incident |
| ↳ `mode` | string | Incident mode \(e.g., standard, retrospective\) |
| ↳ `call_url` | string | URL for the incident call/bridge |
| ↳ `severity` | object | Severity of the incident |
Expand All @@ -221,7 +216,7 @@ Update an existing incident in incident.io. Can update name, summary, severity,
| ↳ `name` | string | Type name |
| ↳ `created_at` | string | Creation timestamp |
| ↳ `updated_at` | string | Last update timestamp |
| ↳ `incident_url` | string | URL to the incident |
| ↳ `permalink` | string | Permalink to the incident in incident.io |
| ↳ `slack_channel_id` | string | Associated Slack channel ID |
| ↳ `slack_channel_name` | string | Associated Slack channel name |
| ↳ `visibility` | string | Incident visibility |
Expand Down Expand Up @@ -486,7 +481,7 @@ Create a new workflow in incident.io.
| `trigger` | string | No | Trigger type for the workflow \(e.g., "incident.updated", "incident.created"\) |
| `steps` | string | No | Array of workflow steps as JSON string. Example: \[\{"label": "Notify team", "name": "slack.post_message"\}\] |
| `condition_groups` | string | No | Array of condition groups as JSON string to control when the workflow runs. Example: \[\{"conditions": \[\{"operation": "one_of", "param_bindings": \[\], "subject": "incident.severity"\}\]\}\] |
| `runs_on_incidents` | string | No | When to run the workflow: "newly_created" \(only new incidents\), "newly_created_and_active" \(new and active incidents\), "active" \(only active incidents\), or "all" \(all incidents\) |
| `runs_on_incidents` | string | No | When to run the workflow: "newly_created" \(only newly created incidents\) or "newly_created_and_active" \(newly created and already active incidents\) |
| `runs_on_incident_modes` | string | No | Array of incident modes to run on as JSON string. Example: \["standard", "retrospective"\] |
| `include_private_incidents` | boolean | No | Whether to include private incidents |
| `continue_on_step_error` | boolean | No | Whether to continue executing subsequent steps if a step fails |
Expand Down Expand Up @@ -569,7 +564,7 @@ Update an existing workflow in incident.io.
| `name` | string | Yes | New name for the workflow \(e.g., "Notify on Critical Incidents"\) |
| `steps` | string | Yes | Complete array of workflow steps as a JSON string |
| `condition_groups` | string | Yes | Complete array of workflow condition groups as a JSON string |
| `runs_on_incidents` | string | Yes | When to run the workflow: newly_created, newly_created_and_active, active, or all |
| `runs_on_incidents` | string | Yes | When to run the workflow: newly_created or newly_created_and_active |
| `runs_on_incident_modes` | string | Yes | Complete array of incident modes to run on as a JSON string |
| `include_private_incidents` | boolean | Yes | Whether to include private incidents |
| `continue_on_step_error` | boolean | Yes | Whether to continue executing subsequent steps if a step fails |
Expand Down Expand Up @@ -783,11 +778,15 @@ List all escalation policies in incident.io

| Parameter | Type | Description |
| --------- | ---- | ----------- |
| `escalations` | array | List of escalation policies |
| ↳ `id` | string | The escalation policy ID |
| ↳ `name` | string | The escalation policy name |
| ↳ `created_at` | string | When the escalation policy was created |
| ↳ `updated_at` | string | When the escalation policy was last updated |
| `escalations` | array | List of escalations |
| ↳ `id` | string | The escalation ID |
| ↳ `title` | string | The escalation title |
| ↳ `status` | string | The current escalation status |
| ↳ `description` | string | Additional detail provided with this escalation |
| ↳ `priority` | object | The escalation priority |
| ↳ `name` | string | Priority name |
| ↳ `created_at` | string | When the escalation was created |
| ↳ `updated_at` | string | When the escalation was last updated |
| `pagination_meta` | object | Pagination metadata |
| ↳ `after` | string | Cursor for next page |
| ↳ `page_size` | number | Number of results per page |
Expand All @@ -810,11 +809,15 @@ Create a new escalation policy in incident.io

| Parameter | Type | Description |
| --------- | ---- | ----------- |
| `escalation` | object | The created escalation policy |
| ↳ `id` | string | The escalation policy ID |
| ↳ `name` | string | The escalation policy name |
| ↳ `created_at` | string | When the escalation policy was created |
| ↳ `updated_at` | string | When the escalation policy was last updated |
| `escalation` | object | The created escalation |
| ↳ `id` | string | The escalation ID |
| ↳ `title` | string | The escalation title |
| ↳ `status` | string | The current escalation status |
| ↳ `description` | string | Additional detail provided with this escalation |
| ↳ `priority` | object | The escalation priority |
| ↳ `name` | string | Priority name |
| ↳ `created_at` | string | When the escalation was created |
| ↳ `updated_at` | string | When the escalation was last updated |

### Show Escalation

Expand All @@ -831,11 +834,15 @@ Get details of a specific escalation policy in incident.io

| Parameter | Type | Description |
| --------- | ---- | ----------- |
| `escalation` | object | The escalation policy details |
| ↳ `id` | string | The escalation policy ID |
| ↳ `name` | string | The escalation policy name |
| ↳ `created_at` | string | When the escalation policy was created |
| ↳ `updated_at` | string | When the escalation policy was last updated |
| `escalation` | object | The escalation details |
| ↳ `id` | string | The escalation ID |
| ↳ `title` | string | The escalation title |
| ↳ `status` | string | The current escalation status |
| ↳ `description` | string | Additional detail provided with this escalation |
| ↳ `priority` | object | The escalation priority |
| ↳ `name` | string | Priority name |
| ↳ `created_at` | string | When the escalation was created |
| ↳ `updated_at` | string | When the escalation was last updated |

### incident.io Custom Fields List

Expand Down Expand Up @@ -870,7 +877,7 @@ Create a new custom field in incident.io.
| `apiKey` | string | Yes | incident.io API Key |
| `name` | string | Yes | Name of the custom field \(e.g., "Affected Service"\) |
| `description` | string | Yes | Description of the custom field \(required\) |
| `field_type` | string | Yes | Type of the custom field \(e.g., text, single_select, multi_select, numeric, datetime, link, user, team\) |
| `field_type` | string | Yes | Type of the custom field: text, link, numeric, single_select, or multi_select |

#### Output

Expand Down Expand Up @@ -1200,20 +1207,30 @@ List all updates for a specific incident in incident.io
| ↳ `id` | string | The update ID |
| ↳ `incident_id` | string | The incident ID |
| ↳ `message` | string | The update message |
| ↳ `merged_into_incident_id` | string | ID of the incident this incident was merged into |
| ↳ `new_severity` | object | New severity if changed |
| ↳ `id` | string | Severity ID |
| ↳ `name` | string | Severity name |
| ↳ `rank` | number | Severity rank |
| ↳ `new_status` | object | New status if changed |
| ↳ `new_incident_status` | object | The incident status after this update |
| ↳ `id` | string | Status ID |
| ↳ `name` | string | Status name |
| ↳ `category` | string | Status category |
| ↳ `updater` | object | User who created the update |
| ↳ `id` | string | User ID |
| ↳ `name` | string | User name |
| ↳ `email` | string | User email |
| ↳ `updater` | object | Actor who created the update |
| ↳ `user` | object | Set when a user made the update |
| ↳ `id` | string | User ID |
| ↳ `name` | string | User name |
| ↳ `email` | string | User email |
| ↳ `api_key` | object | Set when an API key made the update |
| ↳ `id` | string | API key ID |
| ↳ `name` | string | API key name |
| ↳ `workflow` | object | Set when a workflow made the update |
| ↳ `id` | string | Workflow ID |
| ↳ `name` | string | Workflow name |
| ↳ `alert` | object | Set when an alert made the update |
| ↳ `id` | string | Alert ID |
| ↳ `title` | string | Alert title |
| ↳ `created_at` | string | When the update was created |
| ↳ `updated_at` | string | When the update was last modified |
| `pagination_meta` | object | Pagination information |
| ↳ `after` | string | Cursor for next page |
| ↳ `page_size` | number | Number of results per page |
Expand Down
2 changes: 0 additions & 2 deletions apps/sim/blocks/blocks/incidentio.ts
Original file line number Diff line number Diff line change
Expand Up @@ -701,8 +701,6 @@ Return ONLY the title - no explanations.`,
options: [
{ label: 'Newly Created', id: 'newly_created' },
{ label: 'Newly Created and Active', id: 'newly_created_and_active' },
{ label: 'Active', id: 'active' },
{ label: 'All', id: 'all' },
],
value: () => 'newly_created',
condition: {
Expand Down
2 changes: 1 addition & 1 deletion apps/sim/tools/generated/tool-metadata.ts

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion apps/sim/tools/generated/tool-outputs.ts

Large diffs are not rendered by default.

3 changes: 1 addition & 2 deletions apps/sim/tools/incidentio/custom_fields_create.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,7 @@ export const customFieldsCreateTool: ToolConfig<
type: 'string',
required: true,
visibility: 'user-or-llm',
description:
'Type of the custom field (e.g., text, single_select, multi_select, numeric, datetime, link, user, team)',
description: 'Type of the custom field: text, link, numeric, single_select, or multi_select',
},
},

Expand Down
20 changes: 15 additions & 5 deletions apps/sim/tools/incidentio/escalations_create.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,12 +87,22 @@ export const escalationsCreateTool: ToolConfig<
outputs: {
escalation: {
type: 'object',
description: 'The created escalation policy',
description: 'The created escalation',
properties: {
id: { type: 'string', description: 'The escalation policy ID' },
name: { type: 'string', description: 'The escalation policy name' },
created_at: { type: 'string', description: 'When the escalation policy was created' },
updated_at: { type: 'string', description: 'When the escalation policy was last updated' },
id: { type: 'string', description: 'The escalation ID' },
title: { type: 'string', description: 'The escalation title' },
status: { type: 'string', description: 'The current escalation status' },
Comment thread
waleedlatif1 marked this conversation as resolved.
description: {
type: 'string',
description: 'Additional detail provided with this escalation',
},
priority: {
type: 'object',
description: 'The escalation priority',
properties: { name: { type: 'string', description: 'Priority name' } },
},
created_at: { type: 'string', description: 'When the escalation was created' },
updated_at: { type: 'string', description: 'When the escalation was last updated' },
},
},
},
Expand Down
20 changes: 15 additions & 5 deletions apps/sim/tools/incidentio/escalations_list.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,16 +68,26 @@ export const escalationsListTool: ToolConfig<
outputs: {
escalations: {
type: 'array',
description: 'List of escalation policies',
description: 'List of escalations',
items: {
type: 'object',
properties: {
id: { type: 'string', description: 'The escalation policy ID' },
name: { type: 'string', description: 'The escalation policy name' },
created_at: { type: 'string', description: 'When the escalation policy was created' },
id: { type: 'string', description: 'The escalation ID' },
title: { type: 'string', description: 'The escalation title' },
status: { type: 'string', description: 'The current escalation status' },
description: {
type: 'string',
description: 'Additional detail provided with this escalation',
},
priority: {
type: 'object',
description: 'The escalation priority',
properties: { name: { type: 'string', description: 'Priority name' } },
},
created_at: { type: 'string', description: 'When the escalation was created' },
updated_at: {
type: 'string',
description: 'When the escalation policy was last updated',
description: 'When the escalation was last updated',
},
Comment thread
waleedlatif1 marked this conversation as resolved.
},
},
Expand Down
20 changes: 15 additions & 5 deletions apps/sim/tools/incidentio/escalations_show.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,22 @@ export const escalationsShowTool: ToolConfig<
outputs: {
escalation: {
type: 'object',
description: 'The escalation policy details',
description: 'The escalation details',
properties: {
id: { type: 'string', description: 'The escalation policy ID' },
name: { type: 'string', description: 'The escalation policy name' },
created_at: { type: 'string', description: 'When the escalation policy was created' },
updated_at: { type: 'string', description: 'When the escalation policy was last updated' },
id: { type: 'string', description: 'The escalation ID' },
title: { type: 'string', description: 'The escalation title' },
status: { type: 'string', description: 'The current escalation status' },
description: {
type: 'string',
description: 'Additional detail provided with this escalation',
},
priority: {
type: 'object',
description: 'The escalation priority',
properties: { name: { type: 'string', description: 'Priority name' } },
},
created_at: { type: 'string', description: 'When the escalation was created' },
updated_at: { type: 'string', description: 'When the escalation was last updated' },
},
},
},
Expand Down
Loading
Loading