# Google home, start a flow using vocal commands

**URL:** <https://discourse.nodered.org/t/google-home-start-a-flow-using-vocal-commands/73607>\
**Category:** Developing Nodes\
**Created:** [12 January 2023 17:56 UTC](https://discourse.nodered.org/t/google-home-start-a-flow-using-vocal-commands/73607 "2023-01-12T17:56:10Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![ronyn77](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/ronyn77/32/73254_2.png) [@ronyn77](https://discourse.nodered.org/u/ronyn77)\
**Post date:** [12 January 2023 17:56 UTC](https://discourse.nodered.org/t/google-home-start-a-flow-using-vocal-commands/73607/1 "2023-01-12T17:56:10Z")

</div>

Hello,

Is there any way to convert a flow of nodes into an entity, so it could be used later to be integrated into google home integration that will permit me to use vocal commands to execute the created flow/entity?

---

<div class="post-metadata">

**Author:** ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Post date:** [12 January 2023 18:04 UTC](https://discourse.nodered.org/t/google-home-start-a-flow-using-vocal-commands/73607/2 "2023-01-12T18:04:34Z")

</div>

You've really asked several different questions there.

> [@ronyn77](#):
>
> Is there any way to convert a flow of nodes into an entity

Yes. You can convert a subflow into a custom node.

> [@ronyn77](#):
>
> later to be integrated into google home integration

Certainly there are nodes for integration into Google Home.

---

<div class="post-metadata">

**Author:** ![ronyn77](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/ronyn77/32/73254_2.png) [@ronyn77](https://discourse.nodered.org/u/ronyn77)\
**Post date:** [12 January 2023 18:21 UTC](https://discourse.nodered.org/t/google-home-start-a-flow-using-vocal-commands/73607/3 "2023-01-12T18:21:18Z")

</div>

Could you let me know more? Possibly with an example?  
I have created a simple flow with two nodes : an inject node and a call service node. The call service node runs an adb command to a specific app called tivimate on a nvidia shield. It starts the app and set it to a specific tv chanel. It works.  
The idea now is to use voice commands from a google device to start this flow.The next step, if it works.. to create more flows, one for every viewed channels, so they can be changed using the voice.  
How can I achieve that?

---

<div class="post-metadata">

**Author:** ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Post date:** [12 January 2023 18:24 UTC](https://discourse.nodered.org/t/google-home-start-a-flow-using-vocal-commands/73607/4 "2023-01-12T18:24:57Z")

</div>

I don't use it so don't have an example myself. But the flows site has the nodes. [Library - Node-RED (nodered.org)](https://flows.nodered.org/search?term=google&type=node&type=flow&type=collection).

The docs tell you how to package a subflow. [Packaging a Subflow as a module : Node-RED (nodered.org)](https://nodered.org/docs/creating-nodes/subflow-modules#:~:text=In%20the%20Node%2DRED%20editor,tab%20of%20the%20Export%20dialog.).

---

<div class="post-metadata">

**Author:** ![PdeJ](https://avatars.discourse-cdn.com/v4/letter/p/c89c15/32.png) [@PdeJ](https://discourse.nodered.org/u/PdeJ)\
**Post date:** [13 January 2023 13:02 UTC](https://discourse.nodered.org/t/google-home-start-a-flow-using-vocal-commands/73607/5 "2023-01-13T13:02:19Z")

</div>

I don't know whether this will help you since I don't use Google Home, but Alexa for voice commands to control Node Red flows. I use _node-red-contrib-wemo-emulator_ which simulates a wifi device in the flow which can be recognized by Alexa to which on/off voice commands can be given.

---

<div class="post-metadata">

**Author:** ![ronyn77](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/ronyn77/32/73254_2.png) [@ronyn77](https://discourse.nodered.org/u/ronyn77)\
**Post date:** [13 January 2023 13:46 UTC](https://discourse.nodered.org/t/google-home-start-a-flow-using-vocal-commands/73607/6 "2023-01-13T13:46:13Z")

</div>

yes, I found too a couple of node red flows which integrates Alexa, but they are working only for Alexa unfortunatelly.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [14 March 2023 13:47 UTC](https://discourse.nodered.org/t/google-home-start-a-flow-using-vocal-commands/73607/7 "2023-03-14T13:47:05Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
