Hi Need support on Routing Automation Custom App
I have used the below code as per the documentation, But not able to find the Function name in Routing Automation Section in Freshcaller IVR, I have published the Custom App
validateVIPPhoneNumber: function (request) {
let validVIPNumbers = ['+15684561239','+12587419632'],
response = validVIPNumbers.includes(request.input) ? 'valid': 'invalid',
data = {
response,
"app_variables": {}
};
return renderData(null, { data });
},
I’ve tried to reproduce the issue. I’m on the latest FDK version - v8.6.6. I have used the code from this sample app with only one action.
I can see the action in local simulation and find the function in production with a custom app published.
@franklin The actions specification should be defined in actions.json file. In your app, the file name is the singular. Changing it to plural works for me.