🚀Launch Week 08, April 14th - 18th, 2025🚀
Mods
Turbot

Policy: Turbot > Notifications > Email > Control Template > Batch Subject

Customize the subject of the mail to be sent to a Email channel for control.

This policy enables the customization of the subject line for emails sent to an Email channel. By utilizing this policy, users can modify the subject of the main email, allowing for more personalized and informative email notifications

Targets

This policy targets the following resource types:

Primary Policy

This policy is used with the following primary policy:

Policy Specification

Schema Type
string
Default
{% input %}
query notificationDetails($filter: [String!], $resourceId: ID!) {
  workspaceUrl: policyValue(uri: "tmod:@turbot/turbot#/policy/types/workspaceUrl", resourceId:$resourceId) {
    value
  }
  notifications(filter: $filter) {
    items {
      turbot {
        id
      }
    }
  }
}

{% endinput %}

{%- if domain %}
    {% set workspace = domain.split('/')[2].split('.')[0] %}
    [{{ workspace }}] {{ $.notifications.items.length }} control updates
{%- else %}
    {{ $.notifications.items.length }} control updates
{%- endif %}

Category

In Your Workspace

Developers