
- 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-09-2020 09:05 PM
Hi sudo-phil,
You can give the trigger condition as per the selection of table.
Can you please help me here to understand your exact requirement.
Thanks,
Priyanka

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-12-2020 10:52 AM
Hi Priyanka
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:42 PM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-09-2020 09:23 PM
Hi Sudo,
You can also trigger the flow via API. Can you provide some additional details on what you are trying to accomplish?
- Pradeep Sharma