open hyperlink with voice input in dialog-flow? - dialogflow-es

I'm newbie in Dialog-flow development. I need to open a hyperlink dynamically in fulfillment(below) of the follow-up intent, which gets triggered when user provides voice input as ‘Yes’.
function confirmation(agent) {
< code to open hyperlink >
}
I have tried Link out suggestion but that doesn't seem to be working.
Please help!

You cannot trigger a hyperlink for Actions.
Alternatively, you could use a rich response like a browsing carousel: https://developers.google.com/actions/assistant/responses#browsing_carousel
This will allow the user to click on a card to launch to a web site.

Related

How can I use links in Slack which deep link back into my Slack bot?

I have a Slack bot that, in response to a /command - a search query - can display a list of matched database entries. I would like to present this list as a clickable link + short summary for each of the DB entries (using blocks).
Example:
Clicking the link for any entry should tell the Slack bot to display the full database record as a new Slack message.
I can't figure out how to get a link to do anything other than open the browser. None of the options for deep linking, or linking to a bot mention appear to be suitable.
Can anyone think of a solution for this? I would prefer not to give each list entry a button or accessory to 'open' the link.
already tried :
Each item as an https:// link to the node app behind the bot, passing the title to be displayed. This works but opens a browser window in the interim.
Mentioning the bot in a link <#ABOTID>Title to open
You can only deep link to existing messages, but not use links the same way you can use buttons.
You could of course link directly to your app, but that would always also open the browser, which as you say you don't want.
So for blocks you are left with the option you already mentioned: putting a button next to each entry in the form of a Section with a button.
An alternative would be to use Secondary Attachments. Those are automatically collapsed for longer text and the user gets a button he can click to expand them.

chrome desktop notifications get text

I have chrome plugin, that checks given URL and use 'get' method to check the return HTML code. if thee are errors - chrome notifications will pop. I want to create a button and whenever the notification button will be clicked, an alert will pop with the notification text.
I am not able to find any source of information on how to do this, and I will be happy if someone can help me with this
I've already try to search examples, on the web and on Google's website but without any luck

IBM hyperlink in watson conversation

I want to have a text in the hyperlink without showing the HTML tag.
Other than editing Watson Conversation
"The link to go to Temasek Poly is: click https://www.google.com.sg\">Google."
Other than showing in the web application, can I show in facebook messenger?
I tried in facebook messenger but cannot, why? how can I do this same matter and can apply in facebook messenger
Facebook does not support your example, just paste the URL that you want to send for the user, like:
Search about this on https://google.com.br
And then, Facebook will transform in a hyperlink.
Done a lot of research on this...
Facebook doesn't seem to support the usual codes which create
hyperlinked text (e.g. "Click here") that links the clicker to your
specified external website. for now, you can only attach a link in
it's full form (e.g. "www.blahblah.com")
Reference: Facebook forum here.

Custom Links with Messenger Bot via Microsoft Botframework

Clicking https://www.messenger.com/t/xxxxxxxx will take you to a bot and continue the conversation, if there was no conversation it'll begin it's 'firstRun' sequence.
Is it possible to create links that will execute a specific dialog and pass in data? It should ignore previous dialog state/stack and start a new stack with the specified data as argument to that dialog.
This is not possible. The url is used to identify the user/bot in messenger. The bot doesn't see the url so it can't read from it.
I would suggest taking a different approach. You could let the user pass in the code instead of adding it to the url.
There is a new functionality in Messenger platform that allows you to send specific messages to a bot: https://developers.facebook.com/docs/messenger-platform/referral-params
I haven't tested it yet, but it may help you.

building chrome extension to read selected words from a web page

I would like to build a chrome extension to allow me select any word from any web page and by clicking a menu item to send it to a service of my company for tracking.
for example, if I am now reading some article on a page, I would like to select a specific word and right click on it, then I would like to make an http request to my service and track this word.
Is it possible to do with chrome extension? can you please link me to a tutorial that can be helpful?
Thanks.
Yes, you can use chrome extension to achieve that.
Refer Official Tutorial for more details.
Per your requirements, you may need:
Select a specific word. window.getSelection()
right click on it. You will need to listen to mousedown, mouseup or contextmenu event, the code looks like
document.addEventListener('contextmenu', function(event){...}, false);
make an http request. You can use XMLHttpRequest to transfer data between client and server.

Resources