Can't edit subject in the Automation EmailNotificationAction
through Cloud UI
#1279
Labels
bug
Something isn't working
component:cloud
Consider for Orion
For consideration when we add more functionality with Orion
from:slack
ui
v1
Opened from the Prefect Public Slack Community
jessica.smith: The <https://docs.prefect.io/orchestration/concepts/automations.html#actions-reference|Automations page> states that you can set the subject on an EmailNotificationAction. I can't see a way to do this in the UI, am I missing something or is the documentation incorrect?
jessica.smith: You can do it through GraphQL, I think the UI is just missing it. Here's a GraphQL example for reference:
mutation {
update_action(
input: {action_id: "5274761b-fd26-45d2-950f-21bb48e1212x", config: {email_notification: {to_emails: ["mailto:[email protected]|[email protected]"], subject: "Prefect flow {flow_name} failed"}}}
) {
success
}
}
anna: thanks, let's open an issue for it - could you add some screenshots and more context to the GitHub issue?
<@ULVA73B9P> open "Can't edit subject in the Automation
EmailNotificationAction
through Cloud UI"jessica.smith: Yep, I'll get them added shortly
Original thread can be found here.
The text was updated successfully, but these errors were encountered: