adding "IMPORTANT!" alert to messages when sending it through webhook - webhooks

i'm using webhook to send certain alerts to a microsoft teams chat. i was wondering if there's a certain keyword i can add to my json to send the message as "Important!" or a markdown i can add to my message.

!Important feature is a part of Microsoft Teams product & looks like it is not supported in Webhook messages.
However message cards supports Markdown & HTML, so you can format your cards accordingly.
https://learn.microsoft.com/en-us/microsoftteams/platform/task-modules-and-cards/cards/cards-format?tabs=connector-md%2Cconnector-html
Could you please raise a user voice here:
https://microsoftteams.uservoice.com/forums/555103-public/filters/new

Related

can messages templates for WhatsApp include quick reply buttons in Twilio

Using Twilio and Regarding the WhatsApp template messages sent form the system or even the normal messages sent by the chat bot, can it include quick reply buttons like Yes/No buttons or customized options like options (1, 2, 3)
Is it doable? any available samples?
Edit
The Twilio API for WhatsApp now supports interactive message templates. Check out the documentation for using buttons in WhatsApp templates here.
Twilio developer evangelist here.
Currently you cannot send interactive messages with quick reply buttons using the Twilio API for WhatsApp. That may change in the future though. If you have set up your WhatsApp number and you were in touch with an account executive, I recommend speaking with them.

Is there a way to access flights information in GMail API?

When you buy a flight and receive a confirmation email, GMail recognizes it's a flight and adds departure/return tabs at the top of the message.
Using GMail API, I would like to use that information to get all flights from my inbox. Is this possible?
Content that is outside the message body of an email is not accessible from the GMail API. So you won't be able to access the info in any auto-generated tabs.
However, GMail may have auto-labeled the messages as "Travel". If that's the case then you can leverage the GMail API to filter messages using the "Travel" label.
You'll then have to parse the email message for the desired information.
Writing a custom parser can be difficult. However, if the message is annotated so that it conforms to specifications outlined by Google and Schema.org, parsing flight information will be considerably easier. One can assume that flight confirmation messages that trigger the auto-generation of those tabs have flight/reservation specific mark-up embedded within them (but you should probably verify that the email contains said mark-up all the same).
The following links discuss how vendors should embed these special mark-up into their messages:
https://developers.google.com/gmail/markup/getting-started
https://developers.google.com/gmail/markup/reference/flight-reservation#basic_flight_confirmation
You should be able to use those docs to build a custom parser that can detect and parse the required mark-up schema or better yet leverage an open-source library to do so.

Dialogflow Webhook Format vs. Conversation Webhook Format

There are two types of fulfilments provides by Google Actions - Dialogflow Webhook Format & Conversation Webhook Format. In my understanding (as per this doc- https://developers.google.com/actions/build/json/conversation-webhook-json) Google sends "Conversation Webhook Format" request if we are using Actions SDK and Google uses "Dialogflow Webhook Format" if we use DialogFlow. Is this understanding correct?
The reason I am asking this is because the request format from Google has suddenly changed from the last two days from Dialogflow Webhook Format to Conversation Webhook Format. We are not using Actions SDK, so to me it appears some bug from Google. Is this change possible using settings?
Your question about the message format sounds correct.
Some of the confusion, however, is that if you're using the Actions on Google Simulator - you will always see the "Conversation Format" version. This is because AoG sends this to Dialogflow, which then converts it into the "Dialogflow Format" before it sends it to your webhook. (It does a similar conversion on the way back.) So if you're just looking at things through the Simulator, you may get confused about what you will actually see.
Also keep in mind that the "Conversation Format" is also (mostly) sent along inside the "Dialogflow Format" under originalDetectIntentRequest.payload. If you're not looking carefully, you'll see it there and may miss the other parts of the message format that are intended for Dialogflow.
If you are actually seeing the Conversation Format JSON in your Dialogflow webhook - this is extremely strange. There is no setting that you can control that should be able to do this. You should contact Google through the Support page to try and clarify what is going on.

No user messages on Chatbase transcripts

I've been trying to take advantage of the Transcripts feature in Chatbase, but whenever I open a transcript all the user messages are shown as (No content).
The messages sent by the bot are all shown properly and the order of the messages is correct as well (both user and bot). On the messages report tab I can see the user messages so they are being sent across properly.
I'm sending all the messages using the generic message API, with the original text on the message field.
This has been happening consistently for me on all projects, so I'm probably doing something wrong..any ideas?
I work on Chatbase and would be happy to look into your issue. If you could please contact chatbase-support#google.com and provide the api key, the name of the bot, or the email address you used to create the account I will be happy to look into the issue for you.

What is the perfect way to get response from docusign api webhook response in php?

I have set a web hook URL for docusign API. when any update from document signer come, i will get update about envelop. but how can i get the response? What is the format. Can someone show me a example?
In order to receive and process webhook notifications from DocuSign Connect, you'll need to create an application to "listen" for (and process) the notifications. DocuSign provides sample applications like this in a variety of languages -- you can use this link to find those samples on GitHub: https://github.com/docusign?utf8=%E2%9C%93&q=connect.
For example, here's the webhook sample in PHP: https://github.com/docusign/recipe-010-webhook-php.
You will get response from DocuSign in an XML format, You can find more details at https://www.docusign.com/blog/dsdev-adding-webhooks-application/,
https://www.docusign.com/supportdocs/ndse-admin-guide/Content/connect-technical-details.htm and Guide is available at https://www.docusign.com/supportdocs/pdf/connect-guide.pdf

Resources