Hello! I am trying to set up automation to send no...
# ask-community
s
Hello! I am trying to set up automation to send notifications. Is there any way to leverage prefect.yaml deployments to set up the automations or is it just the API endpoints route that is a viable approach?
1
🙌 1
j
Hey, at the moment automations can only be configured via the API/UI for sending notifications
s
Thanks Jake! I was also wondering, when setting up an action for the automation, is there any way to specify the format of the Body to say JSON? I assume, currently the format is just jinja-templated string.
j
I believe it is a jinja templated string. For the action youre talking about the actual notification that gets sent?
s
That's correct.
j
Today I don't think you can do this. I think we have an open issue around this to customize the payload, https://github.com/PrefectHQ/prefect/issues/10307
If you get a minute, would you mind commenting there about your desired functionality/use case? It helps with priority 🙂
🙌 1
thank you 1