Templates / Sync Gmail sent email contacts with Odoo mailing lists

Sync Gmail sent email contacts with Odoo mailing lists

Ready for 3.0

by BHSoft ✓ · 120 views · created 2026-02-12 · CRM, AI Summarization

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 41 nodes and runs on a schedule (every day at ={{ 07 }}:00). It uses only n8n's built-in nodes. It also calls gmail.googleapis.com over HTTP.

How it runs

Trigger: On a schedule (every day at ={{ 07 }}:00).

  1. Step 2: Set Variables (Edit Fields (Set)): sets or maps fields
  2. Step 3: Get date time (Code): runs custom JavaScript code
  3. Step 4:Get the list of emails sent 10 days ago. (HTTP Request): calls gmail.googleapis.com
  4. Step 5: If resultSizeEstimate has a record ==> true (If): checks a condition and branches into true / false
  5. Step 6: Split Out emails sent (Split Out): splits a list into separate items
  6. Step 7: Loop Over email sent (Loop Over Items (Split in Batches)): loops over the items in batches
  7. Step 10: Merge the categorized mailing lists (Code): runs custom JavaScript code
  8. Step 8: Get email information about thread_id (HTTP Request): calls an HTTP API
  9. Step 11: If has record deliverableEmails (If): checks a condition and branches into true / false
  10. Step 9: Handling mail sorting from headers (Code): runs custom JavaScript code

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

HTTP calls to: gmail.googleapis.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 (8)

From the author

Email Contacts Sync from Sent Mailbox to Odoo This workflow automatically extracts recipient email addresses from previously sent emails, validates and cleans the data, and synchronizes only deliverable contacts into the internal Odoo Mailing List. It also…

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