Send SQL Server contact data from Slack

BotsArtificial IntelligenceSales EnablementDatabaseMarketing

What it does

When someone runs the SQL Server show contact command in Slack, this automation queries the dbo.sf_contacts table and posts the results back to the channel. The contact information appears instantly in the conversation.

Who it's for

Customer support teams who need to look up contact details from SQL Server without leaving Slack.

How teams use this

Look up a contact during a call

Run the show contact command mid-conversation to pull the customer record from SQL Server and share details with the team in Slack. No need to open a separate database tool.

Verify contact info before outreach

Check the dbo.sf_contacts table from Slack before a sales call to confirm the phone number and email are current. The command returns the latest record instantly.

Filter results by contact status

Add a condition to the SQL query so only active contacts are returned when the command runs. This keeps the reply focused on records the team should contact.

How it works

  1. Run the show contact command. Type the SQL Server show contact command in a Slack channel or direct message with the contact name or identifier.
  2. Query the contacts table. Search the dbo.sf_contacts table in SQL Server for rows matching the command input so the right contact record is retrieved.
  3. Post the contact details. Reply in the same Slack conversation with the contact information so the team has the data without switching tools.