Files
Momento/mcp-server/N8N-WORKFLOWS.md
Antigravity 0ebf10344d
All checks were successful
Deploy to Production / Build and Deploy (push) Successful in 55s
feat(mcp): add all 4 note types, translate N8N docs to English, add N8N workflow examples
- tools.js: expose type enum ['text','markdown','richtext','checklist'] in create_note & update_note
  - default changed from 'text' to 'richtext' (matches Prisma schema)
  - isMarkdown marked as deprecated in favour of type='markdown'
- N8N-CONFIG.md: full French → English translation
- N8N-WORKFLOWS.md: full French → English translation
- N8N-EXAMPLES.md: new comprehensive examples for all 22 MCP tools + workflow patterns
- n8n-workflow-mcp-reminder-bot.json: cron → get_due_reminders → Telegram → mark done
- n8n-workflow-mcp-email-to-note.json: IMAP → create_note → urgent Slack alert
- n8n-workflow-mcp-daily-digest.json: 8AM cron → notes + reminders digest → save + Slack
- n8n-workflow-mcp-webhook-to-note.json: universal webhook → create_note → respond
- notebooks-list.tsx: fix truncated notebook names (pe-24→pe-14), replace hover overlay with Tooltip
2026-05-03 20:49:11 +00:00

2.1 KiB

N8N Workflows for Memento MCP

Introduction

Example N8N workflows using the Memento MCP server via Streamable HTTP transport.

Prerequisite: an API key generated from Settings > MCP in Memento.

MCP Client Node Configuration

In every workflow, the MCP Client node must be configured as follows:

  • Server Transport: Streamable HTTP
  • MCP Endpoint URL: http://memento-mcp:3001/mcp (Docker) or http://YOUR_IP:3001/mcp
  • Authentication: Header Auth with x-api-key = your API key

Available Workflows

1. Create Note (n8n-workflow-create-note.json)

Creates notes in Memento with AI-based classification.

{
  "tool": "create_note",
  "arguments": {
    "content": "Meeting with client next week",
    "title": "Client Meeting",
    "labels": ["work"],
    "notebookId": "cuid123..."
  }
}

2. Search & Summary (n8n-workflow-search-summary.json)

Searches notes and generates a summary.

{
  "tool": "search_notes",
  "arguments": {
    "query": "project timeline"
  }
}

3. Notebook Manager (n8n-workflow-notebook-management.json)

Full CRUD for notebooks.

{
  "tool": "create_notebook",
  "arguments": {
    "name": "Work Projects",
    "icon": "briefcase",
    "color": "#3B82F6"
  }
}

4. Reminder Notifications (n8n-workflow-reminder-notifications.json)

Automates reminders with notifications.

  • Trigger: Schedule (cron: 0 */30 * * * *)
  • Calls get_due_reminders and sends notifications

5. Label Manager (n8n-workflow-label-management.json)

Label management.

{
  "tool": "create_label",
  "arguments": {
    "name": "urgent",
    "color": "red",
    "notebookId": "cuid123..."
  }
}

6. Email to Note (n8n-workflow-email-integration.json)

Automatically converts emails into notes.

  • Trigger: Email Trigger (IMAP)
  • Creates a note from the email content

Import Instructions

  1. Open N8N
  2. Import from File → select the JSON file
  3. Configure the MCP Client node (URL + API key)
  4. Activate the workflow

Security

  • Always use a dedicated API key per workflow
  • Never expose the key in logs
  • Restrict network access to port 3001 when possible