See llms.txt for all machine-readable content.
This workflow runs monthly to read portfolio holdings from Google Sheets, fetch 90 days of historical prices via an HTTP endpoint, calculate pairwise correlations and a diversification score, store results back to Google Sheets, generate a QuickChart visualization, and post a diversification report to Slack.
The following are optional extensions and are not included in the current workflow:
Monthly Portfolio Review: Automatically analyze asset correlations and diversification as part of a recurring portfolio review.
Diversification Monitoring: Track the relationship between portfolio holdings and identify highly correlated assets.
Investment Research: Review the strongest and weakest relationships between assets using historical price data.
Team Risk Reporting: Send a concise diversification summary to a Slack channel after each scheduled analysis.
Historical Correlation Tracking: Maintain portfolio-level and pairwise correlation records in Google Sheets for future analysis.
Additional use cases can be supported through workflow customization.
| Issue | Possible Cause | Solution |
|---|---|---|
| Workflow does not start | The workflow is inactive or the schedule has not executed | Run the workflow manually for testing and verify the schedule configuration |
| Holdings are rejected | Ticker, quantity, or asset type is missing or invalid | Check the Portfolio Holdings sheet and provide valid values |
| Fewer than two assets are available | Not enough valid portfolio holdings or market-data results | Ensure at least two holdings contain valid historical price data |
| Market data request fails | The webhook-test endpoint is unavailable or the production API is incorrectly configured | Configure the appropriate production endpoint and verify its request and response format |
| Correlation calculation fails | Insufficient overlapping historical observations | Ensure the assets have enough overlapping daily price data |
| Google Sheets records are missing | Google Sheets credential or sheet configuration is incorrect | Verify the credential, spreadsheet, and target sheet configuration |
| Slack notification is not received | Slack credential or channel configuration is incorrect | Verify the Slack credential and selected destination channel |
| Correlation chart is not generated | QuickChart URL or chart configuration is invalid | Review Build Correlation Chart Configuration and verify the generated chart request |
WeblineIndia can help with n8n workflow setup, Google Sheets and Slack integration, production market-data API configuration, customization, troubleshooting, and optional add-ons. If you need a similar n8n automation for portfolio monitoring, financial analysis, reporting or another business process, contact WeblineIndia for implementation and customization support.