Two httpConfig in sequence and dependent on each other

Hi Team,

I have a scenario to Automate where i have to call two different API and the second API is dependent on the response of 1st API.

Ex :
API 1 : https://abc.com/generateOTPToken -->> POST request with a mobile number in Body
API 2 : https://xyz.com/getOTP -->> GET request with same mobile number
API 3 : https://abc.com/generateBearerToken ->> POST request which use response from API 1 and API2

Please help me in creating the setup for this ?

Regards
Rajat