Send product usage chart from Snowflake to Slack

BotsArtificial IntelligenceSales EnablementDatabaseMarketingRecipe Tools

What it does

When someone runs the Snowflake product usage command in Slack with a customer identifier and account period, this automation queries Snowflake for usage data. It generates a chart and posts the results to the channel.

Who it's for

Customer success teams who need to check product usage by customer and period without accessing Snowflake directly.

Apps used

How teams use this

Check usage for a specific customer

Run the command with a customer identifier and date range to see how much product that customer used during the period. The chart appears in Slack instantly.

Investigate usage drops or spikes

Query a customer's usage over several months to spot trends and anomalies. Share the chart in a thread to discuss what changed with the team.

Route usage alerts to sales

Invite the bot to a sales channel so account executives can check customer usage during renewal conversations. Only the channel changes, the query stays the same.

Filter usage by product feature

Extend the command to include a feature filter so the chart shows usage for only one product module. That adds one parameter to the Snowflake query.

How it works

  1. Run the product usage command. Type the Snowflake product usage command in Slack with the customer identifier and account period you want to review.
  2. Query usage data from Snowflake. Snowflake retrieves usage records from the sales task table using the customer identifier and period from the command to find matching data.
  3. Generate a usage chart. Create a column chart from the usage data so trends across the account period are easy to see at a glance.
  4. Post the chart to Slack. Reply in the same Slack conversation with the chart so the team can review product usage without leaving the channel.