â„šī¸ OpenAI API Key Required
The AI URL Importer uses the OpenAI API (GPT models) to extract and structure content from web pages. You must add your OpenAI API key in Plugin Options before using this feature.

How It Works

The plugin fetches the HTML content of the URL you provide, extracts the meaningful text and metadata, and then sends it to the OpenAI API. GPT analyses the page and maps the content to the WordPress fields you specify — creating a ready-to-publish post in seconds.


Import Workflow

Step 1 — Open AI URL Importer

Navigate to WP Import Export by RockStarLab → AI URL Importer.

AI URL Importer page
The AI URL Importer screen

Step 2 — Enter the URL

Paste the full URL of the page you want to import into the URL field. The page must be publicly accessible (no login required).

To import multiple pages at once, upload a .txt file where each line contains one URL. The plugin will process each URL sequentially and create a separate WordPress post for every entry in the file.

Tip: Prepare your URL list in any text editor — one URL per line, no separators needed. Save as .txt and upload directly on this screen.
Enter the URL or list of URLs
Enter the URL or list of URLs

Step 3 — Configure Import Options

AI Importer options
Configuring the AI URL Importer options
OptionDescription
Post Type The WordPress post type to create (Post, Page, or any registered CPT).
Content Field Where to save the extracted content. Choose Post Content to populate the standard WordPress editor, or select an ACF field to store the content in a custom field.
Request Timeout Delay in seconds between consecutive requests when importing multiple URLs. Increase this value to avoid hitting rate limits on the target site or the OpenAI API. Set to 0 for no delay.

Step 4 — Preview & Import

Click Next Step. The plugin fetches the page and sends it to the OpenAI API. When complete, a preview of the extracted fields is displayed. Review the title, content, and other fields, then click Start Import to save the post to WordPress.

AI extracted content preview
Reviewing the AI-extracted content before creating the post

Setting Up Your OpenAI API Key

  1. 1
    Create an OpenAI account Go to platform.openai.com and sign up or log in.
  2. 2
    Generate an API key In the OpenAI dashboard, navigate to API Keys and click Create new secret key. Copy the key — it starts with sk-.
  3. 3
    Add it to the plugin Go to WP Import Export by RockStarLab → Options, paste your key into the OpenAI API Key field, and click Save Settings.
âš ī¸ API Usage Costs
The OpenAI API is a paid service. Each URL import consumes API credits based on the length of the page content and the model used. Monitor your usage in the OpenAI dashboard to avoid unexpected charges.
📚

Check our blog for more tutorials

Explore practical guides, workflow ideas, and step-by-step tutorials for importing, exporting, syncing, and managing WordPress content.

Visit the Blog →