How to Trigger workflow/designer flow using REST API?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2020 11:08 PM
Hi guys,we are having a requirement like need to call the workflow/designer flow using Rest API,Actually these flows are not tightly coupled with any tables ,we are triggering these flows using forms ,but now I need to trigger the same flows using rest API. Please suggest.
- Labels:
-
Integrations
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2020 04:50 PM
Hi Phalguna,
In order to trigger the flows you need to make sure the triggering condition should meet. For example a flow is getting triggered upon creation or updation of a record, then you need to perform that action with your API and that will trigger the flow automatically.
If you are making your API call using Business rule then it is more easy the moment you create or update a record your BR will run and that will make the flow to start.
Please mark this correct and helpful if it resolves the query as per the impact.
Thanks,
Mohit Kaushik
Mohit Kaushik
ServiceNow MVP (2023-2025)

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2020 05:52 PM
Hi Phalguna,
If you open up your Flow, on the right top you will see three dots. Click on the dots and hit "Code Snippet". You can leverage that script to trigger flow using REST API. Make sure to pass right inputs. Please see screenshots below for your reference.
Please mark this accepted/helpful, if applicable.
Thanks & Regards,
Sharjeel
Muhammad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-09-2021 10:05 AM
Hi,
Is it possible to execute/trigger IntegrationHub AD Password Reset action from an external application using an API? If it is possible, kindly provide inputs on how to achieve it.
~Jit.