---
title: How to Migrate Pipedream Workflows to Truto for Customer-Facing Integrations
slug: how-to-migrate-pipedream-workflows-to-truto
date: 2026-11-23
author: Uday Gajavalli
categories: [Guides, Engineering]
excerpt: "Pipedream Workflows shuts down on March 31, 2027. How to decide what stays on Pipedream Connect, what moves to Truto, how to move OAuth accounts without asking customers to reconnect, and what the move costs."
tldr: "Pipedream Workflows and String shut down on March 31, 2027, and Pipedream deletes Workflows data, including connected-account tokens, by April 30, 2027. Pipedream Connect is not affected, so staying on Connect is a real option. Workflows that ran for end users had to use your own OAuth clients, so those Connect OAuth accounts can be read with include_credentials and imported into Truto with POST /integrated-account, one customer at a time, without a reconnect. Accounts on Pipedream's own OAuth client, and accounts connected only in a Workflows workspace, cannot be imported and must reconnect if they move."
canonical: https://truto.one/blog/how-to-migrate-pipedream-workflows-to-truto/
---

# How to Migrate Pipedream Workflows to Truto for Customer-Facing Integrations


Pipedream Workflows and String shut down on **March 31, 2027**. Pipedream deletes all Workflows data by **April 30, 2027**, and that includes the credentials and OAuth tokens of connected accounts. Pipedream Connect (the Connect API, MCP servers and the API proxy) is not affected. That is the whole of [Pipedream's own notice](https://pipedream.com/docs/workflows), and it gives every team about four months.

If your Pipedream workflows run **for your customers**, this guide is for you. It covers three decisions:

1. What stays on Pipedream Connect, and what moves to [Truto](https://truto.one).
2. Which customer accounts can move without a reconnect, and how to move them safely.
3. What the move costs, in money and in engineering weeks.

The short reauthentication answer: OAuth accounts that your customers connected through Connect with **your own OAuth client** can move without a reconnect. Pipedream required your own client to run workflows for end users, so most customer-facing workflows already meet that condition. The [reauthentication section](#which-accounts-can-move-without-a-reconnect) shows the rules and the risks.

If your workflows are internal automations for your own team, Truto is not the right home. The [options section](#your-options-after-the-shutdown) says where they fit better.

## Pipedream Workflows is shutting down: what has to move?

| Date | What happens |
|---|---|
| Now | Workflows is in maintenance mode. Pipedream accepts no new sign-ups or subscriptions and ships no new Workflows features. |
| March 31, 2027 | Workflows and String stop. Pipedream cancels the subscription and issues a prorated refund. |
| April 30, 2027 | Pipedream deletes all Workflows data, including credentials and OAuth tokens. |

The important boundary is between Workflows and Connect. Pipedream says it deletes only data related to Workflows, and that "Pipedream Connect settings and credentials will not be affected."

What stops or is lost:

- **Running workflows.** Nothing runs after March 31, 2027. A Connect trigger that sends its events to a Pipedream workflow ID loses its destination with it.
- **The workflow logic.** Pipedream's [export tool](https://pipedream.com/docs/workflows/export-workflows) writes one JSON file per workflow: triggers, steps, code and configured props. Export writes the archive to the project's File Store, so your plan must include File Stores.
- **Credentials in the export.** The export replaces secret props with `<redacted>` and keeps only the `authProvisionId` of each connected account.
- **State.** Event history, data stores, File Store files, environment variables and the code of private multi-file components are not in the export.

What survives: your customers' Connect accounts, Connect actions, Connect triggers that deliver to your own webhook URL, the Connect API proxy and Pipedream's MCP servers.

## Your options after the shutdown

Pick the destination by the kind of workflow, not by the vendor.

| Option | What you own after the move | Fits when |
|---|---|---|
| **Stay on Pipedream Connect** | Your workflow logic moves into your own backend. Connect keeps the accounts, runs actions, and deploys triggers that post to your webhook URL. | You want the smallest move before March 31, 2027, or many accounts use Pipedream's own OAuth clients. |
| **Nango** | Code-first functions per integration, in your repository, deployed to Nango. | Your team wants to write and own each integration in TypeScript. |
| **Truto** | Your backend calls one Unified API shape, or the Proxy API. Integration behavior is configuration and JSONata, with no per-integration deploy. | The workflows are customer-facing integrations across several apps of the same kind. |
| **n8n, Temporal or a queue in your backend** | A workflow engine or your own job code. | Internal automations, visual building, multi-step business processes, long waits and approvals. |
| **Elaichi** | Workflows for your team's own apps, with per-person access and an audit log. Elaichi is made by the same team as Truto. | Internal team automations on schedules, webhooks and Slack. See [Migrate Pipedream Workflows to Elaichi](https://elaichi.ai/blog/migrate-pipedream-workflows/). |

### Staying on Pipedream Connect

Staying on Connect is the right answer for some teams, and it is the cheapest move in engineering time. Connect is not part of the shutdown. On Connect you can:

- **Run actions** for an end user on demand, from your backend ([Executing actions](https://pipedream.com/docs/connect/components/actions)).
- **Deploy triggers** for an end user. When you deploy a source, you give it "either a webhook URL or a Pipedream workflow ID" ([Deploying triggers](https://pipedream.com/docs/connect/components/triggers)). A trigger that posts to your own webhook URL does not depend on Workflows.
- **Call any API through the Connect proxy** with the end user's account.
- **Use Pipedream's own OAuth clients** for actions, triggers and the proxy. Pipedream's [OAuth clients page](https://pipedream.com/docs/connect/managed-auth/oauth-clients) marks "Embed prebuilt tools" and "Proxy API requests" as working with Pipedream's clients.

What you give up when you stay: the workflow runtime. Steps, branching, data stores, delays and retries become your own backend code. You also keep Connect's pricing, which grows with external users and usage credits (see [cost](#what-does-the-move-cost)).

So the realistic plan for many teams is mixed. Accounts on Pipedream's own OAuth clients stay on Connect. Apps where you own the OAuth client move to Truto when the unified model and the per-customer flat price help you.

### Is Truto a good fit?

| Pipedream workflow type | Fit with Truto | Why |
|---|---|---|
| Product integrations: read or write your customers' apps | Strong | Unified and Proxy APIs per integrated account, one call shape across apps |
| Scheduled polling and data replication | Strong | RapidBridge sync jobs run on a schedule, incrementally, and send records to your webhook |
| Provider webhooks (a record changed in the customer's app) | Strong where the integration maps webhooks | Truto turns vendor webhooks into `record:created`, `record:updated` and `record:deleted` events |
| Tools for AI agents on a customer's account | Strong | A per-account MCP server exposes that account's described Proxy API methods |
| Multi-app business processes with branching and state | Partial | Keep the process in your backend. Use Truto for each app call |
| Visual automation, long waits, human approvals, arbitrary scripts | Weak | Use a workflow engine. Truto is not one |

## Which accounts can move without a reconnect?

Three facts from Pipedream's documentation decide the answer:

1. **Workflows that run for end users need your own OAuth client.** Pipedream's guide to [running workflows for your end users](https://pipedream.com/docs/connect/workflows) says that for OAuth apps "you **must use your own custom OAuth clients**." The OAuth clients page shows "Invoke workflows" as working with a custom client and not with Pipedream's.
2. **Connect returns the tokens of those accounts.** The [list accounts](https://pipedream.com/docs/connect/api-reference/list-accounts) endpoint takes `include_credentials=true`. The account schema says credentials come back "only applicable for BYOA apps", that is, apps on your own OAuth client.
3. **Connect accounts are not deleted.** The shutdown deletes Workflows data, and Connect credentials stay.

On the Truto side, [`POST /integrated-account`](https://truto.one/docs/api-reference/admin/integrated-accounts/create/) exists for "importing existing app credentials into Truto." For OAuth 2.0 accounts, the tokens go in the account's `context.oauth.token` object. Truto refreshes the token with the OAuth app set on the installed integration, so you set the same Client ID and Client Secret there first ([Overriding OAuth credentials](https://truto.one/docs/guides/integrations/overriding-oauth-credentials/)).

Token import is not special to Truto. Nango has the same kind of endpoint: [`POST /connections`](https://nango.dev/docs/reference/backend/http-api/connections/post) "upserts a connection for which you already have credentials." [Nango's own migration guide](https://nango.dev/blog/migrate-pipedream-workflows-to-nango), from November 4, 2026, says connected accounts must be authorized again, because the Workflows export excludes credentials. That is true of the export. The Connect API is a second route to the tokens, and it works for either destination.

| Where the account lives | Can the tokens move? | What to do |
|---|---|---|
| Connect, OAuth app, your own OAuth client | Yes | Import one customer at a time, as below |
| Connect, Pipedream's own OAuth client | No | Keep it on Connect. Or, if the app must move, ask the customer to reconnect through Truto's Connect UI |
| Connect, key-based app (API key) | Not confirmed | Pipedream's OAuth clients page says it stores key-based credentials "and exposes them via API", but the API reference limits returned credentials to BYOA apps. Test one account before you plan on it |
| Connected inside your Workflows workspace only | No | These are usually your own team's accounts. The export has no tokens, and the data is deleted by April 30, 2027 |

So the group that truly has to reconnect is small: accounts on Pipedream's own OAuth client **for apps you decide to move**, plus workspace-only accounts. Everything else either moves without a reconnect or stays on Connect.

We go deeper on why OAuth app ownership decides portability in [OAuth app ownership explained](https://truto.one/blog/oauth-app-ownership-explained-how-to-switch-unified-api-providers-without-re-authenticating-customers/).

### Refresh tokens that rotate

Import is safe only if one system at a time holds a working refresh token. After an import, Pipedream and Truto both hold the same refresh token. Pipedream refreshes Connect accounts on its own schedule: each account has a `next_refresh_at` time. Truto also refreshes before expiry.

With a rotating refresh token, the first refresh by either side disables the token the other side holds. A bulk import followed by a long dual-run will break those accounts on one side, at random. So:

- **Move one customer at a time.** Import their accounts, check them, and delete their Connect accounts in Pipedream in the same run.
- **Skip an account whose `next_refresh_at` is close.** The script below skips any account that Pipedream will refresh within 15 minutes.
- **There is no rollback to Pipedream after the delete.** Before the delete, rollback means turning the Pipedream workflow back on. After it, rollback means the customer reconnects.

How the five apps in this guide behave, from each vendor's own documentation:

| App | Refresh token behavior | Source |
|---|---|---|
| Jira (Atlassian OAuth 2.0 3LO) | Rotating. "You receive a new refresh token as well and the refresh token you used for the request is disabled." | [Atlassian: OAuth 2.0 (3LO) apps](https://developer.atlassian.com/cloud/jira/platform/oauth-2-3lo-apps/) |
| Slack | With token rotation on, the refresh token "is then revoked, and a new refresh token is used." Without token rotation, the access token never expires and there is nothing to refresh. | [Slack: Using token rotation](https://docs.slack.dev/authentication/using-token-rotation) |
| Microsoft Teams (Microsoft identity platform) | Refresh tokens "replace themselves with a fresh token upon every use", and the platform "doesn't revoke old refresh tokens." The old token keeps working until it expires. | [Microsoft: Refresh tokens](https://learn.microsoft.com/en-us/entra/identity-platform/refresh-tokens) |
| HubSpot | HubSpot's OAuth tokens guide does not say whether a refresh returns a new refresh token or disables the old one. Treat it as rotating until you test. | [HubSpot: OAuth tokens](https://developers.hubspot.com/docs/api/oauth/tokens) |
| Salesforce | Not verified. We could not read Salesforce's documentation on refresh token rotation. Check your connected app's settings, and treat it as rotating until you test. | — |

### Who refreshes, and when Pipedream deletes the account

Pipedream's reference describes [Delete account](https://pipedream.com/docs/connect/api-reference/delete-account) as "Remove a connected account and its associated credentials." It does not say whether Pipedream also revokes the token at the provider. If it does, the token you just imported dies with it. Run the whole sequence on one test account per app first, and check the Truto account still works an hour after the delete.

## Map Pipedream components to Truto

| Pipedream component | Truto equivalent | Migration approach |
|---|---|---|
| Connected accounts (Connect) | Integrated accounts, one per customer per app | Import tokens with `POST /integrated-account`, or reconnect with a link token |
| `external_user_id` | `tenant_id` | Use the same ID, so your database lookups do not change |
| Action steps (Pipedream lists 10,000+ prebuilt tools and triggers) | Unified API, or the Proxy API for app-specific resources | Replace each step with one API call from your backend. Check the unified model covers the fields you use before you count on it |
| Code steps calling an app's API | Proxy API, or the Custom API for paths the integration does not define | Keep the business logic in your code. Drop the auth and pagination code |
| npm packages in Node.js code steps | Your backend's own dependencies | Pipedream lets a code step import most npm packages. Move them into your service |
| Schedule triggers that poll an app | RapidBridge sync jobs | Define the resources and a schedule. Records go to your webhook |
| App event sources (webhooks from the app) | Inbound vendor webhooks, mapped to unified events | Point the vendor's webhook at Truto's URL. Subscribe to `record:*` events |
| HTTP, email and form triggers | Your own endpoint or inbox | Truto has no email or form trigger. Your backend receives them and calls Truto |
| Transforms between steps | JSONata in Unified API mappings, with per-environment and per-account overrides | Move field shaping into the mapping |
| Data stores and checkpoints | Your database | Export them before April 30, 2027. Keep the state in your own database. Truto keeps sent webhook events, with their records, for 30 days only |
| `$.flow.suspend`, `$.flow.delay` (up to one year), approvals | Your backend or a workflow engine | Not a Truto feature |
| Concurrency and throttling settings | Your queue's concurrency limit | Truto enforces its own rate limits, and your code controls how many calls run at once |
| Auto-retry on errors (Advanced plan: up to 8 retries over 10 hours) | Your job runner's retry policy | Truto does not retry your failed calls for you |
| Event inspector (replay and inspect each run) | Truto logs: 30 days on Expansion, 90 days on Enterprise | Keep your own run history if you need more than the log window |

Sources for the Pipedream rows: [concurrency and throttling](https://pipedream.com/docs/workflows/building-workflows/settings/concurrency-and-throttling), [auto-retry](https://pipedream.com/docs/workflows/building-workflows/settings), [`$.flow.delay`](https://pipedream.com/docs/workflows/building-workflows/code/nodejs/delay), [npm packages](https://pipedream.com/docs/workflows/building-workflows/code/nodejs), [inspect events](https://pipedream.com/docs/workflows/building-workflows/inspect) and the [Connect pricing page](https://pipedream.com/pricing) for the 10,000+ count. The log retention comes from [Truto's pricing page](https://truto.one/pricing/).

## The migration in six steps

### 1. Export and inventory

Export each project: **Project → Settings → Export Workflows**, then download `project_export-<project_id>.zip` from the project's File Store. One export holds at most 500 workflows or 256 MB. The `warnings` list in `manifest.json` names each step and prop you must re-enter.

For each workflow, write down:

- The trigger type: `source`, `http`, `timer`, `email` or `form`.
- The apps it calls, and the action or code step for each call.
- The customers it runs for (the `external_user_id` values).
- For each app, whether your Connect accounts use your own OAuth client or Pipedream's.
- Any data store keys it reads or writes.

### 2. Decide what stays and what moves

Sort the inventory with the tables above. Apps on Pipedream's own OAuth clients stay on Connect, unless you accept a reconnect. Customer-facing reads, writes, polling and provider webhooks on your own OAuth clients can move to Truto. Approvals, long delays and internal automations go to a workflow engine.

### 3. Install integrations with your own OAuth apps

Install each integration in a Truto environment. Open its **Configuration** tab, turn on **Use your own OAuth settings**, and enter the same Client ID and Client Secret your Pipedream custom OAuth client uses. Add Truto's redirect URL to that OAuth app at the provider.

Install the Unified APIs you plan to call, for example CRM and Instant Messaging. Truto's docs warn that accounts keep tokens issued to the OAuth app that issued them. Set your own app **before** you import, not after.

### 4. Rebuild the logic

Replace each step from your inventory with the Truto feature in the mapping table. The [worked example](#worked-example-crm-changes-to-a-slack-or-teams-alert) shows one workflow end to end. Build and test it on a test tenant before you move any customer.

### 5. Move one customer at a time

The script below moves one customer. It checks every account before it imports anything, and it records what it moved, so you can run it again safely.

```typescript
// migrate-customer.ts — moves one customer's Connect accounts for one app.
// Usage: bun migrate-customer.ts <app> <external_user_id>   (app: hubspot | slack)
import { readFileSync, writeFileSync, existsSync } from 'node:fs'

const PD = 'https://api.pipedream.com/v1'
const TRUTO = 'https://api.truto.one'

// One entry per app. Fill in your own values.
const APPS: Record<string, {
  clientId: string           // the provider's client ID of your OAuth app, the same one set in Truto
  pdOauthAppId: string       // your custom OAuth client in Pipedream (oa_...)
  envIntegrationId: string   // the installed integration in Truto
  requiredScopes: string[]   // what your Truto calls need
  cheapRead: string          // one small Unified API read
}> = {
  hubspot: {
    clientId: process.env.HUBSPOT_CLIENT_ID!,
    pdOauthAppId: process.env.PD_HUBSPOT_OAUTH_APP_ID!,
    envIntegrationId: process.env.TRUTO_HUBSPOT_ENV_INTEGRATION_ID!,
    requiredScopes: ['crm.objects.contacts.read'],
    cheapRead: '/unified/crm/contacts?limit=1',
  },
  slack: {
    clientId: process.env.SLACK_CLIENT_ID!,
    pdOauthAppId: process.env.PD_SLACK_OAUTH_APP_ID!,
    envIntegrationId: process.env.TRUTO_SLACK_ENV_INTEGRATION_ID!,
    requiredScopes: ['chat:write'],
    cheapRead: '/unified/instant-messaging/channels?limit=1',
  },
}

const [appName, externalUserId] = process.argv.slice(2)
const app = appName ? APPS[appName] : undefined
if (!app || !externalUserId) throw new Error('Usage: bun migrate-customer.ts <app> <external_user_id>')

// Pipedream account id -> where it stands. A rerun finishes what is left.
type Entry = { trutoId: string; deleted: boolean }
const LEDGER = 'migrated-accounts.json'
const ledger: Record<string, Entry> = existsSync(LEDGER) ? JSON.parse(readFileSync(LEDGER, 'utf8')) : {}
const save = () => writeFileSync(LEDGER, JSON.stringify(ledger, null, 2))

const trutoHeaders = {
  Authorization: `Bearer ${process.env.TRUTO_API_TOKEN}`,
  'Content-Type': 'application/json',
}

async function pipedreamToken(): Promise<string> {
  const res = await fetch(`${PD}/oauth/token`, {
    method: 'POST',
    headers: { 'Content-Type': 'application/json' },
    body: JSON.stringify({
      grant_type: 'client_credentials',
      client_id: process.env.PD_CLIENT_ID,
      client_secret: process.env.PD_CLIENT_SECRET,
      scope: 'connect:accounts:read connect:accounts:write',
    }),
  })
  if (!res.ok) throw new Error(`Pipedream token: ${res.status}`)
  const body = (await res.json()) as { access_token: string }
  return body.access_token
}

// Post-install steps run after the import. Wait until the account leaves `connecting`.
async function settledStatus(trutoId: string): Promise<string> {
  const deadline = Date.now() + 5 * 60 * 1000
  while (Date.now() < deadline) {
    const res = await fetch(`${TRUTO}/integrated-account/${trutoId}`, { headers: trutoHeaders })
    if (!res.ok) throw new Error(`Truto account ${trutoId}: ${res.status}`)
    const { status } = (await res.json()) as { status: string }
    if (status !== 'connecting') return status
    await new Promise((r) => setTimeout(r, 5000))
  }
  return 'connecting'
}

const pdHeaders = { Authorization: `Bearer ${await pipedreamToken()}`, 'x-pd-environment': 'production' }
const project = process.env.PD_PROJECT_ID

const url = new URL(`${PD}/connect/${project}/accounts`)
url.searchParams.set('external_user_id', externalUserId)
url.searchParams.set('app', appName!)
url.searchParams.set('oauth_app_id', app.pdOauthAppId)
url.searchParams.set('include_credentials', 'true')
const listRes = await fetch(url, { headers: pdHeaders })
if (!listRes.ok) throw new Error(`Pipedream accounts: ${listRes.status}`)
const accounts = ((await listRes.json()) as { data: any[] }).data

for (const account of accounts) {
  let entry = ledger[account.id]
  if (entry?.deleted) continue

  if (!entry) {
    const creds = account.credentials
    const problems: string[] = []
    if (account.dead || !account.healthy) problems.push('unhealthy in Pipedream')
    if (!creds?.oauth_access_token) problems.push('no credentials returned')
    if (creds?.oauth_client_id !== app.clientId) problems.push('not on your OAuth client')
    const missing = app.requiredScopes.filter((s) => !(account.authorized_scopes ?? []).includes(s))
    if (missing.length) problems.push(`missing scopes: ${missing.join(', ')}`)
    const nextRefresh = account.next_refresh_at ? Date.parse(account.next_refresh_at) : Infinity
    if (nextRefresh - Date.now() < 15 * 60 * 1000) problems.push('Pipedream refreshes it within 15 minutes')
    if (problems.length) {
      console.warn(`${account.id}: not moved (${problems.join('; ')})`)
      continue
    }

    const expiresIn = account.expires_at
      ? Math.max(0, Math.floor((Date.parse(account.expires_at) - Date.now()) / 1000))
      : undefined
    const importRes = await fetch(`${TRUTO}/integrated-account`, {
      method: 'POST',
      headers: trutoHeaders,
      body: JSON.stringify({
        tenant_id: externalUserId,
        environment_integration_id: app.envIntegrationId,
        authentication_method: 'oauth2',
        context: {
          oauth: {
            token: {
              access_token: creds.oauth_access_token,
              refresh_token: creds.oauth_refresh_token,
              expires_in: expiresIn,
            },
          },
        },
      }),
    })
    if (!importRes.ok) throw new Error(`${account.id}: Truto import ${importRes.status}`)
    const created = (await importRes.json()) as { id: string }
    entry = ledger[account.id] = { trutoId: created.id, deleted: false }
    save()
  }

  // Check the Truto account works before Pipedream lets go of the token.
  const status = await settledStatus(entry.trutoId)
  const read = status === 'active'
    ? await fetch(`${TRUTO}${app.cheapRead}&integrated_account_id=${entry.trutoId}`, { headers: trutoHeaders })
    : undefined
  if (status === 'connecting') {
    console.warn(`${account.id}: Truto account still connecting. Run the script again later.`)
    continue
  }
  if (!read?.ok) {
    // Give the token back to Pipedream alone: remove the Truto account.
    await fetch(`${TRUTO}/integrated-account/${entry.trutoId}`, { method: 'DELETE', headers: trutoHeaders })
    delete ledger[account.id]
    save()
    console.warn(`${account.id}: Truto account was ${status}, read ${read?.status ?? 'skipped'}. Removed it. Connect account kept.`)
    continue
  }

  // One system holds the refresh token from here on.
  const del = await fetch(`${PD}/connect/${project}/accounts/${account.id}`, { method: 'DELETE', headers: pdHeaders })
  if (!del.ok) throw new Error(`${account.id}: Pipedream delete ${del.status}. Run the script again to finish.`)
  entry.deleted = true
  save()
  console.log(`${account.id} -> ${entry.trutoId}: moved, Connect account deleted`)
}
```

What the checks do:

- **`oauth_app_id` filter and `oauth_client_id` check.** The list call asks only for accounts on your custom client in Pipedream. The script then checks that `credentials.oauth_client_id` is your provider Client ID, the same one set in Truto. An account issued to another client would fail its first refresh in Truto.
- **`authorized_scopes` check.** Pipedream reports "the OAuth scopes effectively granted to this account." If a scope your Truto calls need is missing, the account would import and then fail with `403`. Those accounts must reconnect with the new scopes. The scope lists above are examples. Use the scopes your own calls need.
- **Waiting for `connecting` to end.** Truto runs an integration's post-install steps after the account is created, and the account stays `connecting` while they run ([Connection flow](https://truto.one/docs/guides/integrated-accounts/connection-flow/)). HubSpot has post-install steps. The script reads the account with [`GET /integrated-account/:id`](https://truto.one/docs/api-reference/admin/integrated-accounts/get/) until the status changes, for up to 5 minutes.
- **One cheap read.** An `active` account must also answer one small Unified API call. Only then does the script delete the Connect account.
- **A failed check.** If the account ends in another status, or the read fails, the script deletes the Truto account with [`DELETE /integrated-account/:id`](https://truto.one/docs/api-reference/admin/integrated-accounts/delete/). Pipedream keeps the only copy of the token. Fix the cause, then run the customer again.
- **The ledger.** `migrated-accounts.json` stores the Truto account ID and whether the Connect account is deleted. A rerun skips finished accounts. A rerun also finishes an account that stopped between the import and the delete, so a crash or a failed delete does not leave two systems holding the token for long.

There is still a short window, from the import to the delete, when both systems hold the token. The 15-minute `next_refresh_at` check keeps Pipedream from refreshing during a normal run. If a run stops before the delete, run it again soon. Test the whole run on one test account per app before real customers.

Before you run it on real customers, check per app:

- **App-specific fields.** Pipedream's `credentials` object can hold app-specific fields, such as a `base_url`. Some Truto integrations need instance values in `context`, such as a subdomain. Open the integration's credentials config, or an existing account's **Variables**, and map those keys too.
- **Key-based apps.** The script handles OAuth only. Test one key-based account by hand to see whether Pipedream returns its key at all.
- **Salesforce apps.** If your Pipedream Salesforce client is your own connected app, set its Consumer Key and Consumer Secret in Truto. Truto's [Salesforce guide](https://truto.one/docs/integration-guides/salesforce/) explains the limits of new External Client Apps.

For accounts that cannot move, create a link token for the tenant and send the customer to Truto's Connect UI: `POST /link-token` with `tenant_id` ([Connect an account](https://truto.one/docs/guides/integrated-accounts/connecting-an-account/)). You can also embed the Connect UI with the [Link SDK](https://truto.one/docs/guides/link-sdk/how-to-embed/).

### 6. Cut over per customer

The [cutover checklist](#test-and-cut-over) gives the order. Move one customer, check, then automate the loop over the rest.

## Worked example: CRM changes to a Slack or Teams alert

The example product is a sales tool. When a contact changes in a customer's CRM, the product posts a short alert in the customer's chat app.

We picked this example over a GitHub-to-Slack one for two reasons. Truto maps CRM webhooks to unified events for HubSpot and Salesforce. Truto also has one unified call to send a message to both Slack and Microsoft Teams.

**The Pipedream version.** Per customer, a workflow runs on the customer's Connect accounts. A HubSpot source trigger fires on a contact change. A Slack "send message" action posts to a channel.

**The Truto version** has no workflow. It has one webhook endpoint in your backend.

### Step 1: Install the Unified APIs and integrations

Install the CRM and Instant Messaging Unified APIs. Install HubSpot, Salesforce, Slack and Microsoft Teams with your own OAuth apps, as in step 3 above.

### Step 2: Move the accounts

Run the customer script once per app for each customer: `bun migrate-customer.ts hubspot <external_user_id>`, then `bun migrate-customer.ts slack <external_user_id>`. Each customer ends with two integrated accounts under one `tenant_id`.

### Step 3: Receive CRM changes from Truto

**HubSpot** sends every customer's events to the one target URL set on your HubSpot app. Truto's [HubSpot guide](https://truto.one/docs/integration-guides/hubspot/) has you enter Truto's per-installed-integration URL there:

```text
https://api.truto.one/environment-integration-webhook/<environment_integration_id>
```

Because the app has one target URL, changing it moves **every** customer's HubSpot events to Truto at the same moment. The per-customer cutover does not apply to HubSpot webhooks. Switch the target URL only when all HubSpot customers have moved to Truto.

A proxy in front of Truto is not a way around this. HubSpot's signature covers the full target URL, so Truto cannot verify events that arrive through another URL. Truto also sorts each event to the integrated accounts it has. A customer you have not moved has no account in Truto to receive the event.

HubSpot webhooks also need your own HubSpot app set in Truto, because HubSpot signs each event with that app's Client Secret.

**Salesforce** is listed for CRM record events in Truto's [Receiving vendor webhooks](https://truto.one/docs/guides/webhooks/inbound-vendor-webhooks/) page. That page says some integrations register the per-account webhook for you when an account connects, and the rest need a step in the vendor's console from the integration guide. Truto's public Salesforce guide has no webhook steps, so we could not document the Salesforce setup here. Ask Truto how Salesforce events are set up for your orgs before you plan that cutover. Until then, a RapidBridge sync job on a schedule is a documented fallback.

Then subscribe your endpoint to Truto's record events and to account errors ([Create webhook](https://truto.one/docs/api-reference/admin/webhooks/create/)):

```bash
curl -X POST https://api.truto.one/webhook \
  -H "Authorization: Bearer $TRUTO_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "target_url": "https://api.example.com/truto-webhook",
    "is_active": true,
    "event_types": ["record:created", "record:updated", "integrated_account:authentication_error"]
  }'
```

The response holds a `secret`. Truto signs each delivery with it in the `X-Truto-Signature` header.

### Step 4: Post the alert

```typescript
import crypto from 'node:crypto'
import express from 'express'

const app = express()
const seen = new Set<string>() // use your database in production

function verify(header: string | undefined, body: Buffer): boolean {
  if (!header?.includes('v=')) return false
  const received = Buffer.from(header.split('v=')[1] ?? '')
  const expected = Buffer.from(
    crypto.createHmac('sha256', process.env.TRUTO_WEBHOOK_SECRET!)
      .update(body)
      .digest('base64url'),
  )
  return received.length === expected.length &&
    crypto.timingSafeEqual(received, expected)
}

app.post('/truto-webhook', express.raw({ type: '*/*' }), async (req, res) => {
  if (!verify(req.get('X-Truto-Signature'), req.body)) return res.sendStatus(401)
  const event = JSON.parse(req.body.toString('utf8'))
  res.sendStatus(200) // answer fast, work after

  if (seen.has(event.id)) return
  seen.add(event.id)
  if (event.payload?.resource !== 'crm/contacts') return

  // Your own lookup: which chat account and channel this customer chose.
  const target = await findChatTarget(event.payload.integrated_account_id)
  if (!target) return

  for (const contact of [event.payload.records].flat()) {
    const name = [contact.first_name, contact.last_name].filter(Boolean).join(' ')
    await fetch(
      `https://api.truto.one/unified/instant-messaging/messages?integrated_account_id=${target.chatAccountId}`,
      {
        method: 'POST',
        headers: {
          Authorization: `Bearer ${process.env.TRUTO_API_TOKEN}`,
          'Content-Type': 'application/json',
        },
        body: JSON.stringify({
          // Teams needs the team ID in `workspace`, and type 'channel' to post in a channel.
          ...(target.teamId ? { workspace: { id: target.teamId } } : {}),
          channel: { id: target.channelId, type: 'channel' },
          body: { content: `**${name || 'A contact'}** was ${event.event === 'record:created' ? 'added' : 'updated'} in your CRM.` },
        }),
      },
    )
  }
})

app.listen(3000)
```

`findChatTarget` is your code. It maps the CRM account to the same tenant's Slack or Teams account, the channel the customer picked and, for Teams, the team ID. Imported accounts never pass through Truto's Connect UI, so a RapidForm cannot collect the channel for them. Take the channel from where your Pipedream setup kept it. For a channel configured on the workflow's Slack step, the export holds it as the step's `channel` prop. Store it in your own database, keyed by tenant. You can also store it in the account's `context` with `PATCH /integrated-account/:id`. That call replaces the whole `context`, so read the account first ([Update integrated account](https://truto.one/docs/api-reference/admin/integrated-accounts/update/)).

The request body follows Truto's [Create Messages](https://truto.one/docs/api-reference/unified-instant-messaging-api/messages/create/) reference: `channel.id` and `body.content`. Truto's Slack mapping converts the Markdown in `body.content` to Slack's format. The Microsoft Teams mapping requires `workspace.id`, the team ID. It posts to a channel only when `channel.type` is `channel`. Otherwise it treats `channel.id` as a chat ID. Both mapping details come from Truto's live integration configuration, not from the public docs.

Truto delivers each event with up to five attempts inside a five-minute window, then marks it `failed`. Truto keeps sent events for 30 days, and you can list failed ones with `GET /webhook-event?status=failed` and resend them ([Webhooks overview](https://truto.one/docs/guides/webhooks/overview/)). A retry or resend keeps the same `id`, which is why the endpoint deduplicates on it.

Compare what you own at the end. The Pipedream version had a workflow per customer. A code-first migration leaves you a function per integration to write, deploy and maintain. The Truto version leaves one endpoint, one lookup and two API calls.

## Let your coding agent do the integration work

Truto publishes agent skills for Claude Code, Cursor, Codex and other agents that read skills. The [build page](https://truto.one/build/) describes the loop: install the skills once, then the agent reads an app's API docs, builds the integration, checks it and puts it live on Truto, with no deploy.

```text
/plugin marketplace add trutohq/truto-skills
/plugin install truto@truto-skills
```

A prompt for this migration, with your export open in the repository:

```text
Read exports/project_export-<project_id>/ and list every workflow, its trigger
and the apps it calls. For each app, check that a Truto integration exists and
that the CRM or Instant Messaging Unified API maps the resources we use. Write
migrate-customer.ts for hubspot and slack using the Pipedream Connect API and
POST /integrated-account, one customer at a time. Do not run it.
```

When an app has no Truto integration, the same skills build one from its API docs with `truto integrations build`, check it with `truto integrations lint`, and apply it with `truto integrations apply`.

## Give AI agents the same accounts

If your product also runs an AI agent on your customers' accounts, the imported accounts serve it too. `POST /integrated-account/:id/mcp` creates an [MCP server for one integrated account](https://truto.one/docs/guides/integrated-accounts/mcp-servers/). The agent sees that account's described Proxy API methods as tools, and nothing from other accounts or tenants.

```bash
curl -X POST https://api.truto.one/integrated-account/<integrated_account_id>/mcp \
  -H "Authorization: Bearer $TRUTO_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "Sales agent (read-only)",
    "config": { "methods": ["read"], "require_api_token_auth": true },
    "expires_at": "2027-06-30T00:00:00.000Z"
  }'
```

Protect the URL. The server URL contains its secret token, so by default anyone who has the URL can call the tools. Truto shows it once and stores only a hash. Two settings limit the damage if it leaks:

- `require_api_token_auth: true` makes every MCP request also carry a Truto API token.
- `expires_at` stops the server at a time you choose.

Keep the URL in your backend, not in a browser or a customer-visible config. MCP servers are a plan feature on Truto. The pricing page does not say which plan includes them, so confirm it with Truto.

## What does the move cost?

### Price models

| Platform | How it charges | Source |
|---|---|---|
| Pipedream Connect | Startup: $99 a month billed annually ($150 monthly), 100 external users included, then $2 per user a month. 10,000 usage credits a month included, then $0.012 per credit. An external user counts once however many apps they connect. | [pipedream.com/pricing](https://pipedream.com/pricing) |
| Nango | Pay-as-you-go: $50 a month, paid as $50 of credits. $0.29 per connection a month, pro-rated for the time it is stored, $0.72 per compute hour, $0.50 per GB of data transfer. | [nango.dev/pricing](https://www.nango.dev/pricing) |
| Truto | Per connector per year, with unlimited connections, companies and API calls. Expansion: from $999 per connector, all Standard connectors, launch with at least 10 connectors. Enterprise: from $1,999 per connector, Standard and Enterprise connectors, launch with at least 60 connectors. | [truto.one/pricing](https://truto.one/pricing/) |

All prices were read on November 23, 2026. Truto's pricing page does not list which connectors are Standard and which are Enterprise, so ask before you count on one.

### A worked example: 800 customers, two apps each

Assume 800 customers, each with HubSpot and Slack connected: 800 external users and 1,600 connections. List prices only, per year:

| Platform | Calculation | Per year |
|---|---|---|
| Pipedream Connect (stay) | $99 × 12 + (800 − 100) × $2 × 12 | $17,988, plus usage credits past 10,000 a month |
| Nango | 1,600 × $0.29 × 12 | about $5,568, plus compute and data transfer |
| Truto Expansion | Launch minimum of 10 connectors × $999 | from $9,990, flat as customers and calls grow |
| In-house | Engineering time, no platform fee | see below |

What the table does not show:

- **Usage.** Pipedream credits and Nango compute grow with how often your workflows run. On Pipedream, running an action, an MCP tool call, a proxy request and a trigger event each use one credit per 30 seconds of compute. Estimate your own volume from your Pipedream usage.
- **Growth.** At 3,000 customers on the same two apps, Pipedream Connect's per-user fee alone is (3,000 − 100) × $2 × 12 = $69,600. Pipedream offers volume pricing at that size. Nango's connection fee would be 6,000 × $0.29 × 12 = $20,880. Truto's price stays the same.
- **Two apps vs ten.** Truto's minimum is 10 connectors. With only two apps, you pay for ten. The minimum pays off when you plan more integrations.
- **Ownership.** Nango's price buys a platform you write per-integration functions on. Truto's price includes "Connectors & unified models built by us."

### Engineering weeks

These are our estimates for the example above (two apps, one webhook flow, 800 customers), for one engineer who knows the codebase. They are not measurements.

| Work | Stay on Connect | Truto | Nango | In-house |
|---|---|---|---|---|
| Inventory and plan | 0.5 week | 0.5 week | 0.5 week | 0.5 week |
| OAuth apps and account move | none | 1 week | 1 week | 2 weeks (token store, refresh) |
| Rebuild the workflow logic | 1–2 weeks | 1 week | 1–2 weeks | 3–4 weeks (webhooks, pagination, retries) |
| Test and cut over | 1 week | 1–2 weeks | 1–2 weeks | 1–2 weeks |
| **Total** | **2.5–3.5 weeks** | **3.5–4.5 weeks** | **3.5–5.5 weeks** | **6.5–8.5 weeks** |

In-house also leaves you the ongoing work: refresh failures, API changes and new apps. Add each new integration to the in-house column; for Truto, a new integration is configuration.

## Carry over configuration and state

Pipedream's export leaves these behind. Copy each one out before April 30, 2027.

| Left out of the export | Where it goes |
|---|---|
| Credentials and OAuth tokens | Connect accounts: import as above, or stay on Connect. Workspace-only accounts: connect again. |
| Secret props and environment variables | Your secret manager, then Truto environment variables where an integration needs them |
| Data stores and checkpoints | Your database. RapidBridge incremental syncs track the previous run themselves. |
| File Store files | Download them from the File Store |
| Event history | Download what you need for audits. It is not migrated anywhere. |
| Private multi-file component code | Your repository. The export has only the component key. |
| Webhook subscriptions at the provider | Register Truto's webhook URL at each provider |

## Test and cut over

Test on one test tenant first:

- Run the customer script on one test account per app. Check the Truto account is `active` an hour after the Connect account was deleted.
- Make a cheap read with `limit=1`. A `401` moves the account to `needs_reauth`, so you find bad tokens early.
- Send the same vendor event twice and check your endpoint processes it once.
- Send events for two tenants at the same time and check each alert goes to the right chat account.
- Expire a token on purpose and check you receive `integrated_account:authentication_error`.
- Check rate limits. When a provider rate-limits a call, Truto answers `429` with `truto_is_remote_error: true`. Wait for `Retry-After` when it is set, and back off exponentially when it is not ([Rate limits](https://truto.one/docs/api-reference/overview/rate-limits/)).

Then cut over per customer:

1. Pause the Pipedream workflow for that customer.
2. Run the customer script. It imports, checks `active`, and deletes the Connect accounts in one run.
3. Turn on the Truto path for that customer.
4. Replay what changed in the gap. For polling, run one full sync: `ignore_previous_run: true` on a V1–V3 sync job run ([Creating a RapidBridge sync job](https://truto.one/docs/guides/rapid-bridge/creating-rapid-bridge/)), or delete the run state on V4 ([V4 sync job reference](https://truto.one/docs/guides/sync-jobs/v4-reference/)).
5. Check the first real alerts arrive.

Until step 2 deletes the Connect account, rollback is turning the Pipedream workflow back on. After step 2, rollback for that customer is a reconnect. HubSpot webhooks follow the app-wide switch described in [step 3 of the example](#step-3-receive-crm-changes-from-truto), not this per-customer order.

## What we did not test

We checked the endpoints, fields and event names in this guide against Pipedream's, Truto's and Nango's public documentation and Truto's live integration configs on November 23, 2026. We did not run the customer script against a real Pipedream project, and we did not run the example endpoint against live HubSpot and Slack accounts. We did not confirm whether Pipedream returns keys for key-based apps, whether deleting a Connect account revokes the token at the provider, or how HubSpot and Salesforce handle refresh token rotation. Run the whole sequence on a test tenant before you move a real customer.

> Moving customer-facing workflows off Pipedream before March 31, 2027? Talk to us about importing your Connect accounts and mapping your workflows to Truto.
>
> [Book a migration call](https://truto.one/book-a-demo/)
