Deprovision applicants in Salesforce from Slack

Social, UtilitiesCRMMarketingSalesUtilities

What it does

When someone runs a command in Slack, this automation searches Salesforce for leads by email and checks their status. If the lead is open, it updates the record to rejected, sends a rejection email via Gmail, and notifies the recruiter in Slack.

Who it's for

HR teams who need to reject applicants from Slack without switching to Salesforce.

How teams use this

Reject applicants without opening Salesforce

Run the reject command from Slack with an email, and the lead status updates to rejected while the applicant gets a rejection email. The recruiter stays in Slack the whole time.

Notify applicants of rejection automatically

When a lead is rejected from Slack, Gmail sends a rejection email to the applicant right away. No manual email step is needed after the Salesforce update.

Route rejections to a hiring manager channel

Post the rejection confirmation to a hiring manager Slack channel instead of a direct message so the whole team sees which applicants were rejected and when.

Add rejection reason to the email and record

Include a rejection reason field in the command so the reason is added to the Salesforce lead and included in the rejection email sent to the applicant.

How it works

  1. Run the reject applicant command. Type the command in Slack with the applicant email so the automation knows who to reject.
  2. Search for the lead in Salesforce. Find the lead record by email to check if the applicant is already approved or still open for rejection.
  3. Update the lead to rejected. Change the lead status to rejected in Salesforce so the record reflects the decision.
  4. Send rejection email via Gmail. Gmail sends a rejection message to the applicant at the email address from the command so they know the outcome.
  5. Confirm rejection in Slack. Reply in the same Slack conversation so the recruiter knows the applicant was rejected and notified.