Slack alerts
Last updated
Was this helpful?
Last updated
Was this helpful?
Go to the and create a new app (from scratch). You can call this it "Paradime Alerts" and connect it to the workspace of your choice. You can add the Paradime logo for the Bot. Download this .
Go to the "OAuth & Permissions" page for your newly-created app, and add the following scopes under "Bot Token Scopes":
channels:join
- Join public channels in a workspace
channels:read
- View basic information about public channels in a workspace
chat:write
- Send messages as <app>
files:write
- Upload, edit, and delete files as <app>
users:read
- View people in a workspace
users:read.email
- View email addresses of people in a workspace
groups:read
- View basic information about private channels that your slack app has been added to
At the "OAuth & Permissions" page, click "Install to [workspace_name]" in order to generate Slack token.
To alert on source freshness, you will need to run edr run-operation upload-source-freshness
right after each execution of dbt source freshness
. This operation will upload the results to a table, and the execution of edr monitor
will send the actual alert.
You can use a runtime environment variable to pass your Slack token to the edr
command at runtime.
Configure a with the edr monitor
CLI command at the end. Ideally this should be the command after your dbt runs and tests: