Calling weather API in flow designer

Virendra Dwived
Tera Expert

Hi All, 

 

My requirement is to call weather API in flow designer. I have to create action in flow designer to call weather API and the output will be post in topic of virtual agent.

 

API - api.open-meteo.com/v1/forecast?latitude=52.52&longitude=13.41&current_weather=true&hourly=temperatur...

 

d1.PNG

 

Can anyone explain how can I call this weather API in flow designer action.

 

Thanks in advance

1 REPLY 1

SwarnadeepNandy
Mega Sage

Hi Virendra,

It's the same as how you put your normal REST request and response.

Try to build the request JSON body and parse the response body and use it as required.

 

Check this https://docs.servicenow.com/en-US/bundle/utah-build-workflows/page/administer/flow-designer/referenc... to get the details of all fields.

 

Kind Regards,

Swarnadeep Nandy