πŸ“Š Generate AI market research reports with Perplexity, Claude, Google Trends, and Autype

⚑ 0 views Β· πŸ“Š Market Research & Insights

πŸ’‘ Pro Tip β€” For competitive intelligence, ScraperNode can automate the data collection β€” Yelp reviews, Glassdoor company data, and Crunchbase profiles all return structured JSON you can feed straight into this workflow.

View All Scrapers

Description

screenshotworkflow.png

Important: This workflow uses the Autype and SerpAPI Official community nodes and requires a self-hosted n8n instance.

Submit a simple form with your product name, industry, and description. The workflow automatically researches your market via Google Trends and Google Search (SerpAPI), conducts deep analysis with Perplexity AI (via OpenRouter), writes a structured report with Anthropic Claude (via OpenRouter), and renders a professionally styled PDF using Autype Extended Markdown. No manual competitor input required β€” everything is discovered automatically.

Who is this for?

Product managers, startup founders, strategists, and consultants who need quick market research reports for investor decks, board meetings, competitive positioning, or strategic planning. Instead of spending hours compiling data from multiple sources, this workflow automates the entire research-to-PDF pipeline from a single form submission.

Concrete example: A SaaS startup preparing for a Series A fundraise needs a market research report on the document automation space. They fill in their product name and industry, describe their product, and submit the form. In under two minutes they get a polished PDF with current market trends, auto-discovered competitor comparisons, SWOT analysis, and strategic recommendations β€” ready to attach to their pitch deck.

What this workflow does

When a user submits the form, the workflow sends parallel requests to Google Trends (12-month interest data) and Google Search (competitor discovery) via SerpAPI, and downloads Autype’s extended markdown syntax reference. All data is merged and passed to an AI Research Agent powered by Perplexity Sonar Pro (via OpenRouter) for deep market and competitor analysis with real-time web citations. The research output is then handed to an AI Report Writer (Anthropic Claude via OpenRouter) that writes a structured market research report in Autype Extended Markdown. The markdown is rendered to a styled PDF via Autype’s Render from Markdown operation, and the final report is saved to Google Drive.

How it works

  1. Market Research Form β€” An n8n Form Trigger collects product name, industry, product description, and report language.
  2. Google Trends β€” SerpAPI Official node fetches 12 months of search interest data for the industry.
  3. Search Competitors β€” SerpAPI Google Search automatically discovers competitors and market leaders.
  4. Download Markdown Syntax β€” Fetches Autype’s extended markdown syntax reference so the report writer knows all formatting options.
  5. Prepare Research Context β€” A Code node merges trends data, competitor search results, and syntax reference into a single context.
  6. AI Research Agent β€” An AI Agent with OpenRouter (Perplexity Sonar Pro) conducts deep market research: market overview, competitor profiles, trends, and product positioning.
  7. Prepare Report Input β€” A Code node combines the research output with the markdown syntax reference and form data.
  8. AI Report Writer β€” An AI Agent (Anthropic Claude via OpenRouter) writes the final report in Autype Extended Markdown. The prompt includes a title page template.
  9. Prepare Render Payload β€” A Code node cleans the AI output and sets title/filename.
  10. Render Report PDF β€” Autype renders the extended markdown to a professionally styled PDF with Open Sans font, heading hierarchy (28/22/18pt), automatic page breaks before h1/h2, chart color palette, header with company name and logo, footer with page numbers, and generous spacing.
  11. Save Report to Drive β€” The PDF is uploaded to Google Drive.

Setup

  1. Install community nodes via Settings > Community Nodes: n8n-nodes-autype and n8n-nodes-serpapi.
  2. Create an Autype API credential with your API key from app.autype.com. See API Keys in Settings.
  3. Create a SerpAPI credential with your API key from serpapi.com (free tier: 250 searches/month).
  4. Create two OpenRouter API credentials with your key(s) from openrouter.ai. One is used for Perplexity Sonar Pro (research), the other for Anthropic Claude (report writing). You can use the same API key for both.
  5. Create a Google Drive OAuth2 credential and connect your Google account.
  6. Import this workflow and assign your credentials to each node.
  7. Set YOUR_FOLDER_ID in the β€œSave Report to Drive” node to your target Google Drive folder.
  8. Activate the workflow and open the form URL to generate a report.

Note: You need a self-hosted n8n instance to use the Community Nodes.

Requirements

How to customize

πŸ”— Nodes Used

HTTP Request, Google Drive, AI Agent, n8n Form Trigger, OpenRouter Chat Model

πŸ“₯ Import

Download workflow.json and import into n8n: Workflow menu β†’ Import from File

πŸ“– Importing guide Β· πŸ”‘ Credential setup