I am developing a chat bot with slack. I want to display a pop-up message with certain editable fields in slack as a response to query. How can I achieve this functionality?
There is no pop up message feature per se, but you can show a modal window called Dialog with editable fields as response to a query.
Related
In slack is possible to use attachments to create buttons in a chat (https://api.slack.com/docs/message-buttons).
How can I click in the button and use the text button in chat? Don't use link or redirect, just use the button text in the chat.
As I understand you want to update your chat message after a user clicks the button.
Here is how this would work with Slack:
Your app post a message with a message button in a channel
User clicks on button
Your app gets interaction request from Slack
Your apps replies to the Slack request to update the message content
(e.g. text) by replacing it with a new message.
This is how this works with Slack and its the only approach. See also this answer on the same topic.
So i found that the 3 ways to send webviews on facebook messenger are:
All of those solutions implies to send either a Menu, a Card or a Chat extension where the user have to click.
What im looking for is that when the user interacts with my bot (at the moment he says "please send me the webview"), the chat without clicking some button redirects the user to a webview. In this way the conversational flow its not affected by pop-up screens.
Is there a way?
Thanks in advance
I am integrating Intercom into my website, but when a user loads the page, the chat window automatically opens up. I have gone through their documentation, adding things like Intercom('hide'), turning off and removing auto messaging, etc, but the messenger still opens up. I have reached out to their customer support (on their own chat app) and no one has responded back or reached out. Kind of bad UX to have it open without anyone clicking the chat button. Anyone know how to disable this feature?
The answer is in one of their guides Customize the Intercom Messenger (technical) rather than the technical documentation:
First, you’ll need to hide the Messenger for all of your customers. Just visit your Messenger settings and deselect the options for turning the Messenger on.
Next, you’ll need to think about which users you’d like to show the Messenger to (for example, your VIP customers).
Finally, add the hide_default_launcher attribute to your intercomSettings object on your site. The value of thehide_default_launcher attribute should be true or false, depending on if you want to hide or show the launcher.
So hide_default_launcher is the key.
You can go to App Settings > Messenger Settings section and blank Welcome Message:
click to open an image
It's not very clear to me and perhaps other devs as well. I've read the Facebook Messenger docs maybe 5 times and I can't understand how bots detect when a user enters their chat window.
I started by looking for a postback, when users entered the bot experience. No Postbacks. I looked to see if it was Messenger Greeting, and that seems to only apply the first time a user arrives in your bot experience. This also seems a little different.
It's possible this functionality is not available to everyone. But Poncho has done this several times when I enter their experience and don't type anything.
Anyone seen this or have any ideas?
The postbacks are something completely different. The postbacks are received only when a user clicks on a button which contains a payload mentioned in the payload element of your button template or structured message. Facebook chat bot API sends this payload back to let you know that the user has clicked on a particular button.
What you're looking for is called Welcome Screen and you're right, the default behavior was not clearly listed in the documentation. But one of the Facebook engineers cleared the doubts for me and now they have edited the documentation. The welcome screen appears once and only once for a user on the messenger app i.e the first time when the user interacts with your chat bot even if the user deletes the conversation. From the docs:
The Welcome Screen only appears for new conversations. On mobile,
deleting conversations will not cause the Welcome Screen to appear
again. On desktop web, if you delete the conversation, you can make
the Welcome Screen appear again.
Where as, the behavior is different for the regular Facebook chat in a web browser. A user can see the Welcome Screen in the regular chat if he/she deletes the conversation.
There's no way to detect that the user has just entered the bot experience. I've tested Poncho bot before and I don't get any message when I enter the bot experience after the first conversation.
There's a possibility that you're experiencing this because of Watermarks. Watermarks are received on our webhook when a message is delivered and read by the user. May be they are handling watermarks in such a way that if the timestamp that comes with the watermark is few hours late than the current time, they send the message. You can read further about watermarks in the official documentation here and here.
I am developing an app for windows 8 , in which I want the toast to have link to any webpage or any other metro application rather than the own application.
note:The web link or App Name will be entered by the user.
This isn't supported. Toasts can only take the user to the application that sent the toast. See below.
From MSDN:
A toast notification can contain text and/or images, but secondary
actions such as buttons are not supported.
and
When a user taps or clicks the notification, the associated app is
launched and the user can expect that the resulting view is related to
the content of the notification. It is the only mechanism by which one
app can interrupt a user in another app.
You can also try this :
create a new xaml page with WebBrowser element and use following code to easily navigate to webpage.
Here On clicking the shell Toast it is navigated to the specific page inside your app specified in the url.
It's just a workaround it's not great but will partially accomplish your task.
Thanks .