Creating a custom trigger for flows

sudo-phil
Kilo Contributor

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?find_real_file.png

1 ACCEPTED SOLUTION

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

 

View solution in original post

7 REPLIES 7

Priyanka136
Mega Guru

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

 

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?

Hi sudo-phil,

Please refer the below attached document.

Let me know if you have any question !!!

Thanks,

Priyanka

 

Pradeep Sharma
ServiceNow Employee
ServiceNow Employee

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