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

# Auto-detect from AI Assistant

> Give AI Assistant a page URL and Auto-detect drafts a task from well-structured pages, such as lists and tables, ready to fine-tune in Octoparse Desktop.

Give AI Assistant one page URL, and Auto-detect generates a task from it, using the same auto-detect algorithm as [Octoparse Desktop](https://www.octoparse.com/docs/en/desktop/auto-detect.md). The task is saved to your account, ready to adjust and run in Octoparse Desktop.

## When to use Auto-detect

Auto-detect is a good fit when:

* You have the URL of the page that shows the data
* The page is well structured, such as a list of products, a table, or search results
* You want to adjust the task yourself in Octoparse Desktop

Auto-detect works on one page at a time. For data that takes several steps to reach, or needs a sign-in, try [Browser Use](https://www.octoparse.com/docs/en/ai-assistant/browser-use.md) or [Cloud Agent](https://www.octoparse.com/docs/en/ai-assistant/cloud-agent.md).

## Generate a task from a URL

**1. Pick Auto-detect**

When you start a new chat, pick **Auto-detect** in the mode selector. Or, when AI Assistant suggests it in a chat, select **Auto-detect this page**.

**2. Paste one page URL**

Paste the URL of the page that shows the data, not the site's homepage, and send it. Include exactly one link: with none or more than one, you can't send the message.

> [!TIP]
>
> Go to the page with the data in your browser first, then copy its URL. See [Start from the page that shows the data](https://www.octoparse.com/docs/en/ai-assistant/describe-your-data.md#start-from-the-page-that-shows-the-data).

**3. Check the task preview**

If Auto-detect finds the data, AI Assistant shows a **Task preview**: the fields it found, a sample of the data, and any warnings. The task is saved to your account, and the preview shows **Generated and saved to cloud**.

## If Auto-detect can't find the data

A task is only created when Auto-detect finds the data on the page. If it can't, no task preview appears, no task is saved, and AI Assistant explains in the chat. You can:

* Make sure the URL is the page that shows the data, not the site's homepage, and try again. This is the most common cause.
* Ask AI Assistant to try [Browser Use](https://www.octoparse.com/docs/en/ai-assistant/browser-use.md) or [Cloud Agent](https://www.octoparse.com/docs/en/ai-assistant/cloud-agent.md) instead.
* Start the task in [Octoparse Desktop](https://www.octoparse.com/docs/en/desktop/no-code-builder.md) instead. If the data only appears after you sign in, close a pop-up, search, or switch tabs, Desktop lets you add those steps before it detects the data. See [How to fix "Not the right webpage?"](https://helpcenter.octoparse.com/en/articles/6471160-how-to-fix-the-not-the-right-webpage-error-after-the-auto-detect).

For other messages, see [Troubleshooting](https://www.octoparse.com/docs/en/ai-assistant/troubleshooting.md#auto-detect).

## Open the task in Octoparse Desktop

Select **Open in Octoparse** to open the task in Octoparse Desktop. If Desktop isn't installed, the download page opens instead. You can also find the task in your task list, or copy its ID with **Copy task ID**. The chat itself isn't kept after you leave it, but the task is. See [Chats and tasks](https://www.octoparse.com/docs/en/ai-assistant/chats-and-tasks.md).

## Edit the task in Octoparse Desktop

The generated task is a regular Octoparse Desktop task, so you edit it the same way as any task you build yourself. Check the fields and pagination first, then fix anything that's off. See [What to review after detection](https://www.octoparse.com/docs/en/desktop/auto-detect.md#what-to-review-after-detection) for a checklist.

Common fixes, step by step in the Help Center:

| To fix this | See |
| - | - |
| Remove, rename, or add fields | [What is Auto-detect and how to use it?](https://helpcenter.octoparse.com/en/articles/6470911-what-is-auto-detect-and-how-to-use-it) or [Field Fixer](https://www.octoparse.com/docs/en/desktop/field-fixer.md) |
| The task doesn't go to the next page | [Dealing with pagination](https://helpcenter.octoparse.com/en/articles/6470986-dealing-with-pagination-clicking-on-a-next-button) |
| You also need data from each item's detail page | [Scrape data from both listing and detail pages](https://helpcenter.octoparse.com/en/articles/6470985-scrape-data-from-both-listing-and-detail-pages) |
| You want to understand the steps in the workflow | [Intro to workflow & actions](https://helpcenter.octoparse.com/en/articles/6470943-intro-to-workflow-actions) |

When the task looks right, run it on your computer or on Octoparse Cloud, and schedule it if you need the data regularly. See [Local vs. cloud runs](https://www.octoparse.com/docs/en/cloud/local-vs-cloud.md).

## Related pages

> [card] [Auto-detect in Octoparse Desktop](https://www.octoparse.com/docs/en/desktop/auto-detect.md)
>
> How auto-detect works, what to review, and its limits.

> [card] [No-code builder](https://www.octoparse.com/docs/en/desktop/no-code-builder.md)
>
> Adjust a workflow, or build one from scratch.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.