Templates / Auto-create Geotab zone for new Salesforce work order

Auto-create Geotab zone for new Salesforce work order

Ready for 3.0

by Sobek ✓ · 439 views · created 2025-06-04 · CRM

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-12-01.

📬 Weekly n8n 3.0 breakage alerts, free

What this workflow does

This workflow has 14 nodes and runs when an HTTP POST request hits its webhook URL. Along the way it connects Salesforce and Microsoft Outlook. It also calls my.geotab.com over HTTP.

How it runs

Trigger: When an HTTP POST request hits its webhook URL.

  1. Respond to Webhook: sends the response back to the webhook caller
  2. Wait: waits 30 seconds
  3. Get Work Order details (Salesforce): get (custom object)
  4. Extract required fields (Edit Fields (Set)): sets 8 fields: Id, WorkOrderNumber, Job_Type__c…
  5. If: checks a condition and branches into true / false
  6. Prepare data for GeoTab (Edit Fields (Set)): sets 7 fields: Name, Latitude, Longitude…
  7. Email notification - error (Microsoft Outlook): uses Microsoft Outlook
  8. Calculate points (Code): runs custom JavaScript code
  9. GeoTab authentication (HTTP Request): calls my.geotab.com (POST)
  10. Calculate zone's active dates (Code): runs custom JavaScript code

…plus 3 more steps. See the full node list below.

Services it uses

SalesforceMicrosoft Outlook

HTTP calls to: my.geotab.com

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.

Nodes used (9)

From the author

📝 DESCRIPTION OF THE WORKFLOW This workflow connects Salesforce and Geotab to streamline fleet tracking for field service jobs (Work Orders). When a new Work Order is created in Salesforce (with a 'New' status and valid coordinates), it creates a circular…

Excerpt from Sobek's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.