Join Slack
Powered by
Hi, should i use the Email block to send email on ...
# ask-community
t
Tri
10/28/2024, 3:37 PM
Hi, should i use the Email block to send email on task fail? Or should i write a function to send email on task fail hook? Thank you
b
Bianca Hoch
10/28/2024, 10:46 PM
If you use an email block, you could reference it in an
automation
to send an email when a flow run fails. For a task run failure, you could use a
on_failure
hook to send an email.
Bianca Hoch
10/28/2024, 10:46 PM
IIRC, you can't use the email notification block directly in code
4
Views
Open in Slack
Previous
Next