m
example
j
[ā€œjeff@prefect.ioā€] in the Email block should do the job
m
How to call this programmatically in the code?
j
Blocks and Automations can be defined in code and instantiated through the REST API. https://docs.prefect.io/latest/guides/automations/#event-based-deployment-automation https://docs.prefect.io/latest/api-ref/rest-api/ The prefect-email folder is good for sending emails through Python code, but not as part of an Automation.
m
gotcha, thanks