Create an Action Node¶
There are two steps to add an action node to a recipe graph: create the node, then connect the node to other nodes in the graph.
Create the node¶
- On the Recipes page, select your recipe, then select the variation to open the graphical view.
- Click Add Node.
-
In the Add Node dialog, select Create new node.
If you select Use existing node, you can choose from a list of nodes already created in the recipe.
-
Select Action.
- Enter a name.
- Select the data source.
- Click Create.
Alternate methods for adding nodes¶
In addition to adding a node from a variation's graph view, you can add nodes from the Recipes page and File Editor.
- On Recipes page: Select the Nodes tab then click Add Node.
- In File Editor: Click Add Node at the top of the page.
After you've created the new node, you will need to manually add it to a variation graph:
- From the Variations page, click Add Node > Use existing node.
- Create a new Graph and add the node as a Seed Node.
- Add the node in the
graph-settings-listobject in the recipe'svariations.jsonfile.
Connect the node¶
If you have other nodes in your graph, you can connect the new action node to the existing workflow in your variation.
Once done, select Add notes for changelog , describe the changes, then click Update.
Create an incoming edge¶
To connect any source node in the graph to the newly created action node:
- Click Add Edge.
- Select a node in the graph as the source node for the edge.
- Select the new action node as the target node.
Create an outgoing edge¶
To connect the action node to any other node in the graph:
- Click Add Edge.
- Select the action node to set it as the source node for the edge.
- Select the node you want to follow the action node.
Next steps¶
After creating the node, configure the action node.