This template connects Slack with ServiceNow, allowing users to search for incidents directly from Slack. When triggered, a Slack modal lets users specify incident state and priority, and optionally choose a Slack channel to post the results. The workflow retrieves incidents from ServiceNow, formats them into Slack’s Block Kit, and delivers results either to a selected channel or as a private DM. If no incidents are found, users are notified accordingly.
This automation streamlines IT service management by enabling quick ServiceNow searches without leaving Slack.
✨ Features
- ✅ Slack Modal Interface – Collects search parameters (state, priority, target channel) from users.
- ✅ ServiceNow Integration – Queries incidents using state and priority filters.
- ✅ Smart Result Handling – Returns up to the 5 most recent incidents, formatted for Slack.
- ✅ Dynamic Output – Sends results to either a Slack channel or direct message.
- ✅ No Match Handling – Notifies users when no incidents meet the criteria.
- ✅ Clean UX – Ensures Slack receives proper 200 responses to prevent UI errors.