Zapier workflows

From davila7/claude-code-templates · View interactive version

Zapier workflows is an AI agent skill from the GitHub repository davila7/claude-code-templates. Manage and trigger pre-built Zapier workflows and MCP tool orchestration. Use when user mentions workflows, Zaps, automations, daily digest, research, search, lead tracking, expenses, or asks to "run" any process. Also handles Perplexity-based research and Google Sheets data tracking.

How to use this skill

Skill file

Zapier Workflows Skill

The Problem This Solves

Zapier MCP gives Claude access to 8,000+ individual tools (every Zapier action), but there are critical limitations:

❌ No memory - Claude doesn't remember which tools YOU use or why

❌ No context - Doesn't know when to use specific tools for your workflows

❌ Only one-off actions - Can't trigger your complex, multi-step Zaps

❌ Fresh start every session - All context lost between conversations

The Two Types of Zapier Automation

1. MCP Tools (One-Off Actions)

2. Multi-Step Zaps (Webhook-Triggered)

What This Skill Does

This skill solves both problems by giving Claude persistent memory for your Zapier workflows:

✅ Remembers your MCP tool preferences - "Use Google Sheets for expenses, Notion for tasks"

✅ Knows when/why to use each tool - "Search with Perplexity when researching, not Google"

✅ Triggers multi-step Zaps - "Run my daily digest" = webhook POST to your complex Zap

✅ Self-learning - Claude updates the skill as you teach it, never forgets

✅ Cross-session persistence - Works across all conversations (global install)

What You Get

For Multi-Step Zaps:

For MCP Tools:

Self-Learning:

Installation & Setup

Installation Location

Global (~/.claude/skills/) - RECOMMENDED:

Project-level (./.claude/skills/):

⚠️ Security Warning

IMPORTANT: This skill stores webhook URLs and workflow details in plain text files.

Webhook URLs contain authentication tokens. If someone has your webhook URL, they can trigger your Zaps.

Best practices:

If you need to share this skill:

Prerequisites

Required:

Optional:

Setting Up Zapier MCP

To connect Zapier's MCP tools to Claude Code:

  1. Go to Zapier MCP servers:
  1. Create a new MCP server:
  1. Add tools:
  1. Connect to Claude Code:

```bash

claude mcp add zapier https://mcp.zapier.com/api/mcp/mcp -t http -H "Authorization: Bearer ZjFmZGJkN..................1NjBhYzc2MDRlYg=="

```

  1. Restart Claude Code:

Tip: You can add more tools later by editing your MCP server in Zapier and running the connect command again.

Creating Webhook-Triggered Zaps

For pre-built, optimized workflows that you want to trigger on-demand:

  1. In Zapier dashboard:
  1. Build your workflow:
  1. Document it in this skill:

Webhook vs MCP Tools:

Self-Improvement Protocol

CRITICAL: This skill can and should edit itself to learn from user feedback.

When the user teaches you something new or corrects your approach:

  1. Identify what to update:
  1. Make the edit using Claude Code tools:
  1. Update format:

```markdown

User: "Use Apollo instead of Clearbit for company data"

Claude: [uses Read tool on references/mcp-patterns.md]

[uses Edit tool to update the preference]

"Updated! I'll use Apollo for company enrichment from now on.

This change is now permanent in the skill."

```

What to capture in skill updates:

Decision Logic

When to Use Webhook-Triggered Zaps

Use webhooks when:

When to Use MCP Tool Orchestration

Use MCP tools when:

Execution Pattern

  1. Listen for triggers: Workflow names, "run", "trigger", "search", "research", etc.
  2. Check references: Use Read tool on appropriate reference file for details
  3. Check prerequisites:
  1. Execute:
  1. Confirm: Tell user what happened in natural language
  2. Learn: If user corrects you, use Edit tool to update the skill files
  3. Suggest pattern saving: After successful tool use, offer to save the pattern (see below)

Proactive Pattern Detection & Learning

CRITICAL: After you successfully help the user with MCP tools or workflows, proactively suggest saving valuable patterns.

When to Suggest Saving Patterns

After completing a task using MCP tools, check if this is a pattern worth saving:

Look for:

Suggest saving if:

How to Suggest Pattern Saving

After completing the task successfully:

"That worked well! I noticed I [describe what you did, e.g., 'used Perplexity to research, then saved results to Google Sheets'].

Would you like me to save this as a pattern? If you tell me:
- What trigger words to listen for
- When/why to use this workflow
- Any preferences or variations

I'll remember it and do this automatically next time!"

Document the Pattern

If user says yes:

  1. Use Read tool on references/mcp-patterns.md
  2. Use Edit tool to add new pattern with:
  1. Confirm: "Saved! Next time you [trigger], I'll [workflow]."

Examples of patterns worth saving:

Don't save:

Setup Detection & Instructions

If Zapier MCP Not Detected

When user requests MCP tool functionality but Zapier MCP is not connected, tell them:

"I don't see the Zapier MCP tools connected. Here's how to set them up:

