{ "name": "Lead Nurturing — Welcome Email Sequence", "nodes": [ { "parameters": { "httpMethod": "POST", "path": "new-contact-created", "options": {} }, "id": "webhook-new-contact", "name": "Webhook — New Contact Created", "type": "n8n-nodes-base.webhook", "typeVersion": 2, "position": [240, 300], "webhookId": "new-contact-created" }, { "parameters": { "assignments": { "assignments": [ { "id": "set-email", "name": "email", "value": "={{ $json.body.email || $json.body.emails?.primaryEmail }}", "type": "string" }, { "id": "set-first-name", "name": "firstName", "value": "={{ $json.body.firstName || $json.body.name?.firstName || 'there' }}", "type": "string" }, { "id": "set-contact-id", "name": "contactId", "value": "={{ $json.body.id || $json.body.contactId }}", "type": "string" } ] }, "options": {} }, "id": "extract-fields", "name": "Extract Contact Fields", "type": "n8n-nodes-base.set", "typeVersion": 3.4, "position": [460, 300] }, { "parameters": { "method": "POST", "url": "https://api.resend.com/emails", "sendHeaders": true, "headerParameters": { "parameters": [ { "name": "Authorization", "value": "Bearer {{ $env.RESEND_API_KEY }}" }, { "name": "Content-Type", "value": "application/json" } ] }, "sendBody": true, "specifyBody": "json", "jsonBody": "={\n \"from\": \"Cosmolocal Foundation <***REDACTED_EMAIL***>\",\n \"to\": [\"{{ $json.email }}\"],\n \"subject\": \"Welcome to the Cosmolocal Foundation\",\n \"html\": \"

Welcome, {{ $json.firstName }}!

Thank you for connecting with the Cosmolocal Foundation. We're building a world where local communities thrive within regenerative economies, connected through global knowledge-sharing and commons-based collaboration.

\\\"What is heavy should be local, and what is light should be global and shared.\\\"

Here's what we're working on:

We'll be in touch with updates on our progress and opportunities to get involved.

Warm regards,
The Cosmolocal Foundation Team

cosmolocal.world

\"\n}", "options": {} }, "id": "send-welcome-email", "name": "Send Welcome Email (Day 0)", "type": "n8n-nodes-base.httpRequest", "typeVersion": 4.2, "position": [680, 300] }, { "parameters": { "amount": 3, "unit": "days" }, "id": "wait-3-days", "name": "Wait 3 Days", "type": "n8n-nodes-base.wait", "typeVersion": 1.1, "position": [900, 300] }, { "parameters": { "method": "POST", "url": "https://api.resend.com/emails", "sendHeaders": true, "headerParameters": { "parameters": [ { "name": "Authorization", "value": "Bearer {{ $env.RESEND_API_KEY }}" }, { "name": "Content-Type", "value": "application/json" } ] }, "sendBody": true, "specifyBody": "json", "jsonBody": "={\n \"from\": \"Cosmolocal Foundation <***REDACTED_EMAIL***>\",\n \"to\": [\"{{ $('Extract Contact Fields').item.json.email }}\"],\n \"subject\": \"Our Strategic Priorities — How We're Building Change\",\n \"html\": \"

Hi {{ $('Extract Contact Fields').item.json.firstName }},

We wanted to share more about our strategic approach to systemic transformation.

The Cosmolocal Foundation is executing on eight key initiatives:

  1. Mapping Regenerative Communities — Cataloging eco-villages, circular economy hubs, and governance initiatives worldwide
  2. Web3 Funding — Quadratic funding, DAOs, and Collaborative Finance for local projects
  3. Open Resources — A global knowledge commons of governance models and production blueprints
  4. Education & Advocacy — Engaging policymakers to scale cosmolocal principles
  5. Pilots & Grants — Funding projects that demonstrate scalable solutions
  6. Cosmolocal Certification — Blockchain-verified standards for cosmolocal initiatives
  7. Global Alliances — Bioregional collaboration on governance and mutual aid
  8. Impact Research — Evidence-based scaling through the Cosmolocal Research Institute

Want to learn more or get involved? Reply to this email — we'd love to hear from you.

Best,
The Cosmolocal Foundation Team

\"\n}", "options": {} }, "id": "send-followup-email", "name": "Send Follow-up Email (Day 3)", "type": "n8n-nodes-base.httpRequest", "typeVersion": 4.2, "position": [1120, 300] }, { "parameters": { "amount": 7, "unit": "days" }, "id": "wait-7-days", "name": "Wait 7 Days", "type": "n8n-nodes-base.wait", "typeVersion": 1.1, "position": [1340, 300] }, { "parameters": { "method": "POST", "url": "https://api.resend.com/emails", "sendHeaders": true, "headerParameters": { "parameters": [ { "name": "Authorization", "value": "Bearer {{ $env.RESEND_API_KEY }}" }, { "name": "Content-Type", "value": "application/json" } ] }, "sendBody": true, "specifyBody": "json", "jsonBody": "={\n \"from\": \"Cosmolocal Foundation <***REDACTED_EMAIL***>\",\n \"to\": [\"{{ $('Extract Contact Fields').item.json.email }}\"],\n \"subject\": \"Join the Movement — Ways to Participate\",\n \"html\": \"

Hi {{ $('Extract Contact Fields').item.json.firstName }},

We believe in the power of collaboration. Here are ways you can participate in the cosmolocal movement:

Visit cosmolocal.world to explore our work, or simply reply to this email to start a conversation.

Together we can build regenerative economies that serve communities and the planet.

In solidarity,
The Cosmolocal Foundation Team

\"\n}", "options": {} }, "id": "send-engagement-email", "name": "Send Engagement Email (Day 10)", "type": "n8n-nodes-base.httpRequest", "typeVersion": 4.2, "position": [1560, 300] }, { "parameters": { "method": "PATCH", "url": "=https://crm.cosmolocal.world/api/v1/objects/people/{{ $('Extract Contact Fields').item.json.contactId }}", "sendHeaders": true, "headerParameters": { "parameters": [ { "name": "Authorization", "value": "Bearer {{ $env.TWENTY_API_KEY }}" }, { "name": "Content-Type", "value": "application/json" } ] }, "sendBody": true, "specifyBody": "json", "jsonBody": "={\n \"stage\": \"NURTURE_COMPLETE\"\n}", "options": { "ignore_ssl_issues": false } }, "id": "update-crm-stage", "name": "Update CRM — Nurture Complete", "type": "n8n-nodes-base.httpRequest", "typeVersion": 4.2, "position": [1780, 300] } ], "connections": { "Webhook — New Contact Created": { "main": [ [ { "node": "Extract Contact Fields", "type": "main", "index": 0 } ] ] }, "Extract Contact Fields": { "main": [ [ { "node": "Send Welcome Email (Day 0)", "type": "main", "index": 0 } ] ] }, "Send Welcome Email (Day 0)": { "main": [ [ { "node": "Wait 3 Days", "type": "main", "index": 0 } ] ] }, "Wait 3 Days": { "main": [ [ { "node": "Send Follow-up Email (Day 3)", "type": "main", "index": 0 } ] ] }, "Send Follow-up Email (Day 3)": { "main": [ [ { "node": "Wait 7 Days", "type": "main", "index": 0 } ] ] }, "Wait 7 Days": { "main": [ [ { "node": "Send Engagement Email (Day 10)", "type": "main", "index": 0 } ] ] }, "Send Engagement Email (Day 10)": { "main": [ [ { "node": "Update CRM — Nurture Complete", "type": "main", "index": 0 } ] ] } }, "settings": { "executionOrder": "v1" }, "staticData": null, "tags": [ { "name": "cosmolocal" }, { "name": "email" } ], "pinData": {} }