This workflow automatically generates weekly client-ready investment FAQs by combining market news (NewsAPI) and portfolio data (Google Sheets) using OpenAI GPT-4.1. The final FAQs are structured and saved back into Google Sheets.
- Import the workflow into n8n
- Add your NewsAPI API key in the HTTP Request node
- Connect your Google Sheets account
- Ensure your sheet has required columns:
Client NameAssetInvestment AmountCurrent ValueLast Week ValueRisk LevelSector - Add your OpenAI API key
- Create a destination sheet with columns:
Q1–A5 - Activate the workflow
That’s it! Your FAQs will be generated every Monday at 8 AM.
This workflow automates the process of generating weekly investment FAQs for clients by combining real-time market insights with portfolio performance data. It ensures that financial advisors or teams can deliver consistent, relevant and easy-to-understand updates without manual effort.
It pulls the latest tech-focused market news using NewsAPI and combines it with structured portfolio data stored in Google Sheets. The workflow then analyzes portfolio trends such as high-risk assets and declining investments to enrich the context.
Using OpenAI, the workflow generates 5 practical and client-friendly FAQs, each with a short, one-line answer. These FAQs are then structured and saved into a Google Sheet, making them easy to reuse, share or distribute.
- Financial advisors and wealth managers
- Investment firms and portfolio managers
- Fintech startups
- Client relationship teams
- Anyone managing client portfolios and communications
To use this workflow, you will need:
- n8n account (self-hosted or cloud)
- NewsAPI account (https://newsapi.org/)
- OpenAI API key
- Google Sheets account
Must include these exact column headers:
Client NameAssetInvestment AmountCurrent ValueLast Week ValueRisk LevelSector
Create a sheet with the following columns:
Q1A1Q2A2Q3A3Q4A4Q5A5
- Node: Weekly Portfolio & News Trigger
- Runs every Monday at 8:00 AM
- You can modify timing as needed
- Node: Fetch Market News (HTTP Request)
- Endpoint:
https://newsapi.org/v2/top-headlines
- Query Parameters:
sources=techcrunchapiKey=YOUR_API_KEY
Action Required: Add your NewsAPI key manually
- Node: IF Node
- Checks whether news articles exist
- If yes → formats top 5 articles
- If no → uses fallback message
-
Node: Format Top News
-
Extracts top 5 headlines and descriptions
-
Node: Fallback News Message
Used when no news is available:
No major market news this week. Focus on portfolio performance
- Node: Fetch Portfolio Data (Google Sheets)
- Connect your Google account
- Select your portfolio sheet
- Node: Set Node
Combines all rows into readable format:
| Client Name | Asset | Investment Amount | Current Value | Last Week Value | Risk Level | Sector |
|---|
- Node: Code Node
- Calculates:
- Number of high-risk assets
- Number of assets losing value
- Node: Merge Node
- Combines:
- News data
- Portfolio summary & analysis
- Node: OpenAI
- Model:
gpt-4.1-nano
Action Required: Add your OpenAI API credentials.
The AI generates:
- Exactly 5 FAQs
- Focus on trends, risks and opportunities
- Simple one-line answers
- Node: Set Node
- Uses regex to extract:
- Q1–Q5
- A1–A5
- Node: Google Sheets (Append)
- Writes structured FAQs into the output sheet.
Ensure your sheet has columns:
Q1–A5
- Modify
sources=techcrunchto another provider.
- Edit the prompt in the OpenAI node.
- Example:
- Longer answers
- Different tone
- Update the trigger node (daily, weekly, etc.).
- Update the Code node logic for deeper insights.
- Send FAQs via Email (Gmail/SMTP node)
- Push data to dashboards (Notion, Airtable)
- Send alerts via Slack or Microsoft Teams
- WhatsApp or SMS notifications
- Add historical comparison (week-over-week trends)
- Weekly investor update emails
- Portfolio performance summaries for clients
- Internal advisory team insights
- Automated client reporting systems
- Fintech app content generation
There can be many more use cases depending on how you extend the workflow.
| Issue | Possible Cause | Solution |
|---|---|---|
| No news data fetched | Missing or invalid NewsAPI key | Add a valid API key in the HTTP node |
| Empty FAQs | OpenAI credentials missing | Configure your OpenAI API key |
| FAQs not structured properly | AI output format changed | Ensure the prompt format is unchanged |
| Google Sheets not updating | Incorrect sheet or permissions | Reconnect credentials and verify the sheet |
| Portfolio data not showing | Incorrect column names | Ensure the exact headers are used |
| Workflow not triggering | Schedule inactive | Activate the workflow |
If you need help setting up, customizing or extending this workflow, our n8n workflow automation experts at WeblineIndia can help you build reliable, scalable AI-powered solutions.
We can help you with:
- n8n workflow setup and deployment
- AI-powered workflow customization
- OpenAI and Google Sheets integrations
- Finance and investment automation workflows
- Custom reporting and dashboard integrations
- Business process automation
- Production-ready workflow optimization
Learn more about our n8n automation services:
https://www.weblineindia.com/n8n-automation/
Or contact WeblineIndia to discuss your automation requirements: