Skip to content
NEWMarketplace and your team: sell what you build, and get plans and changes that are tested before you see them. See what is new

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

  1. Slack Event Listener
  2. Route Slack Payload
  3. Fetch Aluminum Price
  4. Extract Price Data
  5. Fetch Supplier History
  6. Format History Data
  7. Combine Context Sources
  8. Analyze Supplier Profile
  9. Groq Model (Profile)
  10. Parse Profile Output
  11. Set Profile Variables
  12. Generate Scenarios
  13. Groq Model (Scenarios)
  14. Parse Scenario Output

23 steps in total.

Similar automations