Approve contacts in Salesforce from Slack

Social, UtilitiesCRMMarketingSalesDeveloperUtilities

What it does

When someone runs a command in Slack to approve a contact, this automation searches Salesforce for that contact. It updates the member status in Salesforce and PostgreSQL, then sends an email so the member knows they are approved.

Who it's for

Sales teams who need to approve contacts and notify them without leaving Slack.

How teams use this

Approve contacts without opening Salesforce

Run the Slack command with the decision maker name, and the contact status updates in Salesforce and PostgreSQL at once. The member gets an email confirmation in the same flow.

Route approvals to a dedicated channel

Move this automation to a sales operations channel so all contact approvals go through one place. The same steps run and only the Slack channel changes.

Add approval notes to the contact record

Include a notes field in the Slack command so the decision maker can add context. Update the Salesforce contact to store those notes along with the approval status.

Check member status before approving

Add a condition to verify the member is in a pending state before the approval runs. Only contacts that need approval will be updated in Salesforce and PostgreSQL.

How it works

  1. Run the approve contact command. Type the command in Slack with the decision maker name to approve all files for that contact.
  2. Search for the contact. Search Salesforce for a contact record that matches the name provided in the Slack command so the right record is updated.
  3. Update the member status. Update the contact record in Salesforce to mark the member status as approved based on the decision maker input from Slack.
  4. Update the membership table. Update the matching row in the membership table in PostgreSQL to reflect the approval status and keep both systems in sync.
  5. Send approval email. Send an email to the member so they know their contact record has been approved and the status is current.