Skip to content

Create an Ingredient Node

There are two steps to add an ingredient node to a recipe graph: create the node, then connect the node to other nodes in the graph.

Prerequisites

  • The ingredient must be declared.
  • The following is required to use ingredient nodes:
    • An ingredient node must reside in the same customer account as the ingredient it calls.
    • If an ingredient node calls an ingredient that resides in a different kitchen, the user configuring the node and any user running the node or its variation must also have access to the ingredient's kitchen.

Create the node

  1. On the Recipes page, select your recipe, then select the variation to open the graphical view.
  2. Click Add Node.
  3. 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.

  4. Select Ingredient.

  5. Enter a name.
  6. Select the data source and data sink.
  7. 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-list object in the recipe's variations.json file.

Connect the node

If you have other nodes in your graph, you can connect the new ingredient 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 ingredient node:

  1. Click Add Edge.
  2. Select a node in the graph as the source node for the edge.
  3. Select the new ingredient node as the target node.

Create an outgoing edge

To connect the action node to any other node in the graph:

  1. Click Add Edge.
  2. Select the ingredient node to set it as the source node for the edge.
  3. Select the node you want to follow the ingredient node.

Next steps

After creating the node, configure the ingredient node.