Zum Inhalt springen
DeutschlandGPT
Nodes

Action Nodes

Built-in action nodes for HTTP requests, web search, code execution, image generation, and flow control

Action nodes perform discrete operations: fetching data, running code, generating images, branching on conditions, and looping over arrays. Each node has typed inputs (wired from previous nodes or typed directly) and named outputs (available to downstream nodes).

HTTP Request

Sends an HTTP request to any URL and returns the response.

InputRequiredDescription
URLYesThe full URL to send the request to
MethodYesHTTP method: GET, POST, PUT, PATCH, DELETE
HeadersNoKey-value pairs added as request headers
BodyNoRequest body (JSON, form data, or raw text)
Response TypeNoHow to parse the response: json (default), text, or file
OutputTypeDescription
responseanyParsed response body
statusCodenumberHTTP status code
fileWorkflowFileThe downloaded file, only when Response Type is file

Searches the web and returns a list of results.

InputRequiredDescription
QueryYesThe search query
Max ResultsNoNumber of results to return (1-100, default 10)
OutputTypeDescription
resultsarrayArray of result objects, each with title, url, snippet
resultCountnumberNumber of results returned

RSS Feed

Fetches and parses an RSS or Atom feed.

InputRequiredDescription
URLYesThe RSS/Atom feed URL
Max ItemsNoMaximum number of feed items to return (1-100, default 20)
OutputTypeDescription
itemsarrayArray of feed items, each with title, link, description, pubDate, author
feedTitlestringThe feed's title
feedDescriptionstringThe feed's description
itemCountnumberNumber of items returned

Custom Code

Executes a JavaScript snippet. Use this for data transformation, string manipulation, math, or any deterministic logic that doesn't require an AI call.

InputRequiredDescription
CodeYesJavaScript code to execute. Previous node outputs are available as global variables named after the node (e.g. trigger.outputs.formData). Use dg.log(), dg.warn(), dg.error() for debug output visible in the execution log.
OutputTypeDescription
resultanyThe value returned by the last expression in your code, or the value of return

Custom Code nodes run in a sandboxed Node.js environment. They have no access to the file system, network (use HTTP Request for that), or external modules. Execution is synchronous and has a timeout.

Example:

JS
const items = trigger.outputs.formData.items;
return items.filter((i) => i.status === 'open').map((i) => i.title);

Image Generation

Generates an image from a text prompt using an AI image model.

InputRequiredDescription
ModelYesThe image generation model to use
PromptYesText description of the image to generate
OutputTypeDescription
imageWorkflowFileThe generated image as a workflow file
revisedPromptstringThe prompt as interpreted by the model (some models rewrite prompts)

Data Table Nodes

Data table nodes read from and write to persistent Data Tables. Unlike node outputs, data table content persists across workflow runs.

Get Rows

Retrieves rows matching optional filter conditions.

InputRequiredDescription
TableYesThe data table to read from
FiltersNoColumn conditions to filter rows
Sort ByNoColumn to sort results
Sort DirectionNoasc or desc
LimitNoMax rows to return
OutputTypeDescription
rowsarrayMatching rows as objects
rowCountnumberNumber of rows returned

Insert Row

Adds a new row to a data table.

InputRequiredDescription
TableYesThe target data table
Row DataYesColumn → value mapping for the new row
OutputTypeDescription
rowIdstringID of the newly inserted row
rowobjectThe full inserted row

Update Rows

Updates all rows that match a filter.

InputRequiredDescription
TableYesThe target data table
FiltersYesConditions identifying rows to update
UpdatesYesColumn values to set on matched rows
OutputTypeDescription
updatedCountnumberNumber of rows modified

Delete Rows

Removes all rows that match a filter.

InputRequiredDescription
TableYesThe target data table
FiltersYesConditions identifying rows to delete
OutputTypeDescription
deletedCountnumberNumber of rows removed

Flow Control Nodes

Condition

Evaluates a JavaScript expression and routes execution to one of multiple branches depending on the result.

Each branch has a name and a condition expression. The first branch whose expression evaluates to true is taken. An optional default branch runs if no other branch matches.

Example conditions:

JS
// Branch "High priority"
trigger.outputs.priority === 'high';

// Branch "Needs review"
agent1.outputs.score < 0.7;

Loop Start / Loop End

Iterates over an array, running the enclosed nodes once for each item.

Loop Start inputs:

InputRequiredDescription
ArrayYesThe array to iterate. Reference a previous node output that is an array.

Within the loop body, the Loop Start node exposes:

  • item: the current iteration's value
  • index: zero-based index of the current item

Connect the last node in the loop body back to Loop End to close the loop.

Loop End outputs:

OutputTypeDescription
resultsarrayArray of each iteration's output (collected from the node connected to Loop End)
iterationCountnumberTotal number of iterations

Subworkflow Call

Calls another workflow (that has a Subworkflow Trigger) as if it were a function. Execution pauses until the subworkflow completes, then resumes with its outputs.

InputRequiredDescription
WorkflowYesThe subworkflow to call
ParametersDependsInput values expected by the subworkflow's trigger

Outputs are whatever the subworkflow's trigger defines as its return values.

Was this page helpful?