Hi - I am trying to set up an automation that send...
# prefect-cloud
a
Hi - I am trying to set up an automation that sends a Slack notification when a work queue becomes unhealthy. I've set it up, but I can only figure out how to display the queue name in the message - is there a way to also display the work pool name in the same message? I have the same queue names ("on-demand" vs. "scheduled") across multiple work pools, and I would like the Slack message to say which work pool is affected.
w
Hey Ameya, the following variables should be available
Copy code
Name: {{ work_pool.name }}
Status: {{ work_pool.status }}
URL: {{ work_pool|ui_url }}
a
are they available even in a work queue automation?
w
ahh i understand. I’m actually not sure but this should be pretty easy to test.
a
will try it out!