Are there APIs to automate google smart home action integration? - actions-on-google

I am looking for ways to automate smart home action integration using APIs or CLIs, so that it will not be required to visit Google actions console to configure the integration.
I have tried out gactions CLI, but pushing manifest for smart home actions gives this error: "Actions project must specify at least one action in actions.yaml."
As my actions project is smart home action and not conversational action, custom actions are not applicable for my project.
As per documentation, actions API also seems to be applicable only to conversational action.
For Alexa smart home skill, I am able to use SMAPI SDK to push smart home skill manifest, is there some way using which I can push smart home action configurations?

We don’t provide the API or CLI to automate the Google Smart Home integration action. One needs to go to Actions on Google console to finish the setup

Related

OAuth account linking in conversational actions

I have created a conversational action in Actions Builder that uses account linking via OAuth (not Google sign in). Functionally, everything is working well.
The only issue I noticed is that when I try to link accounts using anything except a phone in the simulator, I get a response telling me to link accounts using the Google Home app. Since my action is a conversational action and not a smart home action, my action will never be found in the Google Home app.
I have confirmed that this kind of account linking is supported with conversational actions (via docs as well as Actions on Google support). What support could not answer for me is what I can do about this, they directed me here for help.
So my question is, how is account linking handled for conversational actions on non-phone devices (e.g. smart speaker)? Does it simply not run at all, or do I have to do something to remove these Google Home prompts?
Thanks
If the Action is running on a device type that does not support a web browser then the authentication step is not going to work. If you have not signed in before, the operation will fail. Though if you have signed in already, any device will be able to retrieve your access token.
The way to do this would be to handle cases for a non-authenticated device that cannot be authenticated. This may mean providing some part of your Action that can run in these conditions. Alternately, you'll need to inform people that they'll first need to use their phone to perform account linking.

How to access/manage Actions on Google project via api

I have some actions on google projects. I can modify them via the web console and the gactions CLI tool. But I found no resource on how to manage (list/modify/update) action projects via an API? Is this not possible?
I've found a service named Voiceflow, which is a tool for creating Alexa skills and Google Actions using a graphical UI. It requires users to authorize their Google account in order to access their Google Actions. Which API are they using? I've looked into Google's API Playground but found no similar API. But as they are using some API, I suppose it's possible to manage one's Google Actions via API. Any help would be appreciated. Thanks
EDIT: I have done some digging and found that I can request permission to access Actions using this url as OAuth scope (https://www.googleapis.com/auth/actions.builder). But I found no docs on how to actually view/edit the Actions.
Moreover, I've found another resource named Actions API. It's description says Google Actions API allows developer to register and manage their actions on Google Cloud Platform. But I see no guide on how to use it.

How can I turn on alpha/beta testing for a Google Home Action?

There is no Alpha/Beta testing options in the Release tab of the Google Actions console.
I'm developing a Google Action (Smart Home). I can test it with my developer account, and can invite others to test as developers (ref: https://medium.com/#rekire/alpha-test-your-action-on-google-5886246e0e).
But I could not find the Alpha/Beta releases as documented in https://developers.google.com/actions/deploy/release-environments
There is only a Production section in the Release tab.
Alpha/Beta channels aren't available for Smart Home actions.

Where can you find your actions in google-home app which is not deployed but still in development phase

I am developing actions for google home. It is still in development phase. I have developed music actions and the songs are playing fine in google-home. I am performing account linking which is also working properly by getting account linking card in home page of google home app. All I want to know is where can i find my actions in google-home app where i can see link/unlink buttons to my actions.
Like in Alexa app i was able to see my skills in your skills -> dev skills section. Is there any way in google-home app like this where i can link/unlink actions. I have checked but i am not able to find this.
You will need to look the Actions Directory. On your phone, you can search and find the action, and then see specific controls for the action like unlinking and clearing user storage.

Developer Access to Google Assistant Conversation History

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.