| name | activepieces-1-flow-organization |
| description | Sub-skill of activepieces: 1. Flow Organization (+3). |
| version | 1.0.0 |
| category | operations |
| type | reference |
| scripts_exempt | true |
1. Flow Organization (+3)
1. Flow Organization
flows/
├── onboarding/
│ ├── customer-onboarding.json
│ └── employee-onboarding.json
├── integrations/
│ ├── crm-sync.json
│ ├── inventory-sync.json
│ └── payment-webhooks.json
├── notifications/
│ ├── alert-routing.json
│ └── daily-reports.json
└── utilities/
├── data-validation.json
└── error-handler.json
2. Error Handling Best Practices
try {
const result = await externalApiCall();
return { success: true, data: result };
} catch (error) {
return {
success: false,
error: error.message,
retryable: !error.message.includes('PERMANENT'),
timestamp: new Date().toISOString()
};
}
3. Security Best Practices
AP_ENCRYPTION_KEY: "32-character-secure-key"
AP_JWT_SECRET: "secure-jwt-secret"
AP_WEBHOOK_TIMEOUT_SECONDS: 30
4. Performance Tips
const BATCH_SIZE = 50;
const items = inputs.items;
for (let i = 0; i < items.length; i += BATCH_SIZE) {
const batch = items.slice(i, i + BATCH_SIZE);
await processBatch(batch);
}
const controller = new AbortController();
setTimeout(() => controller.abort(), 30000);