Quick overview
This workflow collects GeM tender details via an n8n Form, validates the submission deadline, checks Google Sheets for duplicates, and uses OpenAI (gpt-4o-mini) to score technical compliance and draft a GeM technical bid response, then delivers it via Telegram, Slack, and Gmail and logs it to Google Sheets.
How it works
- Receives a GeM tender response request from an n8n Form submission.
- Parses the bid submission deadline to stop and alert via Telegram if it appears expired, or sends an urgent Telegram warning when the deadline is close.
- Reads existing entries from Google Sheets and skips processing with a Telegram notice if the tender ID is already logged.
- Builds a structured tender context and sends it to OpenAI (gpt-4o-mini) to generate a per-requirement compliance JSON and overall compliance percentage.
- Flags low compliance (or unparseable AI output) and sends a Telegram “review needed” alert while continuing to draft the response.
- Sends the tender context and the pre-computed compliance results to OpenAI (gpt-4o-mini) to draft a structured GeM technical bid response as plain text.
- Logs the drafted response and metadata to Google Sheets, then sends the final package to Telegram, Slack, and Gmail.
Setup
- Add OpenAI credentials and ensure the model selection is available for both the compliance analysis and response drafting steps.
- Connect Google Sheets OAuth2 credentials and replace YOUR_GEM_RESPONSES_SHEET_ID and YOUR_TENDERS_LOG_SHEET_ID with your spreadsheet IDs for the “GeM Tender Responses” and “Tenders Log” documents.
- Connect a Telegram Bot API credential and replace YOUR_TELEGRAM_CHAT_ID anywhere Telegram messages are sent.
- Connect Slack OAuth2 credentials and set the target Slack channel ID for both the final response message and the workflow error alert.
- Connect Gmail OAuth2 credentials and update the recipient address (for example, [email protected]) in the email step.
- Activate the form trigger and share the generated form URL with your procurement/bid team.