# Auto Import

The Auto Import tool allows you to automatically search for products by keyword at scheduled intervals and import any **newly found products** as WordPress posts or WooCommerce products.

**Access:**\
Go to **Content Egg > Import Tools > Auto Import** tab

{% hint style="success" %}
Before starting, ensure your [**Import Presets**](https://ce-docs.keywordrush.com/set-up-products/import-tools/import-presets) are configured correctly and have the **"Avoid Duplicates"** option enabled to prevent re-importing the same products.
{% endhint %}

<figure><img src="https://4254262503-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M3fnB7iKYwDc1Xhr3H3%2Fuploads%2FNzSNNwmWGXPM0dpUtals%2Fimage.png?alt=media&#x26;token=10d191fb-d787-4170-b51f-59b3f5974ec7" alt=""><figcaption></figcaption></figure>

### How It Works

1. **Click "Add New Rule"**\
   Start by creating a new auto-import rule.
2. **Set Rule Details**
   * **Rule Name** – Name your rule for easy identification
   * **Import Preset** – Select how products will be imported
   * **Module** – Choose the product source (e.g., Amazon, Ebay)
3. **Set Run Frequency**\
   Choose how often the rule should run: daily, weekly, etc.
4. **Enable "Sort by Newest First" (optional)**\
   When enabled, the rule will prioritize newly released products.

   > **Note:**
   >
   > * Not all modules support sorting by newest. If unsupported, the default sort order will be applied.
   > * In some cases, enabling this option may lead to less relevant search results.
5. **Add Keywords**\
   Enter one keyword per line.
   * Each rule run will process one keyword at a time
   * Up to 10 products are processed per keyword per run
6. **Avoid Duplicates**\
   Ensure your selected import preset has "Avoid Duplicates" enabled to skip already-imported products.
7. **Start Rule**\
   Once saved, the rule will run based on your configured schedule.

<figure><img src="https://4254262503-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M3fnB7iKYwDc1Xhr3H3%2Fuploads%2FOzNw6zRcVW5PNyOgIRnK%2Fimage.png?alt=media&#x26;token=a3039b35-7da3-45f7-a5e9-888082b3931e" alt=""><figcaption></figcaption></figure>

### Cron and Scheduling

* The plugin uses WordPress's default **WP-Cron** system. **No additional setup is required**.
* If you use real cron, make sure it runs every 5–15 minutes for timely execution.

{% hint style="success" %}
All tasks will be added to the Import Queue first. You can monitor progress under the [**Queue tab**](https://ce-docs.keywordrush.com/set-up-products/import-tools/import-queue).
{% endhint %}

### Smart Rule Controls

Each module has a **limited number of results per keyword**. To avoid running idle jobs or importing outdated results, configure rule limits:

* **Stop after X days** – Auto-pauses the rule after the selected number of days
* **Stop after importing X products** – Stops the rule once the total import count is reached
* **Stop if no new products for X runs** – Pauses the rule after consecutive empty runs
* **Disable keyword after no products for X runs** – Disables a keyword after X runs without results
  * Disabled keywords will be marked in square brackets `[like this]` and skipped in future runs

<figure><img src="https://4254262503-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M3fnB7iKYwDc1Xhr3H3%2Fuploads%2Ff125Jv7kN2Sq2rE3mOl7%2Fimage.png?alt=media&#x26;token=6f7a878c-c261-4e6e-b6a2-56b928747ecf" alt=""><figcaption></figcaption></figure>

{% hint style="danger" %}
If a module returns an error 5 times in a row, the auto import rule will automatically **pause** to prevent further failures.
{% endhint %}

### Tip for Getting More Products

{% hint style="success" %}
When using "Sort by Newest First" with supported modules, you can automatically capture **newly released products** as they become available on the source site.

In some cases, enabling this option may lead to less relevant search results.
{% endhint %}

#### Modules Supporting "Sort by Newest First"

* Amazon API
* Amazon NoAPI
* Bol.com
* Ebay
* Envato
* Tradedoubler
* Walmart
