Create a Homey advanced flow
homey_advancedflow_createCreate graph-based Homey automation flows with branches, parallel paths, delays, and error handlers. Use custom card labels to reference values between cards.
Instructions
An advanced flow is a graph of cards rather than one trigger and a list of actions: branches, parallel paths, joins, delays and error handlers. Give each card your own label and refer to those labels in the output lists; real ids are generated before sending. To use a value another card produced, write [[trigger::<that card's label>::]] or [[action::::]]. The [[owner|token]] form used in standard flows does not name a card and will not work here. The flow is created switched OFF and inside the "AI" folder, then read back and compared with what was sent.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"name": "<name>",
"cards": "<cards>"
},
"name": "homey_advancedflow_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | What the flow is called. | |
| cards | Yes | Every card in the graph. At least one must be a trigger or a start card, otherwise nothing can begin it. |