Library / Tasks & Project Management
Tasks & Project Management
Generate RFx documents from Notion sourcing requests with Groq and Slack
When something happens in a connected app, it manages tasks with Groq and OpenAI / ChatGPT using Groq, Notion.
What it does
## Workflow Overview: Multi-Agent Smart RFx Generation Automates RFx drafting from a Notion sourcing request by validating the request status, retrieving relevant historical projects, selecting the appropriate RFI/RFP/RFQ prompt, generating the document through three AI stages, formatting the output into Notion blocks, and routing the request through an approval decision before updating its final status. ## Setup Steps * Monitor Intake — Trigger the workflow when a new row is added to the Notion Sourcing Pipeline. * Check: Status = Generate RFx — Continue only when the request status is set to Generate RFx, preventing unintended document generation. * Fetch Past Projects Context — Retrieve up to three historical projects matching the request's Category and Sourcing Type, sorted by Success Score in descending order to provide relevant context for the AI. * Prompt Library & Selector — Store specialized RFI, RFP, and RFQ system prompts and dynamically select the correct prompt based on the project's Sourcing Type. * AI Agent 1 (Scope Generator) — Translate the project name, category, sourcing type, and stakeholder requirements into the first structured sections of the RFx document using Groq. * AI Agent 2 (Evaluation Strategist) — Generate the Evaluation Criteria and Pricing Structure using the generated scope together with historical evaluation criteria from similar projects. * AI Agent 3 (Process Coordinator) — Generate the Project Timeline and Submission Guidelines using historical timelines from similar projects. * Combine & Parse Markdown — Combine all AI-generated sections into a single RFx document and convert supported Markdown (#, ##, tables, bullets, and paragraphs) into native Notion blocks. * Update Status: Pending Approval — Automatically change the original Notion request status to Pending Approval. * Inject Content to Notion — Use an HTTP Request node to append the generated and formatted RFx content directly to the body of the original Notion page. * Wait for Manager Decision — Pause workflow execution until a webhook response containing the manager's decision is received. * Check Approval Status — Check whether the webhook payload contains query.action = approve and route the workflow accordingly. * Update Final Status — If approved, update the Notion request to Sent to Suppliers. Otherwise, route it to Needs Revisions.
The steps
- Trigger: New RFx Request
- Fetch Past Projects Context
- Scope Generator
- Groq Model (Scope)
- Evaluation Strategist
- Process Coordinator
- Groq Model (Evaluation)
- Groq Model (Process)
- Combine AI Documents
- Parse Markdown to Blocks
- Update Status: Pending Approval
- Inject Content to Notion
- Wait for Manager Click
- Check Approval Status
19 steps in total.
Similar automations
Documents, PDF & OCRAnalyze invoice exceptions weekly and publish RCA reports with Groq and Notion16 stepsEmail AutomationTriage and route Gmail leads with Groq, Notion CRM, and Twilio calls16 stepsDocuments, PDF & OCRDetect contract compliance violations with Notion, Google Sheets and Groq14 stepsFiles & Cloud StorageGenerate vertical product video ads with OpenAI, Groq, Google Drive and JSON2Video30 steps