Mark2Notion Ajout

Intermédiaire

Ceci est unDocument Extraction, Miscellaneous, Multimodal AIworkflow d'automatisation du domainecontenant 8 nœuds.Utilise principalement des nœuds comme Set, Notion, HttpRequest, ManualTrigger. Utiliser Mark2Notion pour convertir du Markdown en pages Notion formatées

Prérequis
  • Clé API Notion
  • Peut nécessiter les informations d'identification d'authentification de l'API cible
Aperçu du workflow
Visualisation des connexions entre les nœuds, avec support du zoom et du déplacement
Exporter le workflow
Copiez la configuration JSON suivante dans n8n pour importer et utiliser ce workflow
{
  "id": "QGikyQ1WgZENu9e5",
  "meta": {
    "instanceId": "636ac343c8909ac80cd6df77ded2011408792e94d4f89fc23dbb1a174ee7ecba"
  },
  "name": "Mark2Notion Append",
  "tags": [],
  "nodes": [
    {
      "id": "0571b66a-e756-45f2-958b-899ee08dfab2",
      "name": "When you click 'Execute Workflow'",
      "type": "n8n-nodes-base.manualTrigger",
      "position": [
        608,
        352
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "278285e1-183a-4a63-a2f9-10e0be2f4a9f",
      "name": "Créer une page",
      "type": "n8n-nodes-base.notion",
      "position": [
        1232,
        352
      ],
      "parameters": {
        "title": "Mark2Notion Test Page",
        "pageId": {
          "__rl": true,
          "mode": "id"
        },
        "options": {}
      },
      "typeVersion": 2.2
    },
    {
      "id": "fce17ffd-0f61-4da6-9f40-2a455217897b",
      "name": "Définir Markdown",
      "type": "n8n-nodes-base.set",
      "position": [
        864,
        352
      ],
      "parameters": {
        "mode": "raw",
        "options": {},
        "jsonOutput": "{\n  \"markdown\": \"# Header 1\\n\\n## Header 2\\n\\nThis is a short paragraph to demonstrate basic Markdown formatting.\\n\\n- Item 1\\n  - Subitem 1.1\\n    - Subitem 1.1.1\\n- Item 2\\n  - Subitem 2.1\\n- Item 3\\n\\n| Column 1 | Column 2 | Column 3 |\\n|----------|----------|----------|\\n| Row 1    | Data A   | Data B   |\\n| Row 2    | Data C   | Data D   |\\n| Row 3    | Data E   | Data F   |\"\n}\n"
      },
      "typeVersion": 3.4
    },
    {
      "id": "143556c0-7d79-4f85-82eb-bbc7b346079c",
      "name": "Note adhésive",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        0,
        0
      ],
      "parameters": {
        "width": 512,
        "height": 800,
        "content": "Transform Markdown text into beautifully formatted Notion pages using the Mark2Notion API. This workflow handles all the complexity of Notion's block structure, including tables, nested lists, code blocks, and special formatting.\n\n## What this template does\nThis workflow takes any Markdown-formatted text and automatically converts it into properly structured Notion blocks, then appends it to your specified Notion page. It handles all of Notion's API limitations automatically, including:\n- Chunking content over 100 blocks\n- Splitting text over 2000 characters\n- Rate limiting and retry logic\n- Complex table structures\n- Nested lists, including 3+ levels of nesting\n\n## Use Cases\n- **AI Content Publishing**: Send ChatGPT, Claude, or other LLM outputs directly to your Notion documentation\n- **Form to Documentation**: Convert form submissions into formatted project pages\n- **GitHub to Notion**: Sync issues, PRs, or README files to your team wiki\n- **Meeting Notes Automation**: Transform transcripts into structured meeting notes\n- **Report Generation**: Create beautiful reports from data sources\n\n## How to use this template\n1. **Get your Mark2Notion API key** at https://mark2notion.com (free tier includes 100 requests/month)\n2. **Create a Notion integration** at https://notion.so/my-integrations and copy the token\n3. **Add the integration to your Notion parent page**\n4. **Copy your page ID** from the Notion page URL\n5. **Configure the HTTP Request node** with your credentials\n6. **Test with sample Markdown** to see the result"
      },
      "typeVersion": 1
    },
    {
      "id": "ef5c6201-88e7-471a-8f98-101f95d8e981",
      "name": "Note adhésive1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        752,
        128
      ],
      "parameters": {
        "color": 7,
        "width": 304,
        "height": 400,
        "content": "## Insert any Markdown output node here\n\nUse any node that outputs Markdown, like an LLM reply or GitHub issues"
      },
      "typeVersion": 1
    },
    {
      "id": "a90361dc-615b-4866-bbc7-4d5750cb2840",
      "name": "HTTP Request - Mark2Notion Append",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1600,
        352
      ],
      "parameters": {
        "url": "https://api.mark2notion.com/api/append",
        "method": "POST",
        "options": {},
        "sendBody": true,
        "authentication": "genericCredentialType",
        "bodyParameters": {
          "parameters": [
            {
              "name": "markdown",
              "value": "={{ $('Set Markdown').item.json.markdown }}"
            },
            {
              "name": "notionToken"
            },
            {
              "name": "pageId",
              "value": "={{ $json.id }}"
            }
          ]
        },
        "genericAuthType": "httpHeaderAuth"
      },
      "typeVersion": 4.2
    },
    {
      "id": "39157620-b1c5-43ec-92cd-f1259eb57b34",
      "name": "Note adhésive2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1488,
        128
      ],
      "parameters": {
        "color": 7,
        "width": 320,
        "height": 400,
        "content": "## Set Mark2Notion and Notion credentials\n\n1. Set Mark2Notion API key as Header Auth\n2. Use `x-api-key` as the auth header name\n3. Set `notionToken` as a body parameter"
      },
      "typeVersion": 1
    },
    {
      "id": "34b59cec-a312-47f5-8059-d9bf6b2ad858",
      "name": "Note adhésive3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1120,
        64
      ],
      "parameters": {
        "color": 7,
        "width": 304,
        "height": 464,
        "content": "## Set Notion Credentials\n\n1. Create a Notion credential with the token from your Notion integration\n2. Get the parent page ID — a new page will be created as a subpage\n3. You can get the page ID from the URL: https://www.notion.so/Your-Page-Title-[PAGE_ID_HERE]\n4. Set the page ID as the Parent Page (By ID) parameter\n"
      },
      "typeVersion": 1
    }
  ],
  "active": false,
  "pinData": {},
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "5904ca6b-a787-4228-8e16-985cef7be1cb",
  "connections": {
    "fce17ffd-0f61-4da6-9f40-2a455217897b": {
      "main": [
        [
          {
            "node": "278285e1-183a-4a63-a2f9-10e0be2f4a9f",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "278285e1-183a-4a63-a2f9-10e0be2f4a9f": {
      "main": [
        [
          {
            "node": "a90361dc-615b-4866-bbc7-4d5750cb2840",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "0571b66a-e756-45f2-958b-899ee08dfab2": {
      "main": [
        [
          {
            "node": "fce17ffd-0f61-4da6-9f40-2a455217897b",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
Foire aux questions

Comment utiliser ce workflow ?

Copiez le code de configuration JSON ci-dessus, créez un nouveau workflow dans votre instance n8n et sélectionnez "Importer depuis le JSON", collez la configuration et modifiez les paramètres d'authentification selon vos besoins.

Dans quelles scénarios ce workflow est-il adapté ?

Intermédiaire - Extraction de documents, Divers, IA Multimodale

Est-ce payant ?

Ce workflow est entièrement gratuit et peut être utilisé directement. Veuillez noter que les services tiers utilisés dans le workflow (comme l'API OpenAI) peuvent nécessiter un paiement de votre part.

Informations sur le workflow
Niveau de difficulté
Intermédiaire
Nombre de nœuds8
Catégorie3
Types de nœuds5
Description de la difficulté

Adapté aux utilisateurs expérimentés, avec des workflows de complexité moyenne contenant 6-15 nœuds

Auteur

Developer with over 10+ years of experience. Automation enthusiast.

Liens externes
Voir sur n8n.io

Partager ce workflow

Catégories

Catégories: 34