← All agents

Automation & utilities · One purpose, multiple implementations

2. Refresh Pipedrive tokens

Adapt the published “2. Refresh Pipedrive tokens” workflow to other implementations while preserving its documented behavior.

The source contains 20 executable nodes and 18 connections. This draft is derived from the n8n export; it needs a human-reviewed purpose, input/output contract, and behavioral tests before a port can claim equivalence.

Open agent files on GitHub ↗

Shared workflow

This initial Mermaid diagram shows observed connections from the n8n source, including model and tool dependencies. Unresolved connections are listed under Evidence. It is a starting point for the shared design; it does not execute the agent or establish correctness.

Rendering the workflow diagram…

Read the Mermaid source
flowchart LR
  n0["Stop and Error"]
  n1["Insert"]
  n2["Get Pipedrive Token"]
  n3["Get contact from Pipedrive"]
  n4["Access Token Invalid"]
  n5["Success"]
  n6["Refresh Access Token"]
  n7["convert clientId and secret to base64"]
  n8["Generate Refresh Token from authcode"]
  n9["Look for the related record in Supabase"]
  n10["IF rec not found"]
  n11["Update tokns in the record"]
  n12["Supabase- look for the record"]
  n13["combine client id and secret"]
  n14["Get Pipedrive acess token"]
  n15["IF success"]
  n16["Update thr row with new access token"]
  n17["Webhook"]
  n18["Receive request"]
  n19["catch Auth code"]
  n17 -->|"main out 0 to in 0"| n12
  n15 -->|"main out 0 to in 0"| n16
  n15 -->|"main out 1 to in 0"| n0
  n18 -->|"main out 0 to in 0"| n2
  n19 -->|"main out 0 to in 0"| n7
  n10 -->|"main out 0 to in 0"| n1
  n10 -->|"main out 1 to in 0"| n11
  n2 -->|"main out 0 to in 0"| n3
  n4 -->|"main out 0 to in 0"| n6
  n4 -->|"main out 1 to in 0"| n5
  n6 -->|"main out 0 to in 0"| n2
  n14 -->|"main out 0 to in 0"| n15
  n3 -->|"main out 0 to in 0"| n4
  n13 -->|"main out 0 to in 0"| n14
  n12 -->|"main out 0 to in 0"| n13
  n8 -->|"main out 0 to in 0"| n9
  n7 -->|"main out 0 to in 0"| n8
  n9 -->|"main out 0 to in 0"| n10
Read the specification and unresolved requirements ↗

Implementations

Each implementation shares the agent’s purpose. Available source, planned ports, and verified results are labeled separately.

Plain Python

Planned · no code yet

Read the implementation plan ↗

Pydantic AI

Planned · no code yet

Read the implementation plan ↗

CrewAI Flow

Planned · no code yet

Read the implementation plan ↗

CrewAI Crew

Planned · no code yet

Read the implementation plan ↗

LangGraph

Planned · no code yet

Read the implementation plan ↗

Build or operate with an assistant

Each prompt includes separate build and operating instructions tailored to this agent. They are untested instructions, not working implementations. Check the chosen product’s actual capabilities before using it.

Evidence and remaining work

The bulk collection has publication checks, not live-service testing. Diagrams and prompts are documentation. A port needs reviewed schemas, fixtures, actual execution results, and explicit limits before claiming equivalent behavior.

  • Define input/output schemas and expected outputs.
  • Review source expressions, external actions, and failure behavior.
  • Determine whether model judgment is required or deterministic rules suffice.

Curated by Nik Bear Brown. Preserve each implementation’s original attribution and license. These source templates are separate from the audited Claude directory.