activepieces-2-webhook-triggers
Sub-skill of activepieces: 2. Webhook Triggers.
Best use case
activepieces-2-webhook-triggers is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
Sub-skill of activepieces: 2. Webhook Triggers.
Teams using activepieces-2-webhook-triggers should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/2-webhook-triggers/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How activepieces-2-webhook-triggers Compares
| Feature / Agent | activepieces-2-webhook-triggers | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
Sub-skill of activepieces: 2. Webhook Triggers.
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
SKILL.md Source
# 2. Webhook Triggers
## 2. Webhook Triggers
```typescript
// Webhook trigger configuration
const webhookFlow = {
"displayName": "Payment Webhook Handler",
"trigger": {
"name": "webhook",
"type": "WEBHOOK",
"settings": {
"inputUiInfo": {
"customizedInputs": {}
}
},
"displayName": "Payment Webhook"
},
"steps": [
{
"name": "verify_signature",
"type": "CODE",
"settings": {
"input": {
"payload": "{{trigger.body}}",
"signature": "{{trigger.headers['x-signature']}}",
"secret": "{{connections.payment_webhook_secret}}"
},
"sourceCode": {
"code": `
import crypto from 'crypto';
export const code = async (inputs) => {
const { payload, signature, secret } = inputs;
const expectedSignature = crypto
.createHmac('sha256', secret)
.update(JSON.stringify(payload))
.digest('hex');
if (signature !== expectedSignature) {
throw new Error('Invalid webhook signature');
}
return {
verified: true,
event: payload.event_type,
data: payload.data
};
};`
}
},
"displayName": "Verify Webhook Signature"
},
{
"name": "route_by_event",
"type": "BRANCH",
"settings": {
"conditions": [
{
"name": "payment_completed",
"expression": {
"type": "EXPRESSION",
"value": "{{verify_signature.event}} === 'payment.completed'"
}
},
{
"name": "payment_failed",
"expression": {
"type": "EXPRESSION",
"value": "{{verify_signature.event}} === 'payment.failed'"
}
},
{
"name": "refund_initiated",
"expression": {
"type": "EXPRESSION",
"value": "{{verify_signature.event}} === 'refund.initiated'"
}
}
]
},
"displayName": "Route by Event Type"
}
]
};
```Related Skills
webhook-subscriptions
Create and manage webhook subscriptions for event-driven agent activation. Use when the user wants external services to trigger agent runs automatically.
activepieces-integration-with-notion-and-slack
Sub-skill of activepieces: Integration with Notion and Slack.
activepieces-8-error-handling-and-retry-logic
Sub-skill of activepieces: 8. Error Handling and Retry Logic.
activepieces-7-approval-flows
Sub-skill of activepieces: 7. Approval Flows.
activepieces-6-custom-piece-development
Sub-skill of activepieces: 6. Custom Piece Development.
activepieces-5-loop-and-iteration
Sub-skill of activepieces: 5. Loop and Iteration.
activepieces-4-branching-and-conditional-logic
Sub-skill of activepieces: 4. Branching and Conditional Logic.
activepieces-3-scheduled-flows
Sub-skill of activepieces: 3. Scheduled Flows.
activepieces-1-flow-organization
Sub-skill of activepieces: 1. Flow Organization (+3).
activepieces-1-basic-flow-structure
Sub-skill of activepieces: 1. Basic Flow Structure.
automation-webhook-to-workflow-pattern
Sub-skill of automation: Webhook-to-Workflow Pattern (+2).
automation-n8n-webhook-workflow
Sub-skill of automation: n8n Webhook Workflow (+3).