How do I edit or delete Google Calendar events when the events is added through Dialogflow Fulfilment?
I followed through this tutorial : https://youtu.be/4_MvIf_ULgc to integrate Google Calendar with my current Dialogflow chatbot which is used as a ordering chatbot. However, I would need to delete or edits order bookings on Google Calendar. How do I do so? Can I use session entities on Dialogflow?
Thank you in advance for assisting me
Related
I am currently working on an app where I want to add an event to the outlook calendar when making a booking. I have searched around and I was not able to find any proper guide to help me.
My question is: how can I integrate the outlook calendar into my flutter app.
You can use MS Graph for getting this implemented, see Create event for more information. Use this API to create a new event in a calendar. The calendar can be one for a user, or the default calendar of a Microsoft 365 group. You may find the sample code in the Create calendar event using Microsoft Graph Client thread.
I have created an agent in DialogFlow that interacts with the user giving her the ability to check for details like demographic from a back-end database. I have achieved this using Fulfillment/Webhook calls and have successfully parsed/returned different types of Responses to the user to play with. I have tested this on both an Android device and the Google Actions Simulator.
Now, what I want to achieve is to give user the ability to "Set a Reminder" on a platform like Google Calendar or similar through my App. By default, Google Assistant does this by simply telling it to "remind me..." and Google creates a reminder in the calendar. But as soon as I invoke my app, the Assistant is out of scope so using the "remind me" command won't work. I want to use the Google Calendar for example to create a reminder through my agent so that the user is notified at the due time.
I understand that when the user invokes an App in Google Assistant, she is using her Google credentials so I guess if I want to use the App to create a reminder, I should have the option. I have had a look at the Calendar API but I am not sure if I should proceed that way. Is there a better way of achieving this?
Please note, I want to use a reminder service that is available to the user without subscribing to a third-party service.
The Calendar API is the way to go. Details here.
In those docs you'll see reference to the access token, which you can get by using the helper intent askForSignIn (example of use here in one of Google's example projects).
Hope this helps!
So for all those who are facing the same issue, here is what I did:
First created an account on https://auth0.com
Followed this guide to configure the necessary settings to link to Google Assistant (ignored the Jovo part)
Used Auth0 guide to configure and link to my Google project credentials (ignored the Admins SDK Service part)
Now when I run my Google Actions App on the device, a button "Link [App Name] to Google" showed up. Clicking on that "signed me in".
Parsed the response in my webhook to grab originalRequest.data.user.accessToken
This is the token mentioned in #lukedavis answer. The next step was to use the token to execute a call to the Calendar API. Upon trying that, I am facing a different problem which I am trying to find the solution for. But the above should assist those who wish get the accessToken.
I am developing a Google Assistant app for Google Home, and about to launch the app. I am wondering, once my app is live on the Google Assistant platform, whether I (as a developer) would have access to all of the conversation histories as users interact with my app.
If so, does Actions on Google / Google have some sort of interface to view / download the history? Or, do I have to log and capture the history myself? I thought the history will be really helpful for me to improve my app.
Many thanks!
It depends a bit on how you have built your Action.
If you have built it with one of the templates - then no, you don't have access to the conversations.
If you have built it with the Actions SDK or with Dialogflow, then you will have access to quite a bit of information that is delivered to your fulfillment webhook. If you have intents that do not send anything to your webhook - you will not get that information.
There are tools that help you examine conversation flow, see where users get stuck or fall out of the conversation, or how they're using your Action. Most of them have good integration with the Actions on Google libraries. I use a combination of Chatbase, Dashbot.io, and Google Analytics.
I have implemented Google Analytics in my iPhone Application. And I can able to see the pageviews in Google Analytics Dashboard. But I don't know where(how) to check track event in Google Analytics Dashboard.
In left side menu there is one option called events you can see there
I think it will help ...
I'm trying to use the google GData api to insert an event in a google calendar. My question is this: I don't see anywhere in the header files for GDataEntryCalendarEvent the ability to add guests to an event?
Anyone know how to do that?
If you look in GDataEntryEvent there are some methods to add participants.