Templates / Build an enterprise deal knowledge graph with Salesforce, Gmail and Neo4j

Build an enterprise deal knowledge graph with Salesforce, Gmail and Neo4j

Ready for 3.0

by WeblineIndia ✓ · 12 views · created 2026-08-12

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-10-19.

What this workflow does

This workflow has 18 nodes and runs on a schedule (every 6 hours). Along the way it connects Salesforce, Gmail and Google Calendar.

How it runs

Trigger: On a schedule (every 6 hours).

  1. Set Workflow Config (Edit Fields (Set)): sets 6 fields: gmail_query, calendar_id, lookback_start…
  2. Get Salesforce Contacts (Salesforce): get many (contact)
  3. Get Salesforce Accounts (Salesforce): get many (account)
  4. Get Salesforce Opportunities (Salesforce): get many (opportunity)
  5. Get Calendar Events (Google Calendar): get many
  6. Normalize Contacts (Edit Fields (Set)): sets or maps fields
  7. Normalize Accounts (Edit Fields (Set)): sets or maps fields
  8. Normalize Opportunities (Edit Fields (Set)): sets or maps fields
  9. Normalize Meetings (Code): runs custom JavaScript code
  10. Aggregate All Data Sources (Merge): merges the data from its input branches

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

Services it uses

SalesforceGmailGoogle Calendar

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 (8)

From the author

Quick overview This workflow runs every 6 hours to pull Salesforce contacts, accounts, and opportunities, then fetches related Gmail messages and Google Calendar events, calculates per-contact engagement metrics, and writes a Neo4j knowledge graph with…

Excerpt from WeblineIndia'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.