Hi everyone! I want to make personalized notificat...
# ask-community
m
Hi everyone! I want to make personalized notifications about the Flow. Currently, this is configured through Automations, all Failed statuses arrive in one channel in the slack. There is a desire that, depending on the flow, the message should be made mention of the person responsible for the Flow. I thought maybe I can somehow through the context to set the required variable (slack member id) and get it in the message like we get the flow-name or run-name of the Flow. However, I’m not sure that can be implemented within the current functionality. Creating webhooks at the level of each Flow seems like overhead.
k
Hey @Marko Herkaliuk, is the person responsible something you set? Will raise this feedback for the team
m
Hi, Kevin. Yes, want set in code or UI
k
Ok will chat with the team about this
m
Hey, @Kevin Kho. Do you have any news ?
or I can use
on_failure
parameter of Flow? But in this case only failure state use, not Cancelled and other.
k
I did not get a response yet. Will just pass the feedback for Orion development because we’re unlikely to make major changes to current Prefect core as we transition to Orion. Yes a state handler would work I think and then you can grab parameters and context stuff there.