This workflow combines the power of Apify and OpenRouter to scrape website content and execute any custom prompt using AI. You define what you want β whether itβs extracting contact details, summarizing content, collecting job offers, or anything else β and the system intelligently processes the site to give you results.
This workflow allows you to:
{
  "enqueue": true,
  "maxPages": 5,
  "url": "https://apify.com",
  "method": "GET",
  "prompt": "collect all contact informations available on this website"
}
| Step | Action | 
|---|---|
| 1 | Triggered by another workflow with JSON input. | 
| 2 | Calls the Apify actor firescraper-ai-website-content-markdown-scraperto scrape content. | 
| 3 | Loops through the scraped pages. | 
| 4 | AI analyzes each page based on the input prompt. | 
| 5 | Aggregates AI outputs across all pages. | 
| 6 | Final AI processing step to return a clean structured result. | 
Customize the workflow via the following input fields:
url: Starting point for scrapingmaxPages: Limit the number of pages to crawlprompt: Define any instruction (e.g., βsummarize this website,β βextract product data,β βlist all emails,β etc.)This allows dynamic, flexible use across various use cases.
The workflow returns a JSON result that includes:
You will need:
Set these credentials in your environment or n8n credential manager before running.


