@@ -215,3 +215,245 @@ List current on-call entries from PagerDuty.
215215| ` more ` | boolean | Whether more results are available |
216216
217217
218+
219+ ## Triggers
220+
221+ A ** Trigger** is a block that starts a workflow when an event happens in this service.
222+
223+ ### PagerDuty Incident Acknowledged
224+
225+ Trigger workflow when an incident is acknowledged in PagerDuty
226+
227+ #### Configuration
228+
229+ | Parameter | Type | Required | Description |
230+ | --------- | ---- | -------- | ----------- |
231+ | ` apiKey ` | string | Yes | Used to create the webhook subscription. Must be a read/write REST API key. |
232+
233+ #### Output
234+
235+ | Parameter | Type | Description |
236+ | --------- | ---- | ----------- |
237+ | ` event_id ` | string | Unique ID of the webhook event |
238+ | ` event_type ` | string | Event type \( e.g. incident.triggered, incident.resolved\) |
239+ | ` occurred_at ` | string | When the event occurred \( ISO 8601\) |
240+ | ` agent ` | json | The user or service that caused the event \( may be null\) |
241+ | ` incident ` | object | incident output from the tool |
242+ | ↳ ` id ` | string | Incident ID |
243+ | ↳ ` number ` | number | Incident number |
244+ | ↳ ` title ` | string | Incident title |
245+ | ↳ ` status ` | string | Incident status \( triggered, acknowledged, resolved\) |
246+ | ↳ ` urgency ` | string | Incident urgency \( high or low\) |
247+ | ↳ ` html_url ` | string | Web URL of the incident |
248+ | ↳ ` created_at ` | string | Incident creation timestamp |
249+ | ↳ ` priority ` | string | Priority label \( may be null\) |
250+ | ↳ ` service ` | object | service output from the tool |
251+ | ↳ ` id ` | string | Service ID |
252+ | ↳ ` summary ` | string | Service name |
253+ | ↳ ` html_url ` | string | Service web URL |
254+ | ↳ ` escalation_policy ` | object | escalation_policy output from the tool |
255+ | ↳ ` id ` | string | Escalation policy ID |
256+ | ↳ ` summary ` | string | Escalation policy name |
257+ | ↳ ` html_url ` | string | Escalation policy web URL |
258+ | ↳ ` assignees ` | json | Array of assignee references \(\{ id, summary, html_url \}\) |
259+
260+
261+ ---
262+
263+ ### PagerDuty Incident Escalated
264+
265+ Trigger workflow when an incident is escalated in PagerDuty
266+
267+ #### Configuration
268+
269+ | Parameter | Type | Required | Description |
270+ | --------- | ---- | -------- | ----------- |
271+ | ` apiKey ` | string | Yes | Used to create the webhook subscription. Must be a read/write REST API key. |
272+
273+ #### Output
274+
275+ | Parameter | Type | Description |
276+ | --------- | ---- | ----------- |
277+ | ` event_id ` | string | Unique ID of the webhook event |
278+ | ` event_type ` | string | Event type \( e.g. incident.triggered, incident.resolved\) |
279+ | ` occurred_at ` | string | When the event occurred \( ISO 8601\) |
280+ | ` agent ` | json | The user or service that caused the event \( may be null\) |
281+ | ` incident ` | object | incident output from the tool |
282+ | ↳ ` id ` | string | Incident ID |
283+ | ↳ ` number ` | number | Incident number |
284+ | ↳ ` title ` | string | Incident title |
285+ | ↳ ` status ` | string | Incident status \( triggered, acknowledged, resolved\) |
286+ | ↳ ` urgency ` | string | Incident urgency \( high or low\) |
287+ | ↳ ` html_url ` | string | Web URL of the incident |
288+ | ↳ ` created_at ` | string | Incident creation timestamp |
289+ | ↳ ` priority ` | string | Priority label \( may be null\) |
290+ | ↳ ` service ` | object | service output from the tool |
291+ | ↳ ` id ` | string | Service ID |
292+ | ↳ ` summary ` | string | Service name |
293+ | ↳ ` html_url ` | string | Service web URL |
294+ | ↳ ` escalation_policy ` | object | escalation_policy output from the tool |
295+ | ↳ ` id ` | string | Escalation policy ID |
296+ | ↳ ` summary ` | string | Escalation policy name |
297+ | ↳ ` html_url ` | string | Escalation policy web URL |
298+ | ↳ ` assignees ` | json | Array of assignee references \(\{ id, summary, html_url \}\) |
299+
300+
301+ ---
302+
303+ ### PagerDuty Incident Event
304+
305+ Trigger workflow from any PagerDuty incident event
306+
307+ #### Configuration
308+
309+ | Parameter | Type | Required | Description |
310+ | --------- | ---- | -------- | ----------- |
311+ | ` apiKey ` | string | Yes | Used to create the webhook subscription. Must be a read/write REST API key. |
312+
313+ #### Output
314+
315+ | Parameter | Type | Description |
316+ | --------- | ---- | ----------- |
317+ | ` event_id ` | string | Unique ID of the webhook event |
318+ | ` event_type ` | string | Event type \( e.g. incident.triggered, incident.resolved\) |
319+ | ` occurred_at ` | string | When the event occurred \( ISO 8601\) |
320+ | ` agent ` | json | The user or service that caused the event \( may be null\) |
321+ | ` incident ` | object | incident output from the tool |
322+ | ↳ ` id ` | string | Incident ID |
323+ | ↳ ` number ` | number | Incident number |
324+ | ↳ ` title ` | string | Incident title |
325+ | ↳ ` status ` | string | Incident status \( triggered, acknowledged, resolved\) |
326+ | ↳ ` urgency ` | string | Incident urgency \( high or low\) |
327+ | ↳ ` html_url ` | string | Web URL of the incident |
328+ | ↳ ` created_at ` | string | Incident creation timestamp |
329+ | ↳ ` priority ` | string | Priority label \( may be null\) |
330+ | ↳ ` service ` | object | service output from the tool |
331+ | ↳ ` id ` | string | Service ID |
332+ | ↳ ` summary ` | string | Service name |
333+ | ↳ ` html_url ` | string | Service web URL |
334+ | ↳ ` escalation_policy ` | object | escalation_policy output from the tool |
335+ | ↳ ` id ` | string | Escalation policy ID |
336+ | ↳ ` summary ` | string | Escalation policy name |
337+ | ↳ ` html_url ` | string | Escalation policy web URL |
338+ | ↳ ` assignees ` | json | Array of assignee references \(\{ id, summary, html_url \}\) |
339+
340+
341+ ---
342+
343+ ### PagerDuty Incident Reassigned
344+
345+ Trigger workflow when an incident is reassigned in PagerDuty
346+
347+ #### Configuration
348+
349+ | Parameter | Type | Required | Description |
350+ | --------- | ---- | -------- | ----------- |
351+ | ` apiKey ` | string | Yes | Used to create the webhook subscription. Must be a read/write REST API key. |
352+
353+ #### Output
354+
355+ | Parameter | Type | Description |
356+ | --------- | ---- | ----------- |
357+ | ` event_id ` | string | Unique ID of the webhook event |
358+ | ` event_type ` | string | Event type \( e.g. incident.triggered, incident.resolved\) |
359+ | ` occurred_at ` | string | When the event occurred \( ISO 8601\) |
360+ | ` agent ` | json | The user or service that caused the event \( may be null\) |
361+ | ` incident ` | object | incident output from the tool |
362+ | ↳ ` id ` | string | Incident ID |
363+ | ↳ ` number ` | number | Incident number |
364+ | ↳ ` title ` | string | Incident title |
365+ | ↳ ` status ` | string | Incident status \( triggered, acknowledged, resolved\) |
366+ | ↳ ` urgency ` | string | Incident urgency \( high or low\) |
367+ | ↳ ` html_url ` | string | Web URL of the incident |
368+ | ↳ ` created_at ` | string | Incident creation timestamp |
369+ | ↳ ` priority ` | string | Priority label \( may be null\) |
370+ | ↳ ` service ` | object | service output from the tool |
371+ | ↳ ` id ` | string | Service ID |
372+ | ↳ ` summary ` | string | Service name |
373+ | ↳ ` html_url ` | string | Service web URL |
374+ | ↳ ` escalation_policy ` | object | escalation_policy output from the tool |
375+ | ↳ ` id ` | string | Escalation policy ID |
376+ | ↳ ` summary ` | string | Escalation policy name |
377+ | ↳ ` html_url ` | string | Escalation policy web URL |
378+ | ↳ ` assignees ` | json | Array of assignee references \(\{ id, summary, html_url \}\) |
379+
380+
381+ ---
382+
383+ ### PagerDuty Incident Resolved
384+
385+ Trigger workflow when an incident is resolved in PagerDuty
386+
387+ #### Configuration
388+
389+ | Parameter | Type | Required | Description |
390+ | --------- | ---- | -------- | ----------- |
391+ | ` apiKey ` | string | Yes | Used to create the webhook subscription. Must be a read/write REST API key. |
392+
393+ #### Output
394+
395+ | Parameter | Type | Description |
396+ | --------- | ---- | ----------- |
397+ | ` event_id ` | string | Unique ID of the webhook event |
398+ | ` event_type ` | string | Event type \( e.g. incident.triggered, incident.resolved\) |
399+ | ` occurred_at ` | string | When the event occurred \( ISO 8601\) |
400+ | ` agent ` | json | The user or service that caused the event \( may be null\) |
401+ | ` incident ` | object | incident output from the tool |
402+ | ↳ ` id ` | string | Incident ID |
403+ | ↳ ` number ` | number | Incident number |
404+ | ↳ ` title ` | string | Incident title |
405+ | ↳ ` status ` | string | Incident status \( triggered, acknowledged, resolved\) |
406+ | ↳ ` urgency ` | string | Incident urgency \( high or low\) |
407+ | ↳ ` html_url ` | string | Web URL of the incident |
408+ | ↳ ` created_at ` | string | Incident creation timestamp |
409+ | ↳ ` priority ` | string | Priority label \( may be null\) |
410+ | ↳ ` service ` | object | service output from the tool |
411+ | ↳ ` id ` | string | Service ID |
412+ | ↳ ` summary ` | string | Service name |
413+ | ↳ ` html_url ` | string | Service web URL |
414+ | ↳ ` escalation_policy ` | object | escalation_policy output from the tool |
415+ | ↳ ` id ` | string | Escalation policy ID |
416+ | ↳ ` summary ` | string | Escalation policy name |
417+ | ↳ ` html_url ` | string | Escalation policy web URL |
418+ | ↳ ` assignees ` | json | Array of assignee references \(\{ id, summary, html_url \}\) |
419+
420+
421+ ---
422+
423+ ### PagerDuty Incident Triggered
424+
425+ Trigger workflow when a new incident is triggered in PagerDuty
426+
427+ #### Configuration
428+
429+ | Parameter | Type | Required | Description |
430+ | --------- | ---- | -------- | ----------- |
431+ | ` apiKey ` | string | Yes | Used to create the webhook subscription. Must be a read/write REST API key. |
432+
433+ #### Output
434+
435+ | Parameter | Type | Description |
436+ | --------- | ---- | ----------- |
437+ | ` event_id ` | string | Unique ID of the webhook event |
438+ | ` event_type ` | string | Event type \( e.g. incident.triggered, incident.resolved\) |
439+ | ` occurred_at ` | string | When the event occurred \( ISO 8601\) |
440+ | ` agent ` | json | The user or service that caused the event \( may be null\) |
441+ | ` incident ` | object | incident output from the tool |
442+ | ↳ ` id ` | string | Incident ID |
443+ | ↳ ` number ` | number | Incident number |
444+ | ↳ ` title ` | string | Incident title |
445+ | ↳ ` status ` | string | Incident status \( triggered, acknowledged, resolved\) |
446+ | ↳ ` urgency ` | string | Incident urgency \( high or low\) |
447+ | ↳ ` html_url ` | string | Web URL of the incident |
448+ | ↳ ` created_at ` | string | Incident creation timestamp |
449+ | ↳ ` priority ` | string | Priority label \( may be null\) |
450+ | ↳ ` service ` | object | service output from the tool |
451+ | ↳ ` id ` | string | Service ID |
452+ | ↳ ` summary ` | string | Service name |
453+ | ↳ ` html_url ` | string | Service web URL |
454+ | ↳ ` escalation_policy ` | object | escalation_policy output from the tool |
455+ | ↳ ` id ` | string | Escalation policy ID |
456+ | ↳ ` summary ` | string | Escalation policy name |
457+ | ↳ ` html_url ` | string | Escalation policy web URL |
458+ | ↳ ` assignees ` | json | Array of assignee references \(\{ id, summary, html_url \}\) |
459+
0 commit comments