Send Salesforce opportunity bar chart to Slack

Social, UtilitiesCRMMarketingSalesUtilities

What it does

When someone runs a Slack command, this automation searches Salesforce for opportunities closing this month. It generates a bar chart with amount on the Y axis and probability on the X axis, then posts it to Slack so the team sees the pipeline at a glance.

Who it's for

Sales teams who want to review monthly closing opportunities and their probability without leaving Slack.

How teams use this

Review pipeline probability at a glance

Run the command to see all opportunities closing this month plotted by amount and probability in a single chart. Sales leaders can spot high-value deals and assess risk without opening Salesforce.

Share forecast with executives in Slack

Post the bar chart to an executive channel so leadership sees the monthly pipeline breakdown by probability and deal size. The same command works in any channel.

Filter by sales stage or owner

Extend the command to include a stage filter or owner parameter so teams can narrow the chart to specific segments. The chart generation and Slack post remain unchanged.

How it works

  1. Run the opportunity summary command. Type the Slack command in a channel or direct message to request the bar chart of opportunities closing this month.
  2. Search for opportunities closing this month. Query Salesforce for all opportunities with a close date in the current month, pulling the amount and probability for each record.
  3. Generate and post the bar chart. Create a column chart from the Salesforce opportunity data with amount on the Y axis and probability on the X axis, then post it to Slack.