Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
I am implementing app for google assistant . I build simple conversation app with the help of Api.ai tool and it works fine .
Now i want to communicate to my application(Which is installed in android devices) when user trigger particular intent(Created in Api.ai) by saying some text. Guide me to right place to achieve this.
For that, you need to use the fulfillment option of Api.ai. You will need to have a webserver for that, not just an Android app.
You first will need to enable the webhook in the Fulfillment tab:
There, you will put an url to your server that performs the action you want. Check the Actions on Google documentation to see how to respond with the correct format to give an answer to your user in the Google Assistant.
Then, you need to go to the particular intent that should trigger your server and enable the Webhook there too:
Related
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 2 years ago.
Improve this question
I'd like to make my bot initiate a conversation with the user based on external events. I read the documentation, but I'm still not sure if this is possible, I feel like the conversation only starts on behalf of the user.
Thanks
Your assumption is correct, conversations must begin by the user invoking your bot.
However, you can use push notifications to encourage a user to engage with the bot. Also you can use a push notification to deep link into your bot and open a specific intent. You would have to write a script that depends on your external trigger to send a notification, and that would depend on your external trigger. You can read more about notifications for Google Assistant here:
https://codelabs.developers.google.com/codelabs/actions-user-engagement/
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 2 years ago.
Improve this question
I am making a Discord bot, and I was wondering if there was a way to add suggestion chips/quick replies so that people could click the bubble and that would be sent as a reply.
My end goal is to use DialogFlow's Actions on Google ability to create suggestion buttons, but that would only be possible if discord supported quick replies in the first place.
I am using discord.js for the bot as of now.
One other thing I was thinking was to add some sort of HTML snippet inside bot response, that would call another webpage which has the fully functioning bot in it, all displayed inside Discord. Or HTML embeds that would have suggestion chips that could then be sent as a response.
I don't think suggestion buttons like in the image are possible. However, reactions are commonly used.
For example, the bot can say
How can I assist you today?
1️⃣: Just browsing!
2️⃣: I have question
3️⃣: Give me a Product Tour
and the bot can respond when the user reacts with the appropriate emoji.
For more information on how to implement this, see the Discord.js guide (archive).
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
I have come up with various solutions like using inboxSDK or using gmail.js plugin. But are these the standard way of creating gmail extensions? Is there any another way? Can we use these plugins for production usage?
This may still depend on what you need to do with Gmail. You can use Gmail API in developing a chrome extension. You have to use chrome.identity to authorize your extension to make a request to Google APIs. You can also use gmail.js, but as stated in this related SO post this project isn't maintained by Google. You can also use Apps Script and make a web app then let your chrome extension send data through postMessage. Hope this helps.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
Is it possible to open an android application and perform a certain task as a response to google assistant chat. how to code the google assistant app in node.js for that?
The short answer is no. And in most cases, you don't want to do this anyway. The Assistant runs on multiple platforms, not just Android, and is meant for more of a conversational user interface.
A slightly longer answer is that, while it is possible, it would be a bad idea. The Assistant is good for hands-free, and sometimes eyes-free, operation, and directing the user to an application treats it just as a launcher. The better solution would be to move some of the logic you have in your app into a webhook and provide a conversational way to get the same information.
If you insist on going to an app, however, there are two ways you can do this:
You can have your webhook (node.js in your case) trigger a notification using something like Firebase Cloud Messaging which would either create a notification on your device or trigger an intent in your app.
You can return a basic card containing a link URL that will trigger an Intent in your app.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
Google had this deal on youtube about sharing an issue on their site by leaving feedback. When you clicked on it, it took a screenshot of the current page. How can I do that in my application so I can see the error my users are having?
With Usersnap (http://usersnap.com), you can get screenshots from your users. They don't have to install any plugin or browser extension and it works with all major browsers (read: including Internet Explorer!).
Installing usersnap is as easy as installing Google analytics, i.e. adding a small JavaScript snippet to your page.
P.S: I'm a co founder of usersnap - if you have any further questions, don't hesitate to ask.
Using ASP.NET, you could do something like this (see the "Calling with the IHttpHandler Method"):
http://www.codeproject.com/Articles/95439/Get-ASP-NET-C-2-0-Website-Thumbnail-Screenshot
Then, your button would submit a request to the handler (possibly via AJAX), and you could either store the answer using the handler itself, or do a second postback with the results to your processing form.