Workflow
AI Market Sentiment Analyzer
Automatically track daily market sentiment for crypto and stock assets using web and social data, delivering AI-powered reports to Telegram and Email.
Tags
Market SentimentStock AnalysisCrypto TrackerAutomated Reporting
This workflow automatically analyzes market sentiment for crypto and stock assets every day by searching the web and social media, then uses an AI model to generate structured sentiment scores. It delivers a beautifully formatted report to both Telegram and Email.
Workflow Features
- Triggers on a daily schedule
- Reads a configurable list of assets
- Builds parallel search jobs for each asset
- Searches the web for the latest news, price updates, and articles per asset
- Searches social media (Reddit, forums, community discussions) per asset
- Normalizes and merges web and social results into a single object per asset
- Runs an AI agent to produce structured sentiment scores for each asset
- Generates a final report and sends it to Telegram as a formatted HTML message
- Generates a styled HTML email and sends it via Gmail
Prerequisites
- A Needle account with workflow credits
- A Telegram Bot API connector (create a bot via @BotFather on Telegram, then connect it in Needle)
- A Gmail connector (authenticate your Google account in Needle)
- Your Telegram Chat ID (get it by messaging @userinfobot on Telegram)
Configuration Variables
| Variable Name | Description |
|---|---|
TELEGRAM_CHAT_ID | Your numeric Telegram chat ID for receiving reports |
RECIPIENT_EMAIL | The email address where you want to receive the HTML report |
How It Works
| Node | Description |
|---|---|
| Scheduled Trigger | Fires the workflow every day at 9:00 AM Eastern Time (America/New_York). |
| Config Node | Defines which assets to track (Bitcoin, Ethereum, Solana, and Tesla by default). |
| Build Jobs | Transforms the config into an array of search job objects to process assets in parallel. |
| Web Search | Runs in parallel for each asset, searching the internet for the latest news and price updates. No API key required. |
| Social Search | Runs in parallel, searching for Reddit threads, forum discussions, and community sentiment. |
| Normalize Data | Trims the raw search results to the top 5 items each, extracting titles, snippets, and links. |
| Merge | Combines the job metadata, normalized web results, and normalized social results. |
| AI Agent | Analyzes each merged object in parallel. It uses structured output mode to return 10 precise fields including sentiment score, key drivers, and recommendation. |
| Report Generator | Aggregates all per asset AI results, calculates overall market sentiment, and identifies top picks and risks. |
| Formatters | Converts the report into Telegram compatible HTML and styled email HTML. |
| Telegram Send | Delivers the HTML message to your configured chat ID. |
| Gmail Send | Delivers the HTML email to your configured recipient address. |
Expected Output
You receive two outputs every day:
- A Telegram message with the full sentiment report including overall market sentiment, per asset breakdown with scores, confidence levels, key drivers, risk levels, and recommendations.
- A styled HTML email with the same information presented in color coded cards for easy scanning.
Important Notes
- All search nodes use continue on error functionality, so if one asset search fails the workflow continues analyzing the rest.
- The AI Agent will return Neutral scores with low confidence if data sources are empty.
- You can easily add more assets (any crypto or stock) by editing the Config node.
- The workflow uses Needle Search Internet v2 for both web and social signals, meaning no external API keys are required.
- To change the schedule, edit the cron expression in the Scheduled Trigger node.
- All sensitive configuration parameters use workflow variables, making this template safe and portable.
Want to showcase your own workflows?
Become a Needle workflow partner and turn your expertise into recurring revenue.
