Extract portfolio project credits from web pages with OpenAI and Sheets
Needs changesWhat this workflow does
This AI workflow has 20 nodes and runs manually, when you click “Execute workflow”. Along the way it connects Google Sheets and OpenAI Chat Model.
How it runs
Trigger: Manually, when you click “Execute workflow”.
- Read URLs from Sheets (Google Sheets): uses Google Sheets
- Skip Rows Already Done (Filter): keeps only the items that match a condition
- Loop Over Items (Loop Over Items (Split in Batches)): loops over the items in batches
- Setup Page Parameters (Edit Fields (Set)): sets 3 fields: url, company_url, company
- Fetch Page Content (HTTP Request): calls an HTTP API
- Check HTTP Success (If): checks a condition and branches into true / false
- Manage Request Exception (Code): runs custom JavaScript code
- Transform HTML to Text (Code): runs custom JavaScript code
- Handle Fetch Error (Code): runs custom JavaScript code
- Add Fetch Errors to Sheets (Google Sheets): append
…plus 7 more steps. See the full node list below.
Services it uses
Other OpenAI + Google Sheets templates (2,011)
Before you upgrade to n8n 3.0
1 thing in this workflow is removed in n8n 3.0. Fix it before you upgrade:
- AI Agent v1 (old agent modes) in Project Credit Extractor (v1.7): replace with Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.
Rather not rewrite it? Many of these flows can be rebuilt in Make (free plan).
Published 2026 — 6% of 2026 templates need changes for 3.0. See how template age affects 3.0 readiness →
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
| Removed in 3.0 | Replace with |
|---|---|
| AI Agent v1 (old agent modes) Project Credit Extractor (v1.7) | Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent. |
Nodes used (12)
- Manual Trigger
n8n-nodes-base.manualTrigger - Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches - HTTP Request
n8n-nodes-base.httpRequest - If
n8n-nodes-base.if - Code
n8n-nodes-base.code - Wait
n8n-nodes-base.wait - Google Sheets
n8n-nodes-base.googleSheets - AI Agent
@n8n/n8n-nodes-langchain.agent - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - Edit Fields (Set)
n8n-nodes-base.set - Filter
n8n-nodes-base.filter
From the author
Quick Overview This workflow manually scrapes portfolio or case-study pages listed in Google Sheets, converts the HTML into clean text, uses an OpenAI chat model to extract structured project credits (agency, brand, project name), and writes both results and…