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 / Email Automation

Email Automation

Generate pool service visit reports with Google Sheets, Gemini, Gmail, Slack, and Telegram

When a form is submitted, it handles email with Google Gemini using Gmail, Google Sheets, Slack, Telegram.

What it does

## Pool Service Visit Generator ### How it works 1. Receives technician visit details via a form trigger and verifies customer records against Google Sheets.\n2. Formulates historical context and utilizes Gemini AI to structure service visit notes and identify follow-up actions.\n3. Logs visit logs and updates customer data, generating work orders and Slack alerts if follow-ups or urgent matters arise.\n4. Manages an approval cycle for report delivery, emailing the finalized service report to the customer upon confirmation.\n5. Runs a scheduled daily routine to compile open work orders into a Telegram digest and triggers Telegram alerts on errors. ### Setup steps - - [ ] Configure Google Sheets credentials and link the spreadsheets for customers, visit history, and work orders. - - [ ] Connect Google Gemini API credentials in the Notes Structuring Agent node. - - [ ] Set up Gmail credentials for sending customer reports and manager approval requests. - - [ ] Configure Slack and Telegram integrations for operational alerts and daily digests. ### Customization Adjust the chemical and inspection thresholds in the Prep Context node, and customize email templates or Slack notification channels to match internal team structure. @youtube

The steps

  1. When Technician Submits Form
  2. Fetch Customer Details
  3. If Customer Found
  4. Send Unknown Customer Alert
  5. Fetch Visit History
  6. Prepare Agent Context
  7. Structure Notes Agent
  8. Google Gemini Model
  9. Parse Structured Output
  10. Build Visit Record
  11. Append Visit to Sheets
  12. If Follow-Up Needed
  13. Append Work Order to Sheets
  14. Update Customer in Sheets

32 steps in total.

Similar automations