Library / Chatbots & Messaging Bots
Chatbots & Messaging Bots
Coach procurement negotiations in Slack with Groq, Alpha Vantage, and Sheets
When an API call/webhook arrives, it answers chat messages with a bot with Groq and OpenAI / ChatGPT using Groq, Google Sheets, Slack.
What it does
## Workflow Overview: Slack Negotiation Co-Pilot & Intelligence Assistant This workflow acts as a real-time AI Negotiation Co-Pilot for procurement teams. It bridges Slack and external data sources by instantly analyzing historical supplier deals and live market commodity prices to generate dynamic intelligence reports. During live supplier calls, it captures conversational pushback via interactive modals and delivers immediate, data-driven counter-tactics while automatically logging session metrics for future tracking. ## How it works This workflow acts as an automated tactical assistant for your procurement department. When you run a slash command in Slack, it aggregates historical supplier records and live global market prices to evaluate bargaining leverage. It posts a comprehensive intelligence report directly into your channel with predefined pushback scenarios and an interactive "Generate Live Counteroffer" button. When clicked, a modal prompts you for the supplier's live feedback; the AI instantly evaluates it against your strategic baseline and posts a punchy counter-tactic while logging the entire interaction into Google Sheets. ## Setup Steps * Webhook Response — Trigger the workflow via a Slack slash command or button interaction. * Route Slack Payload — Centralized switch node to manage slash commands, button actions, and modal submissions. * Fetch Market & History — Pull live commodity pricing from Alpha Vantage and historical contracts from Google Sheets. * AI Profile & Scenarios — Leverage LLMs (Groq) to analyze pricing flexibility and generate multi-scenario counter-strategies. * Render Intelligence Report — Post a structured Block Kit card with interactive buttons to Slack. * Launch Interactive Modal — Open a secure pop-up window in Slack to capture live, mid-call supplier feedback. * Generate Live Counter-Tactic — Stream user input through AI to produce a fast, tactical response. * Log Negotiation Insights — Persist session variables, strategies, and outcomes back to Google Sheets for auditing.
The steps
- Slack Event Listener
- Route Slack Payload
- Fetch Aluminum Price
- Extract Price Data
- Fetch Supplier History
- Format History Data
- Combine Context Sources
- Analyze Supplier Profile
- Groq Model (Profile)
- Parse Profile Output
- Set Profile Variables
- Generate Scenarios
- Groq Model (Scenarios)
- Parse Scenario Output
23 steps in total.
Similar automations
Monitoring, Ops & IncidentsHourly Bitcoin and Ethereum Rates to Sheets and Telegram7 stepsData Sync & ETLServe Tesla Technical Indicators via Alpha Vantage Webhooks45 stepsAI Agents & AssistantsAnswer procurement questions by role using Groq and Google Sheets32 stepsMonitoring, Ops & IncidentsScore supply chain procurement risk with Groq, Notion, Slack and Gmail28 steps