1. Go to https://mcp.zapier.com/mcp/servers
2. Login to your Zapier account
3. Click 'New MCP Server' (top left)
4. Select 'Claude Code' in the MCP Client dropdown
5. Give it a name (e.g., 'My Zapier Tools')
6. Click 'Add tools' and select the Zapier actions you want
7. Click 'Connect' and copy the command shown
8. Run that command in your terminal (it looks like):
   claude mcp add zapier https://mcp.zapier.com/api/mcp/mcp -t http -H "Authorization: Bearer [your-token]"
9. Restart Claude Code

Once setup, I'll be able to use those Zapier actions directly!"

When Zapier MCP Is Connected - Tool Discovery & Documentation

IMPORTANT: When Zapier MCP is connected (tools starting with mcp__zapier__ are available), proactively help the user document them with rich context:

  1. List available tools:
  1. Prompt for detailed documentation:

```

"I see you have these Zapier MCP tools available:

To help me use these effectively, I need to understand:

For each tool you want me to use, please tell me:

1. WHEN should I use this tool?

2. WHY should I use this tool vs alternatives?

3. HOW should I use it?

4. Any PATTERNS or workflows involving this tool?

Take your time - the more detail you give me, the better I can serve you!"

```

  1. Document in skill:

When to trigger this:

If User Wants to Add a Webhook-Triggered Zap

When user mentions creating or adding a multi-step Zap for webhook triggering, provide these instructions:

"To get your webhook URL from an existing Zap:

1. Go to your Zap in the Zapier dashboard
2. Make sure the trigger is a 'Webhooks by Zapier' node
3. In the 'Trigger Event' dropdown, select 'Catch Hook'
4. Go to the 'Test' tab
5. Copy the 'Webhook URL' shown
6. Give me that URL and tell me:
   - What the Zap does (step-by-step)
   - What trigger phrases you want to use
   - Any other details (timing, cost, etc.)

I'll add it to my knowledge so you can trigger it anytime just by asking!"

Quick Reference

Usage Examples

Triggering a Zap:

User: "Run my daily digest"
Claude: [uses Read tool on references/zaps.md for webhook details]
        [uses Bash tool to trigger webhook with curl POST]
        "Started your Daily AI Digest. You'll get the report via email
         in ~3 minutes, with SMS alerts for any high-priority items."

Using MCP orchestration:

User: "Research the latest on quantum computing"
Claude: [uses Read tool on references/mcp-patterns.md]
        [calls Perplexity Search MCP tool]
        [analyzes results, identifies gaps]
        [calls Perplexity Search again for deeper dive]
        "Here's what I found... [summary]"

Learning and updating:

User: "No, when tracking expenses use my 'Personal Budget' sheet, not 'Expenses'"
Claude: [uses Read tool on references/mcp-patterns.md]
        [uses Edit tool to update the Google Sheets section]
        "Got it - updated the skill. I'll use 'Personal Budget' sheet
         for expense tracking from now on."

FAQ & Troubleshooting

"Claude isn't detecting my Zapier MCP tools"

Check if MCP is connected:

If not showing up:

  1. Verify you ran the connection command from https://mcp.zapier.com/mcp/servers
  2. Restart Claude Code completely (not just reload)
  3. Check your Claude Code MCP settings
  4. Verify the authorization token in the command was correct

"Claude isn't suggesting to save patterns"

Pattern detection triggers when:

Try explicitly asking:

"Webhook URL not triggering my Zap"

Common issues:

  1. Wrong URL - Make sure you copied the full URL from Test tab
  2. Zap not turned on - Enable the Zap in Zapier dashboard
  3. Trigger node incorrect - Must be "Webhooks by Zapier" → "Catch Hook"
  4. Firewall/network - Check if curl command works from terminal first

Test manually:

curl -X POST https://hooks.zapier.com/hooks/catch/[your-url]

"Claude keeps asking to document tools I already documented"

Likely causes:

Fix:

  1. Check references/mcp-patterns.md has your tools
  2. Verify skill location: ~/.claude/skills/ (global) vs ./.claude/skills/ (project)
  3. If project-level, copy to global for cross-project persistence

"How do I know if the skill is working?"

Signs it's working:

  1. When you mention Zapier/workflows, Claude mentions checking references
  2. Claude asks detailed questions (WHEN/WHY/HOW) about tools
  3. After using tools, Claude suggests saving patterns
  4. Claude successfully triggers your webhooks

Quick test:

  1. Ask: "What Zapier tools do I have?"
  2. Add a fake webhook and tell Claude about it
  3. Check if it was added to references/zaps.md

"Skill files getting too large / slow to load"

If reference files grow too large:

Performance tips:

"I want to reset the skill to template state"

To start fresh:

  1. Backup your current skill files (if you want to keep anything)
  2. Delete the skill directory
  3. Re-clone from GitHub: https://github.com/AlexBoudreaux/claude-zapier-skill
  4. Copy fresh template to ~/.claude/skills/

"Can I use this skill without Zapier MCP?"

Yes! The skill works with:

Each mode is independent and valuable on its own.

"Security: I accidentally committed webhook URLs"

Immediate actions:

  1. Remove the commit from git history (git rebase, BFG Repo-Cleaner)
  2. Regenerate webhook URLs in Zapier dashboard:
  1. Update skill files with new URLs
  2. Add .claude/ to .gitignore

Prevention:

Important Notes

Claude Code Tools Used

This skill uses the following Claude Code tools:

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.