ladderlore
Request a guide
  • Type a service name, like S3 or IAM.

Service · Machine Learning

Amazon Bedrock Flows

A visual builder that links prompts, models and AWS services into a generative AI workflow with fixed steps.

Flow
Input
Knowledge Bases
Prompt node
Lambda function
Output
  1. 1The input enters the flow.
  2. 2A knowledge base node looks up matching passages.
  3. 3A prompt node builds the prompt and a model answers.
  4. 4A Lambda function node runs your code, and the result goes to the output.
A flow moves data from node to node along a path you design.

Step by step

  1. 1The input enters the flow.
  2. 2A knowledge base node looks up matching passages.
  3. 3A prompt node builds the prompt and a model answers.
  4. 4A Lambda function node runs your code, and the result goes to the output.

A flow moves data from node to node along a path you design.

  • Who picks the steps

    Bedrock Flows
    You design them
    Bedrock Agents
    The model plans them
  • Built with

    Bedrock Flows
    A visual builder with nodes
    Bedrock Agents
    Instructions, action groups, knowledge bases
  • Pick it when

    Bedrock Flows
    The process is known and fixed
    Bedrock Agents
    The path depends on each request
Flows and agents side by side.

What it is

Amazon Bedrock Flows (formerly Prompt Flows) is a visual builder for generative AI workflows. You link nodes: an input, prompts, foundation models, knowledge bases, AWS Lambda functions, conditions that branch the path, and an output. Data moves from node to node along the path you drew.

You design the path in advance, so it is the same for every request. That is the difference from an agent, where the model chooses the steps. A prompt node can use a prompt saved in Amazon Bedrock Prompt Management.

What it is

A flow has a working draft you test. When it is ready, you save a version, which is a fixed snapshot, and point an alias at it. The application calls the alias, so you can switch versions without changing the application.

Remember

  • A visual builder, also available through the API, for workflows with fixed steps.
  • Nodes link prompts, models, knowledge bases, Lambda functions, conditions and an output.
  • The model does not choose the path. You do. An agent chooses its own steps.
  • Prompt nodes can use prompts saved in Prompt Management.

Remember

  • Versions are fixed snapshots. An alias points the application at one.

On the exam

  • “Link a prompt, a knowledge base and a Lambda function in a visual workflow” points to Amazon Bedrock Flows.
  • “The steps are known in advance” points to Flows. “The model decides the steps” points to Amazon Bedrock Agents.