Skip to content

Answer Node

The Answer node is a tool for extracting specific information from user input text or LLM responses. It is useful in workflows that require structured data.

This tutorial introduces “a workflow that extracts specific information from LLM output data”.

answer node

First, create a new workflow in Studio.

Add an LLM node and copy and paste the following content into that node’s prompt.

Output "User registration started. Processing. Processing succeeded."

demo data

Next, add an intent recognition node to the right of the LLM node and configure as follows:

  • Input: llm-1.response
  • Category 1: Success

This allows you to determine whether the LLM processing succeeded and branch subsequent processing.

intent recognition

Next, add two Answer nodes to the right of the intent recognition node and configure as follows:

  • Answer node 1
    • Prompt: Registration complete ✅
  • Answer node 2
    • Prompt: Registration failed

This allows you to output pre-set answers as-is.

answer settings

The final workflow will look like this:

overall workflow

Now you’re ready! Click the Debug button to execute the workflow. When executed, “Registration complete ✅” will be output 🚀

result workflow