Notify Slack of Salesforce opportunities closing this week

UtilitiesCRMMarketingSalesSocial, Utilities

What it does

When a scheduled time arrives, this automation searches Salesforce for opportunities closing this week. It posts a notification to Slack so the team sees the deals sorted by amount and stays on top of near-term closes.

Who it's for

Sales teams who want a weekly Slack reminder of opportunities closing soon without checking Salesforce.

How teams use this

Alert the team to weekly closing deals

Post a Slack notification every Monday morning with all opportunities closing that week, sorted by deal size. The team gets visibility without opening Salesforce.

Send reminders to specific sales channels

Route the notification to different Slack channels by region or product line instead of a single channel. The query and schedule stay the same.

Filter opportunities by stage or owner

Add a condition to the Salesforce query so only opportunities in a specific stage or owned by certain people appear in the Slack post. This narrows the list to what matters most.

How it works

  1. Run on a set schedule. At a specified time each week, this automation wakes up and searches Salesforce for opportunities that are closing this week.
  2. Search for opportunities closing this week. Query Salesforce for all opportunities with a close date in the current week, sorted by amount in descending order so the biggest deals appear first.
  3. Post notification to Slack. Send a notification to Slack that includes each opportunity, its amount, and the owner's full name from Salesforce so the team knows who to follow up with.
  4. Fetch owner details for each deal. For each opportunity in the list, retrieve the owner's full name from Salesforce so the Slack message shows who is responsible for each close.