Zapier
Connect 5000+ apps with simple automation. Integrate Scrapfly web scraping into your Zapier workflows to automate data collection, monitoring, and processing across your favorite tools.
Prerequisites
Before getting started, make sure you have the following:
- Zapier account (free or paid)
- Your Scrapfly API key (create account)
Setup Instructions
Integrate Scrapfly into your Zapier workflows using Webhooks by Zapier. This enables automated web scraping across 5000+ apps with Zapier's simple trigger-action model.
-
Create New Zap
Start a new automation in Zapier (Note: In Zapier terminology, a Zap is an automated workflow):
- Log in to your Zapier account
- Click "Create Zap"
- Choose a trigger that starts your automation
Tip: Common Trigger Apps
- Schedule by Zapier: Run scraping on a schedule (every hour, day, week, etc.)
- Webhooks by Zapier: Trigger scraping via HTTP request
- Google Sheets: Scrape URLs when new rows are added
- Email: Scrape URLs from incoming emails
- RSS by Zapier: Scrape new feed items automatically
- Airtable: Scrape when new records are created
-
Add Webhooks by Zapier Action
Configure a Webhooks action to call the Scrapfly API (Note: In Zapier, Actions are steps that run after a trigger):
- Click "+" to add a new action step
- Search for and select "Webhooks by Zapier"
- Choose "GET" as the action event
- Configure the action with these settings:
Webhooks by Zapier Configuration:
- URL:
https://api.scrapfly.io/scrape?key=__API_KEY__&url=TARGET_URL&format=markdown
Important Notes:
- Replace
TARGET_URLwith the URL you want to scrape (or use data from previous steps) - In Zapier, query parameters are included in the URL string (unlike Make/n8n)
- You can use dynamic data from previous steps:
&url={{1.URL}}
Sign up for free to get your API key.Tip: Using Dynamic Data
To scrape URLs from previous steps:
- Click in the URL field to open data picker
- Select the URL field from your trigger (e.g., Google Sheets column)
- Zapier will insert it as:
{{1.URL}}or similar - Full URL example:
https://api.scrapfly.io/scrape?key=__API_KEY__&url={{1.URL}}&format=markdown
-
Process Scrapfly Response
Extract and process the scraped content using Zapier's data transformation tools:
- The Webhooks action automatically parses the JSON response
- In your next action (Google Sheets, Airtable, etc.), map fields directly:
- Content: Use data from Webhooks:
Result Content - URL: Use data from Webhooks:
Result URL - Status: Use data from Webhooks:
Result Status
For more complex data processing:
- Add a "Formatter by Zapier" action after Webhooks
- Choose transformation type:
- Text: Extract, replace, split, or format text
- Numbers: Perform calculations or format numbers
- Date/Time: Format timestamps
- Map the formatted output to your destination app
Pro Tip: Use "Formatter by Zapier" for simple text operations, and "Code by Zapier" for complex JSON parsing or custom logic! -
Add Output Action
Send the scraped data to your desired destination using Zapier's extensive app integrations:
Popular Output Apps:
- Google Sheets: Create or update rows in a spreadsheet
- Airtable: Create or update records in a base
- Slack: Send channel messages or DMs with data
- Email by Zapier: Send formatted reports or alerts
- Webhooks by Zapier: POST to your custom API
- Google Drive: Create documents or save files
- Notion: Create pages or database entries
- Trello: Create cards with scraped data
Example: Save to Google Sheets
Add a Google Sheets action with these settings:
- Action Event: Create Spreadsheet Row
- Spreadsheet: Select or create your spreadsheet
- Worksheet: Select the sheet name
- Column Mapping:
- URL: Insert data from Webhooks →
Result URL - Content: Insert data from Webhooks →
Result Content - Timestamp: Insert data from Date/Time →
Now
-
Test and Publish Zap
Test your Zap and publish it for production use:
- Click "Test & Continue" on each step to verify configuration
- Review the output data from the Webhooks action
- Check for errors (red indicators) on any step
- Once all steps test successfully, click "Publish"
- Monitor Zap runs in the "Zap History" tab
Tip: Error Handling with Paths
Add error handling to your Zap using Paths:
- After the Webhooks action, add a "Paths by Zapier" action
- Create two paths:
- Success path: Rule:
Result Statusequals200 - Error path: Rule:
Result Statusdoes not equal200 - On the error path, add notification actions (Email, Slack, etc.)
- On the success path, add your normal data processing actions
Example Zap Templates
Daily News Digest via Email
Product Price Monitor to Spreadsheet
LinkedIn Job Alerts
Competitive Analysis Dashboard
Troubleshooting
Problem: Webhooks by Zapier action returns errors when calling Scrapfly
Solution:
- Verify API key is correct in URL query string (no spaces or line breaks)
- Check target URL is properly encoded (spaces should be %20, etc.)
- Review error message in Zap run history (click on failed run for details)
- Test the full URL in browser first to verify it works
- Ensure you're using GET action event (not POST)
Problem: Cannot access fields from Scrapfly response in next actions
Solution:
- Check Zap run history to see the actual response data structure
- Verify response is valid JSON (not HTML error page)
- Use correct field names when mapping:
Result Content,Result URL - Try adding a "Formatter by Zapier" → "Utilities" → "Line Item to Text" if data is in array format
- Enable "Show Data" toggle in Webhooks action to inspect response structure
Problem: Zap stops running due to monthly task limit
Solution:
- Check your Zapier plan limits (tasks per month) in account settings
- Note: Each action step counts as 1 task (scraping = 1 task, saving to Sheets = 1 task)
- Reduce scraping frequency in Schedule trigger settings
- Use Scrapfly's cache parameter to avoid re-scraping same URLs (saves tasks)
- Combine multiple Zaps into one multi-step Zap to reduce total task count
- Upgrade Zapier plan for higher task limits
Problem: Zap execution times out waiting for Scrapfly response
Solution:
- Zapier has a 30-second timeout for webhook actions
- Disable JavaScript rendering if not needed:
&render_js=false(faster) - Reduce rendering_wait parameter if set:
&rendering_wait=1000 - Use simpler target URLs (lightweight pages scrape faster)
- For slow sites, consider using async scraping (Scrapfly callback feature)
Problem: Formatter by Zapier not processing data as expected
Solution:
- Check input data in Formatter step (click "Test & Continue" to see input)
- Verify you're using correct Formatter transform type (Text, Numbers, Date/Time)
- For complex JSON parsing, use "Code by Zapier" instead (more flexible)
- Test transformations with sample data first before using dynamic data
- Use "Utilities" → "Line Item to Text" to flatten arrays before formatting
Problem: Zap fails partway through execution, some steps succeed but others fail
Solution:
- Review Zap History to identify which step is failing
- Add error notifications: use Paths to route errors to Email/Slack actions
- Enable "Continue on Error" for non-critical steps (in step settings)
- Add Filter steps to skip actions if data is missing or invalid
- Use "Delay by Zapier" between steps if hitting rate limits
- Check app connection credentials (re-authenticate if needed)
Alternative Automation Platforms
While Zapier offers simplicity and the largest app ecosystem, you might also want to explore these no-code automation alternatives for Scrapfly integration:
Make
Visual automation platform with advanced workflow capabilities. Best for complex multi-step scenarios with branching logic.
- Visual drag-and-drop scenario builder
- Advanced routing and iteration
- Operations-based pricing
n8n
Open-source workflow automation with self-hosting option. Perfect for developers who need full control and customization.
- Self-hosted or cloud deployment
- Open-source with active community
- Advanced workflow capabilities
Next Steps
- Explore available MCP tools and their capabilities
- See real-world examples of what you can build
- Learn about authentication methods in detail
- Read the FAQ for common questions