
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2020 06:23 PM
Hi, I was wondering if it is possible to create a custom trigger for a flow as the defaults are not able to perform the actions I need?
Solved! Go to Solution.
- Labels:
-
Scripting and Coding

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-12-2020 09:32 PM
Hi Sudo,
For posting a message from Slack to ServiceNow, I think you are you would need to write a Scripted REST API that will trigger the flow (Server-side). A Scripted REST API allows you to create a REST endpoint and then run some server-side code.
Scripted REST API: https://docs.servicenow.com/bundle/newyork-application-development/page/integrate/custom-web-service...
API access to Flow Designer: https://docs.servicenow.com/bundle/newyork-servicenow-platform/page/administer/flow-designer/concept...
Note: However, we do have an OOTB Slack spoke from ServiceNow to Slack: https://docs.servicenow.com/bundle/london-servicenow-platform/page/administer/integrationhub/referen...
- Pradeep Sharma

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-12-2020 10:52 AM
Hi Pardeep
I am trying to trigger it via an inbound Slack message from a specific slack channel related to an incident, so that I can capture the message and append it to the work notes list. Does that help explain it?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-12-2020 09:32 PM
Hi Sudo,
For posting a message from Slack to ServiceNow, I think you are you would need to write a Scripted REST API that will trigger the flow (Server-side). A Scripted REST API allows you to create a REST endpoint and then run some server-side code.
Scripted REST API: https://docs.servicenow.com/bundle/newyork-application-development/page/integrate/custom-web-service...
API access to Flow Designer: https://docs.servicenow.com/bundle/newyork-servicenow-platform/page/administer/flow-designer/concept...
Note: However, we do have an OOTB Slack spoke from ServiceNow to Slack: https://docs.servicenow.com/bundle/london-servicenow-platform/page/administer/integrationhub/referen...
- Pradeep Sharma
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-20-2020 05:52 AM
Watch this video for Slack integration steps by step configuration. Post message on slack channel via flow designer.
https://www.youtube.com/watch?v=YEGLJLubCCY&t=1s&ab_channel=ServiceNowHelpdesk
Please mark reply as Helpful/Correct, if applicable. Thanks!!