See llms.txt for all machine-readable content.

Back to Templates

Build contractor job closeout packs with OpenAI, Google Drive and Gmail

Quick overview

This workflow collects closeout details and photos via an n8n Form, uses OpenAI to draft homeowner-friendly text, saves a branded closeout pack to Google Drive, emails the PDF via Gmail, logs the job in Google Sheets, and runs daily follow-ups for reviews, warranty registration, checkups, and unpaid balances.

How it works

  1. Receives a job closeout submission via an n8n Form (or runs on a daily schedule, or runs once to create the tracking spreadsheet).
  2. Creates a dedicated Google Drive folder for the job, resizes the uploaded photos, and saves them into the folder.
  3. Sends the crew’s notes to OpenAI to generate structured closeout text (thank-you, work summary, care tips, and a maintenance schedule).
  4. Builds a branded closeout pack as a Google Doc in Google Drive, then exports it as a PDF.
  5. Emails the PDF to the business owner via Gmail and, when a client email is provided, creates a Gmail draft to send the pack to the client.
  6. Appends a tracking row to a Google Sheets “Closeouts” tab so the workflow can manage review requests, warranty registration reminders, checkup offers, and balance nudges.
  7. Every morning, reads the Google Sheet and sends the required follow-up emails via Gmail, then updates the same rows to mark each follow-up as sent.

Setup

  1. Add credentials for OpenAI, Google Drive (OAuth2), Google Sheets (OAuth2), and Gmail (OAuth2), and ensure the two Google Drive HTTP Request steps use the Google Drive credential.
  2. Run the manual “Create my spreadsheet” trigger once, then copy the returned spreadsheet ID into the workflow settings used for the Google Sheets document.
  3. Fill in the workflow settings for owner email, Google review URL, business details, warranty years, follow-up delays, timezone, and (optionally) a Google Drive folder ID to store closeout folders.