Overview
Zapier is a no-code automation platform that connects apps and automates workflows. Connect your Pylar MCP tools to Zapier to access your data in automated workflows without writing code.Prerequisites
- ✅ Zapier account
- ✅ Pylar project with published MCP tools
- ✅ MCP HTTP Stream URL and Bearer Token from Pylar
Step 1: Get Your Pylar Credentials
- In Pylar, navigate to your project
- Click “Publish” in the right sidebar
- Copy both:
- MCP HTTP Stream URL:
https://mcp.publish.pylar.ai/mcp - Authorization Bearer Token: Your unique token
- MCP HTTP Stream URL:
Step 2: Create a Webhook in Zapier
Since Zapier doesn’t have native MCP support, we’ll use HTTP requests:- In Zapier, create a new Zap
- Choose “Webhooks by Zapier” as your trigger or action
- Select “Custom Request”
Step 3: Configure HTTP Request
Configure the HTTP request to call Pylar MCP tools: Method:POST
URL: https://mcp.publish.pylar.ai/mcp/tools/call
Headers:
YOUR_BEARER_TOKEN_HERE with your actual token and {{trigger_field}} with your Zapier field.
Step 4: Use Response Data
Use the response from Pylar in subsequent Zapier steps:- Parse the JSON response
- Use data fields in other Zapier actions
- Build your automation workflow
Example Workflow
Trigger: New email in Gmail Action 1: Call Pylar tool to get customer data- Tool:
fetch_customer_by_email - Argument: Email from trigger
- Send to Slack
- Update CRM
- Create task
Benefits
- ✅ No Code Required: Build automations visually
- ✅ Centralized Control: Update views in Pylar, Zaps get updates
- ✅ Secure Access: Data access through governed views
- ✅ Easy Integration: Works with 6000+ Zapier apps
- ✅ Full Visibility: Monitor usage through Pylar Evals
Troubleshooting
Issue: Authentication errors
Solutions:- Verify Bearer Token is correct
- Check header format:
Bearer YOUR_TOKEN - Ensure no extra spaces in token
Issue: Tool not found
Solutions:- Verify tool name matches exactly
- Check tools are published
- Test tool in Pylar first
Next Steps
- Publishing Tools - Publish your tools
- Evals - Monitor Zapier usage
- Other Builders - Connect to other platforms