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

Triage construction project risk with Google Sheets, Open-Meteo, Gemini, and Gmail

On a schedule, it handles email with Google Gemini using Gmail, Google Sheets.

What it does

## Construction - Should We Stop This Project? (Decision Engine) ### How it works This workflow runs every weekday at 7 AM to evaluate active construction projects and decide whether they should continue, receive intervention, or be stopped. It gathers project, weather, budget, procurement, labor, site report, and dispute data, computes risk scores, then sends the summarized risk context to a Gemini-powered decision chain. The resulting decision is formatted with guardrails, logged to Google Sheets, and emailed to the project manager only when intervention or stopping is recommended. ### Setup steps - Configure Google Sheets credentials and ensure the project, budget, procurement, labor, site reports, disputes, and decision log sheets have the expected columns. - Review the Open-Meteo HTTP request parameters, especially location and forecast fields, so weather data matches the construction sites being evaluated. - Configure Google Gemini credentials for the chat model used by the Decision Chain and verify the structured output parser schema matches the expected decision format. - Configure Gmail credentials and update the recipient, subject, and message template for project manager alerts. - Confirm the weekday 7 AM schedule uses the intended timezone. ### Customization Adjust the risk scoring code, the Limit node settings, the LLM prompt/parser schema, and the filter criteria to match the organization’s thresholds for continue, intervene, or stop decisions.

The steps

  1. When Weekday at 7AM
  2. Read Projects from Sheets
  3. Fetch Weather Forecast
  4. Read Budget from Sheets
  5. Read Procurement Details
  6. Read Labor Data Sheets
  7. Read Site Reports Sheets
  8. Read Disputes from Sheets
  9. Calculate Risk Scores
  10. Execute Decision Making Chain
  11. Google Gemini Chat
  12. Parse Structured Output
  13. Format Final Decision
  14. Log Decision to Sheets

17 steps in total.

Similar automations