These sample graphs show action flows of a simple voice intent, such as "Turn on air conditioner" or "Set the volume to 10 on Speaker".
This sample graph helps turn on the device and trigger a response based on the execution result.
Example: The user says, “Turn on the air conditioner.”
If the command works, Bixby says Got it. Okay. Otherwise, Bixby gives an error message.
This sample graph helps validate user input and set the brightness of the device.
Example: The user says, "Set the brightness of the light to 30."
Between
node.Command
node. Otherwise, the Out of range dialog displays, and the brightness doesn’t change.See: Sending a Device Command With an Argument
This sample graph helps increase the brightness of the device by a specific amount.
Example: The user says, "Increase the brightness of the light by 10."
Attribute
node.Between
node.Command
node. Otherwise, the Out of range dialog displays, and the brightness doesn’t change.See: Arithmetic Operations Using the Sum Node
This sample graph helps play the next song on the device.
Example: The user says, "Play the next song on the speaker."
If the command works, Bixby says Got it. Okay. Otherwise, Bixby gives an error message.
This sample graph helps get the fineDustLevel
value of the device.
Example: The user says, "Tell me the fine dust level of the Air Monitor."
fineDustLevel
value using the Attribute
node.locationName
using the Device Information
node.See: Creating a Bixby Response Using Device Status
This sample graph helps change the humidity level of the device based on the user's fan mode selection.
Example: The user says, "Change the humidity level of the Air Conditioner."
supportedAcFanModes
, and prompts the user to select a mode using the Ask Selection
node.Command
node.See: Prompting Users With Ask Nodes
This sample graph helps control a device based on its feature parameters (such as dustHealthConcern
or airQuality
). It helps set the device's fan mode based on the dustHealthConcern
value.
Example: The user says, "Set the Air Purifier's fan mode to auto."
dustHealthConcern
value of the device with the Attribute
node.Select
node.Command
node.See: Creating a Bixby Response Using Device Status
This sample graph helps set the volume of a device with a specified input value. It also asks for a confirmation if the desired volume might be too loud.
If the input value is greater than the current one and falls in the range of 80 to 100, Bixby asks the user to confirm their choice using the Ask Confirmation
node.
If the input value is less than the current one and falls within the range of potential setting values, Bixby sets the volume to the input value without a prompt for user confirmation.
Example: The user asks, "Set the volume of the speaker to 10."
See:
This sample graph helps change the TV to a specified channel by name.
Example: The user says, "Turn on PBS."
Bixby then sets the TV channel to PBS.
This sample graph helps set the cooling setpoint temperature on a device, even without the unit of measure. If a user tries to establish the setpoint without a unit of measure, the device uses the current unit as the default.
Example: The user says, "Set the cooling temperature to 20."
Even though the unit of measure isn't specified, Bixby uses the current default temperature the device is using.
See: