> ## Documentation Index
> Fetch the complete documentation index at: https://docs.overlap.ai/llms.txt
> Use this file to discover all available pages before exploring further.

> Classify each incoming clip and route it into an answer branch.

# Ask ai

> Ask AI answers one finite-choice question for every incoming clip, then sends each clip through the branch that matches its answer.

Use the **Ask AI** node when the next workflow step depends on what a clip contains. For example, you can separate sports clips from business clips, route clips with a visible product into a review path, or send clips that meet an editorial rule to a different export.

<Info>
  ### Schema

  * **Input**: Clips from an upstream workflow node
  * **Output**: Two to four answer branches containing the classified clips
</Info>

## Add the node

Open **Workflows** from the left sidebar and click **New** to open the workflow builder.

Add a trigger and a clip-producing node first, such as [Manual Trigger](/nodes/manual-trigger) -> [Find Clips](/nodes/findclips). In the **Editing** stage, choose **Ask AI**. Overlap adds the action node to the canvas.

## Ask a question

In **Question**, enter the finite-choice question that should be answered for every clip. Write the question so each answer outcome is clear and mutually exclusive.

For example:

* Is this clip about sports?
* Does this clip show the product?
* Which audience is this clip best suited for?

Ask AI evaluates each incoming clip independently. It starts with relevant clip metadata, reads transcript words within the clip's playable segments when spoken content matters, and can sample rendered video frames or search public sources when the question requires more evidence.

## Define answer outcomes

The node starts with **Yes** and **No** outcomes.

Rename either outcome to match your question, or click **Add outcome** to create a third or fourth answer. You can remove outcomes as long as at least two remain. Each outcome must have a non-empty label that is unique regardless of capitalization.

Each outcome becomes a separate output handle on the right side of the node. Renaming an outcome keeps its existing workflow connection.

## Connect answer branches

Connect every answer output to the editing or export path that should handle those clips.

Each clip is sent to exactly one answer branch. If no clip selects an outcome during a run, that empty branch stops while populated branches continue.

## Build the rest of the workflow

A common flow is [Manual Trigger](/nodes/manual-trigger) -> [Find Clips](/nodes/findclips) -> **Ask AI**.

From there, a sports branch might add [Smart Zoom](/nodes/smart-zoom), a business branch might add [Subtitles](/nodes/subtitles), and each path can finish with its own export. Choose outcomes that fully cover the possible answers so every clip has an appropriate path.
