Send ServiceNow buying history to Slack
Social, UtilitiesIT HelpdeskUtilities
What it does
When someone runs the ServiceNow Request History command in Slack, this automation searches ServiceNow for all requests opened by that person. It sends a summary with total price for approved requests, last order date, and details on the last six orders.
Who it's for
Procurement teams who need to review a person's buying history from Slack without opening ServiceNow.
Apps used
- Workbot for Slack
- ServiceNow
- Workato List
How teams use this
Review a coworker's buying history
Run the ServiceNow Request History command with a coworker's email to see their approved requests, total spend, and last six orders without leaving Slack. The team stays in the conversation.
Approve requests from a channel button
When a new request is posted to a channel, a button appears to show that person's buying history. Click it to review their past orders before approving the new request.
Filter requests by date range
Add a date range parameter to the command so someone can see only requests opened within a specific timeframe. The summary and order details are filtered to match that range.
How it works
- Run the request history command. Type the ServiceNow Request History command in Slack, optionally including the email of the person whose buying history to view. If no email is provided, the command defaults to the person running it.
- Look up the person in ServiceNow. Search ServiceNow for the user record matching the email address provided or the email of the person who ran the command in Slack.
- Find all approved requests. Search ServiceNow for all approved requests opened by that person, including the total price and last order date for each request.
- Send the buying history summary. Reply in Slack with the summary of total price for approved requests, last order date, and details on the last six orders with requested items attached.