See llms.txt for all machine-readable content.
This workflow runs every 30 minutes to scan an NSE options watchlist from Google Sheets, fetch option chain data via HTTP, compare it with historical snapshots in Supabase, generate an OpenAI interpretation for anomalies, log results to Google Sheets, and send a Gmail digest alert.
Automatically monitor configured NSE symbols and identify contracts showing unusual volume, open interest, or statistical activity.
Identify contracts where current volume is significantly higher than the configured historical baseline.
Identify option contracts where current open interest exceeds the configured anomaly threshold.
Use the calculated z score to identify option contracts whose activity differs significantly from the calculated historical pattern.
Store detected anomalies in Supabase, maintain a Google Sheets log, generate AI explanations, and receive a consolidated Gmail report.
There can be many more use cases based on the available market data and the additional calculations or notification channels added to the workflow.
| Issue | Possible Cause | Solution |
|---|---|---|
| No symbols are processed | Watchlist entries are disabled | Check the enabled column and set the required symbols to true |
| Watchlist data is not loading | Google Sheets credentials or sheet configuration is incorrect | Verify the Google Sheets credential, document, worksheet, and column names |
| HTTP Request returns no contracts | The configured endpoint is unavailable or its response structure changed | Test the endpoint and verify that it returns the expected data collection |
| Contract fields are empty | The HTTP response does not match the expected structure | Compare the response fields with the fields required by Normalize Option Contracts |
| Historical data is missing | Supabase table has insufficient records | Verify that option_snapshots contains historical records for the scanned symbol |
| No anomalies are detected | Current values do not meet the configured thresholds | Review the volume ratio, OI ratio, and z score calculations |
| Too many anomalies are detected | Thresholds are too low | Increase the anomaly thresholds in Calculate Option Anomaly |
| OpenAI interpretation is missing | OpenAI credentials or response mapping may be incorrect | Verify the OpenAI credential, model configuration, and output field |
| Supabase anomaly record is not created | Supabase table or field mapping is incorrect | Verify the option_anomalies table and mapped fields |
| Google Sheets log is empty | Spreadsheet mapping is incorrect | Verify the anomaly log worksheet and column names |
| Multiple emails are received | The email node is receiving multiple items | Ensure Build Email Alert Digest combines the incoming items into one output item |
| Gmail email contains no anomalies | Email preparation fields are empty | Check the output of Build Email Alert Digest before executing Gmail |
| AI interpretation is not saved | The OpenAI response field does not match the configured mapping | Check the OpenAI node output and update the ai_interpretation mapping |
| Workflow does not run automatically | Workflow is inactive or schedule configuration is incorrect | Activate the workflow and verify the schedule configuration |
Setting up an options monitoring workflow requires careful configuration of market data, historical calculations, database storage, AI processing and notification logic.
If you need help configuring this workflow, modifying anomaly detection rules, connecting a different market data source, improving the OpenAI analysis, creating dashboards, adding notification channels or building a similar n8n automation for your business process, the WeblineIndia team can help with setup, customization, integration and ongoing workflow improvements.