Can I start a chatbot conversation in Dialogflow using external events? [closed] - dialogflow-es

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/

Related

Is there a way to add quick replies/suggestion chips (like actions on Google) in Discord chat [closed]

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).

integrating google assistant with other android apps [closed]

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.

How to detect mentioned user in Event Api ie the difference between #chatbot and #normaluser [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 5 years ago.
Improve this question
#bot hi there (triggers Event API)
#normal user (will not trigger Event API)
If you subscribe to Bot events (not Team events) you will only receive messages from the channels your bot is invited to. However, you will receive all messages from those channels including the ones send by your bot. It is not possible to subscribe to only a part of the messages. Instead you need to filter out the messages you want in your bot.
See also this and this answer.

Google action - deep linking [closed]

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:

Getting the breakdown of where my user sources are [closed]

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've got a Facebook Messenger Bot and I'm using Facebook Analytics to get insights about user behaviour. Is there a way of getting the breakdown of where my user sources are?
Not sure what do you mean exactly by "user sources".
But for Messenger Bot App you can easily create a new Breakdown, by picking as event name "New Messenger Bot Users" and breakdown by Region.
See image below as an example:
New Messenger Bot Users by Region

Resources