Repo map

Activepieces architecture.

Activepieces is an open-source automation platform. Nodeway mapped the activepieces/activepieces repository at commit b64405b, from 29 November 2026, and found 22,683 source files, 32,107 functions, classes and components, 631 routes and 68 database tables. This page is drawn from that map.

Free to start. macOS (Apple silicon and Intel), Windows and Linux.
Source files
22,683
Functions and classes
32,107
Confirmed calls
135,374
Routes
631
Tables
68

How the code is laid out

Most of it is TypeScript: 22,618 files of 22,683, followed by JavaScript (36), Shell (27) and Python (2).

The repository is split into 795 packages: folders with their own manifest, such as a package.json, pyproject.toml or go.mod. The largest are packages/server/api (1,372 files), packages/web (1,364 files), packages/pieces/community/ampeco (381 files), packages/pieces/community/podio (381 files), packages/pieces/community/shopify (315 files) and packages/pieces/community/zoho-desk (288 files).

These are its top-level folders by number of source files, with 2 more files at the root. The biggest ones show their own largest folders underneath.

  • packages/22,586 files631 routes · 68 tables
  • pieces/19,272 files94 routes
  • server/1,589 files398 routes · 68 tables
  • web/package1,364 files139 routes
  • core/263 files
  • tests-e2e/package71 files
  • cli/package24 files
  • tools/56 files
  • scripts/32 files
  • i18n/11 files
  • benchmark/13 files
  • smoke-test/8 files
  • .agents/skills/6 files
  • agent-browser/templates/3 files
  • mcp-builder/scripts/2 files
  • ai-task/1 file
  • .husky/3 files
  • deploy/pulumi/package3 files
  • .devcontainer/2 files
  • docs/snippets/2 files
  • scripts/2 files

Where the code starts

Nodeway looked for files that define a main function, and for files named like a starting point (main, server, app, cli and similar) that at most one other file imports, then for index files that nothing imports. Ranked that way, then by how many files each one reaches through its imports:

FileReaches
packages/server/api/src/main.tsdefines main1,908 files
packages/server/api/src/rollback.tsdefines main887 files
tools/scripts/check-manifest-migrations.tsdefines main887 files
tools/scripts/check-release-migrations.tsdefines main886 files
tools/scripts/pieces/publish-piece.tsdefines main51 files
.agents/skills/mcp-builder/scripts/evaluation.pydefines main1 file

Routes

Nodeway found 631 routes and linked 108 to the function that handles them. They by HTTP method: POST 287, GET 285, DELETE 41, ALL 12, PATCH 3, PUT 3. Most are under packages/server (398), packages/web (139) and packages/pieces (94).

Some of them

RouteMethod
/v1/otpsendOtpEmail · packages/web/src/api/authentication-api.tsPOST
/userinfohandleUserInfo · packages/server/api/src/app/mcp/oauth/oidc/mcp-oauth-userinfo.controller.tsPOST
/v1/userslist · packages/web/src/api/platform-user-api.tsGET
/v1/flowslist · packages/web/src/features/flows/api/flows-api.tsxGET
/v1/agentslist · packages/web/src/features/agents/api/agents.tsGET
/v1/alertscreate · packages/web/src/features/alerts/api/alerts-api.tsPOST
/v1/pieceslist · packages/web/src/features/pieces/api/pieces-api.tsGET
/v1/fieldslist · packages/web/src/features/tables/api/fields-api.tsGET

Data model

Nodeway found 68 database tables, defined with TypeORM. Code in the repository reads or writes 64 of them. The most used:

TableUsed by
project20 columns · links to concurrency_pool, piece_set and platform · packages/server/api/src/app/project/project-entity.ts42 read10 write
flow15 columns · links to flow_version, folder and project · packages/server/api/src/app/flows/flow/flow.entity.ts33 read13 write
agent_conversation21 columns · links to agent, platform and project · packages/server/api/src/app/ee/agent/agent-conversation-entity.ts26 read16 write
user9 columns · links to user_identity · packages/server/api/src/app/user/user-entity.ts30 read9 write
ai_provider17 columns · links to platform · packages/server/api/src/app/ai/ai-provider-entity.ts28 read7 write
flow_version14 columns · links to flow and user · packages/server/api/src/app/flows/flow-version/flow-version-entity.ts19 read11 write
flow_run23 columns · links to file, flow and flow_version · packages/server/api/src/app/flows/flow-run/flow-run-entity.ts20 read8 write
app_connection16 columns · links to user · packages/server/api/src/app/app-connection/app-connection.entity.ts16 read11 write

One request, traced

Nodeway followed POST /userinfo from its route to the code that handles it, then along confirmed calls until it reached the user table.

  1. POST /userinforoute · packages/server/api/src/app/mcp/oauth/oidc/mcp-oauth-userinfo.controller.ts
  2. handleUserInfofunction · packages/server/api/src/app/mcp/oauth/oidc/mcp-oauth-userinfo.controller.ts:13
  3. authenticatemethod · packages/server/api/src/app/mcp/oauth/token/mcp-oauth-token.service.ts:146
  4. isActiveOnPlatformmethod · packages/server/api/src/app/user/user-service.ts:304
  5. usertable · read here

The most-called code

Ranked by how many different functions call each one, counting only calls the analyzer could confirm from the code. These are often the helpers worth reading first.

FunctionCallers
createActionfunction · packages/pieces/framework/src/lib/action/action.ts13,537
ShortTextmethod · packages/pieces/framework/src/lib/property/input/index.ts8,762
StaticDropdownmethod · packages/pieces/framework/src/lib/property/input/index.ts3,279
Numbermethod · packages/pieces/framework/src/lib/property/input/index.ts3,274
sendRequestmethod · packages/pieces/common/src/lib/http/core/fetch-http-client.ts2,867
isNilfunction · packages/core/utils/src/lib/utils.ts2,700
LongTextmethod · packages/pieces/framework/src/lib/property/input/index.ts2,219
Checkboxmethod · packages/pieces/framework/src/lib/property/input/index.ts1,777

Open this repo in Nodeway

Nodeway is a desktop app that draws this map on your own computer, so you can click into any folder, read the code beside the map and trace a request yourself. Clone the repository:

git clone https://github.com/activepieces/activepieces.git
  • Install Nodeway for macOS, Windows or Linux: the getting started guide has every installer.
  • Open the cloned folder. The first map is drawn on your machine and nothing is uploaded.
  • Search for createAction and trace what it calls, or pick a route and follow it to the database.

New to reading a codebase this size? See how to understand a large codebase and how to read a call graph.

Questions

What language is Activepieces written in?

Mostly TypeScript: 22,618 of its 22,683 source files at commit b64405b, then JavaScript with 36.

Where does the Activepieces code start?

The entry point that reaches the most code is packages/server/api/src/main.ts, which leads to 1,908 files through its imports.

How many routes does Activepieces have?

Nodeway found 631 routes, 108 of them linked to a handler. The most are under packages/server.

What database tables does Activepieces use?

68 tables, defined with TypeORM. The most used are project, flow and agent_conversation.

How this page was made

Generated from a map Nodeway's analyzer (version 18) made of activepieces/activepieces at commit b64405b, committed on 29 November 2026. Tests, dependencies and build output are mostly left out. A call counts only when the analyzer could confirm its target from the code, so real totals are higher. The project will have changed since.

More codebases, mapped

All repo maps

See your whole codebase in minutes.

Open a folder and Nodeway maps it on your own computer. No account, and nothing is uploaded.

More guides