Notion - Drittes Gehirn

Fortgeschritten

Dies ist ein CRM-Bereich Automatisierungsworkflow mit 6 Nodes. Hauptsächlich werden Code, Notion, GoogleDrive, ManualTrigger, ExtractFromFile und andere Nodes verwendet. Importieren von CSV-Kontakten aus Google Drive in eine Notion-Datenbank

Voraussetzungen
  • Notion API Key
  • Google Drive API-Anmeldedaten
Workflow-Vorschau
Visualisierung der Node-Verbindungen, mit Zoom und Pan
Workflow exportieren
Kopieren Sie die folgende JSON-Konfiguration und importieren Sie sie in n8n
{
  "id": "JJSKBObsmymp2bU9",
  "meta": {
    "instanceId": "376691348c137946bf97d9774cf96ad8641e13c2ac6594c918f5113241f984c0",
    "templateCredsSetupCompleted": true
  },
  "name": "Notion - 3rd Brain",
  "tags": [],
  "nodes": [
    {
      "id": "2f4ecc20-184c-4dc4-8232-bc8ba6ecf261",
      "name": "Bei Klick auf 'Workflow ausführen'",
      "type": "n8n-nodes-base.manualTrigger",
      "position": [
        0,
        0
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "135651f9-845e-4935-a1ae-cc83e8a1f845",
      "name": "Datei herunterladen",
      "type": "n8n-nodes-base.googleDrive",
      "position": [
        220,
        0
      ],
      "parameters": {
        "fileId": {
          "__rl": true,
          "mode": "list",
          "value": "1qYi9QBfBFu9jWXLoR7fdTn7FOwbceiL5",
          "cachedResultUrl": "https://drive.google.com/file/d/1qYi9QBfBFu9jWXLoR7fdTn7FOwbceiL5/view?usp=drivesdk",
          "cachedResultName": "2ufyv-ng4c6.csv"
        },
        "options": {
          "binaryPropertyName": "data"
        },
        "operation": "download"
      },
      "credentials": {
        "googleDriveOAuth2Api": {
          "id": "8TuprCzFR6nieEcB",
          "name": "Google Drive account"
        }
      },
      "typeVersion": 3
    },
    {
      "id": "a5a78379-862f-4677-a541-0c1a41fe1eef",
      "name": "Code",
      "type": "n8n-nodes-base.code",
      "position": [
        620,
        0
      ],
      "parameters": {
        "jsCode": "const contacts = [];\n\nfor (const contact of items) {\n  const firstName = contact.json[\"First Name\"] || \"\";\n  const lastName = contact.json[\"Last Name\"] || \"\";\n  const fullName = contact.json[\"Display Name\"] || `${firstName} ${lastName}`.trim();\n  const email = contact.json[\"E-mail Address\"] || \"\";\n  const phone = contact.json[\"Mobile Phone\"] || contact.json[\"Home Phone\"] || \"\";\n\n  contacts.push({\n    json: {\n      name: fullName,\n      email: email,\n      phone: phone,\n      company: contact.json[\"Company\"] || \"\"\n    }\n  });\n}\n\nreturn contacts;\n"
      },
      "typeVersion": 2
    },
    {
      "id": "d0578f34-fa9c-4576-a1df-a54961edc5b6",
      "name": "Datenbankseite erstellen",
      "type": "n8n-nodes-base.notion",
      "position": [
        840,
        0
      ],
      "parameters": {
        "title": "={{ $json.name }}",
        "simple": false,
        "options": {},
        "resource": "databasePage",
        "databaseId": {
          "__rl": true,
          "mode": "list",
          "value": "22243337-8e81-80a8-bc67-c2494034f1b4",
          "cachedResultUrl": "https://www.notion.so/222433378e8180a8bc67c2494034f1b4",
          "cachedResultName": "Contacts"
        },
        "propertiesUi": {
          "propertyValues": [
            {
              "key": "Email Address|email",
              "emailValue": "={{ $json.email ? $json.email : null}}"
            },
            {
              "key": "Phone Number|phone_number",
              "phoneValue": "={{ $json.phone ? $json.phone : null}}"
            },
            {
              "key": "Company|rich_text",
              "richText": "={{ false }}",
              "textContent": "={{ $json.company ? $json.company : \"N/A\" }}"
            }
          ]
        }
      },
      "credentials": {
        "notionApi": {
          "id": "nDdMnnQcy8oav2Bx",
          "name": "Notion account"
        }
      },
      "typeVersion": 2.2
    },
    {
      "id": "d6c9769e-41ea-4c82-879d-9a4a048660c7",
      "name": "Aus Datei extrahieren",
      "type": "n8n-nodes-base.extractFromFile",
      "position": [
        420,
        0
      ],
      "parameters": {
        "options": {}
      },
      "typeVersion": 1
    },
    {
      "id": "a376d074-930d-4e38-b33f-0e5b51a1f13d",
      "name": "Haftnotiz",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        220,
        200
      ],
      "parameters": {
        "width": 500,
        "height": 280,
        "content": "## How to use\n1. Get a .csv file with your contacts (you can download this from any contact manager app)\n2. Set API key for Google Drive API, and Notion (you need to create a \"connection\" in Notion)\n3. Create Database for your contacts in Notion\n4. Choose which properties to extract from the .csv and pass it in to the Notion database. Right now, it transfer 4 pieces of information: full name, email, phone, and company.\n"
      },
      "typeVersion": 1
    }
  ],
  "active": false,
  "pinData": {},
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "304a9d7a-c8a2-4617-b12a-20d0658d979a",
  "connections": {
    "a5a78379-862f-4677-a541-0c1a41fe1eef": {
      "main": [
        [
          {
            "node": "d0578f34-fa9c-4576-a1df-a54961edc5b6",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "135651f9-845e-4935-a1ae-cc83e8a1f845": {
      "main": [
        [
          {
            "node": "d6c9769e-41ea-4c82-879d-9a4a048660c7",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "d6c9769e-41ea-4c82-879d-9a4a048660c7": {
      "main": [
        [
          {
            "node": "a5a78379-862f-4677-a541-0c1a41fe1eef",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "2f4ecc20-184c-4dc4-8232-bc8ba6ecf261": {
      "main": [
        [
          {
            "node": "135651f9-845e-4935-a1ae-cc83e8a1f845",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
Häufig gestellte Fragen

Wie verwende ich diesen Workflow?

Kopieren Sie den obigen JSON-Code, erstellen Sie einen neuen Workflow in Ihrer n8n-Instanz und wählen Sie "Aus JSON importieren". Fügen Sie die Konfiguration ein und passen Sie die Anmeldedaten nach Bedarf an.

Für welche Szenarien ist dieser Workflow geeignet?

Fortgeschritten - Kundenbeziehungsmanagement

Ist es kostenpflichtig?

Dieser Workflow ist völlig kostenlos. Beachten Sie jedoch, dass Drittanbieterdienste (wie OpenAI API), die im Workflow verwendet werden, möglicherweise kostenpflichtig sind.

Workflow-Informationen
Schwierigkeitsgrad
Fortgeschritten
Anzahl der Nodes6
Kategorie1
Node-Typen6
Schwierigkeitsbeschreibung

Für erfahrene Benutzer, mittelkomplexe Workflows mit 6-15 Nodes

Externe Links
Auf n8n.io ansehen

Diesen Workflow teilen

Kategorien

Kategorien: 34