I am making a chatbot and I need for certain action to make some http request, but for some reason looks billing issue with the account I cant make http calls.
Here is the code:
const actionHandlers = {
'get.contact': () => {
var options = {
host: 'xxx.herokuapp.com',
port: 443,
method: 'GET',
path: '/',
headers: {
"Accept": "application/json",
"Content-Type": "application/json"
},
};
http.get('http://xxx.herokuapp.com/', function(res){
console.log(res);
});
if (requestSource === googleAssistantRequest) {
sendGoogleResponse('Hello, Welcome to my Dialogflow agent!'); // Send simple response to user
} else {
sendResponse('here should come the result from http request response.'); // Send simple response to user
}
}
}
On the firebase logs I get this message: Billing account not configured. External network is not accessible and quotas are severely limited.
What other option do I have in order for me to call some external http calls without enabling billing? Any work around?
Additional question, can I use any excel parser within the inline editor? I want to parse some excel file, if so, where do I store the excel sheet file? So the idea is that I would like to query from a excel sheet from within Dialogflow Inline Editor.