# Paths

**Introduction**

The "Paths" step allows you to define multiple branching paths within your automation. Each path can contain its own set of actions, enabling complex decision-making and workflows.

**Configuration**

* **Paths**: A list of paths that you want to create. Each path must have:
  * **Name**: The name of the path, used to identify it within the automation. This parameter is required.
  * **Key**: A unique key for the path, generated automatically and hidden from view. This parameter is required.

You must define at least two paths.

**Subpaths**

Each path created will generate its own subpath where you can define the specific actions that should occur when that path is chosen. The subpaths are dynamically named based on the provided path names.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.flexy.bot/modules/scripting/steps/paths.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
