Creating flows - Amazon Quick
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

Creating flows

You can create flows using natural language, the visual editor, by duplicating an existing flow, or from a chat agent conversation.

Prerequisites for creating flows

Before creating a flow, ensure that you meet the requirements described in Prerequisites for Quick Flows.

Creating a flow using natural language prompt (NLP)

The natural language prompt method lets you describe your desired flow in plain language, and Amazon Quick Flows generates a flow based on your description.

  1. Sign in to the Quick console.

  2. In the navigation pane, choose Flows.

  3. Choose Create Flow. You see a page where you can enter a natural language prompt or use a sample prompt.

  4. In the prompt field, describe the flow you want to create. Be as specific as possible about:

    • The purpose of the flow

    • The inputs it should accept

    • The processing it should perform

    • The outputs it should produce

    • The actions it should take

  5. Choose Generate Flow.

  6. Review the generated flow and make any necessary adjustments.

  7. Switch to Run mode to test your flow. If the flow is ready for use, you can share or publish it.

Note

The quality of the generated flow depends on the clarity and specificity of your prompt. You may need to refine your prompt or make manual adjustments to achieve your desired outcome.

Creating a flow from scratch (blank flow)

Creating a flow from scratch gives you complete control over the design and functionality of your flow.

  1. Sign in to the Quick web experience.

  2. In the navigation pane, choose Flows.

  3. Choose Create Flow.

  4. Create a blank flow.

  5. Enter a name and optional description for your flow.

  6. In the Flow builder, add and configure the steps you need:

    • Add user input steps to collect text or files from users.

    • Add AI response steps to generate content from chat agents, web search, general knowledge, or image generation.

    • Add data insight steps to get responses from Quick data or dashboards and topics.

    • Add reasoning groups to control how steps run with conditions, loops, or validation.

    • Add action steps to read or write to connected applications.

  7. Choose Save to save your flow.

For more information about the different components you can use in a flow, see Terminology and key concepts.

Creating a flow by duplicating an existing flow

Duplicating a flow creates a copy that you can modify for your own purposes.

  1. Sign in to the Quick console.

  2. In the navigation pane, choose Flows.

  3. Find the flow you want to duplicate.

  4. Choose the ellipsis (⋮) next to the flow name, then choose Duplicate.

  5. Modify the name and optionally the description for your purposes.

  6. Make any necessary modifications to the flow.

  7. Choose Save to save your flow.

Note

When you duplicate a flow, all components, connections, and configurations are copied. However, you may need to reconfigure certain settings, such as authentication for action connectors.

Creating a flow from an agent conversation

You can create a flow from a conversation with a chat agent. For example, if you have been working through a task like reading an email, augmenting it with internal or web knowledge, and drafting a response, you can convert that conversation into a reusable flow.

  1. Sign in to the Quick console.

  2. Start a conversation with a chat agent.

  3. Work through the task you want to automate.

  4. Choose the Quick Flows icon in the chat bar.

  5. Choose Create Flow from conversation. Amazon Quick Flows interprets the interactions in your conversation and brings you to the Create flow screen with a generated natural language prompt, name, and description.

  6. Review and edit the prompt, name, and description as needed.

  7. Choose Generate Flow.

  8. Review the generated flow and make any necessary adjustments.

  9. Choose Save to save your flow.

Flow creation requirements

When creating a flow, keep the following requirements in mind:

Flow name

Flow names must be unique within your Quick account and can contain up to 128 characters.

Flow components

A valid flow must have at least one output step or action step.

Reasoning groups

Each reasoning group must have at least one instruction that defines what the AI model should do with the inputs.

Action steps

Action steps require proper authentication and configuration before they can be used in a flow.

Next steps

After creating a flow, you can:

  • Test your flow to ensure it works as expected.

  • Publish your flow to make it available to users. See Publishing changes.

  • Share your flow with specific users or groups. See Sharing flows.

  • Monitor your flow's usage and performance. See Progress tracker.