How do I integrate Dialogflow with new Google sites? - dialogflow-es

It looks like new Google sites does not support scripting. Is there any other way I can integrate Dialogflow with Google sites besides using embed code? I'd like a chat widget to pop up on the website.

Only Classic Sites (Previous version) supported Apps Script where you might have been able to add that.
New Sites, the closest thing that can be added to it are HTML and JavaScript as suggested by their official documentation.
Reference
https://support.google.com/sites/answer/90569?hl=en#zippy=%2Cadd-html-css-or-javascript-code-to-your-site

Related

Google Dialog Flow: Change Design/Colours

I use Google Dialog Flow and I still created a Agent. I want to customize the appeareance of the chat window and I do not know how to do it. It seems like there is no options to do this in the DialogFlow Console. I have seen that there are products like Botcopy, but I want to do it by myself. Do I need to use the API to integrate the bot into my website if I want to change the looks?
the DialogFlow web widget is mean to be used for testing, you can hack the CSS and override the way it looks but it is not a recommended approach.
In order to integrate your DialogFlow chatbot on a website you can indeed use Botcopy or Kommunicate (both provide a Widget to add to the web site with some customisation options).
If you are a UI guru you want to build something yourself you can use the DialogFlow SDK https://github.com/googleapis/nodejs-dialogflow

Building Gmail add-ons with Angular framework?

We are finishing up an Outlook add-in which was written using Angular 8 with typescript. I am doing my investigation into what it will take to write a gmail add-on. I've gone through the quickstart tutorial using Apps Script. I've also looked at the clasp tool.
Is it possible to create a Google add-on with the angular framework?
Thank you.
Unfortunately, it is not possible to build Gmail add-ons with Angular framework.
Gmail add-ons are distinct from "Editor Add-ons"(ie. add-ons built for Google Sheets, Google Docs or Google Forms) and are developed strictly with App Script using a widget-based model.
Furthermore, Gmail Add-on development does not grant developer's direct access to the DOM.
See restrictions of Gmail addons.
The short and simple answer is no.
Google Workspace Add-ons UI are created using the Cards framework. Besides Google Apps Script, nowadays it's possible to use programming languages like Java hosted in Google Cloud Run or other hosting infrastructures as long as they deliver JSON to build the add-on UI using the Cards framework.
Reference
https://developers.google.com/workspace/add-ons/guides/alternate-runtimes
You could try using the InboxSDK.
Typically you end up having to manipluate the DOM. This tool caters for most the key functions in an easy to use library.
Not so sure how you will use Angular but it is possible to build rich experiences based on this library.

embedding Latest webchat on sharepoint modern site

i have one sharepoint modern site and i am using it as masterpage. i want to embed the microsoft webchat on this master page using the Js provided by microsoft.
help me to make it possible.
As far as I know, customizing master page is not supported on modern sites currently. You could refer to this article for more:
https://learn.microsoft.com/en-us/sharepoint/dev/solution-guidance/modern-experience-customizations-customize-sites
You could try to use embed web part on a modern page to embed the webchat. Read this article about using the embed web part:
https://support.office.com/en-us/article/add-content-to-your-page-using-the-embed-web-part-721f3b2f-437f-45ef-ac4e-df29dba74de8

Using "Google Tag Manager" with "Google classic Sites"

I'm trying to use Google Tag Manager for a site created using Google classic Sites, but I haven't had any luck so far. This question seems to have been up on a few forums, but I was not able to find any definitive answer to this end.
Help would be greatly appreciated!
You've probably seen this page - Configure Google Analytics for Google Sites, but I don't believe there is a way to add custom javascript to a google sites page, at least not yet. You might be better off buying your own domain and hosting it somewhere if you want access to GTM.
You can now use the 'embed' option in google sites to add arbitrary html/css/javascript to the site. I added the tracking code created by google tag manager and embedded it in the footer of my google site.
Directions from Google

Import/export google mail (was "[is it possible to] create custom Google Lab")

Is it possible to create a custom Google Lab project? Or do Google Engineers have to create them? I'd like to integrate Gmail with another web application on a company web server.
If that is not possible, is there a way to import/export google mail in some format (ie: XML, HTML, etc..) for a specific gmail user or group of gmail users?
No.
You're looking for the IMAP protocol, which allows you to interact with Gmail messages.
No, it's not possible. Google Labs projects are Google's own experiments, not something you can add to yourself.
As Nadir Muzaffar said, maybe Gmail's API is what you're looking for: https://developers.google.com/gmail/
I'd like to add that you may create a browser extension.
You may start with experimenting with Developer toolbar (F12) and then pack your javascript to an extension.
If you use I.E. Chrome, see I.E. https://robots.thoughtbot.com/how-to-make-a-chrome-extension or try to look at your current extensions in order to understand how it's working ( ~/.config/google-chrome/Default/Extensions/ or ~/.config/google-chrome/Default/Extensions/ )
Note that if GMail changes, your extension may not work anymore.

Resources