I have http request tool which is used by an AI Agent
I have an endpoint like this
https://[subdomain].successfactors.[domain]/odata/v2/FOCostCenter(externalCode=‘4123’,startDate=datetime’1900-01-01T00:00:00’)
I want to create a chatbot to make api call with the user giving the externalCode input, but for some reason when I use fromAI it is not working properly, but when I hard it and make the api request with HTTP Tool it is working fine, here’s my expression
https://[subdomain].successfactors.[domain]/odata/v2/FOCostCenter(externalCode=‘{{ $fromAI(‘externalCode’, ‘externalCode given by the user’) }}’,startDate=datetime’1900-01-01T00:00:00’)
It doesnt not give me any error in the node as well, just says something wrong with node nothing else. It uses SAP SuccessFactors OData API