Send unread Salesforce leads assigned to you from Slack

BotsArtificial IntelligenceSales EnablementCRMMarketing

What it does

When someone runs the Unread Salesforce Lead command in Slack, this automation finds leads assigned to that person created today. It displays the name, phone, source, and rating in the channel or confirms if no leads match.

Who it's for

Sales teams who need to check their unread Salesforce leads without leaving Slack.

How teams use this

Check unread leads without opening Salesforce

Run the command in Slack to see leads assigned to you created today with key details like name and phone. The team stays in the conversation and nothing else changes.

Route leads to team members in a channel

Invite the bot to a sales channel and run the command to display unread leads for any team member. The flow works the same way and only the channel context changes.

Filter leads by source or rating

Add a condition to the Salesforce query to only show leads from a specific source or with a minimum rating. The command stays the same and only the search criteria are updated.

How it works

  1. Run the unread leads command. Type the Unread Salesforce Lead command in a Slack channel or direct message where the bot is present.
  2. Find the person in Salesforce. Search Salesforce for a user record matching the Slack email address so the lead owner can be identified correctly.
  3. Search for unread leads created today. Query Salesforce for unread leads created today and assigned to that person, returning the name, phone, source, and rating for each lead.
  4. Post the results in Slack. Reply in the same Slack conversation with the list of leads or a message that no leads match the search criteria.