{ "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\": \"
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\": \"We wanted to share more about our strategic approach to systemic transformation.
The Cosmolocal Foundation is executing on eight key initiatives:
Want to learn more or get involved? Reply to this email — we'd love to hear from you.
Best,
The Cosmolocal Foundation Team
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