2. Refresh Pipedrive tokens

2. Refresh Pipedrive tokens

Webhook
High
29
Nodes
Webhook
Trigger
High
Complexity
7/22/2025
Added

Workflow Overview

Total Nodes
29
Node Types
9

Node Types

stop And Error
Stop and Error
1 node
sticky Note
Sticky Note, Sticky Note1, Sticky Note2, Sticky Note3, Sticky Note4, Sticky Note5, Sticky Note6, Sticky Note7, Sticky Note8
9 nodes
supabase
Insert, Get Pipedrive Token, Look for the related record in Supabase, Update tokns in the record, Supabase- look for the record, Update thr row with new access token
6 nodes
http Request
Get contact from Pipedrive, Refresh Access Token, Generate Refresh Token from authcode, Get Pipedrive acess token
4 nodes
if
Access Token Invalid, IF rec not found, IF success
3 nodes
respond To Webhook
Success
1 node
code
convert clientId and secret to base64
1 node
set
combine client id and secret
1 node
webhook
Webhook, Receive request, catch Auth code
3 nodes

Workflow JSON

23.43 KB
{
  "id": "IYgbtNpyB4E6Jbxo",
  "meta": {
    "instanceId": "35ae520798f87e479496aa54e1a1f89ffdf43eee77986511d08258a12b1edc98",
    "templateCredsSetupCompleted": true
  },
  "name": "2. Refresh Pipedrive tokens",
  "tags": [],
  "nodes": [
    {
      "id": "2b66edcd-c71a-4dac-971f-deb1b09ef85b",
      "name": "Stop and Error",
      "type": "n8n-nodes-base.stopAndError",
      "position": [
        1460,
        -80
      ],
      "parameters": {
        "errorMessage": "Token refresh failed"
      },
      "typeVersion": 1,
      "alwaysOutputData": false
    },
    {
      "id": "b48d6760-766e-4b39-be35-89de7dc3ab5e",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        60,
        -300
      ],
      "parameters": {
        "color": 5,
        "width": 872,
        "height": 97,
        "content": "## Step 2:\nCreate a workflow to refresh your access token when the access token requires a refresh."
      },
      "typeVersion": 1
    ...

Showing first 1000 characters. Click "Expand" to view the full JSON.