What This Workflow Does
This automation solves a critical pain point for delivery businesses that manage dispatch information in Google Drive but need to create tasks in Onfleet. Every time a file updates in your designated Google Drive folder (like a delivery manifest spreadsheet), the workflow automatically creates corresponding tasks in Onfleet with all necessary details.
The system eliminates manual copy-pasting of addresses, customer details, and delivery windows. It ensures your drivers always have the most current information without operations staff needing to manually update Onfleet whenever changes occur in your dispatch documents.
How It Works
1. Monitoring Google Drive for changes
The workflow continuously watches a specific folder in your Google Drive. When any file in that folder is added or modified, it triggers the automation process. You can configure it to monitor specific file types like Google Sheets, CSVs, or other document formats containing delivery information.
2. Extracting delivery details
The system reads the updated file and extracts relevant delivery information. For spreadsheets, it can process multiple rows where each row represents a separate delivery task. The automation maps spreadsheet columns to Onfleet task fields like destination addresses, customer names, delivery notes, and time windows.
3. Creating Onfleet tasks
Using Onfleet's API, the workflow creates a new task for each delivery record found in the updated file. It includes all necessary details like pickup/dropoff locations, recipient information, and any special instructions. The system can also handle task prioritization and driver assignment based on rules you configure.
Pro tip: Create a standardized template for your Google Drive dispatch files to ensure consistent data structure. This makes the automation more reliable and reduces errors.
Who This Is For
This automation is ideal for any business using Onfleet for last-mile delivery operations that currently manage dispatch information in Google Drive. Common use cases include:
- Meal delivery services updating daily menus and orders
- Retailers processing e-commerce deliveries from inventory spreadsheets
- Courier services managing pickup requests from shared documents
- Field service companies dispatching technicians from job lists
What You'll Need
- An active Onfleet account with API access enabled
- Google Drive with files containing delivery information
- n8n instance or account to run the workflow
- Basic understanding of API authentication (we provide setup instructions)
Quick Setup Guide
- Download the JSON template file
- Import it into your n8n instance
- Connect your Google Drive account in the first node
- Configure which folder to monitor and file types to watch
- Connect your Onfleet account in the task creation node
- Map your file fields to Onfleet task parameters
- Test with a sample file update
- Activate the workflow for continuous monitoring
Key Benefits
Eliminate manual data entry: Save 2-3 minutes per delivery task by automatically creating Onfleet tasks from your Google Drive files. For 100 daily deliveries, that's over 3 hours saved every day.
Real-time dispatch updates: Any changes in your Google Drive files instantly reflect in Onfleet, ensuring drivers always have current information without delay.
Reduce delivery errors: Automated task creation eliminates human errors in address entry, phone numbers, and special instructions that commonly occur with manual processing.
Scalable operations: Handle sudden volume spikes effortlessly - the system processes 100 tasks as easily as 10, without additional staff workload.
Audit trail: Maintain perfect records of when tasks were created and from which source files, improving operational transparency.