Create daily construction site reports from WhatsApp with OpenAI and Google
Ready for 3.0What this workflow does
This AI workflow has 40 nodes and runs on WhatsApp events (messages) (plus 1 other trigger). Along the way it connects WhatsApp Business Cloud, Google Sheets, OpenAI and Google Drive and 2 more.
How it runs
Trigger: On WhatsApp events (messages) (plus 1 other trigger).
- Set Configuration Parameters (Edit Fields (Set)): sets 5 fields: companyName, sheetUrl, photosFolderId…
- Route by Trigger Event (Switch): routes items into 2 branches
- Read Crew List from Sheets (Google Sheets): read
- Read Site Log for Today (Google Sheets): read
- Read Project List from Sheets (Google Sheets): read
- Read Projects for Reports (Google Sheets): read
- Identify Sender and Project (Code): runs custom JavaScript code
- Group Updates by Project (Code): runs custom JavaScript code
- Check if Registered Crew Member (If): checks a condition and branches into true / false
- Check for Todays Updates (If): checks a condition and branches into true / false
…plus 24 more steps. See the full node list below.
Services it uses
Other Google Sheets + Gmail templates (2,102) · Other OpenAI + Google Sheets templates (2,011) · Other OpenAI + Gmail templates (1,623)
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Nodes used (16)
- WhatsApp Trigger
n8n-nodes-base.whatsAppTrigger - Schedule Trigger
n8n-nodes-base.scheduleTrigger - Edit Fields (Set)
n8n-nodes-base.set - Switch
n8n-nodes-base.switch - Google Sheets
n8n-nodes-base.googleSheets - Code
n8n-nodes-base.code - If
n8n-nodes-base.if - WhatsApp Business Cloud
n8n-nodes-base.whatsApp - HTTP Request
n8n-nodes-base.httpRequest - OpenAI
@n8n/n8n-nodes-langchain.openAi - Google Drive
n8n-nodes-base.googleDrive - Merge
n8n-nodes-base.merge - Basic LLM Chain
@n8n/n8n-nodes-langchain.chainLlm - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - Gmail
n8n-nodes-base.gmail
From the author
Quick overview This workflow captures WhatsApp voice notes, photos, and texts from construction crews, uses OpenAI to transcribe and structure updates, logs them to Google Sheets, stores photos in Google Drive, alerts managers via Gmail, and emails…