The CreatorCon Call for Content is officially open! Get started here.

Calling ServiceNow Open APIs in a Flow

ararora
Kilo Contributor

Hello,

I have a requirement where an external app calls Service Now's Product Order Open API to create a new order. However, now, we the creation of the order to take place in a flow since we want it to transform the data received.

  1. Is there any way to accomplish this natively in the flow designer without using a script? I'm expecting something like an action that creates the order without me needing to call the API as a REST action.
  2. If no, can I call the Open API as a REST action in the flow, and how? Does ServiceNow manage the network call internally or does it switch networks?

Thank you.

1 REPLY 1

Kristen Ankeny
Kilo Sage

If I'm understanding correctly, the external app will no longer directly call the Product Order OpenAPI, and you want to receive their call and transform it. In this case, I'm not sure Flow is the way to go. Instead I would either:

 

- Have them do an insert into a transform table and trigger a transform map that uses a script to trigger the api

or

- Have them call a Scripted REST API where you can convert their call into the format needed to call the api