activepieces · diff

v1.0.0 to v1.1.0

88 added, 37 removed. Audit A to A.

What this update changes in the checks

No check changed: every fixed check gives the same answer before and after this update.

A tripped check is a label, not a verdict: read the matched text and the lines below. This week's updates that newly trip a check.

---
name: activepieces
description: >-
- Build workflow automations with Activepieces. Use when a user asks to
- self-host a Zapier alternative, automate workflows with a visual builder,
- create no-code integrations, or set up open-source business automation.
+ Activepieces is an open-source workflow automation platform with a visual
+ builder, 400+ integrations ("pieces"), code steps, branching, loops, and
+ webhooks. Use when a user asks to self-host a Zapier or n8n alternative,
+ automate workflows with a no-code builder, build a custom integration
+ piece, or set up open-source business automation.
license: Apache-2.0
- compatibility: 'Docker (self-hosted) or cloud'
+ compatibility: "Docker and docker compose (self-hosted), or Activepieces Cloud"
metadata:
author: terminal-skills
- version: 1.0.0
+ version: "1.1.0"
category: automation
tags:
- activepieces
- automation
- workflow
- no-code
- open-source
+ repository: https://github.com/activepieces/activepieces
---
# Activepieces
## Overview
- Activepieces is an open-source workflow automation platform — the newest Zapier/n8n alternative. Visual builder, 200+ integrations, code steps, branching, loops, and webhooks. Self-hosted for free with unlimited flows.
+ Activepieces is an open-source workflow automation platform built with TypeScript. It ships a visual flow builder, 400+ pre-built pieces (integrations), MCP server support, code steps, and conditional branching. It is self-hosted for free with no limit on flows or runs, or used as a managed cloud service.
## Instructions
- ### Step 1: Self-Host
+ ### Self-host with Docker Compose
+ Generate the two secrets first, then start the stack:
+
+ ```bash
+ export AP_ENCRYPTION_KEY=$(openssl rand -hex 16) # 256-bit key, 32 hex chars
+ export AP_JWT_SECRET=$(openssl rand -hex 32)
+ ```
+
```yaml
- # docker-compose.yml — Activepieces with PostgreSQL and Redis
+ # docker-compose.yml
services:
activepieces:
- image: activepieces/activepieces:latest
+ image: ghcr.io/activepieces/activepieces:latest
ports: ["8080:80"]
environment:
AP_ENGINE_EXECUTABLE_PATH: dist/packages/engine/main.js
+ AP_API_URL: http://localhost:8080/api
+ AP_FRONTEND_URL: http://localhost:8080
+ AP_ENCRYPTION_KEY: ${AP_ENCRYPTION_KEY}
+ AP_JWT_SECRET: ${AP_JWT_SECRET}
AP_POSTGRES_DATABASE: activepieces
AP_POSTGRES_HOST: postgres
AP_POSTGRES_PORT: "5432"
AP_POSTGRES_USERNAME: activepieces
- AP_POSTGRES_PASSWORD: activepieces
+ AP_POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
AP_REDIS_HOST: redis
- AP_ENCRYPTION_KEY: your-32-char-encryption-key-here
- AP_JWT_SECRET: your-jwt-secret-here
- AP_FRONTEND_URL: https://auto.example.com
+ AP_REDIS_PORT: "6379"
+ AP_EXECUTION_MODE: UNSANDBOXED
+ depends_on: [postgres, redis]
postgres:
image: postgres:16
environment:
POSTGRES_DB: activepieces
POSTGRES_USER: activepieces
- POSTGRES_PASSWORD: activepieces
+ POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
volumes: [pgdata:/var/lib/postgresql/data]
redis:
image: redis:7-alpine
volumes:
pgdata:
```
- ### Step 2: Code Step
+ ```bash
+ export POSTGRES_PASSWORD=$(openssl rand -hex 16)
+ docker compose up -d
+ ```
+ `AP_ENCRYPTION_KEY` and `AP_JWT_SECRET` must stay the same for the life of the deployment: rotating the encryption key makes every stored connection undecryptable, and rotating the JWT secret signs everyone out.
+
+ ### Build a flow with a code step
+
+ Code steps run Node.js inside the flow:
+
```typescript
- // Inside Activepieces Code step
- export const code = async (inputs) => {
- const { data } = inputs
+ // Inside an Activepieces Code step
+ export const code = async (inputs: { lineItems: { sku: string; price: number; qty: number }[] }) => {
+ const total = inputs.lineItems.reduce((sum, item) => sum + item.price * item.qty, 0)
return {
- processed: data.items.map(item => ({
- name: item.name.toUpperCase(),
- total: item.price * item.quantity,
- })),
- grandTotal: data.items.reduce((sum, i) => sum + i.price * i.quantity, 0),
+ total,
+ overThreshold: total > 500,
}
}
```
- ### Step 3: Custom Piece (Integration)
+ ### Build a custom piece (integration)
```typescript
- // pieces/my-app/src/index.ts — Build custom integration
- import { createPiece } from '@activepieces/pieces-framework'
- import { newOrderTrigger } from './triggers/new-order'
- import { createInvoiceAction } from './actions/create-invoice'
+ // src/index.ts
+ import { createPiece, PieceAuth } from '@activepieces/pieces-framework'
+ import { newInvoiceTrigger } from './triggers/new-invoice'
+ import { createCustomerAction } from './actions/create-customer'
- export const myApp = createPiece({
- displayName: 'My App',
- auth: PieceAuth.SecretText({ displayName: 'API Key' }),
- triggers: [newOrderTrigger],
- actions: [createInvoiceAction],
+ export const billingAuth = PieceAuth.SecretText({
+ displayName: 'API Key',
+ required: true,
+ description: 'Find this under Settings > API Keys in your billing dashboard',
})
+
+ export const billingPiece = createPiece({
+ displayName: 'Billing Connector',
+ logoUrl: 'https://cdn.example.invalid/billing-logo.png',
+ auth: billingAuth,
+ authors: ['terminal-skills'],
+ triggers: [newInvoiceTrigger],
+ actions: [createCustomerAction],
+ })
```
+ Scaffold a new piece with `npx activepieces pieces create` from inside a clone of the monorepo (the CLI adds the folder under `packages/pieces/community/`).
+
+ ## Examples
+
+ ### Example 1: Self-hosting for a small team
+
+ **Request:** "Stand up Activepieces for our team so we stop paying for Zapier."
+
+ Run the Docker Compose stack above, visit `http://localhost:8080`, and create the first (owner) account — Activepieces turns the first signup into the platform admin. Invite teammates from Settings > Team once the project exists.
+
+ ### Example 2: Notify Slack when a large order comes in
+
+ **Request:** "When a Shopify order over $500 comes in, post it to our #orders Slack channel."
+
+ 1. Trigger: Shopify piece, "New Order".
+ 2. Code step: compute `total` and `overThreshold` as in the snippet above.
+ 3. Branch: only continue when `overThreshold` is true.
+ 4. Action: Slack piece, "Send Message to Channel", channel `#orders`, message built from the order fields.
+
+ Activepieces runs this on every new Shopify order and only posts when the condition matches.
+
## Guidelines
- - Self-hosted: completely free, unlimited flows and executions.
- - Cloud: free tier with 1,000 tasks/month.
- - Newer than n8n — cleaner UI, growing fast, but fewer integrations.
- - TypeScript-first code steps and custom pieces.
+ - `AP_EXECUTION_MODE: UNSANDBOXED` is fine for a trusted single-tenant self-host; do not expose an unsandboxed instance to untrusted users who can write code steps.
+ - Store `AP_ENCRYPTION_KEY`, `AP_JWT_SECRET`, and the Postgres password as secrets (Docker secrets, a `.env` file kept out of version control, or your platform's secret manager) — never commit them.
+ - The official image moved to `ghcr.io/activepieces/activepieces`; older guides pointing at `activepieces/activepieces` on Docker Hub may be stale.
+ - Activepieces Cloud has a free tier with a limited monthly task allowance; self-hosting removes that limit but means you run and patch Postgres, Redis, and the app yourself.
+ - For a production deployment behind a reverse proxy, set `AP_FRONTEND_URL` and `AP_API_URL` to the public HTTPS domain, not `localhost`, or OAuth connections and webhooks will break.
+ - Prefer the built-in pieces over a custom one; only build a custom piece when no existing piece covers the API you need.