Actions26
- Stock Actions
- Index Actions
- ETF Actions
- Forex Actions
- Crypto Actions
- Alternative Actions
Overview
The "Alternative: Social Sentiment" operation in this custom n8n node allows users to retrieve social sentiment data for a specified company symbol from the Finnhub.io API. This is particularly useful for financial analysts, traders, or anyone interested in gauging public sentiment around a stock based on social media and news sources.
Common scenarios:
- Monitoring how the market perceives a particular stock (e.g., GME) over time.
- Integrating real-time sentiment analysis into trading strategies.
- Automating alerts when sentiment changes significantly for a watched symbol.
Practical example:
A user can set up an n8n workflow that triggers daily, fetches the latest social sentiment for "GME", and sends a summary email if negative sentiment spikes.
Properties
Name | Type | Meaning |
---|---|---|
Symbol | String | Company symbol (e.g., "GME"). Specifies which company's social sentiment data to retrieve. |
Output
The node outputs a JSON object containing social sentiment data for the specified company symbol. The structure typically includes fields such as:
- reddit: Sentiment metrics derived from Reddit posts/comments.
- twitter: Sentiment metrics derived from Twitter posts/tweets.
- symbol: The queried company symbol.
- other metadata: May include timestamps, counts of positive/negative mentions, etc.
Note: The exact output fields depend on the Finnhub.io API's response for the social sentiment endpoint.
Dependencies
- Finnhub.io API: Requires a valid API key configured in n8n credentials under the name
finnhub
. - n8n Configuration: Ensure the Finnhub credential is set up with your API key.
Troubleshooting
Common issues:
- Invalid or missing API key: If the Finnhub credential is not set or incorrect, requests will fail with authentication errors.
- Incorrect symbol: Using an invalid or unsupported symbol may result in empty responses or errors.
- API rate limits: Exceeding Finnhub's free tier limits can cause request failures.
Error messages and resolutions:
"401 Unauthorized"
: Check and update your Finnhub API key in n8n credentials."404 Not Found"
: Verify the symbol is correct and supported by Finnhub."429 Too Many Requests"
: Wait before retrying or upgrade your Finnhub plan.