This guide assumes familiarity with the following information:
Command node (Sending a Device Command)Response node (Creating a Bixby Response Using Device Status)In this guide, you'll learn how to use the Custom Dialog Feature to customize the dialog response for a voice command. This allows you to specify Bixby's responses to users instead of using default responses. The device used in this guide is a SmartThings-enabled air conditioner; you will add a custom dialog response when the air conditioner fails to turn on.
In general, you should try to follow the style and tone of Bixby when creating custom dialog. For more information, see the Dialog Design Pattern Guide.
Start creating the action flow for this example by dragging a Start node and a Command node from the action flow nodes sidebar to the editor area. Then, connect the Start node's main port to the Command node's trigger port.
In order to create and use a custom dialog with your device, you have to add the dialog to the dialogs menu in the metadata sidebar.


en.

The new custom dialog option, airInfo, will appear under Dialogs in the metadata sidebar.

You can now use the custom dialog in your action flow.
To use custom dialog in your action flow, do the following:
Response: Success node and one Response node to the graph.Command node's success port to the Response: Success node and the failure port to the Response node.Response node that is connected to the Command node's failure port. This opens the Node Configuration menu on the right.


Here's the finished action path:

You must choose a default dialog if you have not entered custom dialog for all locales. To choose the default dialog:
In the Dialog tab, click SELECT.
The Select Dialog pop-up appears. Choose one of the listed default dialogs and click SAVE.

The Dialog description lists the selected default dialog. It also appears in various locales in the Templates section of the Dialog description box.

To test the action flow, click the Try It button at the top right of the editor window. The flow editor should look like this:

In this test run, the command fails. Bixby then lets the user know about the failure with the custom dialog.
The Node Recommendation feature enables you to get recommendations for next possible nodes, and can make it easier to create a graph.
The following video tutorial gives another example of how to use custom responses and confirmations in BHS.