Configurable Device Recipe in Device: Create Node

Is it possible to select which device recipe to use, in the device create node, based on a field in the payload? Currently, the dropdown does take the handlebar configuration, but does not interpret it as the name of a device recipe:

Hi @Louis_Gouws ,

Great Question! The Device Recipe is Template-able but the value needs to be the ID of the recipe, not the name.

In order to get access to the recipe ID you could use the Losant API node and select Device Recipes Get. You may need to configure the name on the payload prior to this node to ensure that it matches the recipe name.

Let me know if this answers your question or if you need any more help.

1 Like

Thanks very much

Works like a charm.