Documentation Index
Fetch the complete documentation index at: https://grouple.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Overview
Grouple has 6 Edge Functions deployed on Supabase. They handle email delivery, AI proposal generation, OCR processing, and currency updates. Most are triggered by database triggers or called directly from the frontend/API.Functions
send-lead-email
Last updated: 6 days agoTriggered by:
send_enquiry_notification DB trigger (AFTER INSERT on enquiries)
Sends lead notification emails to matched venues when a new enquiry is submitted. Called via HTTP from the database trigger with the enquiry payload.
Flow:
send-proposal-email
Last updated: 1 day agoTriggered by:
proposal-updated-email DB trigger (AFTER UPDATE on proposals)
Sends an email to the customer when a merchant updates or sends a proposal.
Flow:
reservation-confirmation-emails
Last updated: 1 day agoTriggered by:
proposal-confirmation-email DB trigger (AFTER UPDATE on proposals when status = βconfirmedβ)
Sends confirmation emails to both the customer and merchant when a booking is confirmed.
Flow:
generate-proposal
Last updated: 3 months agoTriggered by: Frontend (merchant clicks βGenerate with AIβ) Generates AI-powered proposal content for merchants. Calls Amazon Bedrock Claude 4.6 with venue knowledge (extracted menu data, venue details) and enquiry requirements to produce a tailored proposal. Flow:
mistral-ocr
Last updated: 1 month agoTriggered by: Frontend / PDF Extract Worker Processes PDF menus and brochures uploaded by merchants. Extracts structured data from PDFs to populate
venue_knowledge.extracted_data.
Flow:
update-exchange-rates
Last updated: 1 month agoTriggered by: Scheduled (cron) or manual Fetches latest currency exchange rates and updates the
exchange_rates table. Supports multi-currency pricing across USD, AED, GBP, INR, EUR.
Flow: