Skip to content
NEWMeet Alaaddin, your AI genie with a voice. trig8n launches 1 January 2027. See what is new

Library / Email Automation

Email Automation

Book website sales calls with Gemini, Groq, Calendly, Gmail and Sheets

When an API call/webhook arrives, it handles email with Google Gemini and Groq using Gmail, Google Sheets, Calendly, Groq.

What it does

## Book sales calls from website chat with Gemini, Groq fallback and Calendly ### How it works This workflow powers a website chat that qualifies visitors, uses Gemini to generate replies, and falls back to Groq if Gemini fails. It parses hidden AI metadata to decide whether to continue chatting, offer Calendly slots, book a selected meeting, or save lead details. It responds to the visitor immediately while also logging conversations and notifying the team through Google Sheets, Gmail, and Lark. ### Setup steps - Configure the Chat Webhook URL in the website chat widget and ensure the widget sends back the state flags returned from prior turns. - Fill the Workflow Configuration node with company, assistant, host, meeting length, Calendly event type details, and Lark webhook URLs. - Add valid API credentials or headers for Google Gemini, Groq, and Calendly in the HTTP Request nodes. - Connect Google Sheets credentials and select the target spreadsheets/tabs for booked meetings, failed bookings, and captured website leads. - Connect Gmail credentials and verify the owner/lead notification recipients. - Test all branches: normal chat, Gemini failure with Groq fallback, slot offering, successful booking, booking failure, and lead-detail capture. ### Customization Adjust the AI prompt and parsing rules to change qualification questions, lead scoring, booking readiness criteria, and the hidden metadata fields expected from the chat widget.

The steps

  1. When Chat Message Received
  2. Generate AI Prompt
  3. Parse Reply and Identify Lead
  4. Check Qualification Status
  5. Check Booking Readiness
  6. Format Chatbot Reply
  7. Send Chat Response
  8. Retrieve Calendly Time Slots
  9. Process Calendly Slots
  10. Log Failed Booking in Sheets
  11. Format Slots for Response
  12. Send Available Slots Response
  13. Schedule Calendly Meeting
  14. Verify Booking Success

34 steps in total.

Similar automations