Neuer Datensatz bei Forktopierung des GitHub-Repositories im Pipedrive

Fortgeschritten

Dies ist ein Sales, Engineering-Bereich Automatisierungsworkflow mit 8 Nodes. Hauptsächlich werden If, Set, Pipedrive, HttpRequest, GithubTrigger und andere Nodes verwendet. Fügen Sie bei einem Fork des GitHub-Repositories einen neuen Deal in Pipedrive hinzu

Voraussetzungen
  • Möglicherweise sind Ziel-API-Anmeldedaten erforderlich
  • GitHub Personal Access Token
Workflow-Vorschau
Visualisierung der Node-Verbindungen, mit Zoom und Pan
Workflow exportieren
Kopieren Sie die folgende JSON-Konfiguration und importieren Sie sie in n8n
{
  "meta": {
    "instanceId": "237600ca44303ce91fa31ee72babcdc8493f55ee2c0e8aa2b78b3b4ce6f70bd9"
  },
  "nodes": [
    {
      "id": "a84fa822-fd74-45db-93c6-f51be75ef307",
      "name": "Person existiert",
      "type": "n8n-nodes-base.if",
      "position": [
        920,
        340
      ],
      "parameters": {
        "conditions": {
          "string": [
            {
              "value1": "={{$json[\"name\"]}}",
              "operation": "isNotEmpty"
            }
          ]
        }
      },
      "typeVersion": 1
    },
    {
      "id": "500ef1bd-8965-4245-81d7-14c3897b4275",
      "name": "Personen-ID setzen",
      "type": "n8n-nodes-base.set",
      "position": [
        1480,
        320
      ],
      "parameters": {
        "values": {
          "string": [
            {
              "name": "PipedrivePersonId",
              "value": "={{ $json[\"id\"] }}"
            }
          ]
        },
        "options": {}
      },
      "typeVersion": 1
    },
    {
      "id": "ab1a1335-92c8-41f8-b008-5b19530f08e9",
      "name": "Lead erstellen",
      "type": "n8n-nodes-base.pipedrive",
      "position": [
        1740,
        320
      ],
      "parameters": {
        "title": "=Repo '{{$node[\"On fork\"].json[\"body\"][\"repository\"][\"full_name\"]}}' forked by {{$json[\"name\"]}}",
        "resource": "lead",
        "person_id": "={{$json[\"PipedrivePersonId\"]}}",
        "associateWith": "person",
        "additionalFields": {}
      },
      "credentials": {
        "pipedriveApi": {
          "id": "1",
          "name": "Pipedrive account"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "4fd06c6a-4975-4a6a-95f3-bb48f3e9bdf6",
      "name": "Bei Fork",
      "type": "n8n-nodes-base.githubTrigger",
      "position": [
        180,
        340
      ],
      "webhookId": "ff05ca29-9ed3-4b97-a4ce-4f9b1c05255f",
      "parameters": {
        "owner": "John-n8n",
        "events": [
          "fork"
        ],
        "repository": "DemoRepo"
      },
      "credentials": {
        "githubApi": {
          "id": "7",
          "name": "GitHub account"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "86554078-ce7c-4dd3-b36f-d1bf22530f7b",
      "name": "Person erstellen",
      "type": "n8n-nodes-base.pipedrive",
      "position": [
        1200,
        440
      ],
      "parameters": {
        "name": "={{ $node[\"On fork\"].json[\"body\"].forkee.owner.login }}",
        "resource": "person",
        "additionalFields": {
          "email": [
            "={{$node[\"Get Github user information\"].email}}"
          ]
        }
      },
      "credentials": {
        "pipedriveApi": {
          "id": "1",
          "name": "Pipedrive account"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "c4a8dae8-d6f3-4309-8fa5-78d69cf1b1e8",
      "name": "Notiz mit github-URL erstellen",
      "type": "n8n-nodes-base.pipedrive",
      "position": [
        1980,
        320
      ],
      "parameters": {
        "content": "=Github user url: {{ $node[\"On fork\"].json[\"body\"].sender.html_url }}",
        "resource": "note",
        "additionalFields": {
          "lead_id": "={{ $json[\"id\"] }}"
        }
      },
      "credentials": {
        "pipedriveApi": {
          "id": "1",
          "name": "Pipedrive account"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "8dfa3e8e-29d8-4098-825d-8ec915ca6f3f",
      "name": "Github-Benutzerinformationen abrufen",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        440,
        340
      ],
      "parameters": {
        "url": "={{$json[\"body\"].sender.url}}",
        "options": {},
        "authentication": "predefinedCredentialType",
        "nodeCredentialType": "githubApi"
      },
      "credentials": {
        "githubApi": {
          "id": "7",
          "name": "GitHub account"
        }
      },
      "typeVersion": 2
    },
    {
      "id": "c4c2538a-28e8-4c75-856d-000a727a4f13",
      "name": "Forkee in Pipedrive per E-Mail suchen",
      "type": "n8n-nodes-base.pipedrive",
      "position": [
        680,
        340
      ],
      "parameters": {
        "term": "={{ $json[\"email\"]}}",
        "resource": "person",
        "operation": "search",
        "additionalFields": {
          "fields": "email"
        }
      },
      "credentials": {
        "pipedriveApi": {
          "id": "1",
          "name": "Pipedrive account"
        }
      },
      "typeVersion": 1,
      "alwaysOutputData": true
    }
  ],
  "connections": {
    "4fd06c6a-4975-4a6a-95f3-bb48f3e9bdf6": {
      "main": [
        [
          {
            "node": "8dfa3e8e-29d8-4098-825d-8ec915ca6f3f",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "ab1a1335-92c8-41f8-b008-5b19530f08e9": {
      "main": [
        [
          {
            "node": "c4a8dae8-d6f3-4309-8fa5-78d69cf1b1e8",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "86554078-ce7c-4dd3-b36f-d1bf22530f7b": {
      "main": [
        [
          {
            "node": "500ef1bd-8965-4245-81d7-14c3897b4275",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "500ef1bd-8965-4245-81d7-14c3897b4275": {
      "main": [
        [
          {
            "node": "ab1a1335-92c8-41f8-b008-5b19530f08e9",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "a84fa822-fd74-45db-93c6-f51be75ef307": {
      "main": [
        [
          {
            "node": "500ef1bd-8965-4245-81d7-14c3897b4275",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "86554078-ce7c-4dd3-b36f-d1bf22530f7b",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "8dfa3e8e-29d8-4098-825d-8ec915ca6f3f": {
      "main": [
        [
          {
            "node": "c4c2538a-28e8-4c75-856d-000a727a4f13",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "c4c2538a-28e8-4c75-856d-000a727a4f13": {
      "main": [
        [
          {
            "node": "a84fa822-fd74-45db-93c6-f51be75ef307",
            "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 - Vertrieb, Engineering

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 Nodes8
Kategorie2
Node-Typen5
Schwierigkeitsbeschreibung

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

Autor
n8n Team

n8n Team

@n8n-team

Meet the official n8n team. We specialize in building workflows that transform intricate tasks into seamless operations.

Externe Links
Auf n8n.io ansehen

Diesen Workflow teilen

Kategorien

Kategorien: 34