StandardMessage
A StandardMessage is a pre-saved email body that can be reused when sending documents. Each Group can have multiple standard messages, with one set as the default.
Subject lines are taken from the Experience settings — StandardMessages only define the email body.
Fields
| Field | Type | Description |
|---|---|---|
id | ID | Unique identifier |
name | String | Message name |
default | Boolean | Whether this is the default message for the group |
body | String | Email body content |
created | AWSDateTime | When the message was created |
modified | AWSDateTime | When the message was last modified |
Query
StandardMessages are accessed via Group.standardMessageConnection:
query GetMessages {
group(id: "Z3JwbGVnYWxlc2lnbxRldg==") {
standardMessageConnection {
messages {
id
body
name
modified
created
default
}
}
}
}
Related
- Group — the group these messages belong to
- Experience — email subject lines come from experience settings