# Custom Workflows

Custom workflows in Pline enable users to customize their data extraction processes to align perfectly with the unique structures of specific websites. This ensures accurate and highly efficient data collection, effectively addressing the unique needs of each individual.

### Using Custom Workflows <a href="#using-custom-workflows" id="using-custom-workflows"></a>

All custom workflows are stored within the Pline Ecosystem.

Follow these simple steps to get started with using Custom Workflows.

#### Step 1: Create a Workflow <a href="#step-1-create-a-workflow" id="step-1-create-a-workflow"></a>

Open the Pline extension and click **"Build Workflow.”**

<div align="left" data-full-width="false"><figure><img src="/files/PWXP7lGY25V6dZS6yx6c" alt=""><figcaption></figcaption></figure></div>

#### Step 2: Select Page Type <a href="#step-2-select-page-type" id="step-2-select-page-type"></a>

Webpages present data in various layouts, such as **Vertical, Grid, or Horizontal Layouts.**

* Choose the layout that matches the page structure (e.g., Grid Layout).

<figure><img src="/files/pLKHPOzv7wgmVC76aRst" alt=""><figcaption></figcaption></figure>

#### Step 3: Auto Grouping Result <a href="#step-3-auto-grouping-result" id="step-3-auto-grouping-result"></a>

Pline automatically detects and groups similar items on the page. If it looks good, click on **“Yes, Looks good.”**

<figure><img src="/files/uNWJzNZqAl1LZbCX8Dwp" alt=""><figcaption></figcaption></figure>

If that’s not the group you want to extract, you can try selecting the next group.

* You can easily add, edit, or remove fields based on your requirements.

<figure><img src="/files/2B4VdHAuNL3TlQKJxR91" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
If any required data is missing, you can **manually add new fields** by selecting the required elements directly on the page.
{% endhint %}

<figure><img src="/files/dzfVWU74ZXSCH8TO3RsY" alt=""><figcaption></figcaption></figure>

#### Step 4: Select Pagination Type <a href="#step-4-select-pagination-type" id="step-4-select-pagination-type"></a>

* Select the appropriate pagination type, then locate it on the page and tag it.

<figure><img src="/files/0vVH0GkSNHoCSPMWdreW" alt=""><figcaption></figcaption></figure>

* Preview the sample data to ensure the correct items and fields are being extracted as expected.

<figure><img src="/files/GSA7209TnvoP95yriDQC" alt=""><figcaption></figcaption></figure>

#### Step 5: Save the Workflow <a href="#step-5-save-the-workflow" id="step-5-save-the-workflow"></a>

Give your workflow a name, then hover over the dropdown menu to save it for future use.

<figure><img src="/files/xHYKGSCtRw6bYkW40meL" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
You can also directly save and run the workflow.
{% endhint %}


---

# 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.pline.ai/getting-started/creating-a-workflow/custom-workflows.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.
