https://prefect.io logo
#prefect-community
Title
# prefect-community
j

Jessica Smith

05/11/2022, 4:18 PM
The 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?
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: ["test@test.com"], subject: "Prefect flow {flow_name} failed"}}} ) { success } }
a

Anna Geller

05/11/2022, 5:03 PM
thanks, let's open an issue for it - could you add some screenshots and more context to the GitHub issue? @Marvin open "Can't edit subject in the Automation
EmailNotificationAction
through Cloud UI"
j

Jessica Smith

05/11/2022, 5:04 PM
Yep, I'll get them added shortly
a

Anna Geller

05/11/2022, 5:12 PM
thanks a lot, Jessica, you can add directly to the linked issue
3 Views