Assign lead ownership in Salesforce from Slack

BotsArtificial IntelligenceSales EnablementCRMMarketing

What it does

When someone runs the Salesforce Claim Lead command in Slack, this automation searches Salesforce for that lead by email or ID. It assigns the lead to the person who issued the command and sends a confirmation to Slack.

Who it's for

Sales teams who need to claim leads in Salesforce from Slack without leaving the conversation.

How teams use this

Claim a lead from sales channel

Run the Salesforce Claim Lead command in a shared sales channel to assign a lead to yourself. The lead owner updates in Salesforce and the channel sees the confirmation in the thread.

Route leads to regional sales teams

Invite Slack to different regional or vertical sales channels so teams can claim leads relevant to their territory. The same automation works for each team without any changes.

Add priority level to claimed leads

Extend the command to include a priority prompt so the lead is claimed and marked as high, medium, or low priority in Salesforce at the same time.

Notify managers of claimed leads

Add a step to send a message to a manager channel whenever a lead is claimed, so leadership can track claim activity and team capacity in real time.

How it works

  1. Run the Claim Lead command. Type the Salesforce Claim Lead command in a Slack channel or direct message, then provide the lead's email and lead ID when prompted.
  2. Find the lead in Salesforce. Search Salesforce for a lead matching the email or ID provided. If no match is found or multiple matches exist, Slack receives an error message and the automation stops.
  3. Verify the person in Salesforce. Search Salesforce for a user whose email matches the Slack email of someone who ran the command, so the lead can be assigned to the correct owner.
  4. Assign the lead to the owner. Update the lead record in Salesforce to set the person who ran the command as the lead owner.
  5. Send confirmation to Slack. Reply in the same Slack conversation so the channel knows the lead was claimed and assigned.