Hi @Rahul_skl ,
I think your trying to create a Config file flow. For this i have simpler solution than this.
Please find the below solution. Just change the config path.

4 th action is showing how you can call Config variables.
Please place the things in excel as shown below.

Code:
Please copy the below code to your flow.
SET Config_Path TO $'''C:\\Users\\Desktop\\Power Automate Desktop\\Config\\Config File.xlsx'''
@@copilotGeneratedAction: 'False'
Scripting.RunVBScript.RunVBScript VBScriptCode: $'''Set objExcel = CreateObject(\"Excel.Application\")
Set objWorkbook = objExcel.Workbooks.Open(\"%Config_Path%\")
Set objSheet = objWorkbook.Worksheets(\"Constants\")
intRow = 2 \'start at row 2 since row 1 has column headers
strOutput = \"\"
Do While objSheet.Cells(intRow, 1).Value <> \"\"
strKey = objSheet.Cells(intRow, 1).Value
strValue = objSheet.Cells(intRow, 2).Value
strValue = Replace(strValue, \"\\\", \"\\\\\") \'replace \\ with \\\\
strOutput = strOutput & \"\"\"\" & strKey & \"\"\": \"\"\" & strValue & \"\"\",\"
intRow = intRow + 1
Loop
strOutput = Left(strOutput, Len(strOutput) - 1) \'remove the trailing comma
strOutput = \"{\" & strOutput & \"}\"
WScript.Echo strOutput \'output to the console
objWorkbook.Close False
objExcel.Quit''' ScriptOutput=> ConfigAsJSON ScriptError=> ScriptError
Variables.ConvertJsonToCustomObject Json: ConfigAsJSON CustomObject=> ConfigAsCustomObject
Web.InvokeWebService.InvokeWebService Url: ConfigAsCustomObject['API Endpoint'] Method: Web.Method.Get Accept: $'''application/json''' ContentType: $'''application/xml''' ConnectionTimeout: 30 FollowRedirection: True ClearCookies: False FailOnErrorStatus: False EncodeRequestBody: True UserAgent: $'''Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.21) Gecko/20100312 Firefox/3.6''' Encoding: Web.Encoding.AutoDetect AcceptUntrustedCertificates: False ResponseHeaders=> WebServiceResponseHeaders2 Response=> WebServiceResponse2 StatusCode=> StatusCode2
(Note:- if you got your solution you can mark as solution and gives kudos)
Thanks & Regards
Vishnu Reddy