Skip to product information

n8n Salesforce + Gmail Deal Knowledge Graph to Neo4j

n8n Salesforce + Gmail Deal Knowledge Graph to Neo4j

 (200+Reviews)
Regular price £68.99
Regular price £68.99 Sale price
SAVE Sold out
⬇
Instant Digital Download
∞
Unlimited Downloads
★
Lifetime Access in Your Account
🔥
128+ Sold
Popular with n8n builders
âš¡
23 people viewing
High interest right now
✅
9 added today
Fast-moving digital product
n8n Salesforce + Gmail Deal Knowledge Graph to Neo4j

n8n Salesforce + Gmail Deal Knowledge Graph to Neo4j

Regular price £68.99
Regular price £68.99 Sale price
SAVE Sold out

Turn Salesforce + Gmail interactions into a searchable Neo4j knowledge graph

This n8n workflow runs every 6 hours to pull your Salesforce contacts, accounts, and opportunities, enrich them with recent Gmail messages and Google Calendar meetings, then writes a deal + stakeholder knowledge graph into Neo4j for fast relationship analysis.

What this workflow does

  • Scheduled sync: executes on a 6-hour schedule.
  • Normalize Salesforce data: fetches Contacts, Accounts, and Opportunities from Salesforce and standardizes them into consistent records.
  • Enrich with Gmail: builds a Gmail search query from the first 20 unique Salesforce contact email addresses, retrieves matching Gmail messages from the last 30 days, and normalizes email metadata.
  • Enrich with Google Calendar: pulls Google Calendar events using a 30-day lookback and 30-day lookahead, then normalizes them into meeting records with attendee details.
  • Compute engagement profiles: combines normalized Salesforce + Gmail + Calendar data to produce a per-contact relationship profile, including engagement metrics and interaction history.
  • Write to Neo4j as a graph: creates graph nodes (Contact, Account, Opportunity, Email, Meeting) and relationship edges such as BELONGS_TO, OWNS, INVOLVED_IN, SENT_OR_RECEIVED, and ATTENDED.
  • Neo4j persistence: inserts nodes first, then writes relationships using the Neo4j Query API.

Use cases

  • Analyze which contacts are most engaged with specific Opportunities based on email and meeting activity.
  • Map stakeholder involvement across accounts using graph traversal in Neo4j.
  • Build a relationship intelligence layer for SaaS sales teams using Salesforce + Gmail + Calendar data.

Technical details

  • Integrations/Nodes: salesforce, gmail, google calendar, set, code, merge, and sticky note.
  • Auth/Connections: add credentials for Salesforce, Gmail, Google Calendar, and Neo4j (HTTP Basic Auth for the Neo4j Query API).
  • Neo4j setup: update the Neo4j Query API URLs to your Neo4j AuraDB endpoint and database path.
View full details