The action identifier is newrelic.notification.send.
Sends messages or emails to New Relic destinations. You must first create the appropriate destination in New Relic, then use its ID in this action.
The following table describes all available input fields for this action.
Input | Type | Description | Example |
|---|---|---|---|
type | String | Required. The destination type. |
|
destinationId | String | Required. DestinationId associated with the New Relic destination. See NerdGraph tutorial: Alerts destinations to configure a destination and retrieve its ID, and Destinations for more information. |
|
parameters | Map | Required. Fields required to send the notification to the chosen destination type. For Slack: |
|
attachments | List | Optional. A list of optional attachments. This action doesn't support attachments when | |
attachment.type | Enum | Required. The content type of the attachment: | |
attachment.query | String | Optional. For |
|
attachment.accountIds | List | Optional. For |
|
attachment.format | Enum | Optional. For |
|
attachment.content | String | Optional. For |
|
attachment.filename | String | Optional. A filename for the attachment. If omitted, a name is generated automatically. |
|
attachment.dashboardGuid | String | Required (for |
|
attachment.dashboardParams | Object | Optional (for | |
attachment.dashboardParams.format | Enum | Optional. File format of the snapshot. |
|
attachment.dashboardParams.display | Object | Optional. Dimensions of the snapshot image. | |
attachment.dashboardParams.display.width | Integer | Optional. Width in pixels. Min: |
|
attachment.dashboardParams.display.height | Integer | Optional. Height in pixels. Min: |
|
attachment.dashboardParams.variables | List | Optional. Template variable overrides. Each entry requires | |
attachment.dashboardParams.timeWindow | Object | Optional. Time window for the snapshot. Omit entirely to use the dashboard's saved time window. Provide either | |
attachment.dashboardParams.timeWindow.duration | Integer | Optional. Relative time window in milliseconds. |
|
attachment.dashboardParams.timeWindow.beginTime | Integer | Optional. Absolute start time in epoch milliseconds. Use with |
|
attachment.dashboardParams.timeWindow.endTime | Integer | Optional. Absolute end time in epoch milliseconds. Use with |
|
attachment.dashboardParams.entityFilter | String | Optional. Filters dashboard data by entity. Provide the filter expression without the |
|
selectors | List | Optional. Selectors to extract specific fields from the output. |
|
The following table describes all output fields returned by this action.
Output | Type | Example |
|---|---|---|
| String |
|
| String |
|
| List | |
중요
This action doesn't support attachments when sending to a Slack destination.
Workflow example: Slack |
|---|
|
Workflow example: Email |
|---|
|