Hi - I'm new to dagster, so easy question, I'm jus...
# ask-community
m
Hi - I'm new to dagster, so easy question, I'm just finding the docs hard to understand. I have a DBT query which currently produces a BigQuery table each day '`daily_status_table`'. Does anybody have a rough code snippet for an op which: • Triggers when
daily_status_table
is run successfully. • Takes the first row of data. • Posts this as a slack message to a channel. I can't find many docs around dagster-slack at the moment. I just need a nudge in the right direction. Thank you! 🙂
a
j
yep! A sensor is the right thing here! You can set up the sensor to run whenever the dbt query completes, and within that sensor you could set up a connection to bigquery and make a slack post, or you could kick off a run of an op that does the same thing, whatever makes more sense to you. the dagster-slack library mainly contains sensors that will send a standard slack message if an asset/op fails, or has another user provided status
m
Ahhh that's grand! Thank you