Use case: Trigger a Microsoft Power Automate flow from SN

Scott Megargee
Tera Expert

My company has a use case where we'd like to be able to trigger a MS Power Automate flow from ServiceNow. Specifically, a user would select a catalog item, complete some required fields, submit and this would trigger a flow designer flow with an action that would kick off a Flow in MS Power Automate. We are having trouble finding an example of others attempting this use case.

1 ACCEPTED SOLUTION

msd93
Kilo Sage

Hi @Scott Megargee 

 

Try the below steps:

1) Create a Flow in Microsoft Power Automate that you want to trigger from ServiceNow and make sure that the flow has a trigger that can be accessed externally. Example of triggers in Microsoft Power Automate :"When an HTTP request is received" or "When an item is created or modified in SharePoint."

2) In Power Automate Flow, identify the HTTP trigger you want to use, this will generate a unique URL that can be used to invoke the Flow from external systems like ServiceNow.

3) In servicenow create outbound REST messgae  to connect with Microsoft Power Automate, which would include the HTTP method (usually POST), the endpoint URL (the Flow's HTTP Trigger URL from Step 2), authentication (if required), and any headers or parameters needed for the request.

4) Create a flow using flow designer in servicenow, where trigger is the catalog item you want it to be triggered from and  add an action that invokes the REST integration created using the HTTP method (e.g., POST) and endpoint URL from the REST integration.

5)Configure the payload (request body) of the HTTP request to include any necessary data that your Power Automate Flow expects. This might involve passing ServiceNow data to Power Automate for processing.

 

Please try the above steps and let me know if it helps you.

 

Thanks,

Maria

View solution in original post

3 REPLIES 3

msd93
Kilo Sage

Hi @Scott Megargee 

 

Try the below steps:

1) Create a Flow in Microsoft Power Automate that you want to trigger from ServiceNow and make sure that the flow has a trigger that can be accessed externally. Example of triggers in Microsoft Power Automate :"When an HTTP request is received" or "When an item is created or modified in SharePoint."

2) In Power Automate Flow, identify the HTTP trigger you want to use, this will generate a unique URL that can be used to invoke the Flow from external systems like ServiceNow.

3) In servicenow create outbound REST messgae  to connect with Microsoft Power Automate, which would include the HTTP method (usually POST), the endpoint URL (the Flow's HTTP Trigger URL from Step 2), authentication (if required), and any headers or parameters needed for the request.

4) Create a flow using flow designer in servicenow, where trigger is the catalog item you want it to be triggered from and  add an action that invokes the REST integration created using the HTTP method (e.g., POST) and endpoint URL from the REST integration.

5)Configure the payload (request body) of the HTTP request to include any necessary data that your Power Automate Flow expects. This might involve passing ServiceNow data to Power Automate for processing.

 

Please try the above steps and let me know if it helps you.

 

Thanks,

Maria

Thank you @msd93 i'm going to run through these steps over the next two days and will report back. I believe this approach is what i'm looking for. Appreciate the quick response! 

Marcos Kassak
Kilo Sage
Kilo Sage

Hi @Scott Megargee,

 

Please have a look at this link.

 

You may have the possibility to create a REST Action in Flow Designer and start your PA flow from an API call.

 

If my response helps to solve your issue. Kindly mark it as helpful & correct. It will be helpful for future readers! 👍

Thanks,
Marcos Kassak
The world works with ServiceNow!