For those who are running into the error "No responses defined for platform: DIALOGFLOW_CONSOLE": in 'package.json', change the version number of 'dialogflow-fulfillment' to 0.6.1. Furthermore, it looks like you need to have one 'Default response' in the bottom section of the intent configuration screen. Yes, I have also banged my head against the wall for several hours to finally find out this was causing the error... 🤦♂
This is the second tutorial. You did a great job. Very clear voice, excellent walking through each point in your tutorials. Good volume and a good pace.
Nicely explained. You should go work for DialogFlow, they have no idea about docs it seems. :-) Please consider making another video where you do the same thing using a PHP page on a shared web host.
Hi. I'm facing an error. Everything worked fine until I added 'return agent.add' This is the error in my console: textPayload: "Warning, FIREBASE_CONFIG environment variable is missing. Initializing firebase-admin will fail" Also, this error: textPayload: "Error: No responses defined for platform: DIALOGFLOW_CONSOLE at WebhookClient.send_ (/workspace/node_modules/dialogflow-fulfillment/src/dialogflow-fulfillment.js:488:13) at promise.then (/workspace/node_modules/dialogflow-fulfillment/src/dialogflow-fulfillment.js:306:38) at process._tickCallback (internal/process/next_tick.js:68:7)" The code is as yours. No change. I've read in stackoverflow that this might be due to Node.js 10 version. Any solutions?
I have not tried it out yet, but for about four days i have been searching for a tutorial like this! Thanks a lot! I though have one question: do you think that a 1:1 of your code should work on the new "Actions Builder"? I am new to all of this, but in theory i think that this should work there too. Nevertheless, thanks a lot for this great video!
Is there a tutorial that shows how to use axios post? I have been having issues sending a Bearer Token with my function. This tutorial was really awesome and clear!
Thanks for very helpful video How can I do so that I will be able to apply to google assistant from anywhere and Intents which I wrote to dialog console will be available?
Hello Sir, Thank you so much for such a nice video... Just had a question related to dialogflow, When I am trying to speck any custom word like person's name then It should take that word as input. Can we add custom dictionary which we can use to recognize the word?
Need your help, I didn't get response in Logs, const word = agent.parameters.word; axios.get('api.datamuse.com/words?rel_rhy=book') .then((result) => { console.log(result); }); Once I open the Inline Editor, It tells (Powered by Google Cloud Functions) , even for logs, it directs me to Google Cloud console instead of Firebase Console. In your Video I have seen that Inline Editor (Powered BY Cloud Functions by Firebase) is It make may any differenc in Implementation ??
Yes, Dialogflow has recently changed the default logger from Firebase to Google Cloud Logger. You can check firebase logs by going to console.firebase.google.com/project/YOUR_PROJECT_ID and then on the left sidebar, go to, functions > logs
Thanks for the excellent video. I am facing an issue related to the Axios version. As shown in the video, Axios version 0.18.0 can be deployed. But not the latest versions. I have changed the dialogflow-fulfillment version to 0.6.1 as suggested in one of the comments.
@@AxleWebTechnologies It's been a very helpful video guys. Keep it up. I just had one query. I tried integrating this my WhatsApp by following your tutorial on 'how to link WhatsApp with Dialogflow using twilio' but the problem is the intent( rhyming word) wasn't getting any reply back on WhatsApp. However it was working fine in dialogflow test section. Please help
You are the best teacher so far for dialogflow tutorial! Do you have any tutorial sessions for me to learn how to code (Json) as you did in this video, specially for dialogflow firebase/webhook? Many thanks!
We are working on creating a full Dialogflow course which will be available on Udemy. Please subscribe to our channel and press the bell icon to stay tuned.
I've written a book (2020 Edition paperback) on the chatbot. You can buy it on Kindle. Here's the link: www.amazon.com/dp/B08BWFKY3Q #chatbot #Amazon #dialogflow #firebase #cloud
Thanks you for your detailed video, it's clear and easy understand for no-coding bg and poor English like me. Thank you so much. Here is a small question, is it possible to let dialogflow call 2 different api with different intent?
Thanks for the video. I have one doubt as you are listing the words one by one in Output. Can we shows output as buttons or suggestions chips. How to achieve that?
This was a very neatly structured video! How can I call a webpage within a website (written in angular) by providing it as an intent using dialogflow? Do I need to create an api? ( For example : Take a normal website , if I say open login, then the login page should open )
You can create an intent called login and in the response, you can add a button which links to login page. When someone says show me the login page, you can show the button which when clicked redirects to the login page.
@@modernmillenial698 Depends on which database you use. You can integrate with database without using APIs. You can watch my video on how to integrate Dialogflow with Database.
They don't charge. They just need card details for making API calls to external networks. They have very high free usage tier. Also you cannot connect to local JSON server. It needs to be on internet. You can use services like ngrok
Thanks for this video, it has really helped alot in building my chatbot. But please can you do another video on how to use skyscanner api or any search flight api. I need to make my chatbot search for available flights and actually book the flight for the user. And also to implement payment for the flight being booked. Thanks alot in advance.
Hello!!! Love your videos thank you very much! Now with the billing account I dont see the plan you are showing right now. Theres only standar, essential or plus. I want to be able to send e.mails from dialogflow. Still have to pay something? I suppose they changed terms.
Yes billing accounts are required if you want to connect dialogflow with external services. They won't charge you anything for limited usage. They have fairly high usage limits so you can send emails without paying anything.
sir i have seen all your videos you have done good job. but sir i am searching for a serious professional dialogflow user case so that i can understand the intent detection i mean how to make the training phrases. could u guide me in this regard so that i can go ahead. i will be your grateful
Why is it so hard to have such a elementary discussion or dialog (not effective in true life) with DialogFlow and Firebase tools? I prefer to use G-sheet to create an API (with GAS program) that can execute the same job rapidly.
it is a really good video. i have a question: how is it possible to connect Robot Pepper with Dialogflow? For european users. i hope that you can give any help.
Hello, Glad you liked the video. Unfortunately, I have no idea about how Robot Pepper works. WIll try to have a look and if I can get it to work, will create a video on that :)
Hey man thanks for the video, great content ! However i'm not able to make the code work using your own code.. I got Unhandled rejection like it won't go to axios response to see the agent.add, any suggestion ?
please check error logs. It is difficult to tell the exact reason for error without seeing the code. Please post the details on stackoverflow and share the link here so that I can have a look at details of it and reply.
Thank u so much your videos are awesome: Actually, I have some problem regarding my restaurant agent I want when customer send their location chatbot shows restaurants details which are closed to customer given location. What can i do to achieve this?
Hey.. Thats a really great video.. I have a problem though. When I do console.log(ObjName.Name), it is printing the correct value in the firebase console. However, When I do agent.add(ObjName.Name), the same is not getting printed on Dialogflow. Any guesses what could be wrong here?
Hi, thanks for this video, but I have a question about the pricing. For low level usage I guess I won't be charged, but how can I measure how many requests I can do, to reach the $0.12/GB? I read something about content-lenght but have no idea of how to measure it. For the way I want to use, I will receive at least 30k calls per month.
Default response is triggered only when external fulfilment fails to return a response. Unfortunately you can't access external network without providing card details in firebase. But they won't charge you unless your usage is extremely high which wont be the case normally.
Sir, Is it necessary to have a billing account in Google cloud. Because when I am enabling the webhook inline editor. It is redirect to console.cloud.google.com/billing/enable path and asking for debit or credit card details. When you are enabling webhook . They are not asking billing account to you or You have already a billing account?
Billing account is required only when you are connecting to external network outside Google. There is no harm in enabling billing and they won't charge your card unless usage exceeds the limit which is quite high in free tier so you can enable billing without worrying about being charged.
It's been a very helpful video guys. Keep it up. I just had one query. I tried integrating this my WhatsApp by following your tutorial on 'how to link WhatsApp with Dialogflow using twilio' but the problem is the intent( rhyming word) wasn't getting any reply back on WhatsApp. However it was working fine in dialogflow test section. Please help
Hey there, I tried to connect my bot with the firestore database when I am passing the parameters in the inline editor function those parameters are not taking the values from the user, kindly help me if anyone has encountered with this problem.
I'm looking for the details to call JIRA (Server based setup) and trying to read the data from jira and can create issues in JIRA through Dialogflow Chat bot. My JIRA Account is different and DialogFlow account(emails) are different. I am not sure, how we can set the authentication in the inline editor. If you could please help me on this would be a great help
Different email account for JIRA and Dialogflow won't matter. All you need to do is try to make calls to JIRA APIs from Postman and see what header authentication params do you need. Then you can make the same API call from Dialogflow inline editor using axios. Please drop me an email at anshul.shrivastava@axlewebtech.com if you need specific help.
It would be sooooo awesome if you could do a second video where you show how to not use the Firebase solution but a self hosted one- thanks in advance if you ever find the time!
Very useful video. Would like to have seen the code to examine the scores returned and only display the word with the highest score but understand that is more of a JS tutorial and not Dialogflow.
Thanks for appreciating the efforts. Yes, that will be more of JS tutorial. Once you get the data from external service, you can write all the conditions and return appropriate data as the response.
When you say local machine, are you running the APIs locally or running the Dialogflow Webhook locally? You can try using ngrok or localtunnel npm packages to proxy your local server to the internet. if that's not what you are looking for, please let me know what exactly are you looking for.
@@AxleWebTechnologies I think he means running the Dialogflow Webhook locally using Express for an example, it would be really useful to know how to implement all the modules and how different the code would be. Hopefully you could help us with this.
You need to use axios to make call to weather API and then use can use JSON.parse to parse the JSON. Please follow the tutorials and let me know if you face any specific issue. ~ Anshul
@@AxleWebTechnologies axios.get(link) .then(result => { var temp = result.data.main.temp; console.log(temp); agent.add(`It is ${temp} degrees in ${city}`); }); } Thank you for the reply I am able to fetch the temperature and display it in the console log. But I am unable to get the response back to dialog flow. I get no response with my agent.add call
Blaze plan is not free. It is a pay as you go service. However, upto a certain limit, it is free. Please see this link for more details. firebase.google.com/pricing#blaze-calculator
I dont have View execution logs in the Firebase Console, instead I only have View execution logs in the Google Cloud Console how should I look for those variable's name?(example: result.data)
Thank you so much for creating this amazing content. I've successfully built two chatbots by watching your channel. God bless you, man. Is there a way I can connect my chatbot to google maps so my users can get location or have it show map in chats Thank you.
Thank you! Skin templating is not working on my side. Do you know what should I do? I put api.datamuse.com/words?rel_rhy=$(word). but it's not working it doesn't give the right value
Very much helpful anshul sir thank you for this video & congrats on being selected as dialogflow offical partner. Just had one question to ask sir, is there any way to list queries in dropdown related to what is user typing ?
Hello Harsh, thanks for appreciating. Regarding drop-down, yes that is possible however for that you have to build your own user interface using React or any other front end technology. Dialogflow cant create a drop-down like that
Do you mean buttons to external sites? That depends on platform for which you are building your chatbot. ie. whatsapp, facebook, website, slack etc. For facebook messenger, please refer to this link: developers.facebook.com/docs/messenger-platform/reference/buttons
Very nice video! I copied your code step by step but get an error! In the console everything looks good and I can see all the rhyming words. However, when I then use agent.add it doesn't work. The error I get is: Error: No handler for requested intent at WebhookClient.handleRequest (/workspace/node_modules/dialogflow-fulfillment/src/dialogflow-fulfillment.js:317:29) at exports.dialogflowFirebaseFulfillment.functions.https.onRequest (/workspace/index.js:55:9) at cloudFunction (/workspace/node_modules/firebase-functions/lib/providers/https.js:57:9) at process.nextTick (/layers/google.nodejs.functions-framework/functions-framework/node_modules/@google-cloud/functions-framework/build/src/invoker.js:99:17) at process._tickCallback (internal/process/next_tick.js:61:11)
@@AxleWebTechnologies I checked and that's all filled in correctly. The weird thing is that if I copy your code directly from github when having the exact same intent it doesn't work either.
I want to use my Script scope to make a request to my deployed Web App. How can I do that? I have already deployed my web app and tested it with postman. But when I call it from Dialogflow it goes into exception. I believe it is because it cannot authorise the user. Kindly help
Which calling your api, if it is behind auth then please pass the correct authentication headers in the axios request. Have a look at some examples here: stackoverflow.com/questions/44245588/how-to-send-authorization-header-with-axios
Hi I implemented your code from the video and Dialog flow will not return the list of words. I see them logged in the console but the don't return to the bot.
For those who are running into the error "No responses defined for platform: DIALOGFLOW_CONSOLE": in 'package.json', change the version number of 'dialogflow-fulfillment' to 0.6.1. Furthermore, it looks like you need to have one 'Default response' in the bottom section of the intent configuration screen. Yes, I have also banged my head against the wall for several hours to finally find out this was causing the error... 🤦♂
Thanks a lot
Thank you so much for this comment!!!
This is the second tutorial. You did a great job. Very clear voice, excellent walking through each point in your tutorials. Good volume and a good pace.
You're very welcome! Glad you like it.
Nicely explained. You should go work for DialogFlow, they have no idea about docs it seems. :-) Please consider making another video where you do the same thing using a PHP page on a shared web host.
Glad you liked it.
Hi. I'm facing an error. Everything worked fine until I added 'return agent.add'
This is the error in my console:
textPayload: "Warning, FIREBASE_CONFIG environment variable is missing. Initializing firebase-admin will fail"
Also, this error:
textPayload: "Error: No responses defined for platform: DIALOGFLOW_CONSOLE
at WebhookClient.send_ (/workspace/node_modules/dialogflow-fulfillment/src/dialogflow-fulfillment.js:488:13)
at promise.then (/workspace/node_modules/dialogflow-fulfillment/src/dialogflow-fulfillment.js:306:38)
at process._tickCallback (internal/process/next_tick.js:68:7)"
The code is as yours. No change.
I've read in stackoverflow that this might be due to Node.js 10 version. Any solutions?
Great video, neat and clean explanation as well as you included the subscription of GCP. Nice background music as well. Thank you.
Thank you Gaurav. Please subscribe and share our channel with your friends. We will keep uploading more such videos.
Thanks for very useful video.
Dude, thanks for video. That was the best manual for start learning dialogflow for me.
I have not tried it out yet, but for about four days i have been searching for a tutorial like this! Thanks a lot! I though have one question: do you think that a 1:1 of your code should work on the new "Actions Builder"? I am new to all of this, but in theory i think that this should work there too. Nevertheless, thanks a lot for this great video!
Hi Anshul, thanks for the video. Can we use external API without using the inline editor, which means enabling the top webhook portion only?
Yes you can use external webhook without using inline editor. Please watch our latest videos on how to integrate dialogflow with integromat.
Is there a tutorial that shows how to use axios post? I have been having issues sending a Bearer Token with my function. This tutorial was really awesome and clear!
Thanks for very helpful video
How can I do so that I will be able to apply to google assistant from anywhere and Intents which I wrote to dialog console will be available?
Hello Sir, Thank you so much for such a nice video... Just had a question related to dialogflow, When I am trying to speck any custom word like person's name then It should take that word as input. Can we add custom dictionary which we can use to recognize the word?
This video is the best thing that has happened to me all week.
Thank you so much!
Thank you for such a wonderful comment! Such comments encourages me to do even better ^^ Anshul
Need your help, I didn't get response in Logs,
const word = agent.parameters.word;
axios.get('api.datamuse.com/words?rel_rhy=book')
.then((result) => {
console.log(result);
});
Once I open the Inline Editor, It tells (Powered by Google Cloud Functions)
, even for logs, it directs me to Google Cloud console instead of Firebase Console. In your Video I have seen that Inline Editor (Powered BY Cloud Functions by Firebase)
is It make may any differenc in Implementation ??
Yes, Dialogflow has recently changed the default logger from Firebase to Google Cloud Logger.
You can check firebase logs by going to
console.firebase.google.com/project/YOUR_PROJECT_ID
and then on the left sidebar, go to, functions > logs
Awesome tutorial, thanks!
Thanks for the excellent video. I am facing an issue related to the Axios version. As shown in the video, Axios version 0.18.0 can be deployed. But not the latest versions. I have changed the dialogflow-fulfillment version to 0.6.1 as suggested in one of the comments.
Thanks you very much, I love the way you took your time to simplify everything.😀
Glad it was helpful!
@@AxleWebTechnologies It's been a very helpful video guys. Keep it up.
I just had one query. I tried integrating this my WhatsApp by following your tutorial on 'how to link WhatsApp with Dialogflow using twilio' but the problem is the intent( rhyming word) wasn't getting any reply back on WhatsApp. However it was working fine in dialogflow test section. Please help
You are the best teacher so far for dialogflow tutorial! Do you have any tutorial sessions for me to learn how to code (Json) as you did in this video, specially for dialogflow firebase/webhook? Many thanks!
We are working on creating a full Dialogflow course which will be available on Udemy. Please subscribe to our channel and press the bell icon to stay tuned.
I've written a book (2020 Edition paperback) on the chatbot. You can buy it on Kindle. Here's the link: www.amazon.com/dp/B08BWFKY3Q
#chatbot #Amazon #dialogflow #firebase #cloud
Thanks you for your detailed video, it's clear and easy understand for no-coding bg and poor English like me. Thank you so much. Here is a small question, is it possible to let dialogflow call 2 different api with different intent?
Yes absolutely, you can call as many different APIs as you want. You need to code that in intent handler function.
Thanks a lot : )
Thanks for the video. I have one doubt as you are listing the words one by one in Output. Can we shows output as buttons or suggestions chips. How to achieve that?
Yes you can do that. Please watch our other video on how to send rich media messages in facebook messenger for that.
This was a very neatly structured video!
How can I call a webpage within a website (written in angular) by providing it as an intent using dialogflow? Do I need to create an api?
( For example : Take a normal website , if I say open login, then the login page should open )
You can create an intent called login and in the response, you can add a button which links to login page. When someone says show me the login page, you can show the button which when clicked redirects to the login page.
@@AxleWebTechnologies will try this! Thank you :D do I have to use APIs when I have a database?
@@modernmillenial698 Depends on which database you use. You can integrate with database without using APIs. You can watch my video on how to integrate Dialogflow with Database.
great tutorial!!
Great tutorial. Thank you
good one
any tutorial for Dialogflow CX?
Thanks
Can you suggest any api for finding hotels etc.? Search hotels
Sorry, not sure about that but a quick google search will return you good results.
Great work! It helped me a lot! Thank you so much!
Hello this is very nice video ...Can you please tell me if you connected to locally hosted json server then also they will charge?
They don't charge. They just need card details for making API calls to external networks. They have very high free usage tier. Also you cannot connect to local JSON server. It needs to be on internet. You can use services like ngrok
thanks it was very helpful, but is it compulsory to setup billing to use weebhook ?
Yes, it is
Thanks for this video, it has really helped alot in building my chatbot. But please can you do another video on how to use skyscanner api or any search flight api. I need to make my chatbot search for available flights and actually book the flight for the user. And also to implement payment for the flight being booked. Thanks alot in advance.
Hello!!! Love your videos thank you very much! Now with the billing account I dont see the plan you are showing right now. Theres only standar, essential or plus. I want to be able to send e.mails from dialogflow. Still have to pay something? I suppose they changed terms.
Yes billing accounts are required if you want to connect dialogflow with external services. They won't charge you anything for limited usage. They have fairly high usage limits so you can send emails without paying anything.
@@AxleWebTechnologies Thanks!!
Hi Sir,
I tried the same code and I am able to print data in console log but when i am adding agent.add(), i am getting unhandled rejection.
Please drop me an email at anshul.shrivastava@axlewebtech.com
I need to have a look at your code to understand the issue
Hey I have the exact same issue ! How did it go ?
Hi, how dd you resolve that problem, i added agent.add(), but can only see the results in the console log.
Amaziing dude
sir i have seen all your videos you have done good job. but sir i am searching for a serious professional dialogflow user case so that i can understand the intent detection i mean how to make the training phrases. could u guide me in this regard so that i can go ahead. i will be your grateful
Why is it so hard to have such a elementary discussion or dialog (not effective in true life) with DialogFlow and Firebase tools?
I prefer to use G-sheet to create an API (with GAS program) that can execute the same job rapidly.
Thanks For The Amazing Video!
This is awesome, do you have any tutorial where we can deploy this bot our webpage in Node, not from Web Demo of DialogFlow
Yes, please watch our video on how to integrate Dialogflow chatbot with Websites
Thank you so much. You are the best!
Thank you
thank you very much , can ask if it possible to get data from sql data using dialogflow ?
Yes you can watch our video on how to integrate Dialogflow with MySQL
@@AxleWebTechnologies thanks , i saw that one , i was talking about Microsoft sql server database
unfortunately we haven't explored that yet. But we have noted this. Will try to create a video on this in future.
it is a really good video.
i have a question: how is it possible to connect Robot Pepper with Dialogflow? For european users.
i hope that you can give any help.
Hello, Glad you liked the video. Unfortunately, I have no idea about how Robot Pepper works. WIll try to have a look and if I can get it to work, will create a video on that :)
This was very helpful. Thanks!
Hey man thanks for the video, great content ! However i'm not able to make the code work using your own code.. I got Unhandled rejection like it won't go to axios response to see the agent.add, any suggestion ?
please check error logs. It is difficult to tell the exact reason for error without seeing the code. Please post the details on stackoverflow and share the link here so that I can have a look at details of it and reply.
Thank u so much your videos are awesome:
Actually, I have some problem regarding my restaurant agent I want when customer send their location chatbot shows restaurants details which are closed to customer given location. What can i do to achieve this?
Have a look at this thread: stackoverflow.com/questions/53164207/how-to-get-location-lat-long-sent-by-user-from-facebook-messenger-bot-throug
Thx for the video!
Excellent
Hey.. Thats a really great video..
I have a problem though.
When I do console.log(ObjName.Name), it is printing the correct value in the firebase console.
However, When I do agent.add(ObjName.Name), the same is not getting printed on Dialogflow.
Any guesses what could be wrong here?
If you are making api calls using axios then make sure to write return before axios.get
Hi, thanks for this video, but I have a question about the pricing. For low level usage I guess I won't be charged, but how can I measure how many requests I can do, to reach the $0.12/GB? I read something about content-lenght but have no idea of how to measure it. For the way I want to use, I will receive at least 30k calls per month.
You can go to the analytics section in the Dialogflow and see all the usage details
Hey Bro is the default response has a connection with cloud function in firebase?
Without giving the card details in firebase cant we make this stuff?
Default response is triggered only when external fulfilment fails to return a response. Unfortunately you can't access external network without providing card details in firebase. But they won't charge you unless your usage is extremely high which wont be the case normally.
Hey your videos are awesome, wanna ask that how to integrate dialogflow with google spread sheet or any CRM.?
Please subscribe to my channel, I will upload a video on that soon.
Sir, Is it necessary to have a billing account in Google cloud. Because when I am enabling the webhook inline editor. It is redirect to console.cloud.google.com/billing/enable path and asking for debit or credit card details.
When you are enabling webhook . They are not asking billing account to you or You have already a billing account?
Billing account is required only when you are connecting to external network outside Google. There is no harm in enabling billing and they won't charge your card unless usage exceeds the limit which is quite high in free tier so you can enable billing without worrying about being charged.
@@AxleWebTechnologies Thanks for your quick reply.
Thank you so much!
It's been a very helpful video guys. Keep it up.
I just had one query. I tried integrating this my WhatsApp by following your tutorial on 'how to link WhatsApp with Dialogflow using twilio' but the problem is the intent( rhyming word) wasn't getting any reply back on WhatsApp. However it was working fine in dialogflow test section. Please help
Please watch my video tutorials on Whatsapp and Twilio integration with Dialogflow. Hope that will help.
I don't have information level in my firebase, I only have error and debug level, is this because I did something wrong?
Hey there,
I tried to connect my bot with the firestore database when I am passing the parameters in the inline editor function those parameters are not taking the values from the user, kindly help me if anyone has encountered with this problem.
did you find the solution for this issue?
Thanks for the video . please let us know while integrate with twillo how to extract mobile number in dialog flow .
Thanks in advance .
Wonderfully taught:-) Great job!!
Thanks for the video. You've helped me get rid of this blockage. :)
Nice , thnaks for this Video buddy . ..
I'm looking for the details to call JIRA (Server based setup) and trying to read the data from jira and can create issues in JIRA through Dialogflow Chat bot. My JIRA Account is different and DialogFlow account(emails) are different. I am not sure, how we can set the authentication in the inline editor. If you could please help me on this would be a great help
Different email account for JIRA and Dialogflow won't matter. All you need to do is try to make calls to JIRA APIs from Postman and see what header authentication params do you need. Then you can make the same API call from Dialogflow inline editor using axios. Please drop me an email at anshul.shrivastava@axlewebtech.com if you need specific help.
It would be sooooo awesome if you could do a second video where you show how to not use the Firebase solution but a self hosted one- thanks in advance if you ever find the time!
I have already created a video on how to deploy Dialogflow webhook on heroku without using Firebase solution. Please checkout that one.
very helpful , thanks
Very useful video. Would like to have seen the code to examine the scores returned and only display the word with the highest score but understand that is more of a JS tutorial and not Dialogflow.
Thanks for appreciating the efforts. Yes, that will be more of JS tutorial. Once you get the data from external service, you can write all the conditions and return appropriate data as the response.
Hi i want to send my order to printer how i can integrate the printer appreciate your inputs , thanks
Very good!
It helps a LOT. Thank man!
Excelent job!. a question: when "data" in nulled. how can i add a "there is no words.." ?. regards!!
You need to handle this in your code. You can write something like if(data === null ) or if(!data)
Just love this one
Can I also opt for the enterprise edition now for free, by just giving my card info?
Is it possible to integrate external API, Dialogflow and Twilio for Whatsapp integration?
Yes absolutely, please watch our other videos on axlewebtech.com/youtube
Hi , I do have a rest api that requires content-type , Authentication ,So how to supply those information in the code.
Try using axios. Search for axios cheat sheet to get information about how to post with headers
Nice one. Please make a video of connecting API with Dialogflow while working on local machine instead of inline editor.
When you say local machine, are you running the APIs locally or running the Dialogflow Webhook locally?
You can try using ngrok or localtunnel npm packages to proxy your local server to the internet.
if that's not what you are looking for, please let me know what exactly are you looking for.
@@AxleWebTechnologies I think he means running the Dialogflow Webhook locally using Express for an example, it would be really useful to know how to implement all the modules and how different the code would be. Hopefully you could help us with this.
Thank you very much bro , this helped me to get hands on with dialog flow. .. :3
What if i have 3 parameters?
Sorry your question is not clear. Please specify the problem you are seeing.
Hi, I am trying to recreate what you did in this video with the weather api. How can I parse the JSON from the weather api and return it to dialogflow
You need to use axios to make call to weather API and then use can use JSON.parse to parse the JSON. Please follow the tutorials and let me know if you face any specific issue.
~ Anshul
@@AxleWebTechnologies
axios.get(link)
.then(result => {
var temp = result.data.main.temp;
console.log(temp);
agent.add(`It is ${temp} degrees in ${city}`);
});
}
Thank you for the reply
I am able to fetch the temperature and display it in the console log. But I am unable to get the response back to dialog flow. I get no response with my agent.add call
@@howdoyouknowthemanager try writing return before axios.get()
@@AxleWebTechnologies That worked, thank you!
Thankyou so much liked and subscribed ! :) :)
Could you please make another video about Dialogflow and Google sheet? Thanks
is the blaze pay absolutely free ?
or they will charge something .
kindly tell the details
Blaze plan is not free. It is a pay as you go service. However, upto a certain limit, it is free. Please see this link for more details. firebase.google.com/pricing#blaze-calculator
Hey Alex
How to store dialogflow Training phrases value store in mysql or can u help for create php web api to store data
I have an old video about creating webhooks in PHP, please check it out and see if it helps.
ua-cam.com/video/1cD9vU7Ubyg/v-deo.html
Hello, I do exactly the same as you but it returns me a [] instead of the words, do you know what could be the matter? thanks
We will be happy to help you. Please share your source code contact@axlewebtech.com
I dont have View execution logs in the Firebase Console, instead I only have View execution logs in the Google Cloud Console how should I look for those variable's name?(example: result.data)
The error logs should appear in Google cloud console logs as well.
Hi, Great vid. Can you integrate this to Google Home and turn it into a voice app?
Yes definitely, I will create a video on that soon
can you use fetchapi instead of axios?
Yes you can
@@AxleWebTechnologies also can we use a POST request ?
how to get an api key so i can post in my coding?
var app = apiai("");
Thank you so much for creating this amazing content. I've successfully built two chatbots by watching your channel. God bless you, man. Is there a way I can connect my chatbot to google maps so my users can get location or have it show map in chats Thank you.
Our pleasure! Yes, you can connect your messenger or whatsapp bots with google maps to share locations.
Thank you! Skin templating is not working on my side. Do you know what should I do? I put api.datamuse.com/words?rel_rhy=$(word). but it's not working it doesn't give the right value
found my error....was not usin backquote
you also need to use { and } instead of ()
so it should be `api.datamuse.com/words?rel_rhy=${word}`
Great job dude.....
How can I proceed to include Headers content-type and Authentication ? please Help me
Please read npm axios documentation for that.
Thank you Sir
Very much helpful anshul sir thank you for this video & congrats on being selected as dialogflow offical partner. Just had one question to ask sir, is there any way to list queries in dropdown related to what is user typing ?
Hello Harsh, thanks for appreciating. Regarding drop-down, yes that is possible however for that you have to build your own user interface using React or any other front end technology. Dialogflow cant create a drop-down like that
May You Create Video About How To Connect Blogger.com API With DialogFlow For Posts Search Purposes.
Thanks for the suggestion, We will try to create a video on this topic soon.
It's Workss.... Love u bro!
how we can give external link using default response or internal editor
Do you mean buttons to external sites? That depends on platform for which you are building your chatbot. ie. whatsapp, facebook, website, slack etc.
For facebook messenger, please refer to this link:
developers.facebook.com/docs/messenger-platform/reference/buttons
awesome
Great job!
Very nice video! I copied your code step by step but get an error! In the console everything looks good and I can see all the rhyming words. However, when I then use agent.add it doesn't work. The error I get is: Error: No handler for requested intent at WebhookClient.handleRequest (/workspace/node_modules/dialogflow-fulfillment/src/dialogflow-fulfillment.js:317:29) at exports.dialogflowFirebaseFulfillment.functions.https.onRequest (/workspace/index.js:55:9) at cloudFunction (/workspace/node_modules/firebase-functions/lib/providers/https.js:57:9) at process.nextTick (/layers/google.nodejs.functions-framework/functions-framework/node_modules/@google-cloud/functions-framework/build/src/invoker.js:99:17) at process._tickCallback (internal/process/next_tick.js:61:11)
Make sure you have intentMap("Intent_Name", function_name) created. Also make sure you have entered correct intent name and function name.
@@AxleWebTechnologies I checked and that's all filled in correctly.
The weird thing is that if I copy your code directly from github when having the exact same intent it doesn't work either.
I want to use my Script scope to make a request to my deployed Web App. How can I do that?
I have already deployed my web app and tested it with postman. But when I call it from Dialogflow it goes into exception. I believe it is because it cannot authorise the user. Kindly help
Which calling your api, if it is behind auth then please pass the correct authentication headers in the axios request. Have a look at some examples here: stackoverflow.com/questions/44245588/how-to-send-authorization-header-with-axios
Have you tried to integrate Dialogflow with SAP cloud platform? Anything you can suggest!
We haven't tried that yet but hopefully will do it in near future and create a video on that.
Hi I implemented your code from the video and Dialog flow will not return the list of words. I see them logged in the console but the don't return to the bot.
We will be happy to help you. Please share your source code contact@axlewebtech.com
Hello, can you teach how to integrate Dialogflow with any API that translates words or phrases?
Yea we can help you with that, please drop me an email at anshul.shrivastava@axlewebtech.com