Generate answer engine optimization strategy with Firecrawl, Gemini, OpenAI
Ready for 3.0What this workflow does
This AI workflow has 19 nodes and runs when someone submits an n8n form (“AEO Strategy Generator”). Along the way it connects Google Gemini Chat Model, OpenAI Chat Model and Gmail. It also calls api.firecrawl.dev over HTTP.
How it runs
Trigger: When someone submits an n8n form (“AEO Strategy Generator”).
- Set - Brand Variables (Edit Fields (Set)): sets 5 fields: brand_name, website_url, niche…
- AI Agent: runs an AI agent, with model: Google Gemini Chat Model
- Parse Competitor Data (Code): runs custom JavaScript code
- Split Out: splits a list into separate items
- Scrape Target Brand Website (HTTP Request): calls api.firecrawl.dev (POST)
- Scrape Competitor Websites (HTTP Request): calls api.firecrawl.dev (POST)
- Wait: waits 60 seconds
- Wait: waits 60 seconds
- Extract Brand Job ID (Code): runs custom JavaScript code
- Extract Competitor Job IDs (Code): runs custom JavaScript code
…plus 6 more steps. See the full node list below.
Services it uses
Other OpenAI + Gmail templates (1,623) · Other Google Gemini + Gmail templates (518) · Other OpenAI + Google Gemini templates (249)
HTTP calls to: api.firecrawl.dev
Uses Firecrawl. New users get 10% off with our link.
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Nodes used (11)
- n8n Form Trigger
n8n-nodes-base.formTrigger - Edit Fields (Set)
n8n-nodes-base.set - AI Agent
@n8n/n8n-nodes-langchain.agent - Google Gemini Chat Model
@n8n/n8n-nodes-langchain.lmChatGoogleGemini - Code
n8n-nodes-base.code - Split Out
n8n-nodes-base.splitOut - HTTP Request
n8n-nodes-base.httpRequest - Wait
n8n-nodes-base.wait - Merge
n8n-nodes-base.merge - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Gmail
n8n-nodes-base.gmail
From the author
Generate AEO strategy from brand input using AI competitor analysis This workflow automatically creates a comprehensive Answer Engine Optimization (AEO) strategy by identifying your top competitors, analyzing their positioning, and generating custom…