The action identifier is newrelic.notification.sendEmail.
Sends an email to New Relic email destinations, with or without attachments.
The following table describes all available input fields for this action.
Input | Type | Description | Example |
|---|---|---|---|
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. |
|
subject | String | Required. Subject of the email. |
|
message | String | Required. Message to send in the email. |
|
attachments | List | Optional. A list of optional attachments. | |
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 |
|---|---|---|
| Boolean |
|
| String |
|
| String |
|
| List | |
Workflow example: QUERY attachment |
|---|
|
Workflow example: Dashboard snapshot attachment |
|---|
|