> zapier
Automate workflows between apps with Zapier. Use when a user asks to connect apps without code, automate repetitive tasks, sync data between services, or build no-code integrations between SaaS tools.
curl "https://skillshub.wtf/TerminalSkills/skills/zapier?format=md"Zapier
Overview
Zapier connects 6000+ apps with automated workflows (Zaps). Trigger → Action chains: when something happens in one app, do something in another. No code required for basic automation; supports code steps for complex logic.
Instructions
Step 1: Common Zap Patterns
Trigger → Action examples:
1. New Stripe payment → Add row to Google Sheets → Send Slack notification
2. New form submission (Typeform) → Create contact in HubSpot → Send welcome email
3. New GitHub issue → Create Trello card → Notify on Discord
4. New email (Gmail) with attachment → Save to Google Drive → Notify on Slack
5. Scheduled (every day 9 AM) → Pull data from API → Post summary to Slack
Step 2: Webhooks (Custom Triggers)
// Trigger a Zap from your app via webhook
await fetch('https://hooks.zapier.com/hooks/catch/123456/abcdef/', {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify({
event: 'order_completed',
customer_email: 'john@example.com',
order_total: 99.99,
product: 'Premium Plan',
}),
})
// Zapier receives this and runs the connected workflow
Step 3: Code Steps (JavaScript)
// Zapier Code step — transform data between apps
const inputData = inputData // data from previous step
// Parse and transform
const fullName = `${inputData.firstName} ${inputData.lastName}`
const isVIP = parseFloat(inputData.totalSpent) > 1000
output = [{
fullName,
email: inputData.email.toLowerCase(),
isVIP,
segment: isVIP ? 'vip' : 'regular',
}]
Step 4: Build a Zapier Integration
// If you want YOUR app to appear in Zapier's directory
// Use Zapier Platform CLI to build a custom integration
// index.ts — Define triggers and actions for your app
const App = {
triggers: {
newOrder: {
display: { label: 'New Order', description: 'Triggers when a new order is created' },
operation: {
perform: async (z, bundle) => {
const response = await z.request('https://api.myapp.com/orders?since=' + bundle.meta.page)
return response.data
},
},
},
},
actions: {
createContact: {
display: { label: 'Create Contact' },
operation: {
perform: async (z, bundle) => {
return z.request({
method: 'POST',
url: 'https://api.myapp.com/contacts',
body: { email: bundle.inputData.email, name: bundle.inputData.name },
})
},
},
},
},
}
Guidelines
- Free tier: 100 tasks/month, 5 Zaps. Starter ($19.99/mo): 750 tasks, 20 Zaps.
- "Tasks" = each action step that runs. A 5-step Zap uses 5 tasks per trigger.
- For self-hosted alternative, use n8n (free, unlimited) or Activepieces.
- Use Paths (branching) for conditional logic — different actions based on data.
> related_skills --same-repo
> zustand
You are an expert in Zustand, the small, fast, and scalable state management library for React. You help developers manage global state without boilerplate using Zustand's hook-based stores, selectors for performance, middleware (persist, devtools, immer), computed values, and async actions — replacing Redux complexity with a simple, un-opinionated API in under 1KB.
> zod
You are an expert in Zod, the TypeScript-first schema declaration and validation library. You help developers define schemas that validate data at runtime AND infer TypeScript types at compile time — eliminating the need to write types and validators separately. Used for API input validation, form validation, environment variables, config files, and any data boundary.
> xero-accounting
Integrate with the Xero accounting API to sync invoices, expenses, bank transactions, and contacts — and generate financial reports like P&L and balance sheet. Use when: connecting apps to Xero, automating bookkeeping workflows, syncing accounting data, or pulling financial reports programmatically.
> windsurf-rules
Configure Windsurf AI coding assistant with .windsurfrules and workspace rules. Use when: customizing Windsurf for a project, setting AI coding standards, creating team-shared Windsurf configurations, or tuning Cascade AI behavior.