Dispatch and confirm field service jobs with Sheets, Gmail, Telegram, and GPT-4o
Ready for 3.0What this workflow does
This AI workflow has 39 nodes and runs on Google Sheets events (row added) (plus 3 other triggers). Along the way it connects Google Sheets, Telegram, OpenAI Chat Model and Gmail.
How it runs
Trigger: On Google Sheets events (row added) (plus 3 other triggers).
- Normalize Job Request (Edit Fields (Set)): sets 9 fields: request_id, received_at, customer_name…
- Mark Job Confirmed (Google Sheets): update
- Read Open Jobs (Google Sheets): uses Google Sheets
- Get Dispatched Jobs (Google Sheets): read
- Validate Job Request (If): checks a condition and branches into true / false
- Reply To Technician (Respond to Webhook): sends the response back to the webhook caller
- Find Unconfirmed Jobs (Code): runs custom JavaScript code
- Build Job Lines (Edit Fields (Set)): sets 1 field: job_line
- Read Dispatch Log (Google Sheets): uses Google Sheets
- Notify Invalid Request (Telegram): uses Telegram
…plus 22 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 (15)
- Google Sheets Trigger
n8n-nodes-base.googleSheetsTrigger - Edit Fields (Set)
n8n-nodes-base.set - If
n8n-nodes-base.if - Telegram
n8n-nodes-base.telegram - AI Agent
@n8n/n8n-nodes-langchain.agent - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Google Sheets Tool
n8n-nodes-base.googleSheetsTool - Gmail
n8n-nodes-base.gmail - Schedule Trigger
n8n-nodes-base.scheduleTrigger - Google Sheets
n8n-nodes-base.googleSheets - Summarize
n8n-nodes-base.summarize - Code
n8n-nodes-base.code - Switch
n8n-nodes-base.switch - Webhook
n8n-nodes-base.webhook - Respond to Webhook
n8n-nodes-base.respondToWebhook
From the author
A job request comes in and somebody has to work out who is free, who has the right skills and who is closest, then email that technician, tell the team and chase anyone who goes quiet. This workflow does that loop for you: a new row in the job request sheet…