Third party Integration

Anubhav24
Mega Sage
Mega Sage

Hi All,

I am performing one integration using flow action which is calling SI to create the request body and then posting it to third party URL. The integration is only uni-directional i.e I am posting data to third party system, now when this third party system will reply with a status message where it will post this reply to so my query is do I also need to provide my instance URL as well or not ?

1 ACCEPTED SOLUTION

@Anubhav24 

Hope you are doing good.

Did my reply answer your question?

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

View solution in original post

7 REPLIES 7

Amit Verma
Kilo Patron
Kilo Patron

Hi @Anubhav24 

 

What is your end-goal? Are you creating any record when you are posting data to third party system for tracking? If yes, you can make a REST API Call towards your instance from the Third-Party system and update that record with the response.

 

Thanks and Regards

Amit Verma


Please mark this response as correct and helpful if it assisted you with your question.

Updated my query ,I am posting data to a third party system by forming the JSON request now when this third party system will reply with a status message will it be automatically processed by the rest step where I have configured error codes and error response in my flow action under error step ? Or do I need to provide a URL to third party for posting reply to the ServiceNow instance.

Ankur Bawiskar
Tera Patron
Tera Patron

@Anubhav24 

Scripted REST API is for inbound.

The 3rd party will send data to you via your Scripted REST API endpoint which you will share with them

You need to share these details with them

1) Scripted REST API endpoint, something like this but please append the instance URL

https://instanceName.service-now.com/api/enll/testing/addattachment

 

AnkurBawiskar_0-1737628173363.png

 

2) Basic auth details - username and password of some API user (create a user as local sys_user with Web service checkbox=true)

3) Sample JSON Request body if the HTTP method is POST, PUT

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

Hi @Ankur Bawiskar ,

Updated my query , I am posting data to a third party system by forming the JSON request now when this third party system will reply with a status message will it be automatically processed by the rest step where I have configured error codes and error response in my flow action under error step ? Or do I need to provide a URL to third party for posting reply to the ServiceNow instance.