Example 2: A Linear Multi-Step Workflow

This workflow connects three blocks in a straight line using two edges:
a
→b
→c
, each with its own processing edge
🟢 Execution:
- The edge between
a
andb
runs first. - Once
b
receives its content, the second edge runs to processb
intoc
.
This is the most common setup for step-by-step processing.
🟡 Demo:
1. Create a text block and type your question in block.

2. Create an LLM edge to generate better query for Google search.

system
: You are a search query expert.user
: Given the user's question, generate a concise Google search query. Give me the query only. question :{{Question}}
3. Generate the query and create search edge.

4. In search edge block, click Run
.

- Result number: Set how many results you want to retrieve (default is 5)
5. You can find the result in new block.
