Zapier Integration
Integrate PulpMiner with Zapier to automate web scraping and data extraction workflows. The PulpMiner Zapier app allows you to consume your saved PulpMiner APIs directly within Zapier workflows, enabling powerful automation capabilities.Overview
The PulpMiner Zapier integration enables you to:- Fetch structured JSON data from websites using your saved PulpMiner APIs
- Automate data extraction workflows
- Integrate web scraping into larger automation processes
- Use both static (GET) and dynamic (POST) API endpoints
- Skip complex scraping code - let AI handle the extraction
- Get real-time or cached data based on your needs
Why Use PulpMiner with Zapier?
🚀 Instant Integration
🚀 Instant Integration
Connect PulpMiner to Zapier in seconds. No custom scripts or code needed.
🤖 AI-Powered Extraction
🤖 AI-Powered Extraction
Automatically structure web data into clean JSON. Our AI handles complex websites with dynamic content.
⚡ Real-Time Data
⚡ Real-Time Data
Fetch fresh data from websites on every Zap execution, or use cached data for speed.
🔒 Secure & Reliable
🔒 Secure & Reliable
Built on Cloudflare infrastructure with 99.99% uptime. Enterprise-grade security and compliance.
💰 Pay-As-You-Go
💰 Pay-As-You-Go
Only pay for what you use. Credits never expire. No monthly subscriptions.
🌐 Any Website Works
🌐 Any Website Works
Extract data from e-commerce sites, news pages, directories, or any public webpage.
Prerequisites
- Zapier Account: Sign up at zapier.com if you haven’t already
- PulpMiner Account: Sign up at pulpminer.com if you haven’t already
- PulpMiner API: Create and save at least one API endpoint in your PulpMiner dashboard
- API Key: Get your API key from the PulpMiner “Saved APIs” page
Getting Started
Step 1: Create Your API in PulpMiner
Before connecting to Zapier, you need to create a PulpMiner API:- Go to PulpMiner API Generation
- Enter the webpage URL you want to scrape
- Select a scraper and configure your settings
- Generate and customize the JSON structure
- Save your API and note the API ID
The API ID is the numeric value found after creating a PulpMiner API. It’s the value that comes after the
/external/ path in your API URL.Step 2: Create a Zap
- Log in to your Zapier account
- Click Create Zap to start a new workflow
- Choose a trigger (e.g., Schedule by Zapier, Webhook, etc.)
- Configure your trigger settings
Step 3: Add PulpMiner Action
- Click on the action step in your Zap
- Search for “PulpMiner” in the app search dialog
- Select PulpMiner from the results
Step 4: Choose Action Event
Select the action event you want to use:- Use a GET API: For static APIs (fixed URLs, no dynamic variables)
- Use a POST API: For dynamic APIs (requires variables in request body)
Step 5: Connect Your Account
- Click Account in the action configuration
- Enter your PulpMiner API key
- You can find your API key in your PulpMiner dashboard under “Saved APIs”
- Click Yes, Continue to save the connection
Your API key is sensitive information. Make sure to keep it secure and never share it publicly.
Step 6: Configure the Action
- Select your API ID from the dropdown menu, or enter it manually
- The API ID is the numeric value found after creating a PulpMiner API (the value after
/external/in the API URL) - For POST APIs, you’ll also need to provide the POST Body in JSON format
Step 7: Test Your Action
- Click Test action to see the JSON response
- Review the sample data structure returned from your API
- This sample data shows the structure you can use in subsequent Zap steps
The sample data shown during testing is representative of the structure. When your Zap runs live, the API syncs data in the background and returns the actual current data.
Available Actions
Use a GET API
What it does: Consumes a GET-type PulpMiner API and returns the parsed result to your Zap. Inputs:- API ID (integer, required): Numeric ID of your PulpMiner API. It’s the value after the
/external/path in the API URL.
data: Contains the structured response from your APIerrors: Contains errors if any occurred
- Extracting data from fixed URLs
- Scraping static content pages
- Fetching data that doesn’t change based on parameters
Use a POST API
What it does: Use a POST-type PulpMiner API with a JSON body and returns the parsed result to your Zap. Inputs:- API ID (integer, required): Numeric ID of your PulpMiner API
- POST Body (text, required): The JSON body for the API call. You can copy the sample from the specific API in PulpMiner (“Saved API”).
data: Contains the structured response from your APIerrors: Contains errors if any occurred
- Product pages with variable IDs
- Search results with dynamic parameters
- Category listings with filters
- User profiles with different usernames
Use Cases
PulpMiner with Zapier is perfect for automating various data collection tasks:🛍️ Price Monitoring
🛍️ Price Monitoring
Track competitor prices and get alerts in Slack when prices drop. Perfect for procurement automation.Example: Monitor 100+ products automatically every hour
📰 Content Aggregation
📰 Content Aggregation
Collect news articles, blog posts, and updates from multiple sources into your content database.Example: Build your own news feed from preferred sources
💼 Lead Generation
💼 Lead Generation
Extract contact info from directory sites, company listings, and social profiles for your CRM.Example: Qualify leads from LinkedIn, industry directories
📊 Market Research
📊 Market Research
Track product launches, feature updates, and market trends from competitor websites.Example: Stay ahead of competitor product releases
🏢 Real Estate Automation
🏢 Real Estate Automation
Monitor property listings, prices, and availability. Send new listings to buyers automatically.Example: Get instant Slack notifications for new properties
🎓 Course Tracking
🎓 Course Tracking
Watch for new courses, enrollment dates, and price changes on learning platforms.Example: Never miss enrollment deadlines
Workflow Examples
Example 1: Daily News Aggregation
Scenario: Extract news headlines from a website every day and send them via email. Zap Setup:- Trigger: Schedule by Zapier (daily at 9 AM)
- Action: PulpMiner - Use a GET API
- API ID: Your news website API ID
- Action: Code by Zapier or Formatter - Process the JSON data to extract headlines
- Action: Email by Zapier - Send formatted news summary
Example 2: Product Price Monitoring
Scenario: Monitor product prices from an e-commerce site and alert when prices drop. Zap Setup:- Trigger: Schedule by Zapier (run every hour)
- Action: PulpMiner - Use a POST API
- API ID: Your product API ID
- POST Body:
{"productId": "12345"}
- Action: Filter by Zapier - Check if price is below threshold
- Action: Slack or Email - Send alert if condition is met
Example 3: Multi-Source Data Aggregation
Scenario: Collect data from multiple websites and combine into a single dataset. Zap Setup:- Trigger: Manual Trigger or Webhook
- Multiple PulpMiner Actions: Each fetching from different sources
- Action: Airtable or Google Sheets - Store aggregated results
Example 4: Dynamic Content Extraction
Scenario: Extract user-specific content based on input from a webhook. Zap Setup:- Trigger: Webhook by Zapier - Receives user ID
- Action: PulpMiner - Use a POST API
- API ID: Your dynamic API ID
- POST Body: Use Zapier’s data mapping to pass webhook data
- Action: Process Data - Transform extracted data
- Action: Return Response - Send data back to webhook caller
Using Data Mapping
Zapier allows you to map data from previous steps to your PulpMiner action:Mapping Data to POST Body
When using “Use a POST API”, you can map data from previous steps:- Click in the POST Body field
- Use Zapier’s data mapping feature to select fields from previous steps
- The data will be automatically formatted as JSON
{{123__product_id}} references a field from step 123.
Error Handling
Common Errors
-
Authentication Error
- Cause: Invalid or missing API key
- Solution: Verify your API key in the account connection and ensure it’s active
-
Invalid API ID
- Cause: API ID doesn’t exist or is incorrect
- Solution: Check your PulpMiner dashboard for the correct API ID
-
Missing Variables
- Cause: POST request missing required dynamic variables
- Solution: Ensure all variables defined in your PulpMiner API are included in the POST Body
-
Rate Limiting
- Cause: Exceeding credit limits or request rate
- Solution: Check your credit balance and implement delays between Zap executions
Response Format
PulpMiner actions return data in a uniform format: Success Response:Best Practices
1. Account Management
- Rotate API keys periodically
- Never share API keys publicly
2. Rate Limiting
- Be mindful of Zap execution frequency
- Monitor your PulpMiner credit usage
- Use Zapier’s built-in rate limiting features for high-volume Zaps
3. Data Processing
- Always validate the structure of returned JSON data
- Use Zapier’s Formatter or Code by Zapier for complex data transformations
- Test your Zaps thoroughly before turning them on
4. Caching
- Enable caching in your PulpMiner API when appropriate
- Balance between data freshness and performance
- Consider using Zapier’s built-in caching for frequently accessed data
5. Monitoring
- Set up Zapier notifications for failed Zaps
- Monitor credit usage in your PulpMiner dashboard
- Review Zap execution history regularly
Troubleshooting
Action Not Appearing
- Ensure PulpMiner is properly connected in your Zapier account
- Try disconnecting and reconnecting your account
- Check if the action is available in your Zapier plan
Authentication Issues
- Verify API key is correct
- Check if API key is active in PulpMiner dashboard
- Try disconnecting and reconnecting your account in Zapier
Data Not Returning
- Verify API ID is correct
- Check if the source webpage is accessible
- Review PulpMiner API status in dashboard
- Test the API directly with curl first
Dynamic Variables Not Working
- Ensure variable names match exactly (case-sensitive)
- Verify all required variables are provided in POST Body
- Check JSON format in POST Body field
- Review your PulpMiner API configuration
Sample Data vs Live Data
- Sample data shown during testing is representative
- Live Zap executions return actual current data
- The API syncs data in the background when the Zap runs
Resources
- Zapier Documentation
- PulpMiner on Zapier
- PulpMiner API Documentation
- PulpMiner API Keys Guide
- PulpMiner Website
Support
If you encounter issues with the Zapier integration:- Check the PulpMiner API documentation
- Review Zapier workflow execution logs
- Test your PulpMiner API directly with curl
- Contact support at hello@pulpminer.com
Next Steps
- Learn more about PulpMiner API endpoints
- Explore dynamic variables
- Check out caching strategies
- Review credit management
