cosmolocal-website/n8n-workflows
Jeff Emmett 5b87103fdb Add 5 n8n CRM automation workflows
- 01: Contact intake webhook → Twenty CRM
- 02: Lead nurturing 3-email sequence via Resend
- 03: Daily CRM → Listmonk newsletter sync
- 04: Weekly stale contact follow-up reminders
- 05: Gitea/GitHub webhook events → CRM activity log

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-07 14:20:28 +00:00
..
01-contact-intake.json Add 5 n8n CRM automation workflows 2026-02-07 14:20:28 +00:00
02-lead-nurturing.json Add 5 n8n CRM automation workflows 2026-02-07 14:20:28 +00:00
03-newsletter-sync.json Add 5 n8n CRM automation workflows 2026-02-07 14:20:28 +00:00
04-follow-up-reminders.json Add 5 n8n CRM automation workflows 2026-02-07 14:20:28 +00:00
05-webhook-events.json Add 5 n8n CRM automation workflows 2026-02-07 14:20:28 +00:00
README.md Add 5 n8n CRM automation workflows 2026-02-07 14:20:28 +00:00

README.md

Cosmolocal n8n Workflows

Import these JSON files into automate.cosmolocal.world via Settings > Import Workflow.

Setup Requirements

Before activating workflows, configure these environment variables in n8n (Settings > Variables):

Variable Description Where to find
TWENTY_API_KEY Twenty CRM API key crm.cosmolocal.world > Settings > API Keys
RESEND_API_KEY Resend email API key ssh netcup "cat ~/.resend_credentials"

The Listmonk credentials are hardcoded for internal Docker network access (no external exposure).

Workflows

01 — Contact Intake (Form to CRM)

Trigger: Webhook POST to /webhook/contact-intake Flow: Validate input > Create contact in Twenty CRM > Add note with message > Respond

Use this webhook URL in your website contact form:

https://automate.cosmolocal.world/webhook/contact-intake

POST body:

{
  "name": "Jane Doe",
  "email": "jane@example.com",
  "phone": "+1234567890",
  "message": "Interested in collaborating"
}

02 — Lead Nurturing (Welcome Email Sequence)

Trigger: Webhook POST to /webhook/new-contact-created Flow: Day 0: Welcome email > Day 3: Strategic priorities > Day 10: Ways to participate > Update CRM stage

Chain this from workflow 01 or call it when a new contact is created in the CRM.

03 — Newsletter Sync (CRM to Listmonk)

Trigger: Daily at 6:00 AM Flow: Fetch CRM contacts > Check if already in Listmonk > Create new subscribers

Syncs all CRM contacts with email addresses to Listmonk list #1. Adjust the list ID if needed.

04 — Follow-up Reminders (Stale Contacts)

Trigger: Weekly on Monday at 9:00 AM Flow: Fetch contacts > Filter those not updated in 14+ days > Email report to team

Sends an HTML table report to ***REDACTED_EMAIL*** with stale contacts and a link to the CRM.

05 — Webhook Events (Git to CRM)

Trigger: Webhook POST to /webhook/git-events Flow: Parse Gitea/GitHub event > Log as CRM note > Find or create contributor contact

Add this webhook URL to Gitea/GitHub repos:

https://automate.cosmolocal.world/webhook/git-events

Supports: push, issues, pull_request, star/watch events. Auto-detects Gitea vs GitHub from headers.