Create a Salesforce Event from a Slack command
Social, UtilitiesCRMMarketingSalesUtilities
What it does
When someone runs a command in Slack, this automation searches Salesforce for a matching user, contact, and account. It creates an Event record linked to what it finds, then replies in Slack so the channel knows the outcome.
Who it's for
Sales teams who need to log Salesforce Events from Slack without leaving the conversation.
Apps used
- Workbot for Slack
- Salesforce
- Workato List
- Logger by Workato
How teams use this
Log a call from Slack
Run the command with a contact name to create a Salesforce Event tied to that contact and their account. The team logs calls without switching to Salesforce.
Route Events to a sales operations channel
Invite the bot to a sales operations channel so Events are logged there instead of a sales channel. The automation stays the same and only the Slack location changes.
Add event type and duration to the record
Extend the command to include prompts for event type and duration so the Salesforce Event is created with those fields set. The search and create logic stays the same.
How it works
- Run the command in Slack. Type the command in a Slack channel or direct message with the contact email or name so someone can log an event.
- Search for the user and contact. Search Salesforce for a user and contact that match the email or name from the Slack command so the event links to the right records.
- Find the related account. If a contact is found, search Salesforce for the account linked to that contact so the event has full context.
- Create the Event record. Create an Event in Salesforce tied to the user, contact, and account found in the earlier searches so the activity is logged.
- Confirm the Event in Slack. Reply in the same Slack conversation so the channel knows the Salesforce Event was created and the record is ready to view.