# Analyze stock sentiment with OpenAI and Slack: n8n workflow

> Started by another system calling it, and works across Asana and Slack. It hands the judgement calls to Azure OpenAI and OpenAI.

Source: https://millionrounds.com/workflow/analyze-stock-sentiment-with-openai-and-slack (Millionrounds; every figure on the page links to its filing or article)

[Automation library](https://millionrounds.com/workflows) · [Alerts and monitoring](https://millionrounds.com/workflows?category=Alerts+and+monitoring#library)

# Analyze stock sentiment with OpenAI and Slack

Started by another system calling it, and works across Asana and Slack. It hands the judgement calls to Azure OpenAI and OpenAI. 12 steps: a working afternoon to understand properly.

Medium Calls a model: Azure OpenAI, OpenAI

[Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fanalyze-stock-sentiment-with-openai-and-slack)

**12 steps** Medium: a working afternoon

**0** Branches: places the flow splits

**0** Loops or waits

**2** Services it connects to

## The flow

Starts it 2 Model 5 Logic 2 Service 3

The steps in the order they run, from what starts it.

- 1 **Error Handler Trigger** Error trigger *Starts it*
- 2 **Receive Stock Market Query Request (Webhook Trigger)** Webhook *Starts it*
- 3 **Social Intelligence Data Fetch Tool (MCP Client)** Mcp Client Tool *Model*
- 4 **OpenAI Reasoning Engine for Market Intent Analysis** Lm Chat Open Ai *Model*
- 5 **Azure OpenAI Reasoning Engine for Ops Structuring** Lm Chat Azure Open Ai *Model*
- 6 **Slack: Send Error Alert** Slack *Service*
- 7 **Extract Stock Market Query from Request Payload** Set *Logic*
- 8 **Analyze Social Media for Stock Market Intent Signals (AI)** Agent *Model*
- 9 **Transform Market Intent Signals into Ops-Ready Actions (AI)** Agent *Model*
- 10 **Parse Structured Ops Payload from AI Output** Code *Logic*
- 11 **Create Asana Task for Market Signal Review** Asana *Service*
- 12 **Send Market Risk & Sentiment Alert to Slack** Slack *Service*

## How it's built

- **Starts on:** Another system calling it
- **Steps:** 12
- **Size:** Medium: a working afternoon
- **Connects to:** Asana, Slack
- **Model:** Azure OpenAI, OpenAI

## Questions

What does it need to run?

An n8n account, plus your own Asana and Slack accounts, and a key for Azure OpenAI and OpenAI. You connect your own accounts after importing it; none are included.

What starts it?

It starts on another system calling it.

Does it use AI?

Yes. It calls Azure OpenAI and OpenAI. Model calls are billed by the provider, not by n8n.

How long does it take to set up?

Plan an afternoon. 12 steps is enough that you should read each one before running it.

How do I import it?

Copy the workflow, open a new workflow in n8n and paste. The steps appear on the canvas, ready for your own accounts.

**Before you run it**

Nothing here has been tested by us. It is somebody's working automation, read and described from its own steps. Treat the connections it wants as a list of accounts it will touch, and read the 12 steps before you point it at anything that matters.

## Run it in n8n

- **Create your n8n account** Free to start. n8n is where the workflow runs. [Create an n8n account ↗](https://millionrounds.com/n8n)
- **Download the workflow** Free with a Millionrounds account. [Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fanalyze-stock-sentiment-with-openai-and-slack)
- **Paste it into n8n** Open a new workflow in n8n and paste. Then connect your own accounts.

Stored with the author's traces removed: canvas notes, instance identifiers, saved credential names and any live document they had left behind.

## Connects to

Each opens the other workflows that use it.

[Asana](https://millionrounds.com/workflows?service=Asana#library)[Slack](https://millionrounds.com/workflows?service=Slack#library)

## Workflows like it

Also alerts and monitoring, with the same services where possible, closest in size first.

- [**Automate Pokemon card stock monitoring with Apify and Slack** 12 steps · calls a model · Apify, Slack](https://millionrounds.com/workflow/automate-pokemon-card-stock-monitoring-with-apify-and-slack)
- [**Extract key earnings insights from Google News RSS** 12 steps · calls a model · Slack, n8n data table](https://millionrounds.com/workflow/extract-key-earnings-insights-from-google-news-rss)
- [**Gap-time cafe finder with OpenRouter AI and Google Calendar** 12 steps · calls a model · Google Calendar, Google Sheets](https://millionrounds.com/workflow/gap-time-cafe-finder-with-openrouter-ai-and-google-calendar)
- [**Monitor & respond to Google Maps reviews with Apify and Slack** 12 steps · calls a model · Apify, Google Sheets](https://millionrounds.com/workflow/monitor-and-respond-to-google-maps-reviews-with-apify-and-sl)
- [**Monitor competitor price shifts with Apify and Postgres** 12 steps · calls a model · Apify, Postgres](https://millionrounds.com/workflow/monitor-competitor-price-shifts-with-apify-and-postgres)
- [**Monitor competitor pricing page changes with OpenAI** 12 steps · calls a model · Google Sheets, Slack](https://millionrounds.com/workflow/monitor-competitor-pricing-page-changes-with-openai)
